:root {
  --navy: #10133a;
  --ink: #15162c;
  --paper: #f7f5ef;
  --white: #fff;
  --blue: #4b6fff;
  --coral: #ff6b5f;
  --line: #d8d9e5;
  --muted: #63657a;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button,
.primary-link,
.secondary-link,
.offer-action a {
  min-height: 48px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 30;
  background: var(--white);
  padding: 0.7rem 1rem;
}

.topbar,
.page,
footer {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand em {
  color: var(--blue);
  font-style: normal;
}

.mark {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.82rem;
  box-shadow: 6px 6px 0 var(--coral);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  font-weight: 800;
}

.site-nav a {
  text-underline-offset: 0.22em;
}

.landing-hero {
  padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.3rem;
  color: var(--navy);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.lede {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.primary-link,
.secondary-link,
.print-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 0.8rem 1rem;
  font-weight: 900;
  text-decoration: none;
}

.primary-link {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
}

.secondary-link,
.print-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.print-button {
  cursor: pointer;
}

.snapshot {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  box-shadow: 14px 14px 0 var(--coral);
}

.snapshot div {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  padding: 1.2rem 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.snapshot div:last-child {
  border-bottom: 0;
}

.snapshot strong {
  min-width: 2.4rem;
  color: #93a7ff;
  font-size: 2.1rem;
  line-height: 1;
}

.snapshot span {
  font-size: 0.82rem;
  font-weight: 800;
}

.intro-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.language-block {
  scroll-margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(16, 19, 58, 0.08);
}

.language-heading {
  min-height: 190px;
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--navy);
  color: var(--white);
}

.hebrew .language-heading {
  background: var(--coral);
  color: var(--navy);
}

.language-heading p {
  margin-bottom: 0.7rem;
  color: #93a7ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hebrew .language-heading p {
  color: var(--navy);
  letter-spacing: 0;
}

.language-heading h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.language-heading span {
  color: #c8c9d7;
  font-size: 0.9rem;
}

.hebrew .language-heading span {
  color: rgba(16, 19, 58, 0.75);
}

.hebrew {
  font-family: Arial, "Noto Sans Hebrew", sans-serif;
}

.phase {
  padding: 1.4rem clamp(1.1rem, 3vw, 1.8rem);
  border-bottom: 1px solid var(--line);
}

.phase:last-child {
  border-bottom: 0;
}

.phase h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: 1rem;
}

.phase h3 span {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #eef0ff;
  color: var(--blue);
  font-size: 0.72rem;
}

.checklist-items {
  display: grid;
  gap: 0.18rem;
}

.checklist-items label {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.55rem 0.45rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.93rem;
}

.checklist-items label:hover {
  background: #f5f6ff;
}

.checklist-items input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.16rem 0 0;
  accent-color: var(--blue);
}

.checklist-items input:checked + span {
  color: var(--muted);
  text-decoration: line-through;
}

.offer {
  margin: clamp(4rem, 8vw, 7rem) 0;
  padding: clamp(1.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  border-radius: var(--radius);
  background: var(--coral);
}

.offer h2 {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.offer p:not(.eyebrow) {
  color: rgba(16, 19, 58, 0.8);
}

.offer-action {
  padding: 1.5rem;
  border-radius: 15px;
  background: var(--navy);
  color: var(--white);
}

.offer-action > span {
  display: block;
  color: #93a7ff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.offer-action strong {
  display: block;
  margin: 0.9rem 0 1rem;
  font-size: 3.4rem;
  line-height: 1;
}

.offer-action a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--navy);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.offer-action small {
  display: block;
  margin-top: 0.75rem;
  color: #c8c9d7;
  font-size: 0.75rem;
  text-align: center;
}

footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

footer button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.consent {
  position: fixed;
  z-index: 20;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: min(780px, calc(100% - 2rem));
  margin: auto;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  border-radius: 15px;
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.consent[hidden] {
  display: none;
}

.consent p {
  margin: 0.3rem 0 0;
  color: #c8c9d7;
  font-size: 0.78rem;
}

.consent > div:last-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.consent button {
  border-radius: 11px;
  padding: 0.7rem 0.85rem;
  font-weight: 900;
  cursor: pointer;
}

.consent-decline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
}

.consent-accept {
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--navy);
}

@media (max-width: 820px) {
  .landing-hero,
  .offer {
    grid-template-columns: 1fr;
  }

  .snapshot {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .snapshot div {
    display: grid;
    gap: 0.3rem;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
  }

  .snapshot div:last-child {
    border-right: 0;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .topbar,
  .page,
  footer {
    width: min(100% - 1.2rem, 1120px);
  }

  .site-nav a:last-child {
    display: none;
  }

  .landing-hero {
    padding-top: 3rem;
  }

  h1 {
    font-size: 3.35rem;
  }

  .hero-actions {
    display: grid;
  }

  .snapshot {
    grid-template-columns: 1fr;
  }

  .snapshot div {
    display: flex;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .consent {
    grid-template-columns: 1fr;
  }

  .consent > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
  }
}

@media print {
  @page {
    margin: 13mm;
  }

  body {
    background: var(--white);
    color: #000;
    font-size: 10.5pt;
  }

  .topbar,
  .hero-actions,
  .snapshot,
  .intro-note,
  .offer,
  footer,
  .consent {
    display: none !important;
  }

  .page {
    width: 100%;
  }

  .landing-hero {
    display: block;
    padding: 0 0 8mm;
  }

  .landing-hero h1 {
    margin-bottom: 4mm;
    font-size: 25pt;
  }

  .landing-hero .lede {
    margin: 0;
    font-size: 10pt;
  }

  .checklist-grid {
    display: block;
  }

  .language-block {
    overflow: visible;
    margin-bottom: 10mm;
    border: 1px solid #aaa;
    border-radius: 0;
    box-shadow: none;
    break-before: page;
  }

  .language-block:first-child {
    break-before: auto;
  }

  .language-heading {
    min-height: 0;
    padding: 6mm;
    background: #eee !important;
    color: #000 !important;
    print-color-adjust: exact;
  }

  .language-heading p,
  .language-heading span {
    color: #333 !important;
  }

  .phase {
    padding: 5mm 6mm;
    break-inside: avoid;
  }

  .checklist-items {
    gap: 0;
  }

  .checklist-items label {
    padding: 1.2mm 0;
    font-size: 9.5pt;
  }
}
