/* Fitbody Zone public website. Colours come from the logo: deep teal, electric green and turquoise. */
:root {
  --bg: #f4f7f4;
  --surface: #ffffff;
  --surface-2: #e9f0ec;
  --ink: #0e2a31;
  --ink-2: #33525a;
  --muted: #536b70;
  --line: #d6e1dc;
  --brand: #122e36;
  --brand-2: #0c2228;
  --green: #48c75a;
  --green-ink: #1c7a31;
  --teal: #14b2a2;
  --teal-ink: #0a6f65;
  --on-brand: #ffffff;
  --accent-soft: #e2f6e4;
  --teal-soft: #dcf3f0;
  --shadow: 0 1px 2px rgba(14, 42, 49, .06), 0 10px 30px -12px rgba(14, 42, 49, .18);
  --shadow-lg: 0 24px 60px -20px rgba(14, 42, 49, .35);
  --radius: 18px;
  --radius-sm: 12px;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a181c; --surface: #10242a; --surface-2: #16313a; --ink: #eaf4f1; --ink-2: #bdd0cc; --muted: #9db3af;
    --line: #234047; --brand: #0d2a31; --brand-2: #07181c; --green: #5bd66e; --green-ink: #74e286; --teal: #2cc9b8;
    --teal-ink: #5fdccd; --accent-soft: #163a25; --teal-soft: #113a37;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -14px rgba(0, 0, 0, .6); --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a181c; --surface: #10242a; --surface-2: #16313a; --ink: #eaf4f1; --ink-2: #bdd0cc; --muted: #9db3af;
  --line: #234047; --brand: #0d2a31; --brand-2: #07181c; --green: #5bd66e; --green-ink: #74e286; --teal: #2cc9b8;
  --teal-ink: #5fdccd; --accent-soft: #163a25; --teal-soft: #113a37;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -14px rgba(0, 0, 0, .6); --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .wrap { padding: 0 32px; } }

/* Display type: condensed, italic and sporty, like the logo */
.display { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: .95; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--green), var(--teal)); }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 15px/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-go { background: var(--green); color: #0b2a12; box-shadow: 0 10px 24px -10px rgba(72, 199, 90, .7); }
.btn-go:hover { box-shadow: 0 14px 30px -10px rgba(72, 199, 90, .85); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-dark { background: var(--brand); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { height: 46px; width: auto; }
.brand span { font: 800 italic 22px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.brand-badge { background: #fff; border-radius: 12px; padding: 3px 6px; }
.nav { display: none; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.theme-toggle { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .moon { display: none; } }
.head-cta { display: none; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 10px 0 18px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: flex; min-height: 48px; align-items: center; padding: 0 6px; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 14px; width: 100%; }
@media (min-width: 1180px) {
  .nav { display: flex; }
  .head-cta { display: inline-flex; }
  .menu-btn, .mobile-nav, .mobile-nav.open { display: none; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--brand-2); overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8, 26, 31, .96) 0%, rgba(8, 26, 31, .86) 38%, rgba(8, 26, 31, .35) 70%, rgba(8, 26, 31, .15) 100%); }
@media (max-width: 760px) { .hero::before { background: linear-gradient(180deg, rgba(8, 26, 31, .12) 0%, rgba(8, 26, 31, .55) 30%, rgba(8, 26, 31, .94) 52%, rgba(8, 26, 31, .97) 100%); } }
.hero-inner { padding: 96px 0 88px; max-width: 640px; }
@media (max-width: 760px) { .hero-inner { padding: 200px 0 56px; } }
.hero h1 { color: #fff; font-size: clamp(3rem, 8.5vw, 6.2rem); margin-bottom: 18px; }
.hero h1 em { font-style: italic; background: linear-gradient(90deg, #6fe07f, #3fd6c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: #d7e6e2; font-size: 1.15rem; max-width: 52ch; }
.hero .eyebrow { color: #7be3d6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.hero .btn-ghost { color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.hero-facts li { padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 600; color: #fff; }
.hero-facts b { color: #8ff09c; }
.photo-credit { position: absolute; right: 14px; bottom: 10px; font-size: 11px; color: rgba(255, 255, 255, .75); }
.photo-credit a { color: inherit; }

/* Sections */
.section { padding: 76px 0; }
.section-tight { padding: 52px 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 60ch; }
.link-more { min-height: 44px; white-space: nowrap; font-weight: 700; color: var(--teal-ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-more:hover { text-decoration: underline; }
.link-more svg { width: 18px; height: 18px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.band-dark { background: var(--brand); color: #fff; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: #cfe0dc; }

/* Pillars */
.pillars { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.pillar { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: transform .2s ease, box-shadow .2s ease; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar h3 { font-size: 2rem; margin: 14px 0 6px; }
.pillar p { color: var(--ink-2); font-size: 15px; margin: 0 0 14px; }
.pillar-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--green-ink); }
.pillar-icon svg { width: 26px; height: 26px; }
.pillar:nth-child(even) .pillar-icon { background: var(--teal-soft); color: var(--teal-ink); }

/* Tags and status labels */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font: 700 12px/1.2 var(--body); letter-spacing: .02em; background: var(--surface-2); color: var(--ink-2); }
.tag-live { background: var(--accent-soft); color: var(--green-ink); }
.tag-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.tag-soon { background: transparent; border: 1.5px dashed var(--line); color: var(--muted); }
.tag svg { width: 14px; height: 14px; flex: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Cards */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: 1.15rem; font-family: var(--body); font-weight: 800; margin: 0; line-height: 1.3; }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.card-media { position: relative; aspect-ratio: 16 / 9; background: var(--brand); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play span { width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .94); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); transition: transform .2s ease; }
.play svg { width: 22px; height: 22px; color: #0e2a31; margin-left: 3px; }
.card:hover .play span { transform: scale(1.1); }

/* Workout cards: typographic covers, no stock photo pretending to be the session */
.cover { position: relative; aspect-ratio: 16 / 9; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: radial-gradient(120% 140% at 100% 0%, rgba(44, 201, 184, .55), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(91, 214, 110, .45), transparent 55%), var(--brand); overflow: hidden; }
.cover::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%; border: 22px solid rgba(255, 255, 255, .07); }
.cover .display { font-size: 2rem; color: #fff; position: relative; z-index: 1; }
.cover .tag { background: rgba(255, 255, 255, .16); color: #fff; align-self: flex-start; }
.cover-type { font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #bdf5c6; position: relative; z-index: 1; }
.card-workout:nth-child(3n+2) .cover { background: radial-gradient(120% 140% at 100% 0%, rgba(91, 214, 110, .5), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(44, 201, 184, .5), transparent 55%), #10333c; }
.card-workout:nth-child(3n) .cover { background: radial-gradient(120% 140% at 0% 0%, rgba(44, 201, 184, .5), transparent 55%), radial-gradient(90% 120% at 100% 100%, rgba(91, 214, 110, .4), transparent 55%), #0b252b; }

/* Recipe cards */
.recipe-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nutri { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: auto; padding-top: 10px; }
.nutri div { background: var(--surface-2); border-radius: 10px; padding: 8px 4px; text-align: center; }
.nutri b { display: block; font-size: 15px; }
.nutri span { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* Split feature rows */
.split { display: grid; gap: 34px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 56px; } .split.flip > :first-child { order: 2; } }
.split h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.photo-stack { position: relative; }
.photo-stack img { border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-stack .small { position: absolute; width: 44%; aspect-ratio: 1; right: -8px; bottom: -26px; border: 6px solid var(--bg); border-radius: 22px; }
@media (max-width: 600px) { .photo-stack .small { right: 8px; } }
figure { margin: 0; }
figcaption, .credit { font-size: 12px; color: var(--muted); margin-top: 8px; }
.credit a { color: inherit; }
.checks { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--green-ink); margin-top: 2px; }

/* Equipment chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 700; transition: background .18s ease, transform .18s ease, border-color .18s ease; }
.chip:hover { transform: translateY(-2px); border-color: var(--teal); }
.chip small { font-weight: 700; color: var(--muted); }
.chip[aria-current="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip[aria-current="true"] small { color: #bfe9e2; }

/* Filters */
.filters { display: grid; gap: 12px; margin-bottom: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
@media (min-width: 760px) { .filters { grid-template-columns: 2fr repeat(3, 1fr) auto; align-items: end; } }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 500 15px var(--body); }
.field input:focus, .field select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }
.result-count { color: var(--muted); font-weight: 600; margin: -10px 0 18px; }

/* Page heads */
.page-head { padding: 56px 0 30px; background: radial-gradient(70% 120% at 100% 0%, var(--teal-soft), transparent 60%), radial-gradient(60% 120% at 0% 100%, var(--accent-soft), transparent 60%); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; padding: 0; list-style: none; }
.crumbs a { color: var(--teal-ink); text-decoration: none; font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

/* Detail pages */
.detail { display: grid; gap: 34px; }
@media (min-width: 980px) { .detail { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); align-items: start; } .detail aside { position: sticky; top: 96px; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 1.25rem; font-family: var(--body); font-weight: 800; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.facts div { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.facts dt { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 2px 0 0; font-weight: 800; }
.prose { color: var(--ink-2); }
.prose h3 { font-size: 1.1rem; font-family: var(--body); font-weight: 800; margin-top: 1.4em; color: var(--ink); }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose strong { color: var(--ink); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-none { aspect-ratio: 16 / 9; border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 24px; background: var(--surface-2); color: var(--muted); border: 1.5px dashed var(--line); }
.sets { width: 100%; border-collapse: collapse; font-size: 15px; }
.sets th, .sets td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.sets th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.day { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.day + .day { margin-top: 16px; }
.day-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--surface-2); }
.day-num { font: 800 italic 1.9rem/1 var(--display); color: var(--teal-ink); }
.day ol { list-style: none; margin: 0; padding: 0; }
.day li a { display: flex; align-items: center; gap: 14px; padding: 12px 20px; text-decoration: none; border-top: 1px solid var(--line); }
.day li a:hover { background: var(--surface-2); }
.day li img, .day li .thumb-none { width: 92px; aspect-ratio: 16 / 9; border-radius: 10px; object-fit: cover; flex: none; background: var(--brand); }
.day li .name { font-weight: 800; }
.day li .sub { font-size: 14px; color: var(--muted); }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--teal-soft); color: var(--ink); font-size: 14.5px; }
.notice svg { flex: none; width: 22px; height: 22px; color: var(--teal-ink); }

/* App and pricing */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 20px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .25); }
.store[aria-disabled="true"] { opacity: .78; cursor: default; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 11px; opacity: .85; }
.store b { font-size: 17px; }
.price-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.price.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.price .amount { font: 800 italic 3rem/1 var(--display); }
.price ul { padding-left: 1.1em; margin: 6px 0 14px; color: var(--ink-2); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--teal-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); }

/* CTA band */
.cta { border-radius: 28px; padding: 44px 30px; color: #fff; background: radial-gradient(80% 140% at 100% 0%, rgba(44, 201, 184, .55), transparent 60%), radial-gradient(70% 140% at 0% 100%, rgba(91, 214, 110, .45), transparent 60%), #0d2a31; display: grid; gap: 22px; align-items: center; }
@media (min-width: 860px) { .cta { grid-template-columns: 1.4fr 1fr; padding: 56px; } }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.cta p { color: #d4e6e1; margin: 0; }

/* Footer */
.site-foot { background: var(--brand-2); color: #c3d6d2; padding: 60px 0 30px; margin-top: 40px; }
.site-foot a { color: #e8f3f0; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.foot-grid h3 { color: #fff; font: 800 14px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-brand img { height: 64px; width: auto; background: #fff; border-radius: 14px; padding: 6px 8px; margin-bottom: 14px; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px; }
.disclaimer { font-size: 13px; color: #a9c1bc; max-width: 70ch; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Member area: forms, messages and dashboard */
.auth { min-height: calc(100vh - 72px); display: grid; align-items: center; padding: 48px 0; background: radial-gradient(70% 120% at 100% 0%, var(--teal-soft), transparent 60%), radial-gradient(60% 120% at 0% 100%, var(--accent-soft), transparent 60%); }
.auth-card { width: 100%; max-width: 480px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px 26px; box-shadow: var(--shadow); }
@media (min-width: 600px) { .auth-card { padding: 40px; } }
.auth-card h1 { font-size: clamp(2.2rem, 6vw, 3rem); }
.auth-card .lead { font-size: 1rem; margin-bottom: 22px; }
.form { display: grid; gap: 16px; }
.form .field input, .form .field select, .form .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 500 16px var(--body); }
.form .field textarea { min-height: 90px; resize: vertical; }
.form .field input:focus, .form .field select:focus, .form .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 22%, transparent); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field .error, .error-text { font-size: 14px; color: #b42318; font-weight: 600; margin-top: 6px; }
:root[data-theme="dark"] .field .error, :root[data-theme="dark"] .error-text { color: #ff9b8f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .field .error, :root:not([data-theme="light"]) .error-text { color: #ff9b8f; } }
.row-2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--green-ink); flex: none; }
.btn-block { width: 100%; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 6px 0; }
.or::before, .or::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.auth-foot { margin-top: 20px; text-align: center; color: var(--ink-2); font-size: 15px; }
.auth-foot a, .text-link { color: var(--teal-ink); font-weight: 700; }
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; font-size: 15px; margin-bottom: 18px; }
.alert svg { flex: none; width: 22px; height: 22px; }
.alert-ok { background: var(--accent-soft); color: var(--ink); }
.alert-ok svg { color: var(--green-ink); }
.alert-bad { background: #fde7e5; color: #7a1d14; }
:root[data-theme="dark"] .alert-bad { background: #3b1714; color: #ffd2cc; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .alert-bad { background: #3b1714; color: #ffd2cc; } }

/* Choice chips for the welcome questions */
.q { border: 0; margin: 0 0 28px; padding: 0; }
.q legend { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; padding: 0; }
.q .hint { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: 15px; transition: background .15s ease, border-color .15s ease; }
.opt input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
:root[data-theme="dark"] .opt input:checked + span { background: var(--green); color: #0b2a12; border-color: var(--green); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .opt input:checked + span { background: var(--green); color: #0b2a12; border-color: var(--green); } }
.opt input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.sticky-actions { position: sticky; bottom: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); padding: 14px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* Dashboard */
.dash-head { padding: 40px 0 26px; background: radial-gradient(70% 120% at 100% 0%, var(--teal-soft), transparent 60%), radial-gradient(60% 120% at 0% 100%, var(--accent-soft), transparent 60%); border-bottom: 1px solid var(--line); }
.dash-head h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: 6px; }
.dash-grid { display: grid; gap: 18px; }
@media (min-width: 980px) { .dash-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.tile h2 { font: 800 1.2rem/1.3 var(--body); margin: 0 0 4px; }
.tile .sub { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.tile + .tile { margin-top: 18px; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 16px 0; }
.day-dot { display: grid; justify-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.day-dot i { width: 100%; max-width: 46px; aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1.5px solid transparent; font-style: normal; color: var(--muted); }
.day-dot.on i { background: var(--green); color: #0b2a12; }
.day-dot.today i { border-color: var(--teal); }
.day-dot.future i { opacity: .55; }
.day-dot svg { width: 20px; height: 20px; }
.progress { height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--teal)); }
.big-num { font: 800 italic 2.6rem/1 var(--display); }
.suggest { display: grid; gap: 14px; }
@media (min-width: 640px) { .suggest { grid-template-columns: 220px 1fr; align-items: center; } }
.suggest .cover { aspect-ratio: 4 / 3; border-radius: 16px; }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.list-plain li:first-child { border-top: 0; }
.list-plain a { font-weight: 700; text-decoration: none; }
.list-plain a:hover { text-decoration: underline; }
.list-plain .meta { color: var(--muted); font-size: 14px; }
.icon-btn { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; display: inline-grid; place-items: center; }
.icon-btn:hover { color: #b42318; border-color: currentColor; }
.empty { color: var(--muted); font-size: 15px; margin: 0; }
details.log-form summary { list-style: none; cursor: pointer; }
details.log-form summary::-webkit-details-marker { display: none; }
.save-form { display: inline; }
.btn-save { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 15px var(--body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.btn-save[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--green); color: var(--green-ink); }
.btn-save svg { width: 18px; height: 18px; }
.danger-zone { border-color: #f1b9b3; }
.btn-danger { background: #b42318; color: #fff; }
.account-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.nav-signin { white-space: nowrap; font-weight: 700; text-decoration: none; padding: 10px 14px; border-radius: 999px; color: var(--ink); }
.nav-signin:hover { background: var(--surface-2); }
.head-cta.btn svg { width: 18px; height: 18px; }
/* Standalone text links and checkbox rows get full-size tap targets on phones */
.tile > a.text-link, .auth-card a.text-link:not(.check a), .alert a.text-link { display: inline-flex; align-items: center; min-height: 44px; }
.check { min-height: 44px; align-items: center; }
button.chip { font: inherit; font-weight: 700; color: inherit; }
/* Learn articles */
.article { font-size: 1.06rem; line-height: 1.75; color: var(--ink-2); }
.article p:first-child { font-size: 1.2rem; color: var(--ink); }
.article h3 { font-size: 1.35rem; margin-top: 1.6em; }
.article a { color: var(--teal-ink); font-weight: 600; }
