/* Dietbot website: Apple Liquid Glass, light first with an automatic dark appearance. Brand tokens match
   ios/Dietbot/Resources/Assets.xcassets (green #4CAF50, text and buttons #2E7D32 in light). No JavaScript and no
   inline styles, so the strict Content-Security-Policy in .htaccess holds: menus, examples and FAQs are CSS only. */

:root {
  color-scheme: light dark;
  --bg: #F2F6F0;
  --text: #0E1A10;
  --muted: #45524A;
  --faint: #67736A;
  --brand: #4CAF50;
  --accent: #2E7D32;
  --prominent: #2E7D32;
  --on-prominent: #FFFFFF;
  --orange: #C25E00;
  --glass: rgba(255, 255, 255, 0.56);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-edge: rgba(14, 40, 18, 0.07);
  --highlight: rgba(255, 255, 255, 0.95);
  --sheen: rgba(255, 255, 255, 0.55);
  --shadow: 0 18px 50px rgba(30, 70, 36, 0.10), 0 2px 8px rgba(30, 70, 36, 0.06);
  --tint: rgba(76, 175, 80, 0.12);
  --tint-strong: rgba(76, 175, 80, 0.22);
  --aurora-1: rgba(152, 226, 160, 0.70);
  --aurora-2: rgba(222, 244, 150, 0.65);
  --aurora-3: rgba(255, 210, 170, 0.55);
  --aurora-4: rgba(186, 226, 255, 0.60);
  --phone: #0C100D;
  --radius: 30px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070B08;
    --text: #EEF5EF;
    --muted: #AAB8AC;
    --faint: #839285;
    --accent: #6CCB70;
    --prominent: #4CAF50;
    --on-prominent: #102A12;
    --orange: #FFA94D;
    --glass: rgba(30, 40, 32, 0.52);
    --glass-strong: rgba(38, 50, 40, 0.80);
    --glass-border: rgba(255, 255, 255, 0.13);
    --glass-edge: rgba(0, 0, 0, 0.3);
    --highlight: rgba(255, 255, 255, 0.20);
    --sheen: rgba(255, 255, 255, 0.07);
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.3);
    --tint: rgba(76, 175, 80, 0.16);
    --tint-strong: rgba(76, 175, 80, 0.30);
    --aurora-1: rgba(46, 125, 50, 0.45);
    --aurora-2: rgba(120, 150, 30, 0.22);
    --aurora-3: rgba(170, 90, 40, 0.18);
    --aurora-4: rgba(30, 90, 120, 0.25);
    --phone: #000000;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 var(--font);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* The aurora behind the glass: soft, food-fresh colors that the cards blur and tint. */
body::before {
  content: "";
  position: fixed;
  inset: -10vmax;
  z-index: -1;
  background:
    radial-gradient(38vmax 34vmax at 12% 8%, var(--aurora-1), transparent 70%),
    radial-gradient(34vmax 30vmax at 88% 18%, var(--aurora-2), transparent 70%),
    radial-gradient(40vmax 34vmax at 78% 82%, var(--aurora-3), transparent 70%),
    radial-gradient(36vmax 32vmax at 18% 76%, var(--aurora-4), transparent 70%);
  filter: saturate(115%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font); letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 10px; }

.skip { position: absolute; left: -999px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--prominent); color: var(--on-prominent); }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Liquid Glass: blurred, saturated, with a bright upper edge and a soft sheen across the surface. */
.glass {
  background: linear-gradient(140deg, var(--sheen), transparent 42%), var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(185%);
  backdrop-filter: blur(24px) saturate(185%);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--highlight), inset 0 -1px 0 var(--glass-edge), var(--shadow);
}
.glass-strong { background: linear-gradient(140deg, var(--sheen), transparent 42%), var(--glass-strong); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 17px/1 var(--font); text-decoration: none; color: var(--text); cursor: pointer;
}
.btn .icon { width: 18px; height: 18px; }
.btn-prominent {
  color: var(--on-prominent);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 55%), var(--prominent);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 26px rgba(46, 125, 50, 0.32);
}
.btn-prominent:hover { filter: brightness(1.06); }
.btn-glass:hover { background: linear-gradient(140deg, var(--sheen), transparent 42%), var(--glass-strong); }
.store {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px; border-radius: 18px;
  text-decoration: none; color: #FFFFFF; background: #0B0F0C;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(0, 0, 0, 0.22);
}
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: grid; line-height: 1.1; text-align: left; }
.store small { font-size: 11px; opacity: 0.8; }
.store b { font-size: 19px; letter-spacing: -0.01em; }

