:root {
  --bg: #fbf8f3;
  --surface: #ffffff;
  --sand: #f3ede3;
  --sage: #e6ede6;
  --ink: #1d2420;
  --ink-2: #4a544e;
  --muted: #5f6962;
  --line: #e4ded3;
  --accent: #2f5d46;
  --accent-soft: #dfeadf;
  --no: #b3aca1;
  --error: #b3412e;
  --focus: #2f5d46;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Figtree", ui-sans-serif, system-ui, sans-serif;

  --radius: 24px;
  --radius-sm: 14px;
  --container: 1240px;
  --gutter: 40px;
  --section: 128px;
  --shadow: 0 1px 2px rgb(29 36 32 / 0.04), 0 12px 32px -12px rgb(29 36 32 / 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent-soft); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; line-height: 1.04; text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; }
p { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: 999px; }
.skip:focus-visible { top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color 200ms var(--ease), border-color 200ms var(--ease), transform 120ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--dark:hover { background: var(--accent); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--bg); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(251 248 243 / 0.88); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease); }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 40px; height: 72px; }
.logo { font: 500 28px/1 var(--serif); letter-spacing: -0.02em; text-decoration: none; }
.nav nav { margin-right: auto; }
.nav__links { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nav__links a { font-size: 15px; color: var(--ink-2); text-decoration: none; transition: color 150ms; }
.nav__links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 48px 0 96px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 72px; align-items: center; }
.hero h1 { font-size: clamp(48px, 6.2vw, 84px); max-width: 11ch; }
.hero__sub { margin-top: 28px; max-width: 30em; font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.ticks { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 40px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks svg, .plan__list svg, .card-float svg { width: 20px; height: 20px; flex: none; color: var(--accent); }

.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; border-radius: var(--radius); }
.card-float { position: absolute; left: -48px; bottom: 48px; width: 248px; padding: 20px; background: var(--surface); border-radius: 18px; box-shadow: 0 24px 48px -20px rgb(29 36 32 / 0.3), 0 2px 6px rgb(29 36 32 / 0.06); }
.card-float__top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.card-float__top b { display: block; font-size: 15px; font-weight: 600; }
.card-float__top small { display: block; font-size: 13px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 500 18px/1 var(--serif); }
.card-float ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.card-float li { display: flex; align-items: center; gap: 8px; }

/* Sections */
.section { padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.section--sage { background: var(--sage); }
.intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 56px; }
.intro h2, .how h2, .who h2, .faq h2, .start h2 { font-size: clamp(36px, 4.2vw, 56px); }
.intro p { font-size: 18px; color: var(--ink-2); max-width: 28em; }
.intro--center { display: block; text-align: center; }
.intro--center h2 { margin-inline: auto; max-width: 16ch; }

/* Compare */
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 22px 28px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-weight: 500; font-size: 15px; color: var(--muted); padding-block: 26px; }
.compare tbody th { text-align: left; font-weight: 500; }
.compare td { color: var(--ink-2); }
.compare td svg, .compare th svg { width: 22px; height: 22px; margin-inline: auto; }
.compare .yes { color: var(--accent); }
.compare .no { color: var(--no); }
.compare .is-us { background: var(--accent-soft); color: var(--ink); }
.compare thead .is-us { font: 500 22px/1 var(--serif); color: var(--ink); }
.compare tbody th { width: 34%; }

/* How */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.how__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 50%; border-radius: var(--radius); }
.steps { margin: 40px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid rgb(29 36 32 / 0.12); }
.steps li:last-child { border-bottom: 1px solid rgb(29 36 32 / 0.12); }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); font: 500 20px/1 var(--serif); }
.steps p { margin-top: 4px; color: var(--ink-2); }

