@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/fraunces-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/nunito-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/nunito-latin-700-normal.woff2") format("woff2"); }

:root {
  --mist: #F6FBFB;
  --navy: #1F3A4D;
  --navy-soft: #3A5568;
  --aqua: #5CC2C2;
  --aqua-deep: #1E7F80;
  --sunny: #FFD66B;
  --coral: #FF8F7A;
  --coral-deep: #C2493A;
  --mint: #C3E8D6;
  --mint-soft: #E4F4EC;
  --white: #FFFFFF;
  --line: #D5E6E6;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --wrap: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--aqua-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--aqua-deep); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-lede { font-size: 1.15rem; max-width: 62ch; color: var(--navy-soft); margin-bottom: 2.2rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--mist); padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--navy); color: var(--mist);
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: 999px; border: 2px solid var(--navy);
  text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s, transform .15s;
}
.btn:hover { background: var(--aqua-deep); border-color: var(--aqua-deep); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-small { padding: 10px 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { background: var(--line); border-color: var(--line); color: var(--navy-soft); cursor: default; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 251, 251, .92); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.brand-mark { width: 32px; height: 32px; }
nav { margin-left: auto; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); text-decoration: none; font-weight: 600; }
.nav-links a:hover { color: var(--aqua-deep); }

/* Hero */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.product-name { display: inline-block; font-weight: 700; color: var(--aqua-deep); background: var(--mint-soft); border: 1.5px solid var(--mint); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero h1 { max-width: 16ch; }
.lede { font-size: 1.2rem; max-width: 54ch; color: var(--navy-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero-note { font-size: .95rem; color: var(--navy-soft); }
.hero-art { margin: 0; width: 100%; }
.hero-art svg { width: 100%; height: auto; }
.tail { transform-origin: 296px 268px; animation: wag 1.1s ease-in-out infinite alternate; }
@keyframes wag { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@media (prefers-reduced-motion: reduce) { .tail { animation: none; } }

/* Day timeline */
.day { background: var(--navy); color: var(--mist); }
.day h2 { color: var(--white); }
.day .section-lede { color: #C9D8E1; }
.timeline { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0; max-width: 820px; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid #36546A; align-items: baseline; }
.timeline li:last-child { border-bottom: 1px solid #36546A; }
.timeline time { font-family: var(--serif); font-size: 1.35rem; color: var(--sunny); font-weight: 500; }
.timeline span { font-size: 1.15rem; }
.day-answer { font-size: 1.2rem; max-width: 60ch; color: var(--white); margin: 0; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillar svg { width: 52px; height: 52px; margin-bottom: 14px; }
.pillar p { color: var(--navy-soft); }

/* Editions */
.editions { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); padding: 30px 26px 26px; background: var(--mist); border: 2px solid var(--line); }
.price-top { border-radius: var(--radius-md); padding: 22px 20px; margin-bottom: 22px; }
.starter .price-top { background: var(--mint); }
.complete .price-top { background: var(--sunny); }
.everything .price-top { background: var(--navy); color: var(--white); }
.everything .price-top h3 { color: var(--white); }
.everything .price-sub { color: #E5EDF2; }
.complete { border-color: var(--aqua); }
.price-top h3 { margin-bottom: 6px; }
.price { font-family: var(--serif); font-size: 2.8rem; line-height: 1; margin: 6px 0 8px; font-weight: 600; }
.price-sub { margin: 0; font-weight: 600; }
.badge { position: absolute; top: -14px; left: 26px; margin: 0; background: var(--aqua-deep); color: var(--white); font-size: .85rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.includes { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.includes li { position: relative; padding: 9px 0 9px 30px; border-bottom: 1px dashed var(--line); }
.includes li:last-child { border-bottom: 0; }
.includes li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: var(--aqua); box-shadow: inset 0 0 0 4px var(--mint); }
.everything .includes li::before { background: var(--coral); box-shadow: inset 0 0 0 4px var(--sunny); }
.checkout-note { font-size: .9rem; text-align: center; color: var(--navy-soft); margin: 10px 0 0; }

.compare { margin-top: 64px; overflow-x: auto; }
.compare h3 { margin-bottom: 18px; }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 1rem; }
.compare th, .compare td { padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; background: var(--mist); }
.compare thead th:first-child, .compare tbody th { text-align: left; font-weight: 600; }
.compare td.y { color: var(--aqua-deep); font-weight: 700; }
.compare td.n { color: #7C8F9B; }

.previews { margin-top: 64px; }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.preview-grid figure { margin: 0; }
.preview-grid img { border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--mist); width: 100%; height: auto; }
.preview-grid figcaption { font-size: .9rem; margin-top: 8px; color: var(--navy-soft); }

/* Modules */
.module-list { display: grid; gap: 12px; max-width: 860px; }
.module-list details, .faq details { background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 4px 22px; }
.module-list details[open], .faq details[open] { border-color: var(--aqua); }
.module-list summary, .faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 700; font-size: 1.1rem; position: relative; }
.module-list summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.module-list summary::after, .faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.6rem; font-weight: 400; color: var(--aqua-deep); }
details[open] > summary::after { content: "\2212"; }
.m-num { display: inline-block; min-width: 92px; color: var(--aqua-deep); font-weight: 700; }
.module-list details p, .faq details p { color: var(--navy-soft); padding-bottom: 6px; }

/* Free chart */
.free { background: var(--mint-soft); }
.free-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.free-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; border: 2px solid var(--mint); transform: rotate(-2.5deg); max-width: 360px; }
.fc-head { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 10px; }
.free-card ul { margin: 0 0 18px; padding-left: 20px; }
.free-card li { padding: 3px 0; }
.fc-alert { background: var(--coral); color: var(--navy); font-weight: 700; padding: 12px 14px; border-radius: var(--radius-sm); margin: 0; font-size: .98rem; }
.signup label { display: block; font-weight: 700; margin-bottom: 8px; }
.signup-row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup input { flex: 1 1 240px; min-height: 54px; font: inherit; color: var(--navy); padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--white); }
.signup input:focus { border-color: var(--aqua-deep); outline: none; box-shadow: 0 0 0 3px rgba(30, 127, 128, .2); }
.form-msg { min-height: 1.6em; margin: 10px 0 4px; font-weight: 700; }
.form-msg.error { color: var(--coral-deep); }
.form-msg.ok { color: var(--aqua-deep); }
.fine { font-size: .92rem; color: var(--navy-soft); }

/* Emma */
.emma-grid { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; max-width: 860px; }
.emma-art { width: 180px; height: 180px; }
.emma p { font-size: 1.12rem; max-width: 60ch; }

/* FAQ */
.faq details { margin-bottom: 12px; }

/* Footer */
.site-footer { background: var(--navy); color: #D3E0E7; padding: 56px 0 40px; }
.site-footer .fine { color: #B9CCD6; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; color: var(--white); font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0 0 18px; }
.footer-links li { padding: 4px 0; }
.footer-links a { color: var(--white); }
.footer-links a:hover { color: var(--sunny); }

/* Legal pages */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal .updated { color: var(--navy-soft); }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .free-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin-inline: auto; order: -1; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
  .pillars { grid-template-columns: 1fr; gap: 24px; }
  .free-card { margin-inline: auto; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .header-inner { justify-content: space-between; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .emma-grid { grid-template-columns: 1fr; }
  .emma-art { width: 120px; height: 120px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .m-num { display: block; min-width: 0; font-size: .95rem; }
  .btn-small { padding: 9px 14px; font-size: .9rem; }
  .brand { font-size: 1.05rem; }
}
section[id], #editions, #faq { scroll-margin-top: 80px; }

/* Top banner */
.topbar { background: var(--coral); color: var(--navy); font-size: .95rem; }
.topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; padding-block: 9px; text-align: center; }
.topbar a { color: var(--navy); font-weight: 700; }
.tag-free { background: var(--sunny); color: var(--navy); font-weight: 700; font-size: .8rem; padding: 2px 10px; border-radius: 999px; }

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-list { list-style: none; margin-inline: auto; padding-block: 26px; padding-inline: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust-list li { display: flex; flex-direction: column; gap: 4px; }
.trust-list strong { font-weight: 700; }
.trust-list span { color: var(--navy-soft); font-size: .95rem; line-height: 1.5; }

/* Scenario */
.scenario { background: var(--mint-soft); }
.scenario h2, .scenario .section-lede { text-align: center; margin-inline: auto; }
.moment-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.moment-tab { font: inherit; font-weight: 700; color: var(--navy); background: var(--white); border: 2px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.moment-tab:hover { border-color: var(--aqua); }
.moment-tab[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.moment-card { max-width: 860px; margin: 0 auto 18px; background: var(--white); border: 2px solid var(--mint); border-radius: var(--radius-lg); padding: 30px clamp(18px, 4vw, 36px); text-align: center; }
.moment-label { font-weight: 700; color: var(--aqua-deep); margin-bottom: 6px; }
.moment-card h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-bottom: 22px; }
.responses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; text-align: left; }
.response { font: inherit; color: var(--navy); text-align: left; background: var(--mist); border: 2px solid var(--line); border-radius: var(--radius-md); padding: 18px 20px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: border-color .2s, background .2s; }
.response:hover { border-color: var(--aqua); }
.resp-label { font-size: .9rem; font-weight: 700; color: var(--navy-soft); }
.resp-quote { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1.35; }
.resp-why { font-size: 1rem; line-height: 1.55; border-top: 1px dashed var(--line); padding-top: 10px; }
.verdict { display: inline-block; font-size: .85rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; }
.response.good[aria-expanded="true"] { background: var(--mint-soft); border-color: var(--aqua-deep); }
.response.risky[aria-expanded="true"] { background: #FFF1EE; border-color: var(--coral); }
.response.good .verdict { background: var(--mint); color: var(--navy); }
.response.risky .verdict { background: var(--coral); color: var(--navy); }
.moment-hint { margin: 16px 0 0; color: var(--navy-soft); font-size: .95rem; }
.center { text-align: center; }

/* How it works */
.how { margin-top: 64px; }
.how h3 { margin-bottom: 18px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps li { display: flex; flex-direction: column; gap: 6px; background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 20px; }
.step-n { font-size: .9rem; font-weight: 700; color: var(--aqua-deep); }
.steps strong { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.steps span:last-child { color: var(--navy-soft); }

/* 404 */
.notfound { text-align: center; padding-block: 96px; }

@media (max-width: 960px) {
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .responses { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; gap: 16px; }
}
