/* Meadow: the app's own palette and type (Inter), the painted meadow as the hero, real app screens below. */
:root {
  --canvas: #F7F6F3; --surface: #FFFFFF; --ink: #17171A; --muted: #66656B; --line: #E7E5E0;
  --action: #0B7A55; --accent-text: #08643F; --accent-soft: #E6F5EC; --sun: #C9F36B;
  --shadow: 0 1px 2px rgba(23,23,26,.05), 0 14px 36px -18px rgba(23,23,26,.22);
  --radius: 32px;
}
@media (prefers-color-scheme: dark) {
  :root { --canvas: #0F1010; --surface: #1A1B1B; --ink: #F3F3F1; --muted: #A3A2A8; --line: #2A2B2B;
    --accent-text: #7FDDA9; --accent-soft: #16291F; --shadow: 0 14px 36px -18px rgba(0,0,0,.7); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.6 Inter, -apple-system, system-ui, "Segoe UI", sans-serif; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

header.site { padding: 18px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 22px; letter-spacing: -.03em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
nav.site { display: flex; gap: 20px; flex-wrap: wrap; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
nav.site a:hover { color: var(--ink); }

/* Hero: the painted meadow, with the headline in its open sky. */
.hero { padding-top: 8px; }
.hero-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #EEF3E4; box-shadow: var(--shadow); }
.hero-img { display: block; width: 100%; height: clamp(520px, 62vw, 640px); object-fit: cover; object-position: 60% 62%; }
.hero-copy { position: absolute; top: clamp(32px, 6vw, 64px); left: clamp(28px, 5vw, 64px); max-width: 430px; color: #17171A; }
.hero h1 { font-size: clamp(42px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 0 0 18px; }
.lede { font-size: 19px; line-height: 1.55; color: #3F3E44; margin: 0 0 22px; max-width: 30em; }
.soon { display: inline-block; margin: 0; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.82); color: #08643F; font-weight: 600; font-size: 15px;
  box-shadow: 0 1px 2px rgba(23,23,26,.06); }

section h2 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.035em; line-height: 1.1; margin: 0 0 28px; }

/* Real screens from the app. */
.screens { padding-top: 88px; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.phones figure { margin: 0; display: grid; gap: 18px; align-content: start; }
.phone { border-radius: 36px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 390 / 844; max-width: 100%; }
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phones figcaption { color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 32ch; }
.phones figcaption strong { color: var(--ink); font-weight: 600; }

/* How it works: a real sequence, so it is numbered. */
.steps { padding-top: 96px; }
.steps ol { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding: 26px 24px 24px; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.steps h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.015em; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Membership. */
.membership { padding-top: 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 48px; align-items: center; }
.membership-copy p { color: var(--muted); margin: 0; max-width: 32em; }
.plans { display: grid; gap: 12px; }
.plan { padding: 20px 24px; border-radius: 22px; background: var(--surface); border: 2px solid transparent; box-shadow: var(--shadow); }
.plan-main { border-color: var(--action); }
.plan-name { margin: 0; font-weight: 600; }
.price { margin: 2px 0 0; font-size: 32px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-note { margin: 2px 0 0; color: var(--accent-text); font-size: 15px; font-weight: 500; }
.plan:not(.plan-main) .plan-note { color: var(--muted); }
.fine { grid-column: 1 / -1; margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* Questions. */
.faq { padding-top: 96px; padding-bottom: 96px; }
.faq > * { max-width: 820px; }
details { border-top: 1px solid var(--line); padding: 4px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 16px 40px 16px 0; font-weight: 600; font-size: 18px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }

/* Documents (privacy, terms, support, delete account). */
.doc { max-width: 720px; margin: 0 auto; padding: 24px 20px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin: 16px 0 8px; }
.doc h2 { font-size: 22px; letter-spacing: -.01em; margin: 36px 0 8px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .updated { color: var(--muted); }
.panel { background: var(--surface); border-radius: 20px; padding: 20px 24px; box-shadow: var(--shadow); margin: 20px 0; }
.panel h2 { margin-top: 0; }

footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
nav.foot { display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 860px) {
  .phones { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; gap: 18px; }
  .phones figure { scroll-snap-align: start; }
  .steps ol { grid-template-columns: 1fr; }
  .membership { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-frame { display: flex; flex-direction: column-reverse; background: var(--surface); }
  .hero-img { height: auto; aspect-ratio: 1290 / 992; object-position: center; }
  .hero-copy { position: static; padding: 26px 22px 24px; max-width: none; color: var(--ink); }
  .lede { color: var(--muted); }
  .soon { background: var(--accent-soft); color: var(--accent-text); }
  .screens, .steps, .membership, .faq { padding-top: 64px; }
  nav.site { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { summary::after { transition: none; } }