/* Who */
.who { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
.who h2 { max-width: 12ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.chips li { padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; }
.who__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }

/* Plans */
.plans { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; max-width: 920px; margin: 56px auto 0; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 40px; border-radius: var(--radius); background: rgb(255 255 255 / 0.55); border: 1px solid rgb(29 36 32 / 0.08); }
.plan--main { background: var(--surface); border-color: transparent; box-shadow: var(--shadow); }
.plan__name { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan__price { margin-top: 8px; font-size: 18px; color: var(--ink-2); }
.plan__price span { font: 400 64px/1 var(--serif); letter-spacing: -0.03em; color: var(--ink); margin-right: 6px; }
.plan__list { display: grid; gap: 14px; margin: 32px 0 36px; padding: 0; list-style: none; font-size: 16px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 80px; align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 19px; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--ink-2); transition: transform 250ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 48px 28px 0; font-size: 17px; color: var(--ink-2); max-width: 40em; }

/* Start */
.start { padding: 0 0 var(--section); }
.start__grid { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); padding-inline: 0; display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); background: var(--sand); border-radius: 32px; overflow: hidden; }
.start__media img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 40% 50%; }
.start__card { padding: 64px; }
.start__sub { margin-top: 12px; color: var(--ink-2); }
.tabs { display: flex; gap: 4px; margin-top: 32px; padding: 4px; border-radius: 999px; background: rgb(29 36 32 / 0.06); }
.tabs [role="tab"] { flex: 1; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color 200ms var(--ease), color 200ms; }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [role="tab"][aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgb(29 36 32 / 0.1); }
.form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 28px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend { padding: 0; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field input:not([type="radio"]), .field select { width: 100%; height: 52px; padding: 0 16px; border: 1px solid #d6cfc3; border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: 400 16px var(--sans); transition: border-color 150ms; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234a544e' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field input:hover, .field select:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); border-radius: var(--radius-sm); }
.field [aria-invalid] { border-color: var(--error); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend { width: 100%; margin-bottom: 8px; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #d6cfc3; border-radius: 999px; background: var(--surface); font-size: 15px; cursor: pointer; transition: border-color 150ms, background-color 150ms; }
.choice label:hover { border-color: var(--muted); }
.choice input:checked + label { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.choice input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice[aria-invalid] label { border-color: var(--error); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.agree input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.form .btn { margin-top: 8px; }
.form__help { min-height: 1.5em; font-size: 14px; color: var(--ink-2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; color: var(--muted); }
.consent a { color: var(--ink-2); text-underline-offset: 3px; }

/* Footer */
.footer { padding: 64px 0 48px; border-top: 1px solid var(--line); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 28px; margin: 0; padding: 0; list-style: none; }
.footer__links a { font-size: 15px; color: var(--ink-2); text-decoration: none; }
.footer__links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__links--legal { margin-top: 32px; gap: 20px; }
.footer__links--legal a { font-size: 14px; }
.footer__legal { margin-top: 16px; font-size: 14px; color: var(--muted); }
.footer__credit { margin-top: 6px; font-size: 13px; color: var(--muted); }
.footer__credit a { text-underline-offset: 3px; }

/* Entrance: hero only */
.js .hero__copy > *, .js .hero__media { animation: rise 900ms var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: 80ms; }
.js .hero__copy > :nth-child(3) { animation-delay: 160ms; }
.js .hero__copy > :nth-child(4) { animation-delay: 240ms; }
.js .hero__media { animation-delay: 120ms; }
.js .card-float { animation: rise 900ms var(--ease) 600ms both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__copy > *, .js .hero__media, .js .card-float { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* Tablet */
@media (max-width: 980px) {
  :root { --gutter: 24px; --section: 88px; }
  .nav__links { display: none; }
  .hero { padding-top: 24px; }
  .hero__grid, .how, .who, .faq, .intro, .start__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero__media { max-width: 560px; }
  .card-float { left: 16px; bottom: 16px; }
  .how__media { order: 2; }
  .start__media img { aspect-ratio: 16 / 10; height: auto; }
  .start__card { padding: 40px; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --gutter: 20px; --section: 72px; }
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  .logo { font-size: 26px; }
  .hero h1 { font-size: 46px; }
  .hero__sub { font-size: 18px; margin-top: 20px; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .ticks { flex-direction: column; gap: 10px; margin-top: 28px; }
  .hero__media img { aspect-ratio: 4 / 4.4; }
  .card-float { width: 220px; padding: 16px; }
  .compare th, .compare td { padding: 16px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 28px; }
  .plan__price span { font-size: 52px; }
  .faq summary { font-size: 17px; padding: 22px 0; }
  .faq details p { padding-right: 0; }
  .start__grid { border-radius: 24px; }
  .start__card { padding: 28px 20px 32px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .tabs [role="tab"] { font-size: 14px; padding: 0 10px; }
  .table-wrap { overflow: visible; }
  .compare { min-width: 0; font-size: 14px; table-layout: fixed; }
  .compare th, .compare td { padding: 14px 6px; }
  .compare tbody th { width: 36%; padding-left: 16px; font-size: 14px; line-height: 1.3; }
  .compare thead th { font-size: 12px; line-height: 1.25; padding-block: 16px; }
  .compare thead .is-us { font-size: 17px; }
  .compare td { font-size: 13px; line-height: 1.3; }
  .compare td svg { width: 18px; height: 18px; }
}

/* Legal pages */
.doc { max-width: 720px; margin: 0 auto; padding: 72px var(--gutter) 120px; }
.doc h1 { font-size: clamp(40px, 5vw, 60px); }
.doc .updated { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc h2 { margin-top: 48px; font-size: 28px; }
.doc p, .doc li { margin-top: 14px; color: var(--ink-2); max-width: 65ch; }
.doc ul { padding-left: 20px; }
.doc a { text-underline-offset: 3px; }

.logo, .btn { white-space: nowrap; }
@media (max-width: 480px) { .nav .logo { font-size: 1.3rem; } }
