/* Marketing pages (/, /for-coaches/). Tokens come from styles.css. */
.site main { overflow-x: clip; }
.site h1, .site h2 { text-wrap: balance; margin: 0; color: var(--ink); }
.site h1 { font-size: clamp(2.75rem, 7.4vw, 5.5rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.site h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; }
.site .lead { font-size: var(--step-lead); line-height: 1.4; color: var(--ink-2, var(--ink)); opacity: 0.78; max-width: 40ch; margin: 18px auto 0; text-wrap: pretty; }

.hero { text-align: center; padding: clamp(56px, 10vw, 120px) 0 0; }
.hero h1 { max-width: 14ch; margin-inline: auto; }
.hero .stores { justify-content: center; margin-top: 28px; }
.hero-phones { margin-top: clamp(40px, 7vw, 80px); }

.phones { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 24px; }
/* Phone screenshots use the shared .iphone mockup (styles.css); only its width is set here. */
.phones .iphone { --w: 260px; }

/* Desktop screenshots: a plain browser frame, same hairline + shadow as the phone shots. */
.desk { margin: clamp(40px, 7vw, 80px) auto 0; width: min(100%, 960px); border-radius: 12px; overflow: hidden; background: var(--stage); box-shadow: 0 1px 0 var(--hair), 0 30px 60px -28px rgba(28, 28, 30, 0.45); }
.feat .desk { margin: 0; width: 100%; }
.desk-bar { display: flex; gap: 8px; padding: 9px 12px; background: #f2f2f7; border-bottom: 1px solid var(--hair); }
.desk-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px #e0443e; }
.desk-bar i:nth-child(2) { background: #febc2e; box-shadow: inset 0 0 0 0.5px #dea123; }
.desk-bar i:nth-child(3) { background: #28c840; box-shadow: inset 0 0 0 0.5px #1aab29; }
.desk img { display: block; width: 100%; height: auto; }

.band { background: var(--stage); color: var(--stage-ink); text-align: center; padding: clamp(80px, 12vw, 150px) 0; margin-top: clamp(80px, 12vw, 140px); }
.band h2 { color: var(--stage-ink); max-width: 18ch; margin-inline: auto; }
.band .lead { color: var(--stage-ink); }
.band .phones { margin-top: clamp(40px, 6vw, 72px); }

.feat { padding: clamp(64px, 9vw, 120px) 0; }
.feat .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feat.flip .feat-copy { order: 2; }
.feat-copy p { font-size: var(--step-lead); line-height: 1.45; opacity: 0.78; margin: 16px 0 0; max-width: 34ch; text-wrap: pretty; }
.feat .phones { justify-content: center; flex-wrap: nowrap; gap: 20px; }

.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; max-width: 46ch; }
.ticks li { padding-top: 14px; border-top: 1px solid var(--hair); line-height: 1.45; }
.ticks strong { display: block; font-weight: 650; }
.more { display: inline-block; margin-top: 24px; font-weight: 600; color: var(--accent); text-underline-offset: 4px; }

.plus { padding: clamp(96px, 13vw, 160px) 0 0; text-align: center; }
.plus .lead, .plus .price { margin-inline: auto; }
.plus .price { margin-top: 12px; font-variant-numeric: tabular-nums; font-family: var(--num); font-weight: 800; }
.plus-list { list-style: none; padding: 0; margin: 48px auto 0; max-width: 980px; text-align: start;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 40px; }
.plus-list li { padding: 16px 0; border-top: 1px solid var(--hair); line-height: 1.4; }

/* Zefro+ on the home page: a graphite plan panel, two plan cards, real screens, a feature grid. */
.site .plus { border-radius: 0; }
.site .plus h2, .site .plus .lead { color: var(--stage-ink); }
#zefro-plus { background: var(--stage); color: var(--stage-ink); padding: clamp(88px, 12vw, 150px) 0; margin-top: clamp(96px, 13vw, 160px); border-radius: 0; }
#zefro-plus h2 { color: var(--stage-ink); font-size: clamp(3rem, 8vw, 6rem); }
#zefro-plus .lead { color: var(--stage-ink); }
.plan-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 640px; margin: 44px auto 0; text-align: start; }
.plan-card { background: var(--elevated); border: 1px solid var(--hair); border-radius: 22px; padding: 24px; }
.plan-card--best { border: 2px solid var(--ink); padding: 23px; }
.plan-name { margin: 0; font-weight: 650; font-size: 0.9375rem; opacity: 0.72; }
.plan-price { margin: 10px 0 0; font-size: 1rem; }
.plan-price span { display: block; font-size: clamp(2rem, 4.4vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 2px; font-variant-numeric: tabular-nums; font-family: var(--num); font-weight: 800; }
.plan-note { margin: 12px 0 0; font-size: 0.875rem; line-height: 1.4; opacity: 0.72; }
.plus-phones { margin-top: clamp(56px, 8vw, 96px); }
.perks { list-style: none; padding: 0; margin: clamp(56px, 8vw, 96px) auto 0; max-width: 1080px; text-align: start;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.perks li { background: var(--elevated); border: 1px solid var(--hair); border-radius: 22px; padding: 26px 24px 28px; }
.perks svg { width: 28px; height: 28px; fill: none; stroke: var(--stage-accent, currentColor); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.perks h3 { margin: 18px 0 0; font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; color: var(--stage-ink); }
.perks p { margin: 8px 0 0; font-size: 0.9375rem; line-height: 1.45; opacity: 0.72; text-wrap: pretty; }
@media (max-width: 520px) { .plan-cards { grid-template-columns: 1fr; } }

.tiers { margin: 48px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; text-align: start; }
.tiers div { border-top: 1px solid var(--hair-strong); padding: 18px 0; }
.tiers dt { font-weight: 700; font-size: 1.25rem; }
.tiers dd { margin: 4px 0 0; }
.tiers .price { font-variant-numeric: tabular-nums; font-family: var(--num); font-weight: 800; opacity: 0.78; }
.note { margin-top: 32px; opacity: 0.78; }

.get { text-align: center; padding: clamp(110px, 14vw, 180px) 0 clamp(80px, 10vw, 120px); }
.get .stores { justify-content: center; margin-top: 28px; }

::selection { background: var(--accent); color: var(--accent-ink); }

@media (max-width: 760px) {
  .feat .wrap { grid-template-columns: 1fr; text-align: center; }
  .feat.flip .feat-copy { order: 0; }
  .feat-copy p, .ticks { margin-inline: auto; }
  .ticks { text-align: start; }
}

@media (max-width: 900px) { .phones .iphone { --w: 190px; } }
@media (max-width: 760px) { .phones .iphone { --w: 220px; } }
@media (max-width: 520px) { .phones .iphone { --w: 180px; } }

/* Waitlist box in the hero. */
.hero h1 { max-width: 20ch; font-size: clamp(2.25rem, 6vw, 4.5rem); }
.waitlist { max-width: 460px; margin: 32px auto 0; text-align: start; }
.waitlist label { display: block; font-weight: 650; margin-bottom: 10px; text-align: center; }
.wl-row { display: flex; gap: 8px; }
.wl-row input { flex: 1; min-width: 0; font: inherit; padding: 14px 16px; border: 1px solid var(--hair-strong); border-radius: 14px; background: var(--elevated); color: var(--ink); }
.wl-row button { font: inherit; font-weight: 650; padding: 14px 20px; border: 0; border-radius: 14px; background: var(--accent); color: var(--accent-ink); cursor: pointer; white-space: nowrap; }
.wl-row button:disabled { opacity: 0.6; }
.wl-note { margin: 10px 0 0; font-size: 0.875rem; opacity: 0.72; text-align: center; }
.wl-note a { color: inherit; text-underline-offset: 3px; }
.wl-status { margin: 10px 0 0; font-weight: 600; text-align: center; min-height: 1.4em; }
.wl-status[data-state]:not([data-state="ok"]) { color: var(--danger); }

/* "Snap a meal": real screens shown in sequence, one frame. */
.iphone--loop .iphone-shot { animation: ph-seq 6s infinite; }
.iphone--loop .iphone-shot + .iphone-shot { opacity: 0; animation-delay: -3s; }
@keyframes ph-seq { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .iphone--loop .iphone-shot { animation: none; } .iphone--loop .iphone-shot:last-child { opacity: 1; } }

/* Coaching line and "Everything else". */
.more-list { padding: clamp(48px, 7vw, 96px) 0 0; }
.coach-line { text-align: center; font-size: var(--step-lead); max-width: 46ch; margin: 0 auto; text-wrap: pretty; }
.coach-line a { font-weight: 650; color: var(--accent); text-underline-offset: 4px; white-space: nowrap; }
.everything { max-width: 860px; margin: clamp(48px, 7vw, 80px) auto 0; border-top: 1px solid var(--hair); }
.everything summary { cursor: pointer; padding: 24px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.everything summary::-webkit-details-marker { display: none; }
.everything summary::after { content: "+"; font-size: 2rem; line-height: 1; }
.everything[open] summary::after { content: "−"; }
.everything summary h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.everything ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 40px; }
.everything li { padding: 16px 0; border-top: 1px solid var(--hair); line-height: 1.45; }
.everything strong { display: block; font-weight: 650; }

/* Zefro+: "Replaces 2-3 apps". */
.saves { max-width: 640px; margin: 44px auto 0; text-align: start; background: var(--elevated); border: 1px solid var(--hair); border-radius: 22px; padding: 24px; }
.saves h3 { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--stage-ink); }
.saves-line { margin: 10px 0 0; font-size: 1.0625rem; line-height: 1.45; color: var(--stage-ink); }

/* Tap a screenshot to zoom. */
.phones .iphone-shot, .steps .iphone-shot { cursor: zoom-in; }
dialog.zoom { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100dvh; }
dialog.zoom::backdrop { background: rgba(242, 242, 247, 0.94); }
dialog.zoom img { display: block; max-height: 94dvh; max-width: 96vw; width: auto; height: auto; border-radius: 18px; cursor: zoom-out; }

/* Phone width: screenshots large enough to read; several in a row swipe sideways. */
@media (max-width: 520px) {
  .phones .iphone { --w: min(78vw, 300px); }
  .phones:not(.phones--1) { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 8px var(--gutter) 40px; scrollbar-width: none; }
  .phones:not(.phones--1) .iphone { scroll-snap-align: center; }
  .wl-row { flex-direction: column; }
}

/* Coach page: calls to action, price table, questions. */
.start { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; }
.start .stores { margin-top: 0; }
.cmp-h { margin: 56px 0 0; font-size: 1.25rem; }
.cmp-wrap { margin: 20px auto 0; max-width: 980px; overflow-x: auto; text-align: start; }
.cmp { width: 100%; border-collapse: collapse; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cmp th, .cmp td { padding: 12px clamp(8px, 2vw, 16px); font-size: clamp(0.8125rem, 2.6vw, 1rem); border-top: 1px solid var(--hair); text-align: start; }
.cmp thead th { border-top: 0; font-weight: 700; }
.cmp tbody th { font-weight: 600; }
.faq { padding: clamp(72px, 10vw, 128px) 0; }
.faq .wrap { max-width: 720px; }
.faq h3 { margin: 32px 0 0; font-size: 1.125rem; }
.faq p { margin: 8px 0 0; opacity: 0.78; line-height: 1.5; text-wrap: pretty; }

/* photo demo band (#photo-demo) */
.demo-tbl { width: 100%; max-width: 560px; margin: 28px auto 0; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.demo-tbl th, .demo-tbl td { padding: 12px 0; border-top: 1px solid var(--stage-hair); text-align: start; font-size: 1rem; color: var(--ink); }
.demo-tbl th { border-top: 0; font-weight: 650; font-size: 0.875rem; color: var(--ink-3); }
.demo-tbl td:not(:first-child), .demo-tbl th:not(:first-child) { text-align: end; }
.band .demo-gap { margin-top: 56px; }
.band p.demo-note { font-size: 0.9375rem; line-height: 1.5; opacity: 0.72; max-width: 52ch; margin: 18px auto 0; text-align: start; }
.band p.demo-note + p.demo-note { font-size: 0.75rem; opacity: 0.55; margin-top: 8px; }
.steps { display: flex; gap: 16px; justify-content: center; align-items: flex-start; margin-top: clamp(40px, 6vw, 72px); }
.steps figure.step { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.steps figcaption { font-size: 0.9375rem; font-weight: 600; max-width: 24ch; }
@media (min-width: 901px) { .steps .iphone { --w: 215px; } }
@media (max-width: 760px) { .steps { flex-direction: column; align-items: center; } .demo-tbl { font-size: 0.9375rem; } }

/* "Plans for coaches": links and the price table on the grey section. */
.site .plus a:not(.button) { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.site .plus .button { background: #1c1c1e; color: #ffffff; }
.site .plus .note { opacity: 0.9; }
.site .plus .cmp th, .site .plus .cmp td { color: var(--stage-ink); border-color: var(--stage-hair); }
.site .plus .tiers .price { opacity: 0.9; }

/* Utility pages: the lead aligns with the heading, not centred in a narrower box. */
.site main > .wrap > section > .lead { margin-inline: 0; }
.band p.demo-note { text-wrap: balance; }
.hero .lead, .hero h1 { text-wrap: balance; }
