/* treny.no. Colours and type follow lib/design/tokens.dart ("Stone"): neutral
   actions, lime (--accent) only for signals: the logo, the one lime word, new/live tags. */
@font-face { font-family: Barlow; font-weight: 400; font-display: swap; src: url(fonts/Barlow-Regular.woff2) format("woff2"); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(fonts/Barlow-SemiBold.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(fonts/BarlowCondensed-ExtraBold.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #121110;
  --surface: #1b1a18;
  --raised: #262421;
  --line: #34312d;
  --ink: #ede9e0;
  --muted: #a8a296;
  --action: #e4dccb;
  --on-action: #121110;
  --action-text: #e4dccb;
  --accent: #c6f432;
  --on-accent: #121110;
  --accent-text: #c6f432;
  --gutter: clamp(16px, 5vw, 48px);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f3f0e8;
    --surface: #fcfbf7;
    --raised: #ece8df;
    --line: #ddd8cc;
    --ink: #1a1916;
    --muted: #625d54;
    --action: #2a2724;
    --on-action: #f3f0e8;
    --action-text: #2a2724;
    --on-accent: #1a1916;
    --accent-text: #4a6a00;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(1.0625rem, 1rem + .25vw, 1.1875rem)/1.55 Barlow, system-ui, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--action-text); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 {
  margin: 0;
  font-family: "Barlow Condensed", Barlow, system-ui, sans-serif;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: clamp(3.5rem, 11vw, 7.75rem); line-height: .92; letter-spacing: -.005em; }
h2 { font-size: clamp(2.5rem, 6.5vw, 4.75rem); line-height: .95; }
h3 { font-size: clamp(1.625rem, 3vw, 2.125rem); }
p { margin: 0; }
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.lead { color: var(--muted); font-size: clamp(1.1875rem, 1rem + .9vw, 1.5rem); line-height: 1.4; max-width: 34em; }
.muted { color: var(--muted); }
.mark { color: var(--accent-text); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; padding: 8px 16px; background: var(--action); color: var(--on-action); }
.skip:focus { left: 16px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.75rem/1 "Barlow Condensed", sans-serif; letter-spacing: .04em; }
.logo svg { width: 26px; height: 26px; }
.logo .bar { fill: var(--ink); }
.logo .stem { fill: var(--accent); }
.top nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 1rem; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top .side { display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 1rem; }
.top .side a:not(.btn) { text-decoration: none; }
@media (max-width: 860px) { .top nav { display: none; } .top .side { margin-left: auto; } }
@media (max-width: 460px) { .top .wrap { gap: 12px; } .top .side { gap: 12px; } .top .side .btn { padding: 8px 14px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-ghost { border-color: var(--line); }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.125rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: end; padding-top: clamp(40px, 7vw, 88px); }
.hero-copy { padding-bottom: clamp(40px, 7vw, 88px); display: grid; gap: 28px; }
.eyebrow { font-weight: 600; font-size: 1rem; letter-spacing: .02em; color: var(--muted); }
.hero-note { font-size: 1rem; color: var(--muted); }
.phone { border-radius: 30px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgb(0 0 0 / .35); overflow: hidden; background: #121110; }
.hero-shot { width: min(380px, 100%); justify-self: center; margin-bottom: -96px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-shot { width: min(320px, 82%); margin-bottom: -150px; }
}

/* Audiences */
.band { padding-block: clamp(64px, 10vw, 128px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.who > div { padding: 28px 28px 8px 0; display: grid; gap: 14px; align-content: start; }
.who > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.who ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
@media (max-width: 860px) {
  .who { grid-template-columns: 1fr; }
  .who > div { padding: 24px 0; }
  .who > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 7vw, 96px); align-items: center; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.feature:nth-of-type(even) { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.feature:nth-of-type(even) .feature-copy { order: 2; }
.feature-copy { display: grid; gap: 18px; }
.feature ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature li { padding-left: 22px; position: relative; }
.feature li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 3px; background: var(--muted); }
@media (max-width: 760px) {
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; }
  .feature:nth-of-type(even) .feature-copy { order: 0; }
  .feature .phone { width: min(320px, 100%); margin-inline: auto; }
}

/* Gym screen */
.tv { display: grid; gap: 24px; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.tv-shot { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.tv-copy { display: grid; gap: 14px; max-width: 42em; }

/* Accent block */
.statement { background: var(--raised); color: var(--ink); }
.statement .wrap { padding-block: clamp(56px, 9vw, 112px); display: grid; gap: 22px; }
.statement p { max-width: 36em; font-size: clamp(1.1875rem, 1rem + .9vw, 1.5rem); line-height: 1.4; }

/* AI */
.ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.ai-copy { display: grid; gap: 18px; }
.prompts { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.prompts li { padding: 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }
@media (max-width: 760px) { .ai { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { background: var(--surface); border-block: 1px solid var(--line); }
.table-scroll { overflow-x: auto; }
.prices { width: 100%; border-collapse: collapse; min-width: 480px; }
.prices th, .prices td { padding: 18px 12px 18px 0; text-align: left; border-bottom: 1px solid var(--line); }
.prices thead th { color: var(--muted); font-weight: 600; font-size: 1rem; }
.prices tbody th { font: 800 1.75rem/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.prices td { font-variant-numeric: tabular-nums; }
.fineprint { display: grid; gap: 8px; margin-top: 24px; color: var(--muted); font-size: 1rem; max-width: 46em; }

/* Get the app */
.get { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.get-copy { display: grid; gap: 22px; }
.platforms { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.platforms li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.platforms span { color: var(--muted); font-weight: 400; }
.platforms .live { color: var(--accent-text); font-weight: 600; }
@media (max-width: 760px) { .get { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 0; font-weight: 600; cursor: pointer; }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 42em; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px; font-size: 1rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.foot .logo { color: var(--ink); font-size: 1.5rem; }

/* Long text: privacy */
.doc { max-width: 760px; padding-block: clamp(48px, 8vw, 88px); }
.doc h1 { font-size: clamp(3rem, 8vw, 5rem); margin-bottom: 24px; }
.doc h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin: 40px 0 12px; }
.doc p, .doc ul { margin: 0 0 14px; }
.doc li { margin-bottom: 8px; }
.draft { padding: 14px 18px; margin-bottom: 28px; border: 2px solid var(--action-text); border-radius: 8px; font-weight: 600; }

/* Apps: shown by site/app.js once the store links are set */
[hidden] { display: none !important; }
a.live { text-decoration: none; }
.app-banner {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: 10px 10px 10px 12px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); box-shadow: 0 12px 32px rgb(0 0 0 / .3);
}
.app-banner img { border-radius: 10px; flex: none; }
.app-banner-text { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.25; }
.app-banner-text strong { font-size: 1rem; }
.app-banner-text span { font-size: .875rem; color: var(--muted); }
.app-banner .btn { padding: 8px 16px; flex: none; }
.app-banner-close { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.banner-on body { padding-bottom: 96px; }
.top .side a { white-space: nowrap; }
.app-banner img { background: var(--bg); padding: 8px; border: 1px solid var(--line); }

/* Free programs */
.programs { background: var(--surface); border-bottom: 1px solid var(--line); }
.tracks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tracks li { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); }
.tracks .days { font-weight: 600; font-size: .9375rem; color: var(--muted); }
.tracks p { color: var(--muted); }
.tracks .start { justify-self: start; font-weight: 600; text-underline-offset: 4px; }
.tracks .peek { justify-self: start; color: var(--muted); font-size: .9375rem; text-underline-offset: 4px; margin-top: -4px; }
.email-box { margin-top: 32px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); display: grid; gap: 16px; }
.email-box h3 { font-size: 1.375rem; }
.email-box p { color: var(--muted); margin-top: 4px; }
.email-row { display: flex; flex-wrap: wrap; gap: 8px; }
.email-row select, .email-row input { min-height: 48px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; }
.email-row select { flex: 0 1 180px; }
.email-row input { flex: 1 1 220px; min-width: 0; }
.email-row .btn { flex: none; min-height: 48px; cursor: pointer; font: inherit; font-weight: 600; }
.email-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.programs-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-top: 32px; }
.programs-foot p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .tracks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tracks { grid-template-columns: 1fr; } }

/* Training-day extras */
.extras { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.extras li { display: grid; gap: 12px; align-content: start; padding: 28px 24px 8px 0; }
.extras li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.extras h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.extras p { color: var(--muted); }
.extras .tag { font-size: .875rem; font-weight: 600; color: var(--muted); }
@media (max-width: 960px) {
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras li:nth-child(3) { padding-left: 0; border-left: 0; }
  .extras li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .extras { grid-template-columns: 1fr; }
  .extras li, .extras li + li { padding: 24px 0; border-left: 0; }
  .extras li + li { border-top: 1px solid var(--line); }
}

/* AI: gyms and athletes side by side */
.ai-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); }
.ai-col { display: grid; gap: 16px; align-content: start; }
@media (max-width: 760px) { .ai-cols { grid-template-columns: 1fr; } }

/* Beta page */
.beta { padding-block: clamp(40px, 7vw, 88px); display: grid; gap: clamp(32px, 5vw, 56px); }
.beta-head { display: grid; gap: 20px; }
.beta-head h1 { font-size: clamp(3rem, 9vw, 6rem); }
.beta-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.beta-card { display: grid; gap: 20px; padding: clamp(20px, 4vw, 32px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.beta-card h2 { font-size: clamp(2rem, 5vw, 2.75rem); }
.beta-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 22px; }
.beta-steps li { counter-increment: step; display: grid; gap: 8px; justify-items: start; padding-left: 48px; position: relative; }
.beta-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: var(--action); color: var(--on-action); font: 800 1.125rem/1 "Barlow Condensed", sans-serif;
}
.beta-steps span { color: var(--muted); }
.beta-steps .btn { margin-top: 4px; }
.beta-soon { color: var(--muted); }
.beta-mobile { grid-template-columns: 1fr; }
.beta-mobile .beta-card:not(.beta-mine) { opacity: .8; }
.beta-mobile .beta-card:not(.beta-mine) h2 { font-size: 1.5rem; }
.beta-notes { display: grid; gap: 16px; max-width: 760px; }
.beta-notes h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.beta-notes ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--muted); }
.beta-notes a { color: var(--ink); }
@media (max-width: 760px) { .beta-cards { grid-template-columns: 1fr; } }

/* Front page: beta call-out above the hero heading */
.beta-pill {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; font-size: 1rem; line-height: 1.3;
}
.beta-pill strong { color: var(--ink); white-space: nowrap; }
.beta-pill:hover { background: var(--raised); }
.beta-tag { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 800 .875rem/1 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.beta-reward { display: flex; gap: 16px; align-items: center; max-width: 46em; padding: 16px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.beta-reward strong { color: var(--ink); }
.beta-ring { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--accent); box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 50%, transparent); background: var(--raised); }

/* Front page: one screen for athletes, the case for gyms below */
.gym-link { justify-self: start; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.gym-link:hover { text-decoration-color: currentColor; }
.hero-note a { color: inherit; }
.gym { border-top: 1px solid var(--line); }
.gym .section-head .eyebrow { margin: 0 0 8px; }
.why { margin: clamp(32px, 6vw, 64px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.why li { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.why h3 { margin: 0; font-size: clamp(1.375rem, 2.4vw, 1.625rem); }
.why p { margin: 0; color: var(--muted); font-size: 1rem; }
.gym-cta { display: grid; gap: 20px; margin-top: clamp(48px, 8vw, 96px); padding: clamp(24px, 4vw, 48px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.gym-cta h3 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.gym-cta .muted { margin: 0; font-size: 1rem; }
@media (max-width: 960px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }
.ai-band { border-top: 1px solid var(--line); }

/* Front page: calmer type. Sentence case, regular weight family, smaller sizes. */
.home h1, .home h2, .home h3 { font-family: Barlow, system-ui, sans-serif; font-weight: 600; text-transform: none; letter-spacing: -.01em; line-height: 1.15; }
.home h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); line-height: 1.08; max-width: 14em; }
.home h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.home h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.home .why h3 { font-size: 1.125rem; }
.home .gym-cta h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.home .prices tbody th { font: 600 1.125rem/1.2 Barlow, system-ui, sans-serif; text-transform: none; }

/* Front page: free/no-card line, quiet beta line, gym teaser */
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 1rem; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: translateY(-2px) rotate(-45deg); }
.quiet-beta { font-size: 1rem; color: var(--muted); }
.quiet-beta a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.gym-actions { margin-top: 32px; }
.programs-foot .btn { flex: none; }

/* For gyms */
.hero-gyms .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.hero-gyms .tv-hero { width: 100%; margin: 0 0 clamp(40px, 7vw, 88px); border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgb(0 0 0 / .3); }
@media (max-width: 860px) { .hero-gyms .wrap { grid-template-columns: 1fr; } .hero-gyms .tv-hero { margin: 8px 0 48px; } }
/* /for-gyms/ opened from an athlete's invite (for-gyms.js). */
.hero-invite .wrap { grid-template-columns: minmax(0, 1fr); }
.hero-invite .hero-copy { max-width: 40em; }
.invite-count { margin: 0; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.4; }
.invite-count strong { font-family: "Barlow Condensed", Barlow, sans-serif; font-weight: 800; font-size: 3rem; line-height: 1; }
.invite-count strong:empty { display: none; }
.invite-steps { margin: 0; padding: 4px 20px; list-style: none; counter-reset: istep; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.invite-steps li { counter-increment: istep; display: flex; gap: 16px; padding: 12px 0; font-size: 1.0625rem; }
.invite-steps li + li { border-top: 1px solid var(--line); }
.invite-steps li::before { content: counter(istep); font-family: "Barlow Condensed", Barlow, sans-serif; font-weight: 800; color: var(--accent-text); min-width: 1ch; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--action); color: var(--on-action); font: 800 1.125rem/1 "Barlow Condensed", sans-serif;
}
.steps h3 { font-size: 1.375rem; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.founder { margin-top: clamp(32px, 5vw, 48px); max-width: 46em; padding: 20px 24px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 14px 14px 0; color: var(--muted); }
.founder strong { color: var(--ink); }
.founder a { color: var(--ink); font-weight: 600; }
.plans { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plans li { display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.plans h3 { font-size: 1.5rem; }
.plans .price { font: 600 2rem/1.1 Barlow, system-ui, sans-serif; letter-spacing: -.01em; margin-top: 4px; }
.plans .price span { font: 400 1rem Barlow, sans-serif; color: var(--muted); margin-left: 4px; }
.plans .muted { font-size: 1rem; }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .plans { grid-template-columns: 1fr; } }

/* Front page: everything you can log */
.log-band { border-bottom: 1px solid var(--line); }
.tiles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tiles li { display: grid; gap: 10px; align-content: start; padding: 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.tiles p { color: var(--muted); font-size: 1rem; }
.tiles p a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
.vis { height: 150px; margin-bottom: 6px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; position: relative; }
.vis .clock { font: 800 56px/1 "Barlow Condensed", sans-serif; font-variant-numeric: tabular-nums; }
.vis .rec { position: absolute; top: 10px; left: 12px; display: flex; gap: 6px; align-items: center; font-size: .8125rem; font-weight: 600; color: #e5484d; }
.vis .rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #e5484d; }
.vis .board { width: 76%; height: 72%; padding: 10px 12px; border-radius: 6px; background: #f4f3ee; color: #1a1916; font: 600 .875rem/1.3 Barlow, sans-serif; text-transform: uppercase; transform: rotate(-3deg); box-shadow: 0 6px 18px rgb(0 0 0 / .25); }
.vis .looks { position: absolute; bottom: 10px; right: 10px; padding: 5px 9px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line); font-size: .8125rem; font-weight: 600; }
.vis .bench { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; justify-content: center; }
.vis .bench span { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; font: 800 1rem/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.vis .bench b { color: var(--accent-text); }
.vis .route { width: 100%; height: 100%; color: var(--ink); }
.vis .route text { font: 600 15px Barlow, sans-serif; fill: var(--muted); }
.vis .month { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; padding: 14px; }
.vis .month div { padding: 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.vis .month b { display: block; color: var(--ink); font: 800 30px/1 "Barlow Condensed", sans-serif; }
.vis .imp { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; padding: 10px; font-size: .875rem; font-weight: 600; }
.vis .imp span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; }
.vis .imp .arrow { border: 0; padding: 0; color: var(--muted); }
.vis .imp .t { border: 0; background: var(--accent); color: var(--on-accent); font: 800 1rem/1 "Barlow Condensed", sans-serif; }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles { grid-template-columns: 1fr; } }

/* Front page: Spotter */
.spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.spot-copy { display: grid; gap: 20px; }
.facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.facts li { padding-left: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 3px; background: var(--muted); }
.chat { display: grid; gap: 12px; padding: 20px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); font-size: 1rem; }
.chat .me { justify-self: end; max-width: 85%; padding: 9px 14px; border-radius: 16px 16px 4px 16px; background: var(--raised); }
.chat .sp { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.spotter { width: 28px; height: 28px; }
.spotter .bar { fill: var(--ink); }
.spotter .eye { fill: var(--bg); }
.chat .card { display: grid; gap: 2px; margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.chat .card small { font: 800 .75rem/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chat .card b { font: 800 2.125rem/1 "Barlow Condensed", sans-serif; }
.chat .card span { font-size: .875rem; color: var(--muted); }
.chat .pills { display: flex; flex-wrap: wrap; gap: 8px; }
.chat .pills span { padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .875rem; color: var(--muted); }
@media (max-width: 860px) { .spot { grid-template-columns: 1fr; } }

/* For gyms: TV scan to join */
.feature.feature-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.mini-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); }
.mini-steps strong { color: var(--ink); }
.feature .mini-steps li { padding-left: 0; }
.feature .mini-steps li::before { content: none; }
.tv-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .32fr); gap: 14px; align-items: end; }
.tv-pair img { border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 760px) { .feature.feature-wide { grid-template-columns: 1fr; } }

/* FAQ page */
.faq-page { max-width: 860px; }
.faq-page .qa { padding: 28px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.faq-page .qa h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.faq-page .qa p { color: var(--muted); max-width: 42em; }
.faq-page .qa a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }

/* Class booking (for-gyms) */
.booking .feat-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.booking .feat-list li { padding-left: 22px; position: relative; }
.booking .feat-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 3px; background: var(--muted); }
.sched { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 18px; display: grid; gap: 10px; }
.sched .days { display: flex; gap: 8px; margin-bottom: 6px; }
.sched .days span { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; font: 800 1rem/1.1 "Barlow Condensed", sans-serif; color: var(--muted); }
.sched .days b { display: block; font-size: 1.5rem; color: var(--ink); }
.sched .days .on { background: var(--raised); }
.sched .cls { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.sched .t { font: 800 1.5rem/1 "Barlow Condensed", sans-serif; }
.sched small { display: block; color: var(--muted); font-size: .875rem; }
.sched .bar { display: block; height: 4px; border-radius: 4px; background: var(--line); margin-top: 6px; overflow: hidden; }
.sched .bar i { display: block; height: 100%; background: var(--muted); }
.sched .b, .sched .w { padding: 7px 14px; border-radius: 99px; font-weight: 600; font-size: .875rem; }
.sched .b { background: var(--action); color: var(--on-action); }
.sched .w { border: 1px solid var(--line); }

/* Sets and targets tiles (home) */
.vis .setrow { display: grid; gap: 5px; width: 84%; }
.vis .setrow div { display: flex; justify-content: space-between; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); font: 600 .8125rem/1.3 Barlow, sans-serif; }
.vis .setrow .done { color: var(--muted); text-decoration: line-through; }
.vis .setrow .rest { border-color: var(--accent); color: var(--accent-text); }
.vis .tgt { width: 84%; font-size: .875rem; }
.vis .tgt b { font: 800 1.6rem "Barlow Condensed", sans-serif; }
.vis .tgt .track { height: 10px; border-radius: 10px; background: var(--line); margin-top: 10px; overflow: hidden; }
.vis .tgt .track i { display: block; width: 86%; height: 100%; background: var(--accent); }
