:root {
  color-scheme: light;
  --navy: #072c5f;
  --navy-deep: #041f45;
  --gold: #ca9853;
  --gold-text: #94651c;
  --ivory: #fef4ea;
  --paper: #fffaf5;
  --white: #ffffff;
  --ink-soft: #405069;
  --line: rgba(7, 44, 95, 0.18);
  --line-strong: rgba(7, 44, 95, 0.34);
  --error: #8a2633;
  --error-bg: #fff4f3;
  --radius-small: 8px;
  --radius-large: 22px;
  --shadow: 0 24px 70px rgba(7, 44, 95, 0.09);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ivory);
  color: var(--navy);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button,
select,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

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

.primary-button:focus-visible,
.skip-link:focus-visible {
  outline-color: var(--white);
  box-shadow: 0 0 0 6px var(--navy);
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 220px;
  height: auto;
}

.prototype-label {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(44px, 7vw, 100px);
  align-items: end;
  padding: clamp(72px, 10vw, 132px) 0 clamp(64px, 9vw, 112px);
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.context-panel h2,
.state-panel h2,
.results h2 {
  margin: 0;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.25rem, 7vw, 6.4rem);
}

.hero-lead {
  max-width: 690px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.7;
}

.method {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--navy);
}

.method li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-strong);
}

.method span {
  grid-row: 1 / span 2;
  color: var(--gold-text);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: 1.2rem;
}

.method strong {
  font-size: 0.98rem;
}

.method small {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(290px, 0.72fr);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-panel,
.context-panel {
  padding: clamp(32px, 5vw, 68px);
}

.form-panel {
  border-right: 1px solid var(--line-strong);
}

.section-heading h2,
.context-panel h2,
.state-panel h2,
.results h2 {
  font-size: clamp(2.15rem, 4vw, 3.6rem);
}

.section-heading > p:last-child,
.context-note,
.state-panel > div > p:last-child,
.unknown-panel > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.section-heading > p:last-child {
  margin: 18px 0 0;
}

form {
  margin-top: 48px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field {
  margin-bottom: 26px;
}

.field label,
.fold-choice legend {
  display: block;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.field input,
.field select {
  width: 100%;
  min-height: 54px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: var(--white);
  color: var(--navy);
}

.field input:hover,
.field select:hover {
  border-color: var(--navy);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 1px var(--error);
}

.place-combobox {
  position: relative;
}

.place-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  max-height: 280px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(7, 44, 95, 0.16);
  list-style: none;
}

.place-results.place-results-above {
  top: auto;
  bottom: calc(100% + 6px);
}

.place-option {
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--navy);
  cursor: pointer;
}

.place-option:hover,
.place-option[aria-selected="true"] {
  background: var(--ivory);
  box-shadow: inset 3px 0 0 var(--gold);
}

.field-help,
.field-error {
  min-height: 1.25em;
  margin: 7px 0 0;
  font-size: 0.78rem;
}

.field-help {
  color: var(--ink-soft);
}

.field-error {
  color: var(--error);
  font-weight: 700;
}

.check-row {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  width: fit-content;
  margin: -8px 0 30px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.check-row input,
.fold-choice input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

.fold-choice {
  margin: 0 0 28px;
  padding: 20px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-small);
  background: rgba(202, 152, 83, 0.08);
}

.fold-choice p {
  margin: 0 0 15px;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.fold-choice label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px;
}

.privacy-note {
  margin: 8px 0 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(7, 44, 95, 0.035);
}

.privacy-note strong {
  font-size: 0.84rem;
}

.privacy-note p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.primary-button,
.secondary-button,
.text-button {
  border: 0;
  font-weight: 800;
}

.primary-button {
  width: 100%;
  min-height: 58px;
  padding: 15px 22px;
  border-radius: var(--radius-small);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(7, 44, 95, 0.16);
}

.primary-button:hover {
  background: var(--navy-deep);
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.66;
}

.secondary-button {
  min-height: 48px;
  margin-top: 24px;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  border-radius: var(--radius-small);
  background: transparent;
  color: var(--navy);
}

.secondary-button:hover {
  background: var(--navy);
  color: var(--white);
}

.text-button {
  padding: 8px 0;
  border-bottom: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
}

.context-panel {
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--ivory);
}

