@font-face {
  font-family: Rubik;
  src: url('assets/rubik-hebrew-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: Rubik;
  src: url('assets/rubik-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --blue: #2050b8;
  --blue-dark: #173e91;
  --ink: #111111;
  --muted: #64645f;
  --line: #e0e0da;
  --paper: #ffffff;
  --wash: #f6f5f1;
  --blue-wash: #edf2fc;
  --focus: #b55600;
  --green: #20613e;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-note: 0.75rem;
  --space-control: 12px;
  --space-panel: 28px;
  --space-section: 56px;
  color-scheme: light;
  font-family: Rubik, Arial, sans-serif;
  color: var(--ink);
  background: var(--wash);
  scrollbar-color: #8796b0 var(--wash);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: not-allowed;
  background: #e3e6ed;
  color: #626b79;
  border-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
input,
textarea {
  caret-color: var(--blue);
}
::selection {
  background: var(--blue);
  color: white;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.2;
  text-wrap: balance;
}
h1 {
  font-size: 2rem;
  font-weight: 550;
  letter-spacing: -0.03em;
}
h1:focus,
.main-content:focus {
  outline: 0;
}
h2 {
  font-size: 1.5rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.0625rem;
  font-weight: 550;
}
strong {
  font-weight: 550;
}
bdi {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: var(--blue);
  text-underline-offset: 5px;
}
svg {
  flex: 0 0 auto;
}
.icon {
  width: 24px;
  height: 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -100px;
  right: 16px;
  z-index: 100;
  background: #fff;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  min-width: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 160ms ease-out,
    color 160ms ease-out,
    transform 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.button:active:not(:disabled) {
  transform: scale(0.98);
}
.button .icon {
  width: 20px;
  height: 20px;
}
.primary {
  background: var(--blue);
  color: white;
}
.primary:hover:not(:disabled) {
  background: var(--blue-dark);
}
.secondary {
  background: white;
  border-color: var(--line);
  color: var(--ink);
}
.secondary:hover:not(:disabled) {
  background: var(--blue-wash);
  border-color: #a5b8dd;
}
.light-button {
  background: white;
  color: var(--ink);
}
.light-button:hover {
  background: var(--blue-wash);
}
.text-button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  min-width: 44px;
  background: none;
  border: 0;
  color: var(--blue);
  padding: 6px 0;
  text-align: start;
  font-weight: 450;
  font-size: 0.875rem;
}
.text-button:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text-button .icon {
  width: 19px;
  height: 19px;
}
.page-heading {
  margin: 0 0 28px;
}
.page-heading p {
  margin-top: 14px;
  color: var(--muted);
  max-width: 65ch;
  line-height: 1.65;
}
.readable {
  max-width: 65ch;
  margin: 24px 0 32px;
}
.readable p + p {
  margin-top: 20px;
}
.back-link {
  margin: 0 0 20px;
}
input,
textarea {
  min-height: 48px;
  width: 100%;
  padding: 12px 15px;
  color: var(--ink);
  background: white;
  border: 1px solid #a3aebe;
  border-radius: 12px;
  font-size: 16px;
}
input::placeholder,
textarea::placeholder {
  color: #657080;
  opacity: 1;
}
textarea {
  resize: vertical;
}
input[aria-invalid='true'] {
  border-color: #aa302a;
}
.field-error {
  color: #972a25;
  margin-top: 8px;
  font-size: 0.875rem;
}
details {
  border-block: 1px solid var(--line);
}
details + details {
  border-top: 0;
}
summary {
  min-height: 48px;
  cursor: pointer;
  padding: 16px 0;
  font-size: 0.875rem;
  font-weight: 500;
}
details p {
  color: var(--muted);
  margin: 8px 0 16px;
  max-width: 65ch;
}
details .text-button {
  margin-bottom: 12px;
}
.simulation-label,
.prototype-note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.55;
}
.evidence {
  margin-top: 24px;
}
.evidence p {
  font-size: 0.875rem;
}
.empty-state {
  background: var(--wash);
  padding: 32px;
  margin-block: 24px;
  border-radius: 16px;
}
.empty-state > .icon {
  color: var(--blue);
  margin-bottom: 18px;
}
.empty-state p {
  margin: 12px 0 20px;
}
.empty-state .text-button {
  margin-inline-start: 20px;
}
.empty-state .button {
  margin-block: 8px;
}
.inline-confirmation,
.answer-recap,
.restore-notice,
.library-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 18px;
  background: var(--blue-wash);
  color: var(--blue-dark);
  margin-block: 16px;
  font-size: 0.875rem;
  border-radius: 12px;
}
.inline-confirmation {
  color: var(--green);
  background: #eaf4ee;
}
.restore-notice {
  margin: 0 0 18px;
}
.resume-journey {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  background: var(--blue-wash);
  padding: 12px 22px;
  margin-block: 20px;
  border-radius: 14px;
}
.resume-journey strong,
.resume-journey span {
  display: block;
}
.resume-journey span {
  color: var(--blue-dark);
  font-size: 0.875rem;
  margin-top: 4px;
}
.resume-journey .button {
  flex-shrink: 0;
}
.recovery-history > summary {
  color: var(--blue);
}
.image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wash);
  min-width: 64px;
  min-height: 64px;
  color: var(--muted);
  font-size: 0.75rem;
}
.product-photo {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  padding: 14px 22px;
  color: white;
  background: var(--ink);
  border-radius: 4px;
  max-width: calc(100vw - 32px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms,
    transform 160ms;
  z-index: 50;
}
.toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.375rem;
  }
  .page-heading {
    margin-bottom: 20px;
  }
  .page-heading p {
    margin-top: 10px;
  }
  .empty-state {
    padding: 22px;
  }
  .resume-journey {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  :root,
  body {
    color: #000;
    background: white;
  }
  .site-header,
  .review-ribbon,
  .website-footer,
  .toast,
  .skip-link,
  .menu-toggle {
    display: none !important;
  }
  .main-content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  button {
    color: #000 !important;
    background: white !important;
    border: 1px solid #777 !important;
  }
  h1,
  h2,
  h3 {
    break-after: avoid;
  }
  p,
  .choice,
  .driver-panel {
    break-inside: avoid;
  }
}
