/* RosiePass — styles. PHONE FIRST: the base rules are the phone layout, "@media (min-width: 900px)" adds desktop.
   Design language: soft green surfaces, floating glass pills, glossy green buttons, tight heavy headings.
   Readers are 55+, so body text never goes below 16px. */

@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-400.ttf?v=076831b980") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-600.ttf?v=50357df108") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/PlusJakartaSans-800.ttf?v=d9e0ddb4a1") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --ink: #0c1f17;
  --ink-soft: #2f4a3d;
  --muted: #586d62;
  --page: #eef7f1;
  --line: #d6eadf;
  --brand-1: #45ad7c;
  --brand-2: #25895b;
  --brand-3: #1a7049;
  --brand-text: #17704a;      /* brand colour that passes contrast on white at body sizes */
  --brand-tint: #e0f3e8;
  --navy: #071a13;
  --r-panel: 28px;
  --r-card: 24px;
  --r-pill: 999px;
  --gutter: 8px;             /* space between the screen edge and the big panels */
  --shadow-panel: 0 30px 60px -36px rgba(29, 119, 78, .26), 0 2px 6px rgba(29, 119, 78, .05);
  --shadow-card: 0 18px 36px -22px rgba(29, 119, 78, .28), 0 1px 3px rgba(29, 119, 78, .07);
  --glass: linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .7));
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .92),
                  0 12px 28px -14px rgba(29, 119, 78, .26), 0 2px 6px rgba(29, 119, 78, .08), 0 0 0 .5px rgba(94, 191, 146, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* fixed header geometry on phones: bar 38 + gap 8 + pill row 58 + gap 8 */
  --bar-h: 38px;
  --head-h: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
/* no blue/grey flash when something is tapped on a phone; buttons show their own pressed state */
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-text); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: calc(100% - 32px); max-width: 1180px; margin-inline: auto; }
.accent { color: var(--brand-2); }