.context-panel .eyebrow {
  color: var(--gold);
}

.context-panel h2 {
  color: var(--ivory);
}

.context-panel ul {
  margin: 44px 0;
  padding: 0;
  list-style: none;
  counter-reset: sections;
}

.context-panel li {
  counter-increment: sections;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(254, 244, 234, 0.25);
}

.context-panel li::before {
  content: "0" counter(sections);
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 800;
}

.context-panel li:last-child {
  border-bottom: 1px solid rgba(254, 244, 234, 0.25);
}

.context-note {
  margin: auto 0 0;
  color: rgba(254, 244, 234, 0.76);
  font-size: 0.88rem;
}

.state-panel,
.results {
  margin-top: 48px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.state-panel {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
}

.status-panel {
  border-top: 4px solid var(--gold);
}

.spinner {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 3px solid var(--line);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.error-panel {
  display: block;
  border-top: 4px solid var(--error);
  background: var(--error-bg);
}

.unknown-panel {
  display: block;
  border-top: 4px solid var(--gold);
}

.results {
  margin-bottom: 70px;
  overflow: hidden;
}

.results-header {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 64px);
  border-bottom: 1px solid var(--line-strong);
}

.result-sections {
  counter-reset: portrait;
}

.result-card {
  counter-increment: portrait;
  display: grid;
  grid-template-columns: 70px minmax(220px, 0.7fr) repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--line-strong);
}

.result-card:last-child {
  border-bottom: 0;
}

.result-index {
  margin: 3px 0 0;
  color: var(--gold-text);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: 1.4rem;
}

.result-card h3 {
  margin: 0;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.08;
}