/* Top toolbar: grouped glass islands, like an iOS 26 toolbar */
.toolbar { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.toolbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toolbar a, .toolbar nav { pointer-events: auto; }
.island { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; }
.logo { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--text); text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.island a.link { padding: 9px 15px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.island a.link:hover { background: var(--tint); }
.toolbar .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Bottom tab bar on phones, like the app's own */
.tabbar { display: none; }
@media (max-width: 820px) {
  .toolbar .links, .toolbar .btn { display: none; }
  .toolbar .container { justify-content: center; }
  .tabbar {
    display: flex; position: fixed; z-index: 50; left: 50%; bottom: max(14px, env(safe-area-inset-bottom));
    transform: translateX(-50%); width: min(420px, calc(100% - 32px)); padding: 6px; border-radius: 999px; justify-content: space-between;
  }
  .tabbar a {
    flex: 1; display: grid; justify-items: center; gap: 2px; padding: 7px 4px 6px; border-radius: 999px;
    color: var(--text); text-decoration: none; font-size: 11px; font-weight: 600;
  }
  .tabbar a .icon { width: 22px; height: 22px; }
  .tabbar a:first-child { background: var(--tint-strong); color: var(--accent); }
  body { padding-bottom: 96px; }
}

/* Sections */
.section { padding: 96px 0; }
.center { text-align: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.h2 { font-size: clamp(34px, 5vw, 56px); margin: 0; font-weight: 750; letter-spacing: -0.04em; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); line-height: 1.5; }
.center .lead { max-width: 40ch; margin: 18px auto 0; }
.grad { background: linear-gradient(115deg, #2E7D32, #4CAF50 45%, #9BCB3B); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-color-scheme: dark) { .grad { background-image: linear-gradient(115deg, #7EDC83, #4CAF50 45%, #C6E86A); } }

/* Phone frame around screenshots */
.phone { width: min(300px, 78vw); padding: 9px; border-radius: 48px; background: var(--phone); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12), 0 30px 70px rgba(20, 40, 24, 0.28), 0 6px 16px rgba(0, 0, 0, 0.15); }
.phone img { border-radius: 39px; width: 100%; }

/* Hero */
.hero { padding: 150px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pill .icon { color: var(--accent); width: 16px; height: 16px; }
.hero h1 { font-size: clamp(46px, 7.2vw, 88px); margin: 20px 0 0; font-weight: 800; letter-spacing: -0.05em; line-height: 0.98; }
.hero .lead { margin: 24px 0 0; max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 34px; }
.note { margin-top: 20px; font-size: 14px; color: var(--faint); }
.stage { position: relative; display: grid; place-items: center; min-height: 640px; }
.bubble { position: absolute; left: -4%; top: 8%; z-index: 2; max-width: 280px; padding: 16px 18px; border-radius: 26px 26px 26px 10px; font-size: 16px; line-height: 1.4; }
.bubble .who { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.bubble .who .icon { width: 14px; height: 14px; color: var(--accent); }
.wave { display: flex; align-items: center; gap: 3px; height: 22px; margin-top: 10px; }
.wave span { width: 3px; height: 30%; border-radius: 3px; background: var(--brand); }
.saved { position: absolute; right: -6%; bottom: 7%; z-index: 2; width: min(300px, 70vw); padding: 14px; border-radius: 28px; }
.saved .head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 6px 10px; font-size: 14px; color: var(--muted); }
.saved .head b { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 15px; }
.saved .head b .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.saved .progress { margin: 4px 6px 12px; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; }
.row + .row { margin-top: 4px; }
.row .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #FFFFFF; background: linear-gradient(160deg, #FFB547, #FF8A1F); }
.row .dot .icon { width: 18px; height: 18px; }
.row .dot.dinner { background: linear-gradient(160deg, #8C8CFF, #5E5CE6); }
.row .dot.lunch { background: linear-gradient(160deg, #FFD54A, #F5B400); }
.row .dot.snack { background: linear-gradient(160deg, #4FD4E8, #12A9C4); }
.row .meta { flex: 1; min-width: 0; }
.row .meta b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .meta small { color: var(--faint); font-size: 13px; }
.row .kcal { font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.row .kcal small { color: var(--faint); font-weight: 500; }
.rows-surface .row { background: var(--glass-strong); border: 1px solid var(--glass-border); }
@media (max-width: 980px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .actions { justify-content: center; }
  .stage { min-height: 600px; }
  .bubble { left: 0; }
  .saved { right: 0; }
}
@media (max-width: 560px) {
  .stage { min-height: auto; display: flex; flex-direction: column; gap: 14px; }
  .bubble, .saved { position: relative; left: auto; right: auto; top: auto; bottom: auto; max-width: none; width: 100%; text-align: left; }
  .stage .phone { order: 2; }
  .saved { order: 3; }
}

/* Progress bars */
.progress { height: 8px; border-radius: 99px; background: var(--tint); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 99px; background: var(--brand); }
.progress .w67 { width: 67%; } .progress .w49 { width: 49%; } .progress .w40 { width: 40%; } .progress .w25 { width: 25%; }

/* Highlights strip */
.strip { padding: 10px 0 20px; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.strip-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 22px; font-weight: 600; font-size: 15px; }
.badge-ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; color: var(--accent); background: var(--tint-strong); }
.badge-ico .icon { width: 20px; height: 20px; }
@media (max-width: 900px) { .strip-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .strip-grid { grid-template-columns: 1fr; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.step { padding: 28px; border-radius: var(--radius); }
.step .num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px; font-weight: 800; color: var(--on-prominent); background: var(--prominent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.step h3 { margin: 0 0 8px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); }
.step q { display: block; margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: var(--tint); color: var(--text); font-size: 15px; quotes: "“" "”"; }
.pair { display: flex; justify-content: center; gap: clamp(20px, 6vw, 72px); margin-top: 56px; flex-wrap: wrap; }
.pair figure { margin: 0; text-align: center; }
.pair .phone { width: min(270px, 78vw); }
.pair figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Ways to log */
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.method { padding: 26px; border-radius: var(--radius); }
.method h3 { margin: 16px 0 6px; font-size: 20px; }
.method p { margin: 0; color: var(--muted); font-size: 16px; }
.method.main { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: linear-gradient(140deg, var(--sheen), transparent 42%), linear-gradient(135deg, var(--tint-strong), var(--tint)), var(--glass); }
.method.main h3 { margin-top: 0; font-size: 26px; }
.method.wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 0.9fr; gap: 22px; align-items: center; }
.method.wide img { border-radius: 22px; border: 1px solid var(--glass-border); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mic { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; color: var(--on-prominent); background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 60%), var(--prominent); box-shadow: 0 0 0 10px var(--tint), 0 18px 40px rgba(46, 125, 50, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.mic .icon { width: 38px; height: 38px; stroke-width: 2.2; }
.callout { display: flex; align-items: center; gap: 14px; justify-content: center; max-width: 720px; margin: 30px auto 0; padding: 14px 22px; border-radius: 999px; color: var(--muted); font-size: 15px; }
.callout img { width: 32px; height: 32px; border-radius: 9px; }
@media (max-width: 900px) { .methods { grid-template-columns: 1fr 1fr; } .method.main, .method.wide { grid-column: 1 / -1; } }
@media (max-width: 600px) { .methods { grid-template-columns: 1fr; } .method.main, .method.wide { grid-template-columns: 1fr; } .callout { border-radius: 24px; text-align: left; } }

/* Checklists */
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks li b { color: var(--text); font-weight: 650; }
.checks .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--accent); stroke-width: 2.6; }

/* Ask Dietbot: radio buttons pick the example, CSS shows its answer */
.ask { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 11px 16px; border-radius: 999px; font-size: 15px; cursor: pointer; }
.chip:hover { background: linear-gradient(140deg, var(--sheen), transparent 42%), var(--glass-strong); }
.answer { padding: 26px; border-radius: 34px; min-height: 270px; }
.answer .top { display: flex; justify-content: space-between; margin-bottom: 22px; }
.round { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.round .icon { width: 18px; height: 18px; }
.round.on { color: var(--on-prominent); background: var(--prominent); border-color: transparent; }
.qa { display: none; }
.qa .q { margin: 0; color: var(--muted); font-weight: 600; font-size: 16px; }
.qa .a { margin: 12px 0 0; font-size: 22px; line-height: 1.4; letter-spacing: -0.015em; }
.qa .a b { color: var(--accent); font-weight: 700; }
.disclaimer { display: flex; align-items: center; gap: 6px; margin: 18px 0 0; font-size: 13px; color: var(--faint); }
.disclaimer .icon { width: 14px; height: 14px; }
#ask1:checked ~ .answer .qa1, #ask2:checked ~ .answer .qa2, #ask3:checked ~ .answer .qa3,
#ask4:checked ~ .answer .qa4, #ask5:checked ~ .answer .qa5 { display: block; animation: swap 0.35s ease; }
#ask1:checked ~ .ask-side label[for="ask1"], #ask2:checked ~ .ask-side label[for="ask2"], #ask3:checked ~ .ask-side label[for="ask3"],
#ask4:checked ~ .ask-side label[for="ask4"], #ask5:checked ~ .ask-side label[for="ask5"] {
  color: var(--on-prominent); background: var(--prominent); border-color: transparent; box-shadow: 0 10px 24px rgba(46, 125, 50, 0.28);
}
#ask1:focus-visible ~ .ask-side label[for="ask1"], #ask2:focus-visible ~ .ask-side label[for="ask2"], #ask3:focus-visible ~ .ask-side label[for="ask3"],
#ask4:focus-visible ~ .ask-side label[for="ask4"], #ask5:focus-visible ~ .ask-side label[for="ask5"] { outline: 3px solid var(--brand); outline-offset: 3px; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .ask { grid-template-columns: 1fr; } .ask .answer { order: 2; } }

/* Screenshot rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.flip .visual { order: -1; }
.visual { display: grid; place-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.flip .visual { order: 0; } }

/* Targets */
.targets { display: grid; gap: 14px; padding: 24px; border-radius: 34px; }
.targets h3 { margin: 0; font-size: 21px; }
.targets > p { margin: 0; color: var(--muted); }
.alarm { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 22px; background: var(--glass-strong); border: 1px solid var(--glass-border); }
.alarm .big { font-size: 30px; font-weight: 300; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.alarm .big small { font-size: 15px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.alarm .meta { flex: 1; color: var(--muted); font-size: 14px; }
.alarm .meta b { display: block; color: var(--text); font-size: 15px; }
.switch { width: 51px; height: 31px; border-radius: 99px; background: #34C759; position: relative; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
.switch::after { content: ""; position: absolute; top: 2px; right: 2px; width: 27px; height: 27px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); }
.today { display: grid; gap: 16px; padding: 24px; border-radius: 34px; }
.today h3 { margin: 0; font-size: 21px; }
.meter .line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 15px; }
.meter .line b { font-variant-numeric: tabular-nums; }
.meter .line span { color: var(--faint); font-variant-numeric: tabular-nums; }
.duo-col { display: grid; gap: 18px; }
.section-tight { margin-top: 44px; }

/* Food database */
.foods { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; margin-top: 44px; }
.food-list { padding: 14px; border-radius: 30px; display: grid; gap: 4px; align-content: center; }
.food-count { padding: 30px; border-radius: 30px; display: flex; flex-direction: column; justify-content: center; }
.food-count small { color: var(--muted); font-size: 15px; }
.food-count .big { font-size: clamp(48px, 6.5vw, 70px); font-weight: 800; letter-spacing: -0.05em; margin: 4px 0 6px; }
.food-count p { margin: 0; color: var(--muted); }
.words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.words span { padding: 7px 12px; border-radius: 999px; font-size: 14px; background: var(--tint); color: var(--text); }
@media (max-width: 860px) { .foods { grid-template-columns: 1fr; } }

/* Card grids */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.card { padding: 26px; border-radius: var(--radius); }
.card h3 { margin: 16px 0 6px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card.wide { grid-column: span 2; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: center; }
.card.wide img { border-radius: 20px; border: 1px solid var(--glass-border); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18); }
.new { margin-left: 6px; padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; color: var(--on-prominent); background: var(--prominent); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } .card.wide { grid-column: 1 / -1; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } .card.wide { grid-template-columns: 1fr; } }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.25fr; gap: 18px; margin-top: 44px; }
.plan { padding: 32px; border-radius: 34px; display: flex; flex-direction: column; }
.plan h3 { margin: 0; font-size: 23px; }
.plan .price { margin: 14px 0 4px; font-size: 52px; font-weight: 800; letter-spacing: -0.05em; }
.plan > p { margin: 0; color: var(--muted); }
.plan.pro { background: linear-gradient(140deg, var(--sheen), transparent 42%), linear-gradient(160deg, var(--tint-strong), var(--tint) 65%), var(--glass); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.tier { padding: 16px; border-radius: 22px; background: var(--glass-strong); border: 1px solid var(--glass-border); }
.tier small { display: block; color: var(--muted); font-size: 13px; }
.tier b { display: block; margin-top: 4px; font-size: 25px; letter-spacing: -0.03em; }
.tier span { color: var(--faint); font-size: 13px; }
.fine { margin: 18px 0 0; font-size: 13px; color: var(--faint); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .tiers { grid-template-columns: 1fr; } }

/* FAQ, also on Support */
.faq { max-width: 800px; margin: 40px auto 0; padding: 8px 26px; border-radius: 34px; }
details { border-bottom: 1px solid var(--glass-edge); }
details:last-child { border-bottom: 0; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 650; font-size: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 20px; color: var(--accent); background: var(--tint); transition: transform 0.25s ease; }
details[open] summary::after { transform: rotate(45deg); }
details > div, details > p { margin: 0 0 20px; color: var(--muted); }

/* Call to action */
.cta { padding: 40px 0 110px; text-align: center; }
.cta-card { padding: 64px 24px; border-radius: 44px; background: linear-gradient(140deg, var(--sheen), transparent 42%), radial-gradient(120% 100% at 50% 0%, var(--tint-strong), transparent 65%), var(--glass); }
.cta-card .app-icon { width: 100px; height: 100px; margin: 0 auto 22px; border-radius: 24px; box-shadow: 0 20px 46px rgba(46, 125, 50, 0.4); }
.cta-card h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); font-weight: 800; letter-spacing: -0.045em; }
.cta-card .lead { max-width: 36ch; margin: 16px auto 30px; }
.cta-card .actions { justify-content: center; margin-top: 0; }

/* Footer */
.site-foot { padding: 0 0 40px; }
.foot { padding: 26px 28px; border-radius: 30px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 10px; }
.foot-brand b { display: block; font-size: 17px; }
.foot-brand span { color: var(--faint); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--glass-edge); color: var(--faint); font-size: 13px; }
.foot-bottom p { margin: 0 0 4px; }

/* Motion: content rises in as it scrolls into view, cards float gently; all off with Reduce Motion. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
    @keyframes rise { from { opacity: 0; transform: translateY(28px) scale(0.985); } to { opacity: 1; transform: none; } }
  }
  .float { animation: float 7s ease-in-out infinite; }
  .float.slow { animation-duration: 9s; animation-delay: -3s; }
  @keyframes float { 50% { transform: translateY(-10px); } }
  .wave span { animation: wave 1.1s ease-in-out infinite; }
  .wave span:nth-child(2n) { animation-delay: -0.3s; }
  .wave span:nth-child(3n) { animation-delay: -0.6s; }
  .wave span:nth-child(5n) { animation-delay: -0.85s; }
  @keyframes wave { 50% { height: 100%; } }
}

/* Privacy, Support and 404 pages */
.site-header { position: sticky; top: 14px; z-index: 50; width: min(820px, 100% - 32px); margin: 14px auto 0; }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 8px; border-radius: 999px;
  background: linear-gradient(140deg, var(--sheen), transparent 42%), var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(185%); backdrop-filter: blur(24px) saturate(185%);
  border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--highlight), var(--shadow);
}
.site-header .brand { display: inline-flex; align-items: center; gap: 10px; padding-right: 8px; font-weight: 700; color: var(--text); text-decoration: none; }
.site-header .brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-header nav { display: flex; gap: 2px; }
.site-header nav a { padding: 8px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-header nav a:hover { background: var(--tint); }
.doc {
  width: min(820px, 100% - 32px); margin: 28px auto 60px; padding: clamp(24px, 5vw, 48px); border-radius: 36px;
  background: linear-gradient(140deg, var(--sheen), transparent 42%), var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(185%); backdrop-filter: blur(24px) saturate(185%);
  border: 1px solid var(--glass-border); box-shadow: inset 0 1px 0 var(--highlight), var(--shadow);
}
.doc h1 { margin: 0 0 8px; font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.045em; }
.doc h2 { margin: 40px 0 12px; font-size: 26px; }
.doc h3 { margin: 28px 0 8px; font-size: 19px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
.doc .updated { color: var(--faint); font-size: 15px; }
.doc .summary, .doc .contact { margin: 26px 0; padding: 20px 22px; border-radius: 24px; background: var(--tint); border: 1px solid var(--glass-border); }
.doc .summary p { margin: 0 0 8px; font-weight: 700; color: var(--text); }
.doc .summary ul { margin: 0; padding-left: 20px; }
.doc .contact p { margin: 0; color: var(--text); }
.doc .table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--glass-edge); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--glass-edge); }
.doc th { color: var(--text); background: var(--tint); }
.doc .button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; margin-top: 10px; border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--on-prominent); background: var(--prominent); }
.doc footer { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--glass-edge); color: var(--faint); font-size: 14px; }
.doc footer a { color: var(--muted); }
