/* Antrenx landing. Plain CSS, no build step. */
:root {
  --ink: #0f1c16;
  --text: #24322b;
  --muted: #5d6c63;
  --paper: #f5f7f2;
  --card: #ffffff;
  --line: #e1e7e1;
  --green-950: #0b2118;
  --green-900: #112e21;
  --green-800: #17392a;
  --green-700: #245c40;
  --green-500: #1d7a53;
  --lime: #bef264;
  --lime-deep: #a3e635;
  --on-dark: #f7faf6;
  --on-dark-muted: #a9c2b5;
  --radius: 22px;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --shadow: 0 1px 2px rgb(10 28 20 / .05), 0 12px 32px rgb(10 28 20 / .08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 Inter, "SF Pro Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--lime-deep); outline-offset: 3px; border-radius: 8px; }

/* Audience switch: everything marked data-for shows only for its audience. */
body[data-audience="you"] [data-for="coach"],
body[data-audience="coach"] [data-for="you"] { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform 120ms var(--ease), background-color 160ms ease, box-shadow 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-lime { background: var(--lime); color: var(--green-950); box-shadow: 0 8px 24px rgb(190 242 100 / .25); }
.btn-lime:hover { background: #cdf77f; }
.btn-ghost { background: rgb(255 255 255 / .08); color: var(--on-dark); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18); }
.btn-ghost:hover { background: rgb(255 255 255 / .14); }
.btn-dark { background: var(--green-900); color: var(--on-dark); }
.btn-dark:hover { background: var(--green-800); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--green-700); }

/* Header */
.site-header { position: sticky; top: 12px; z-index: 30; padding-top: 12px; margin-bottom: -76px; }
.nav {
  display: flex; align-items: center; gap: 18px; height: 64px; padding: 0 10px 0 18px;
  border-radius: 999px; background: rgb(11 33 24 / .72); color: var(--on-dark);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 10px 30px rgb(0 0 0 / .18);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--on-dark-muted); font-weight: 600; font-size: .95rem; transition: color 150ms ease, background-color 150ms ease; }
.nav-links a:hover { color: var(--on-dark); background: rgb(255 255 255 / .07); }
.lang-switch { color: var(--on-dark-muted); font-weight: 700; font-size: .9rem; text-decoration: none; padding: 8px 10px; }
.lang-switch:hover { color: var(--on-dark); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }
@media (max-width: 860px) { .nav-links { display: none; } .lang-switch { margin-left: auto; } }
@media (max-width: 420px) { .nav .btn { display: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 520px at 85% 10%, rgb(190 242 100 / .13), transparent 60%),
    radial-gradient(700px 600px at 0% 100%, rgb(36 92 64 / .9), transparent 70%),
    linear-gradient(180deg, var(--green-900), var(--green-950));
  padding: 132px 0 96px;
  border-radius: 0 0 40px 40px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero h1 { color: var(--on-dark); margin-top: 26px; }
.hero h1 em, h2 em { font-style: normal; color: var(--lime); }
h2 em { color: var(--green-500); }
.hero-sub { margin-top: 22px; max-width: 34em; font-size: 1.18rem; color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: .92rem; color: var(--on-dark-muted); }

.segmented {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px;
  background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1);
}
.segmented button {
  position: relative; z-index: 1; border: 0; background: none; color: var(--on-dark-muted); cursor: pointer;
  font: inherit; font-weight: 700; font-size: .95rem; padding: 10px 22px; border-radius: 999px; transition: color 200ms ease;
}
.segmented button[aria-pressed="true"] { color: var(--green-950); }
.segmented .thumb {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--lime);
  transition: transform 380ms var(--ease);
}
body[data-audience="coach"] .hero .segmented .thumb { transform: translateX(100%); }
.segmented.light { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.segmented.light button { color: var(--muted); }
.segmented.light button[aria-pressed="true"] { color: var(--on-dark); }
.segmented.light .thumb { background: var(--green-900); }
.billing[data-billing="year"] .thumb { transform: translateX(100%); }

/* Hero demo: phone */
.demo { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone {
  position: relative; width: min(340px, 100%); border-radius: 46px; padding: 12px;
  background: linear-gradient(160deg, #2a3a33, #0d1813); box-shadow: 0 40px 80px rgb(0 0 0 / .45), inset 0 0 0 1.5px rgb(255 255 255 / .12);
}
.screen { position: relative; border-radius: 36px; overflow: hidden; background: #f4f6f2; color: var(--ink); padding: 58px 16px 18px; min-height: 560px; }
.island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); height: 34px; min-width: 116px; border-radius: 999px; background: #000;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 14px; color: #fff; font-size: .82rem; font-weight: 700;
  transition: min-width 420ms var(--ease);
}
.island .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; color: var(--green-950); font-size: 10px; }
.island .island-time { font-variant-numeric: tabular-nums; color: var(--lime); opacity: 0; transition: opacity 200ms ease; }
.island.live { min-width: 190px; }
.island.live .island-time { opacity: 1; }
.island:not(.live) .dot { opacity: 0; }
.app-title { display: flex; justify-content: space-between; align-items: baseline; }
.app-title strong { font-size: 1.3rem; letter-spacing: -0.02em; }
.app-title span { color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.ex { margin-top: 14px; background: #fff; border-radius: 18px; padding: 12px 12px 6px; box-shadow: var(--shadow); }
.ex-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ex-thumb { position: relative; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, #dfe9e1, #c4d8ca); display: grid; place-items: center; font-size: 1.1rem; }
.ex-thumb::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%; background: #e62117 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3.5 2.5v5l4-2.5z' fill='white'/%3E%3C/svg%3E") center/9px no-repeat; box-shadow: 0 0 0 2px #fff; }
.ex-name { font-weight: 700; font-size: .95rem; }
.ex-meta { color: var(--muted); font-size: .78rem; }
.set { display: grid; grid-template-columns: 28px 1fr 1fr 34px; align-items: center; gap: 6px; padding: 6px 2px; font-size: .9rem; font-variant-numeric: tabular-nums; border-top: 1px solid #eef1ee; }
.set .n { color: var(--muted); font-weight: 700; }
.set.drop { padding-left: 18px; font-size: .82rem; color: var(--muted); }
.check {
  width: 30px; height: 30px; border-radius: 9px; border: 0; background: #e9eee9; cursor: pointer; display: grid; place-items: center; color: transparent;
  transition: background-color 160ms ease, transform 120ms var(--ease);
}
.check:active { transform: scale(.9); }
.check[aria-pressed="true"] { background: var(--green-500); color: #fff; }
.rest {
  position: absolute; left: 16px; right: 16px; bottom: 18px; border-radius: 20px; background: var(--green-900); color: var(--on-dark);
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; transform: translateY(140%); transition: transform 460ms var(--ease);
}
.rest.show { transform: none; }
.rest-ring { --p: 1; width: 46px; height: 46px; border-radius: 50%; background: conic-gradient(var(--lime) calc(var(--p) * 360deg), rgb(255 255 255 / .12) 0); display: grid; place-items: center; flex: none; }
.rest-ring::after { content: ""; width: 36px; height: 36px; border-radius: 50%; background: var(--green-900); }
.rest strong { display: block; font-size: 1.5rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.1; }
.rest small { color: var(--on-dark-muted); }
.rest .skip-rest { margin-left: auto; border: 0; background: rgb(255 255 255 / .1); color: var(--on-dark); font: inherit; font-weight: 700; font-size: .85rem; padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.demo-hint { position: absolute; bottom: -6px; font-size: .88rem; color: var(--on-dark-muted); display: flex; align-items: center; gap: 8px; }
.demo-hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* Hero demo: coach feed */
.feed { width: min(470px, 100%); border-radius: 28px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); padding: 18px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.feed-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 14px; }
.feed-head strong { font-size: 1.05rem; }
.feed-head span { color: var(--on-dark-muted); font-size: .85rem; }
.post { background: #fff; color: var(--ink); border-radius: 18px; padding: 14px; margin-top: 10px; box-shadow: 0 6px 18px rgb(0 0 0 / .14); }
.post-top { display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--green-950); flex: none; }
.post-who { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.post-when { color: var(--muted); font-size: .8rem; }
.tag { margin-left: auto; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #edf3ee; color: var(--green-700); white-space: nowrap; }
.post-body { margin-top: 10px; font-size: .95rem; }
.post-body b { font-variant-numeric: tabular-nums; }
.reply-row { display: flex; gap: 8px; margin-top: 12px; }
.reply-row input { flex: 1; min-width: 0; height: 40px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; font: inherit; font-size: 16px; background: #f7f9f6; }
.reply-row button { height: 40px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--green-900); color: #fff; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; transition: transform 120ms var(--ease); }
.reply-row button:active { transform: scale(.95); }
.reply-sent { margin-top: 10px; margin-left: auto; width: fit-content; max-width: 85%; background: var(--green-500); color: #fff; padding: 8px 12px; border-radius: 14px 14px 4px 14px; font-size: .9rem; animation: rise 360ms var(--ease); }
.toast {
  position: absolute; top: 4px; left: 50%; translate: -50% 0; width: min(360px, 92%); background: rgb(250 252 249 / .92); color: var(--ink);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 18px; padding: 10px 14px; display: flex; gap: 10px; align-items: center;
  box-shadow: 0 16px 40px rgb(0 0 0 / .3); font-size: .86rem; opacity: 0; transform: translateY(-16px) scale(.97); pointer-events: none;
  transition: opacity 240ms ease, transform 420ms var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.toast img { width: 30px; height: 30px; border-radius: 8px; }
.toast b { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* Proof strip */
.strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin-top: 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .92rem; color: var(--text); }
.chip i { font-style: normal; }

/* Sections */
section { padding: 104px 0; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-500); margin-bottom: 14px; }
.section-head { max-width: 760px; }
.section-head p { margin-top: 18px; font-size: 1.15rem; color: var(--muted); }
.center { text-align: center; margin-inline: auto; }

.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 56px; }
.feature { grid-column: span 4; background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.feature.wide { grid-column: span 8; }
.feature.dark { background: var(--green-900); color: var(--on-dark-muted); }
.feature.dark h3 { color: var(--on-dark); }
.feature p { color: var(--muted); }
.feature.dark p { color: var(--on-dark-muted); }
.icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #e6f2ea; font-size: 1.35rem; }
.feature.dark .icon { background: rgb(190 242 100 / .14); }
.feature ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature li { position: relative; padding-left: 26px; font-size: .97rem; }
.feature li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 9px; border-left: 2.5px solid var(--green-500); border-bottom: 2.5px solid var(--green-500); transform: rotate(-45deg) scale(.8); }
.feature.dark li::before { border-color: var(--lime); }
@media (max-width: 980px) { .feature, .feature.wide { grid-column: span 6; } }
@media (max-width: 640px) { .feature, .feature.wide { grid-column: span 12; } }

/* Burn bar (honest calories feature) */
.burn { margin-top: auto; padding-top: 10px; }
.burn-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: rgb(255 255 255 / .08); }
.burn-bar span { display: block; height: 100%; }
.burn-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: .85rem; }
.burn-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; background: var(--c); vertical-align: -1px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lime); color: var(--green-950); font-weight: 800; margin-bottom: 18px; }
.step p { margin-top: 8px; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Platforms */
.platforms { background: var(--green-900); color: var(--on-dark-muted); border-radius: 40px; margin: 0 12px; }
.platforms h2 { color: var(--on-dark); }
.platforms h2 em { color: var(--lime); }
.platforms .section-head p { color: var(--on-dark-muted); }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.platform { border-radius: var(--radius); padding: 26px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09); }
.platform h3 { color: var(--on-dark); margin: 14px 0 6px; }
.platform .icon { background: rgb(190 242 100 / .14); }
@media (max-width: 860px) { .platform-grid { grid-template-columns: 1fr; } }

/* Pricing */
.price-toolbar { display: flex; justify-content: center; margin-top: 36px; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }
.prices.two { max-width: 820px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: inset 0 0 0 1px var(--line); }
.plan.best { background: var(--green-900); color: var(--on-dark-muted); box-shadow: 0 24px 50px rgb(17 46 33 / .25); }
.plan.best h3, .plan.best .amount { color: var(--on-dark); }
.badge { position: absolute; top: 18px; right: 18px; background: var(--lime); color: var(--green-950); font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.plan .desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan.best .desc { color: var(--on-dark-muted); }
.amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.amount small { font-size: .95rem; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.plan.best .amount small { color: var(--on-dark-muted); }
.plan ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 9px; font-size: .95rem; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 800; }
.plan.best li::before { color: var(--lime); }
.plan .btn { margin-top: auto; }
.billing [data-period="year"], .billing[data-billing="year"] [data-period="month"] { display: none; }
.billing[data-billing="year"] [data-period="year"] { display: inline; }
.fine { margin-top: 22px; text-align: center; color: var(--muted); font-size: .92rem; }

/* Trust */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.trust-list { display: grid; gap: 14px; }
.trust-item { display: flex; gap: 16px; padding: 20px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.trust-item p { color: var(--muted); margin-top: 4px; font-size: .97rem; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; 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 240ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* Final CTA + footer */
.cta { text-align: center; color: var(--on-dark-muted); background: radial-gradient(700px 360px at 50% 0%, rgb(190 242 100 / .16), transparent 70%), var(--green-950); border-radius: 40px; margin: 0 12px; }
.cta h2 { color: var(--on-dark); max-width: 16em; margin-inline: auto; }
.cta h2 em { color: var(--lime); }
.cta p { margin: 18px auto 0; max-width: 36em; font-size: 1.15rem; }
.cta .hero-actions { justify-content: center; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; font-size: .8rem; line-height: 1.15; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
.store b { display: block; font-size: 1.05rem; }
.store[aria-disabled="true"] { opacity: .75; cursor: default; }
footer { padding: 56px 0 40px; color: var(--muted); font-size: .92rem; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot .brand { color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.disclaimer { margin-top: 24px; font-size: .82rem; max-width: 60em; }

/* Reveal on scroll (JS adds .in) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--green-950); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .feed, .toast { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .toast { background: #fff; }
}
.hero .h1-alt { font-size: clamp(2.5rem, 6.2vw, 4.6rem); letter-spacing: -0.035em; line-height: 1.02; color: var(--on-dark); margin-top: 26px; }
.hero .h1-alt em { color: var(--lime); }

/* Hero phone: three app screens with tabs */
.views { display: grid; }
.view { padding: 0; grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 320ms ease, transform 420ms var(--ease), visibility 0s 320ms; }
.screen[data-active="nutrition"] [data-view="nutrition"],
.screen[data-active="workout"] [data-view="workout"],
.screen[data-active="progress"] [data-view="progress"] { opacity: 1; visibility: visible; transform: none; transition: opacity 320ms ease, transform 420ms var(--ease); }
.screen:not([data-active="workout"]) .rest { transform: translateY(140%); }
.view-tabs { display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.view-tabs button { border: 0; background: none; color: var(--on-dark-muted); font: inherit; font-weight: 700; font-size: .88rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.view-tabs button[aria-selected="true"] { background: var(--lime); color: var(--green-950); }
.demo { flex-direction: column; }
.demo-hint { position: static; margin-top: 14px; }
.demo [data-hint] { display: none; }
.demo[data-view-active="nutrition"] [data-hint="nutrition"], .demo[data-view-active="workout"] [data-hint="workout"], .demo[data-view-active="progress"] [data-hint="progress"] { display: flex; }

.kcal { display: flex; align-items: center; gap: 14px; margin-top: 14px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.kcal-ring { --p: .5; flex: none; width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(var(--green-500) calc(var(--p) * 360deg), #e6ece6 0); display: grid; place-items: center; }
.kcal-ring > div { width: 82px; height: 82px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.kcal-ring b { font-size: 1.35rem; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.kcal-ring small { font-size: .66rem; color: var(--muted); }
.macros { flex: 1; display: grid; gap: 9px; }
.macro { display: grid; grid-template-columns: 1fr auto; font-size: .74rem; row-gap: 4px; }
.macro span { color: var(--muted); }
.macro b { font-variant-numeric: tabular-nums; }
.macro i { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: linear-gradient(var(--c), var(--c)) 0 0 / var(--w) 100% no-repeat, #e9eee9; }
.meal { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); font-size: .86rem; }
.meal b { display: block; }
.meal span { color: var(--muted); font-size: .78rem; }
.meal em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; }
.meal.muted { background: #f9fbf8; box-shadow: inset 0 0 0 1px #e6ece6; }
.meal mark { background: #eef9d9; color: #3f6212; font-size: .66rem; font-weight: 700; padding: 2px 7px; border-radius: 99px; margin-left: 4px; vertical-align: 1px; }
.toolbar { display: flex; gap: 6px; margin-top: 12px; }
.toolbar span { flex: 1; text-align: center; font-size: .72rem; font-weight: 700; padding: 9px 4px; border-radius: 12px; background: var(--green-900); color: var(--on-dark); }

.card-mini { margin-top: 12px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.weight-head { display: flex; justify-content: space-between; align-items: flex-start; }
.weight-head small, .burn-mini small, .stat-row small { color: var(--muted); font-size: .72rem; display: block; }
.weight-head b { font-size: 1.5rem; letter-spacing: -0.03em; }
.delta { font-size: .78rem; font-weight: 800; color: var(--green-500); background: #e6f4ec; padding: 4px 9px; border-radius: 99px; }
.spark { width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.spark-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.screen[data-active="progress"] .spark-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1100ms var(--ease) 150ms; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.stat-row > div { background: #fff; border-radius: 14px; padding: 10px; box-shadow: var(--shadow); }
.stat-row b { display: block; font-size: 1.02rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.burn-mini b { display: block; font-size: 1.1rem; margin: 2px 0 8px; }
.burn-mini .burn-bar { background: #e9eee9; height: 10px; }
@media (prefers-reduced-motion: reduce) { .spark-line { stroke-dashoffset: 0; } }

/* ui-ux-pro-max pass: athletic display type, SVG icons, touch targets, focus */
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1E9F; }
:root { --display: "Barlow Condensed", "Arial Narrow", Inter, system-ui, sans-serif; }
h1, .hero .h1-alt, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; line-height: .98; }
h1, .hero .h1-alt { font-size: clamp(3rem, 7.4vw, 5.6rem); }
h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.amount, .kcal-ring b, .weight-head b, .stat-row b, .rest strong, .burn-mini b, .app-title strong { font-family: var(--display); font-weight: 700; letter-spacing: 0; }
.amount { font-size: 3rem; }
.app-title strong { font-size: 1.45rem; }

.i { flex: none; display: inline-block; vertical-align: -0.2em; }
.icon { color: var(--green-700); }
.icon .i { width: 24px; height: 24px; }
.feature.dark .icon, .platform .icon { color: var(--lime); }
.chip .i { color: var(--green-500); }
.ex-thumb { color: var(--green-700); }
.ex-thumb .i { width: 22px; height: 22px; }
.toolbar span { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.toolbar .i { width: 15px; height: 15px; }
.meal mark { display: inline-flex; align-items: center; gap: 3px; }
.meal mark .i { width: 11px; height: 11px; }

/* Touch targets >= 44px on interactive controls (skill rule #2) */
.nav-links a, .lang-switch { min-height: 44px; display: inline-flex; align-items: center; }
.segmented button, .view-tabs button { min-height: 44px; }
.reply-row input, .reply-row button { height: 44px; }
.check { width: 44px; height: 36px; }
.faq summary { min-height: 56px; }
a, button, summary, [role="tab"] { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.plan .btn:focus-visible, .btn-line:focus-visible { outline-color: var(--green-500); }
/* Room for Romanian diacritics (Ș, Ț comma below; Â, Ă above) in uppercase display lines */
h1, .hero .h1-alt { line-height: 1.06; }
h2 { line-height: 1.04; }