.reading-block {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.reading-block h4 {
  margin: 0 0 12px;
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.reading-block p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.disclaimer {
  margin: 0;
  padding: 24px clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.result-cta {
  padding: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line-strong);
  background: var(--navy);
  color: var(--ivory);
}

.result-cta .eyebrow {
  color: var(--gold);
}

.result-cta h3 {
  margin: 0;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
}

.result-cta > p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(254, 244, 234, 0.82);
}

.result-cta .primary-button {
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  background: var(--ivory);
  color: var(--navy);
  text-decoration: none;
}

.result-cta .primary-button:hover {
  background: var(--white);
}

.paid-preview {
  margin: 0 0 70px;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.paid-preview h2 {
  max-width: 800px;
  margin: 0;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.paid-preview > p:not(.eyebrow) {
  max-width: 760px;
  color: var(--ink-soft);
}

.paid-preview-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.locale-nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.locale-nav a {
  min-width: 38px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.locale-nav a:hover,
.locale-nav a[aria-current="page"] {
  border-color: var(--navy);
  color: var(--navy);
}

.natal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: center;
  padding: clamp(70px, 10vw, 128px) 0 clamp(52px, 8vw, 92px);
}

.natal-hero h1,
.product-comparison h2,
.checkout-notice h2 {
  margin: 0;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.natal-hero h1 {
  max-width: 720px;
  font-size: clamp(3.1rem, 6.6vw, 6rem);
}

.offer-price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  max-width: 640px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.offer-price-line span,
.offer-price-line small {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.offer-price-line strong {
  color: var(--navy);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
}

.product-comparison {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.product-comparison article {
  padding: clamp(28px, 4vw, 48px);
}

.product-comparison article + article {
  border-top: 1px solid var(--line-strong);
}

.product-comparison-paid {
  background: var(--navy);
  color: var(--ivory);
}

.product-comparison-paid .eyebrow {
  color: var(--gold);
}

.product-comparison h2 {
  font-size: clamp(1.85rem, 3.5vw, 3rem);
}

.product-comparison p:last-child {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.product-comparison-paid p:last-child {
  color: rgba(254, 244, 234, 0.8);
}

.method-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: clamp(46px, 7vw, 82px);
  border-top: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
}

.method-strip div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 14px;
  padding: 22px 24px;
}

.method-strip div + div {
  border-left: 1px solid var(--line-strong);
}

.method-strip span {
  grid-row: 1 / span 2;
  color: var(--gold-text);
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: 1.15rem;
}

.method-strip strong {
  font-size: 0.94rem;
}

.method-strip small {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.checkout-notice {
  margin-bottom: 36px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--gold);
  background: rgba(202, 152, 83, 0.08);
}

.checkout-notice h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.checkout-notice > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.natal-journey {
  margin-bottom: 78px;
}

.natal-includes ul {
  margin-bottom: 30px;
}

.delivery-note {
  margin: 0 0 34px;
  padding: 18px 20px;
  border: 1px solid rgba(254, 244, 234, 0.28);
  background: rgba(254, 244, 234, 0.06);
}

.delivery-note strong {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.delivery-note p {
  margin: 8px 0 0;
  color: rgba(254, 244, 234, 0.8);
  font-size: 0.86rem;
}

.inline-error {
  margin: 0 0 24px;
  padding: 16px 18px;
  border-left: 3px solid var(--error);
  background: var(--error-bg);
  color: var(--error);
}

.inline-error p {
  margin: 5px 0 0;
}

.checkout-terms {
  max-width: 600px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-align: center;
}

footer {
  padding: 26px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

footer .data-attribution {
  margin-top: 6px;
}

footer a {
  color: var(--navy);
  text-underline-offset: 2px;
}

.checkout-page {
  min-height: 100vh;
}

.checkout-shell {
  display: grid;
  min-height: calc(100vh - 250px);
  place-items: center;
  padding-block: clamp(56px, 10vw, 120px);
}

.checkout-card {
  width: min(100%, 760px);
  padding: clamp(34px, 7vw, 78px);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.checkout-card h1 {
  max-width: 650px;
  margin: 0;
  font-family: Iowan Old Style, Baskerville, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.checkout-message {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.checkout-progress {
  height: 3px;
  margin: 34px 0;
  overflow: hidden;
  background: var(--line);
}

.checkout-progress span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--gold-text);
  animation: checkout-progress 1.8s ease-in-out infinite alternate;
}

.checkout-privacy {
  max-width: 620px;
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.checkout-back {
  display: inline-flex;
  width: auto;
  text-decoration: none;
}

@keyframes checkout-progress {
  from {
    transform: translateX(-5%);
  }

  to {
    transform: translateX(145%);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero,
  .journey-grid,
  .natal-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 48px;
  }

  .form-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .result-card {
    grid-template-columns: 50px 1fr;
  }

  .result-card h3 {
    align-self: center;
  }

  .reading-block {
    grid-column: 2;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .method-strip {
    grid-template-columns: 1fr;
  }

  .method-strip div + div {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 28px), var(--content));
  }

  .site-header {
    min-height: 86px;
  }

  .brand img {
    width: 170px;
  }

  .prototype-label {
    max-width: 110px;
    text-align: right;
    font-size: 0.62rem;
  }

  .hero {
    padding: 58px 0 62px;
  }

  .natal-hero {
    gap: 42px;
    padding: 58px 0 48px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 4.25rem);
  }

  .natal-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.1rem);
  }

  .hero-lead {
    margin-top: 22px;
  }

  .form-panel,
  .context-panel,
  .state-panel,
  .results-header {
    padding: 28px 22px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .results-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-card {
    grid-template-columns: 38px 1fr;
    gap: 14px;
    padding: 30px 22px;
  }

  .reading-block p {
    font-size: 0.96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .spinner {
    animation: none;
  }

  .checkout-progress span {
    animation: none;
  }
}