/* ---------- announcement bar: one line on phones ---------- */
.bar { height: var(--bar-h); display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 10px; white-space: nowrap; overflow: hidden;
  background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; border-bottom: 1px solid #1a704955; }
.bar b { color: #8fe6b8; font-weight: 800; }
.bar a { color: #fff; }
.bar .long { display: none; }

/* ---------- header ---------- */
.nav { position: sticky; top: 8px; z-index: 50; margin-top: 8px; height: 58px; pointer-events: none; }
.nav .wrap { width: calc(100% - 16px); height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pill { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: var(--r-pill);
  background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); box-shadow: var(--glass-shadow); }
.brand { height: 58px; padding: 8px 18px 8px 10px; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 21px; letter-spacing: -.03em; white-space: nowrap; }
.brand svg { width: 38px; height: 38px; flex: none; }
.links { display: none; }
.actions { height: 58px; }
.actions .signin { display: none; }
.menu-btn { display: grid; place-content: center; gap: 5px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.menu-btn span { display: block; width: 21px; height: 2.5px; border-radius: 2px; background: var(--ink-soft); }
/* On phones the header button is hidden at the top of the page and joins the menu button
   once the hero button has scrolled away (.nav.is-past is set in app.js). */
.nav .nav-cta { display: none; }
.nav.is-past .nav-cta { display: inline-flex; animation: cta-in .3s var(--ease); }
@keyframes cta-in { from { opacity: 0; transform: translateX(10px) scale(.94); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; white-space: nowrap;
  border: 0; border-radius: var(--r-pill); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; letter-spacing: -.01em;
  background: linear-gradient(var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -2px 6px rgba(16, 94, 60, .22), 0 16px 32px -14px rgba(40, 170, 109, .7), 0 3px 8px rgba(40, 170, 109, .22);
  transition: transform .2s var(--ease), filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); filter: brightness(.97); }
.btn.sm { min-height: 46px; padding: 0 20px; font-size: 16px; }
.btn.lg { min-height: 54px; font-size: 18px; }
.btn.block { width: 100%; }
.btn.ghost { color: var(--ink); background: linear-gradient(#fff, #f4fcf8); box-shadow: inset 0 0 0 1px var(--line), 0 10px 22px -16px rgba(29, 119, 78, .35); }
.btn.ghost:hover { filter: none; }

/* ---------- panels and section heads ---------- */
.panel { position: relative; overflow: hidden; margin: var(--gutter) var(--gutter) 0; padding: 52px 0; border-radius: var(--r-panel);
  background: linear-gradient(#ffffff, #fafefc); box-shadow: var(--shadow-panel); }
.section { padding: 56px 0 28px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.head { text-align: center; max-width: 820px; margin: 0 auto 30px; }
.head h2 { font-size: 30px; line-height: 1.12; letter-spacing: -.035em; font-weight: 800; margin-top: 10px; text-wrap: balance; }
.head p { margin-top: 12px; font-size: 17px; color: var(--ink-soft); text-wrap: pretty; }

/* ---------- hero ----------
   Phones: the whole panel ends just above the bottom of the first screen (svh = screen height with the
   browser's address bar showing). Text block on top, the hand holding the phone fills what is left and
   is cut off by the panel's rounded bottom edge. */
.hero { display: flex; flex-direction: column; padding: 20px 0 0; text-align: center;
  /* fills the first screen, but never taller than text + image need (tall phones would get an empty gap) */
  height: min(calc(100vh - var(--head-h) - 8px), calc(272px + 84vw));
  height: min(calc(100svh - var(--head-h) - 8px), calc(272px + 84vw));
  min-height: 470px; max-height: 860px;
  background:
    radial-gradient(56% 34% at 6% 70%, rgba(133, 237, 188, .55), transparent 72%),
    radial-gradient(56% 34% at 96% 64%, rgba(160, 242, 203, .6), transparent 72%),
    radial-gradient(70% 30% at 50% 104%, rgba(59, 220, 140, .4), transparent 75%),
    linear-gradient(#ffffff 0%, #f4fdf9 38%, #dcf8eb 100%);
}
.hero .wrap { width: calc(100% - 24px); flex: none; }
.hero h1 { font-size: min(7.7vw, 40px); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; }
.hero h1 span { display: block; white-space: nowrap; }
.hero .sub { max-width: 340px; margin: 10px auto 0; font-size: 16px; line-height: 1.45; color: var(--ink-soft); text-wrap: balance; }
.cta-row { display: flex; justify-content: center; margin-top: 14px; }
.micro { margin-top: 10px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.micro b { color: var(--ink); }
.shot { flex: 1; min-height: 0; margin-top: 10px; display: flex; justify-content: center; align-items: flex-end; }
/* The image sits on the bottom edge and hangs 9.0% below it: the sleeve is cut off by the panel, the phone
   (whose bottom edge is at 89.0% of the image) stays fully visible. Capped by height and by screen width so it
   never gets wider than the panel. All numbers come from tools/cutout_hand.py. */
.shot-inner { position: relative; flex: none; height: min(109.9%, 92vw, 470px); transform: translateY(9.0%); aspect-ratio: 1361 / 1392; filter: drop-shadow(0 22px 26px rgba(31, 119, 81, .28)); }
.shot-inner img { width: 100%; height: 100%; }
/* Live HTML on the blank screen of hero-hand.webp. Numbers printed by tools/cutout_hand.py. */
.phone-ui { position: absolute; left: 32.4%; top: 12.21%; width: 32.55%; height: 75.79%; container-type: inline-size;
  border-radius: 0 0 11% 11% / 0 0 5% 5%; overflow: hidden; background: #fff; text-align: left; padding: .8% 2.12% 0; }
.ui-top { display: flex; justify-content: space-between; align-items: center; }
.ui-top strong { font-size: 9.2cqw; letter-spacing: -.03em; font-weight: 800; }
.ui-top .aa { display: flex; align-items: baseline; gap: 1.4cqw; padding: 2cqw 4cqw; border-radius: 99px; background: #f3fdf8; box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; color: var(--brand-text); line-height: 1.2; }
.ui-top .aa small { font-size: 4.6cqw; } .ui-top .aa b { font-size: 7cqw; }
.ui-now { display: grid; grid-template-columns: 34% 1fr; gap: 5cqw; align-items: center; margin-top: 5cqw; padding: 4.5cqw; border-radius: 6cqw; background: #f7fdfa; box-shadow: inset 0 0 0 1px var(--line); }
.ui-now-text { display: grid; gap: 1.6cqw; line-height: 1.2; }
.ui-now-text span { font-size: 4cqw; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ui-now-text strong { font-size: 7.6cqw; letter-spacing: -.02em; font-weight: 800; }
.bar-track { height: 2.4cqw; border-radius: 99px; background: var(--brand-tint); }
.bar-track div { width: 42%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand-1), var(--brand-3)); }
.ui-modes { display: flex; gap: 2.4cqw; margin-top: 1.4cqw; }
.ui-modes b { display: inline-flex; align-items: center; gap: 1.2cqw; padding: 2.2cqw 4.4cqw; border-radius: 99px; font-size: 4.8cqw; font-weight: 800; color: var(--brand-text); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ui-modes .listen { color: #fff; background: linear-gradient(var(--brand-1), var(--brand-3)); box-shadow: none; }
.ui-modes svg { width: 4.6cqw; height: 4.6cqw; fill: currentColor; }
.ui-label { margin: 6cqw 0 3cqw; font-size: 4cqw; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ui-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.2cqw; }
.ui-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 4cqw 4cqw 6.5cqw; background: #fff; box-shadow: 0 -1px 0 var(--line); font-size: 4.4cqw; font-weight: 800; color: var(--muted); }
.ui-tabs .on { color: var(--brand-text); }
/* mini audio player above the tab bar: shows that every book can be listened to */
.ui-player { position: absolute; left: 5cqw; right: 5cqw; bottom: 19cqw; display: grid; grid-template-columns: auto 1fr; gap: 3.4cqw; align-items: center; padding: 3.4cqw 4cqw; border-radius: 5cqw; color: #fff; background: linear-gradient(170deg, #114934, #0a2a1e); box-shadow: 0 4cqw 7cqw -4cqw rgba(18, 100, 71, .8); }
.ui-player i { width: 9cqw; height: 9cqw; border-radius: 50%; background: linear-gradient(var(--brand-1), var(--brand-3)); display: grid; place-items: center; }
.ui-player i::after { content: ""; border-left: 3cqw solid #fff; border-top: 1.9cqw solid transparent; border-bottom: 1.9cqw solid transparent; margin-left: .7cqw; }
.ui-player b { display: block; font-size: 4.5cqw; font-weight: 800; line-height: 1.2; }
.ui-player small { display: block; font-size: 3.5cqw; color: #b0ecd1; line-height: 1.2; }
.phone-ui .cover { border-radius: 2.4cqw; box-shadow: 0 2cqw 4cqw -2.5cqw rgba(19, 73, 51, .6); }
.phone-ui .cover b { font-size: 4.3cqw; } .phone-ui .cover i { font-size: 2.9cqw; }
.ui-now .cover b { font-size: 4.4cqw; } .ui-now .cover i { font-size: 3cqw; }

/* ---------- trust row under the hero ---------- */
.trust { padding: 22px 16px 0; text-align: center; }
.trust-row { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.faces { display: flex; flex: none; }
.faces img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2.5px #fff, 0 4px 10px -4px rgba(19, 73, 51, .5); }
.faces img + img { margin-left: -11px; }
.trust-row p { font-size: 15.5px; line-height: 1.3; color: var(--ink-soft); }
.trust-row b { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 800; }
.yt { width: 22px; height: 16px; border-radius: 4px; background: #e8322d; display: inline-grid; place-items: center; flex: none; }
.yt::after { content: ""; border-left: 7px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; margin-left: 1px; }
.trust-note { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------- placeholder covers ---------- */
.cover { aspect-ratio: 2 / 3; border-radius: 10px; padding: 12% 10%; display: flex; flex-direction: column; justify-content: space-between; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--c1), var(--c2)); box-shadow: 0 14px 22px -14px rgba(19, 73, 51, .6), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; background: linear-gradient(90deg, rgba(0, 0, 0, .22), transparent); }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .22), transparent 38%); }
.cover b { font-size: 14px; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; position: relative; z-index: 1; }
.cover i { font-style: normal; font-size: 8px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .85; position: relative; z-index: 1; }
.c-a { --c1: #3d9fea; --c2: #1559a8; } .c-b { --c1: #5f7ff0; --c2: #2b3fa6; } .c-c { --c1: #2bb5c9; --c2: #0f6c8f; }
.c-d { --c1: #6a8fb5; --c2: #2b4868; } .c-e { --c1: #8a7cf0; --c2: #4336a8; } .c-f { --c1: #3f8ed0; --c2: #0d3a78; }

/* ---------- glossy trio: full-width squares on phones ---------- */
.trio { display: grid; gap: 14px; }
.gloss { position: relative; aspect-ratio: 1; border-radius: 40px; overflow: hidden; color: #fff; background: #0a2a1e; box-shadow: 0 30px 50px -28px rgba(18, 100, 71, .7); }
.gloss img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gloss::after { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, rgba(6, 27, 20, .9) 60%); }
.gloss div { position: absolute; inset: auto 0 0; padding: 0 22px 30px; text-align: center; z-index: 1; }
.gloss h3 { font-size: 26px; letter-spacing: -.03em; line-height: 1.15; font-weight: 800; text-wrap: balance; }
.gloss p { margin-top: 6px; font-size: 17px; color: #d3f7e8; text-wrap: balance; }

/* ---------- library shelves: two per row on phones ---------- */
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.topic { background: linear-gradient(#ffffff, #f5fdf9); border-radius: 22px; padding: 18px 12px 16px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); text-align: center; }
.topic .cover { width: 74%; margin: 0 auto 14px; border-radius: 12px; }
.topic h3 { font-size: 18px; letter-spacing: -.02em; font-weight: 800; }
.topic p { font-size: 14.5px; line-height: 1.4; color: var(--muted); margin-top: 5px; }
.note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 22px; }

/* ---------- how it works ---------- */
.steps { display: grid; gap: 14px; }
.step { border-radius: 28px; padding: 26px 22px 26px; color: #fff; text-align: center; background: linear-gradient(170deg, #3fae7b 0%, #25895b 55%, #1a7049 100%); box-shadow: 0 30px 50px -30px rgba(40, 170, 109, .8), inset 0 1px 0 rgba(255, 255, 255, .4); }
.step .num { width: 46px; height: 46px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 15px; background: rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); font-weight: 800; font-size: 20px; }
.step h3 { font-size: 23px; line-height: 1.15; letter-spacing: -.03em; font-weight: 800; text-wrap: balance; }
.step p { margin-top: 10px; font-size: 17px; color: #ecfdf5; }

/* ---------- features: one card with icon rows on phones ---------- */
.features { border-radius: var(--r-card); padding: 4px 18px; background: linear-gradient(#ffffff, #f5fdf9); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; align-items: start; }
.feature + .feature { border-top: 1px solid var(--line); }
.icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(var(--brand-1), var(--brand-3)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 18px -10px rgba(40, 170, 109, .8); }
.icon svg { width: 23px; height: 23px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 18.5px; letter-spacing: -.02em; font-weight: 800; }
.feature p { margin-top: 3px; font-size: 16px; line-height: 1.45; color: var(--ink-soft); }
.disclaimer { max-width: 760px; margin: 24px auto 0; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- the math ---------- */
.math { display: grid; gap: 14px; max-width: 980px; margin-inline: auto; }
.ledger { border-radius: 26px; padding: 24px 22px 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
.ledger.win { background: linear-gradient(170deg, #114934, #0a2a1e); color: #fff; box-shadow: 0 30px 50px -28px rgba(18, 100, 71, .8); }
.ledger h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.ledger.win h3 { color: #99eec7; }
.ledger .title { font-size: 23px; letter-spacing: -.03em; font-weight: 800; margin-top: 6px; }
.ledger ul { list-style: none; padding: 0; margin: 16px 0 0; }
.ledger li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 17px; }
.ledger.win li { border-color: rgba(255, 255, 255, .14); }
.ledger li b { font-weight: 800; white-space: nowrap; }
.ledger .total { margin-top: 4px; padding-top: 16px; border-top: 2px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 18px; }
.ledger.win .total { border-color: #3bdc8c; }
.ledger .total span:last-child { font-size: 28px; letter-spacing: -.03em; }
.ledger.win .total span:last-child { color: #89eebc; }
.punch { text-align: center; max-width: 720px; margin: 26px auto 0; font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; text-wrap: balance; }

/* ---------- pricing: plan rows + one button ---------- */
.picker { max-width: 600px; margin-inline: auto; }
.opts { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.opt { position: relative; display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 13px 16px; border-radius: 20px; cursor: pointer;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 20px -18px rgba(29, 119, 78, .45); transition: box-shadow .2s, background .2s; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .radio { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px #a9d3c1; display: grid; place-items: center; }
.opt .radio::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .2s var(--ease); }
.opt.is-on { background: linear-gradient(#f8fefb, #ebfdf5); box-shadow: inset 0 0 0 2px var(--brand-2), 0 18px 30px -20px rgba(40, 170, 109, .7); }
.opt.is-on .radio { background: var(--brand-2); box-shadow: none; }
.opt.is-on .radio::after { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 3px solid var(--brand-2); outline-offset: 3px; }
.opt-main b { display: block; font-size: 19px; letter-spacing: -.02em; font-weight: 800; line-height: 1.2; }
.opt-main small { display: block; margin-top: 2px; font-size: 14.5px; color: var(--muted); line-height: 1.3; }
.opt-price { text-align: right; white-space: nowrap; }
.opt-price b { font-size: 24px; letter-spacing: -.03em; font-weight: 800; }
.opt-price small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.2; }
.tag { position: absolute; top: -11px; right: 16px; padding: 3px 11px; border-radius: var(--r-pill); font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(var(--brand-1), var(--brand-3)); box-shadow: 0 8px 14px -8px rgba(40, 170, 109, .9); }
.includes { margin: 18px 4px 0; }
.inc-title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.inc-title b { color: var(--brand-text); }
.includes ul { list-style: none; padding: 0; margin: 9px 0 0; display: grid; gap: 7px; }
.includes li, .checks li { position: relative; padding-left: 34px; font-size: 17px; }
.includes li::before, .checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 23px; height: 23px; border-radius: 50%; background: var(--brand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.picker .btn { margin-top: 18px; }
/* a small wiggle every five seconds draws the eye to the buy button without being a nuisance */
.nudge { animation: nudge 5s ease-in-out infinite; }
.nudge:hover, .nudge:focus-visible { animation-play-state: paused; }
@keyframes nudge { 0%, 86%, 100% { transform: none; } 88% { transform: translateX(-4px) rotate(-1.2deg); } 90% { transform: translateX(4px) rotate(1.2deg); } 92% { transform: translateX(-3px) rotate(-.8deg); } 94% { transform: translateX(3px) rotate(.8deg); } 96% { transform: translateX(-1px); } }
.terms { margin-top: 12px; text-align: center; font-size: 15px; color: var(--ink-soft); text-wrap: balance; }
.terms b { color: var(--ink); }
.wide-only { display: none; }
/* phones: no eyebrow and a tight heading so heading, plans, list and button share one screen */
#pricing .eyebrow { display: none; }
#pricing .head { margin-bottom: 14px; }
#pricing .head h2 { margin-top: 0; }
#pricing { padding-top: 34px; }
@media (max-height: 700px) and (max-width: 899px) {
  .opt { padding-block: 9px; }
  .opts { gap: 8px; }
  .includes { margin-top: 14px; }
  .includes ul { gap: 4px; margin-top: 7px; }
  .picker .btn { margin-top: 14px; }
}
.fineprint { text-align: center; max-width: 600px; margin: 14px auto 0; font-size: 13.5px; color: var(--muted); }

/* ---------- reading room ---------- */
.room { display: grid; gap: 26px; align-items: center; }
.room figure { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 34px 60px -34px rgba(22, 100, 65, .6); }
.room figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 78% center; }
.room h2 { font-size: 30px; line-height: 1.12; letter-spacing: -.035em; font-weight: 800; margin-top: 10px; }
.room > div > p { margin-top: 12px; font-size: 17px; color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 11px; }
.peek { margin-top: 14px; font-size: 16.5px; font-weight: 600; }
.peek a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line), 0 10px 20px -18px rgba(29, 119, 78, .4); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 18px; display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 18px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23229863' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 17px no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 20px; font-size: 16.5px; color: var(--ink-soft); max-width: 70ch; }
.faq:not(.is-all) .extra { display: none; }
.faq-more { display: flex; justify-content: center; margin-top: 18px; }
.faq-foot { margin-top: 18px; text-align: center; font-size: 16px; color: var(--ink-soft); }

/* ---------- final call + footer ---------- */
.finale { margin: var(--gutter) var(--gutter) var(--gutter); border-radius: var(--r-panel); overflow: hidden; position: relative; background: #e8f9f1 url("img/clouds.webp?v=c690f16576") center top / cover no-repeat; box-shadow: var(--shadow-panel); }
.finale::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 30%, rgba(238, 251, 245, .82) 62%, #eefbf5 100%); }
.finale > * { position: relative; }
.call { text-align: center; padding: 64px 18px 74px; }
.call h2 { font-size: 34px; line-height: 1.06; letter-spacing: -.04em; font-weight: 800; }
.call p { max-width: 560px; margin: 14px auto 24px; font-size: 17px; color: var(--ink-soft); }
footer { padding: 0 0 34px; }
.foot { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-top: 32px; border-top: 1px solid rgba(15, 41, 30, .12); }
.foot > :first-child, .foot > :last-child { grid-column: 1 / -1; }
.foot .brand { height: auto; min-height: 0; padding: 0; font-size: 22px; display: inline-flex; align-items: center; }
.foot .blurb { margin-top: 10px; font-size: 16px; color: var(--ink-soft); max-width: 34ch; }
.foot h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.foot a, .foot .linklike { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--ink-soft); text-decoration: none; font-size: 16.5px; background: none; border: 0; text-align: left; }
.foot a:hover, .foot .linklike:hover { color: var(--brand-text); text-decoration: underline; }
.legal-line { margin-top: 28px; font-size: 13.5px; color: var(--muted); }
/* room for the sticky buy bar so it never covers the last footer line */
body.has-buybar footer { padding-bottom: 96px; }

/* ---------- sticky buy bar (phones) ---------- */
.buybar { position: fixed; z-index: 45; left: 10px; right: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 8px 8px 20px; border-radius: var(--r-pill); background: var(--glass); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: var(--glass-shadow), 0 20px 40px -18px rgba(21, 91, 62, .45);
  transform: translateY(calc(100% + 24px)); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.buybar.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.buybar p { min-width: 0; line-height: 1.25; }
.buybar b { display: block; font-size: 15px; font-weight: 800; }
.buybar span { display: block; font-size: 13.5px; color: var(--ink-soft); white-space: nowrap; }
.buybar b { white-space: nowrap; }
.buybar .btn { flex: none; min-height: 48px; padding: 0 20px; font-size: 16px; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; border-radius: 28px; width: min(520px, calc(100% - 24px)); color: var(--ink); background: #fff; box-shadow: 0 50px 100px -30px rgba(10, 45, 32, .6); }
dialog::backdrop { background: rgba(9, 37, 26, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dlg { padding: 30px 22px 24px; }
.dlg h2 { font-size: 26px; letter-spacing: -.03em; line-height: 1.15; font-weight: 800; padding-right: 44px; }
.dlg p { margin-top: 10px; color: var(--ink-soft); font-size: 16.5px; }
.dlg .summary { margin: 18px 0; padding: 16px 18px; border-radius: 18px; background: #f3fdf8; box-shadow: inset 0 0 0 1px var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 800; }
.dlg .summary span:last-child { font-size: 21px; letter-spacing: -.02em; white-space: nowrap; }
.dlg .stack { display: grid; gap: 12px; margin-top: 18px; }
.dlg label { display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.dlg input[type=email] { height: 54px; border-radius: 16px; border: 1px solid #b9e2d0; padding: 0 16px; font: inherit; }
.dlg .or { text-align: center; font-size: 14px; color: var(--muted); font-weight: 600; margin: 0; }
.dlg .demo { margin-top: 16px; padding: 12px 16px; border-radius: 14px; background: #fff7e0; color: #6b4a00; font-size: 15px; }
.x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #f1fbf6; font-size: 22px; line-height: 1; display: grid; place-items: center; }
.google { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px #b9e2d0; }
.google:hover { filter: none; }

/* menu: near-full-screen glass sheet */
dialog.sheet { position: fixed; inset: 10px; width: auto; height: auto; max-width: none; max-height: none; margin: 0; border-radius: 32px; overflow: auto;
  background:
    radial-gradient(60% 34% at 62% 58%, rgba(160, 242, 203, .75), transparent 72%),
    radial-gradient(50% 26% at 30% 88%, rgba(201, 241, 230, .55), transparent 72%),
    linear-gradient(165deg, #f1f8f5 0%, #f7fbf9 30%, #e6f8f0 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 50px 100px -30px rgba(10, 45, 32, .6); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 6px; }
.sheet .x { position: static; width: 52px; height: 52px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 8px 16px -10px rgba(29, 119, 78, .5); font-size: 26px; }
.menu-links { display: grid; padding: 6px 28px 28px; }
.menu-links a, .menu-links button { display: block; padding: 20px 0; border: 0; border-bottom: 1px solid rgba(15, 41, 30, .12); background: none; text-align: left;
  font-size: 34px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); text-decoration: none; }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; z-index: 90; left: 10px; right: 10px; bottom: 10px; max-width: 760px; margin-inline: auto; padding: 20px; border-radius: 24px; background: #fff; box-shadow: 0 30px 80px -20px rgba(10, 45, 32, .5), inset 0 0 0 1px var(--line); }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 19px; letter-spacing: -.02em; font-weight: 800; }
.cookie p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.cookie .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie .row .btn { flex: 1 1 110px; padding: 0 12px; }
.cookie .prefs { margin-top: 14px; display: grid; gap: 8px; }
.cookie .prefs[hidden] { display: none; }
.cookie .prefs label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #f5fdf9; font-size: 15.5px; }
.cookie .prefs input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--brand-2); flex: none; }
/* Accept and Reject carry the same visual weight on purpose (German/EU consent rules). */
.btn.even { color: #fff; background: var(--ink); box-shadow: 0 10px 20px -12px rgba(15, 41, 30, .7); }
.btn.even:hover { filter: none; background: #1d4735; }

/* ---------- scroll reveal (only when the script runs, so the page still shows without JavaScript) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .buybar { transition: none; }
  .nav.is-past .nav-cta { animation: none; }
  .nudge { animation: none; }
}

/* ---------- legal pages ---------- */
.doc { max-width: 820px; margin: 0 auto; padding: 0 20px; }
.doc h1 { font-size: 32px; letter-spacing: -.035em; line-height: 1.1; font-weight: 800; margin-top: 8px; }
.doc h2 { font-size: 22px; letter-spacing: -.02em; font-weight: 800; margin-top: 36px; }
.doc h3 { font-size: 18.5px; font-weight: 800; margin-top: 24px; }
.doc p, .doc li { font-size: 17px; color: var(--ink-soft); }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-top: 10px; }
.doc .draft { margin: 22px 0 0; padding: 14px 18px; border-radius: 16px; background: #fff7e0; color: #6b4a00; font-size: 15.5px; }
.doc mark { background: #ffe9a8; color: #5a3e00; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.doc table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 120px; }
.doc .box { margin-top: 16px; padding: 18px 20px; border-radius: 18px; background: #f5fdf9; box-shadow: inset 0 0 0 1px var(--line); }
.doc .box > :first-child { margin-top: 0; }
.doc form { display: grid; gap: 16px; margin-top: 20px; }
.doc form label { display: grid; gap: 6px; font-weight: 600; font-size: 16px; color: var(--ink); }
.doc form input, .doc form select, .doc form textarea { min-height: 54px; width: 100%; border-radius: 14px; border: 1px solid #b9e2d0; padding: 12px 16px; font: inherit; background: #fff; }
.doc-foot { display: flex; flex-wrap: wrap; gap: 4px 22px; list-style: none; padding: 0; margin: 0; }

/* ---------- narrow phones ---------- */
@media (max-width: 389px) {
  .brand { font-size: 19px; padding-right: 14px; }
  /* once the header button is showing there is no room for the word mark */
  .nav.is-past .brand > span { display: none; }
  .nav.is-past .brand { padding: 8px 10px; }
  .opt-price b { font-size: 21px; }
  .opt-main b { font-size: 17.5px; }
  .menu-links a, .menu-links button { font-size: 30px; }
  .gloss h3 { font-size: 23px; }
}

/* =================================================================================================
   DESKTOP
   ================================================================================================= */
@media (min-width: 900px) {
  :root { --r-panel: 48px; --r-card: 28px; --gutter: 24px; --bar-h: 40px; }
  html { scroll-padding-top: 120px; }
  body { font-size: 18px; line-height: 1.6; }
  .wrap { width: calc(100% - 48px); }

  .bar { font-size: 15px; }
  .bar .long { display: inline; } .bar .short { display: none; }

  .nav { top: 14px; margin-top: 20px; height: 62px; }
  .nav .wrap { width: calc(100% - 48px); gap: 12px; }
  .brand { height: 62px; font-size: 22px; padding: 9px 20px 9px 12px; }
  .brand svg { width: 34px; height: 34px; }
  .links { display: flex; gap: 4px; height: 62px; }
  .links a { padding: 12px 22px; border-radius: var(--r-pill); color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 16px; transition: background .25s var(--ease), color .25s; }
  .links a:hover { background: #f1fbf6; color: var(--ink); }
  .links a.is-active { background: var(--brand-tint); color: #1b8656; }
  .actions { height: 62px; }
  .actions .signin { display: block; padding: 12px 18px; background: none; border: 0; font-weight: 600; font-size: 16px; color: var(--ink); border-radius: var(--r-pill); }
  .actions .signin:hover { background: #f1fbf6; }
  .menu-btn { display: none; }
  .nav .nav-cta, .nav.is-past .nav-cta { display: inline-flex; animation: none; }

  .btn.lg { min-height: 60px; padding: 0 36px; font-size: 19px; }

  .panel { margin-top: 28px; padding: 96px 0; }
  .section { padding: 110px 0 40px; }
  .eyebrow { font-size: 14px; }
  .head { margin-bottom: 56px; }
  .head h2 { font-size: clamp(36px, 4.4vw, 52px); margin-top: 14px; }
  .head p { margin-top: 18px; font-size: 20px; }

  /* the header floats over the top of the hero panel */
  .hero { margin-top: -66px; padding: 112px 0 0; height: auto; min-height: 0; max-height: none; }
  .hero h1 { font-size: clamp(40px, 4vw, 56px); }
  .hero .sub { max-width: 560px; margin-top: 12px; font-size: 19px; }
  .cta-row { margin-top: 20px; }
  .micro { margin-top: 12px; font-size: 16px; }
  .shot { flex: none; height: clamp(240px, calc(100svh - 461px), 560px); margin-top: 12px; }
  .shot-inner { height: 109.9%; }

  .trust { padding-top: 30px; }
  .faces img { width: 42px; height: 42px; }
  .trust-row p { font-size: 17px; }
  .trust-note { font-size: 15px; }

  .cover b { font-size: 17px; } .cover i { font-size: 10px; }
  .trio { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .gloss { border-radius: 44px; }
  .gloss img { transform: translateY(-7%) scale(1.02); transition: transform 1.2s var(--ease); }
  .gloss:hover img { transform: translateY(-7%) scale(1.08); }
  .gloss h3 { font-size: clamp(21px, 2.1vw, 27px); }

  .topics { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .topic { padding: 26px 24px 24px; border-radius: var(--r-card); transition: transform .3s var(--ease); }
  .topic:hover { transform: translateY(-6px); }
  .topic .cover { width: 62%; margin-bottom: 20px; }
  .topic h3 { font-size: 21px; } .topic p { font-size: 16px; }
  .note { font-size: 15px; margin-top: 30px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step { border-radius: 36px; padding: 40px 32px 36px; }
  .step .num { width: 56px; height: 56px; margin-bottom: 22px; font-size: 24px; border-radius: 18px; }
  .step h3 { font-size: 27px; } .step p { font-size: 18px; margin-top: 14px; }

  .features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
  .feature { display: block; padding: 28px 24px 30px; border-radius: var(--r-card); background: linear-gradient(#ffffff, #f5fdf9); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-card); }
  .feature + .feature { border-top: 0; }
  .icon { width: 48px; height: 48px; margin-bottom: 20px; }
  .feature h3 { font-size: 21px; } .feature p { margin-top: 8px; font-size: 17px; }
  .disclaimer { font-size: 15px; margin-top: 34px; }

  .math { grid-template-columns: 1fr 1fr; gap: 22px; }
  .ledger { border-radius: 32px; padding: 34px 34px 30px; }
  .ledger .title { font-size: 26px; }
  .ledger li { font-size: 18px; padding: 14px 0; }
  .ledger .total span:last-child { font-size: 34px; }
  .punch { font-size: 24px; margin-top: 40px; }

  .wide-only { display: inline; }
  #pricing .eyebrow { display: block; }
  #pricing .head { margin-bottom: 56px; }
  #pricing .head h2 { margin-top: 14px; }
  #pricing { padding-top: 96px; }
  .opt { padding: 20px 24px; border-radius: 24px; gap: 16px; }
  .opt-main b { font-size: 21px; } .opt-main small { font-size: 16px; }
  .opt-price b { font-size: 28px; } .opt-price small { font-size: 14.5px; }
  .tag { right: 24px; font-size: 12px; }
  .includes { margin-top: 28px; }
  .includes ul { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .terms { font-size: 16px; }
  .fineprint { font-size: 14.5px; }

  .room { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .room figure { border-radius: 36px; }
  .room h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 14px; }
  .room > div > p { font-size: 20px; margin-top: 16px; }
  .checks { margin: 26px 0 32px; gap: 14px; }
  .checks li { font-size: 19px; }

  .faq { gap: 12px; }
  .faq summary { padding: 22px 26px; font-size: 20px; }
  .faq details p { padding: 0 26px 24px; font-size: 18px; }

  .finale { margin-top: 28px; }
  .call { padding: 120px 24px 150px; }
  .call h2 { font-size: clamp(40px, 5.4vw, 66px); }
  .call p { font-size: 21px; margin: 20px auto 34px; }
  footer { padding-bottom: 44px; }
  body.has-buybar footer { padding-bottom: 44px; }
  .foot { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 44px; }
  .foot > :first-child, .foot > :last-child { grid-column: auto; }
  .legal-line { margin-top: 40px; font-size: 14px; }

  .buybar { display: none; }
  .dlg { padding: 38px 34px 32px; }
  dialog.sheet { display: none; }
  .cookie { padding: 26px 28px; border-radius: 28px; left: 16px; right: 16px; bottom: 16px; }
  .cookie h2 { font-size: 21px; } .cookie p { font-size: 16px; }

  .doc { padding: 0 32px; }
  .doc h1 { font-size: clamp(36px, 5vw, 50px); }
  .doc h2 { font-size: 25px; margin-top: 44px; }
  .doc p, .doc li { font-size: 18px; }
  .doc table { display: table; }
}
