/* RekreoLab website — shared styles (redesign 2026-10-18).
   Colours stay: sunset orange at the top, deep night navy below, cream + sky-blue text on navy. */
:root {
  /* sunset */
  --sun-core: #FFE3A8;
  --sun-1: #FFC46B;
  --sun-2: #F7A63A;
  --sun-3: #E9792F;
  --peach: #FCE7CF;
  --peach-2: #F9D7B2;
  /* night */
  --navy: #012156;
  --navy-2: #0A2D6A;
  --navy-3: #13397F;
  --ink: #0B1F45;
  --ink-soft: #3B4A68;
  --cream: #FFF6EA;
  --sky-text: #C9DBFF;
  --line-dark: rgba(1, 33, 86, 0.16);
  --line-light: rgba(201, 219, 255, 0.16);
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1160px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font: 400 17px/1.6 "Figtree", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: "Outfit", system-ui, sans-serif; line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--navy-3); outline-offset: 3px; border-radius: 6px; }
.on-night :focus-visible, .night :focus-visible { outline-color: var(--sun-1); }

/* ---------- Wordmark ---------- */
.mark { font: 700 26px/1 "Space Grotesk", sans-serif; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.mark .l { font-weight: 400; }

/* ---------- Header (sticky, turns solid on scroll) ---------- */
header.top {
  position: sticky; top: 0; z-index: 50; color: var(--navy);
  background: var(--sun-1);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 18px 0;
}
header.top.scrolled {
  background: rgba(255, 198, 115, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
  padding: 10px 0;
}
header.top .wrap { display: flex; align-items: center; gap: 24px; }
header.top .mark { margin-right: auto; }
header.top nav { display: flex; align-items: center; gap: 26px; }
header.top nav a { text-decoration: none; font: 500 15px/1 "Outfit", sans-serif; opacity: .82; }
header.top nav a:hover, header.top nav a[aria-current] { opacity: 1; }
header.top nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
header.top .btn { padding: 11px 18px; font-size: 15px; }
.menu-btn {
  display: none; background: none; border: 1.5px solid var(--navy); color: var(--navy);
  border-radius: 999px; padding: 9px 16px; font: 600 14px/1 "Outfit", sans-serif; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px/1 "Outfit", sans-serif; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-navy { background: var(--navy); color: var(--cream); box-shadow: 0 12px 26px -14px rgba(1,33,86,.7); }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-1px); }
.btn-line { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: rgba(1,33,86,.08); }
.btn-sun { background: var(--sun-2); color: var(--navy); box-shadow: 0 14px 30px -16px rgba(247,166,58,.8); }
.btn-sun:hover { background: var(--sun-1); transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--line-light); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--sky-text); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--navy);
  background:
    radial-gradient(ellipse 50% 58% at 74% 44%, var(--sun-core) 0%, rgba(255,227,168,0) 70%),
    linear-gradient(180deg, var(--sun-1) 0%, var(--sun-2) 58%, var(--sun-3) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px;
  min-height: calc(100svh - 76px); padding-top: 12px; padding-bottom: 88px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 "Outfit", sans-serif; letter-spacing: .16em; text-transform: uppercase;
}
/* line = the business card's horizon line: thin, fades in towards the text (user, 2026-11-06) */
.eyebrow::before { content: ""; width: 44px; height: 1.5px; background: linear-gradient(90deg, transparent, currentColor); }
.hero .eyebrow { color: var(--navy); opacity: .78; margin-bottom: 22px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 70px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; margin-bottom: 22px; }
.hero h1:has(.h1-2) { font-size: clamp(36px, 4.6vw, 60px); }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 64%, rgba(255,246,234,.7) 64%, rgba(255,246,234,.7) 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero h1 .h1-2 { display: block; margin-top: .3em; font-size: .52em; font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; color: var(--ink); opacity: .85; }
.hero p.lead { font-size: 19px; max-width: 31em; color: var(--ink); opacity: .86; margin-bottom: 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--ink); opacity: .72; margin-top: 14px; }

.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 22px; border-top: 1.5px solid var(--line-dark); max-width: 560px; }
.facts span { display: inline-flex; align-items: center; gap: 8px; font: 500 14.5px/1.3 "Outfit", sans-serif; color: var(--ink); }
.facts span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy); }


.runner-stage { position: relative; display: grid; place-items: center; }
.runner-stage::before { /* soft sun behind the runner */
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,240,205,.95) 0%, rgba(255,227,168,.5) 45%, rgba(255,227,168,0) 70%);
  top: 50%; left: 50%; transform: translate(-50%, -52%);
}
.runner-stage::after { /* the horizon the runner runs on */
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 4%;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(1,33,86,0), rgba(1,33,86,.6) 20%, rgba(1,33,86,.6) 80%, rgba(1,33,86,0));
}
.runner {
  position: relative; width: auto; height: auto; max-width: 100%; max-height: min(70svh, 620px);
  animation: stride 7s ease-in-out infinite;
}
@keyframes stride { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* sport chips under the hero headline */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.chips li {
  font: 600 13.5px/1 "Outfit", sans-serif; letter-spacing: .04em;
  padding: 9px 14px; border-radius: 999px; background: rgba(255,246,234,.55); border: 1px solid var(--line-dark);
}
.chips li.soon { opacity: .6; }

/* ---------- Doors (homepage: two paths) ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 580px; }
.door {
  position: relative; display: flex; flex-direction: column; gap: 10px; text-decoration: none;
  padding: 24px 24px 22px; border-radius: var(--radius);
  background: var(--navy); color: var(--cream);
  box-shadow: 0 18px 36px -20px rgba(1,33,86,.8);
  transition: transform .2s ease, background .2s ease;
}
.door:hover { background: var(--navy-3); transform: translateY(-3px); }
.door .k { font: 600 12px/1 "Outfit", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--sun-2); }
.door .t { font: 800 30px/1 "Outfit", sans-serif; letter-spacing: .06em; text-transform: uppercase; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.door .t .arr { color: var(--sun-2); letter-spacing: 0; font-weight: 600; transition: transform .2s ease; }
.door:hover .t .arr { transform: translateX(4px); }
.door .d { font-size: 15px; color: var(--sky-text); line-height: 1.45; }

/* questionnaire link (for current clients/friends) */
.form-link {
  display: flex; align-items: center; gap: 14px; max-width: 580px; margin-top: 14px;
  padding: 14px 18px; border-radius: 16px; text-decoration: none; color: var(--navy);
  border: 1.5px dashed rgba(1,33,86,.45); background: rgba(255,246,234,.28);
  transition: background .2s ease, border-color .2s ease;
}
.form-link:hover { background: rgba(255,246,234,.5); border-color: var(--navy); }
.form-link .ic { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--navy); color: var(--sun-1); display: grid; place-items: center; }
.form-link b { font: 700 16px/1.2 "Outfit", sans-serif; display: block; }
.form-link small { font-size: 14px; color: var(--ink-soft); }
.form-link .arr { margin-left: auto; font-weight: 700; }

/* ---------- Sections ---------- */
section { padding: clamp(80px, 11vw, 136px) 0; position: relative; }
.sec-head { max-width: 44em; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 44px; height: 1.5px; background: linear-gradient(90deg, currentColor, transparent); }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 750; letter-spacing: -0.015em; margin-top: 16px; }
.sec-head p { margin-top: 18px; font-size: 18.5px; }
.sec-head h2.long { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.16; }

.light { background: linear-gradient(180deg, var(--peach) 0%, var(--peach-2) 100%); color: var(--ink); }
.light.flat { background: var(--peach); } /* followed by another .light section: no seam */
.light .eyebrow { color: var(--sun-3); }
.light .sec-head p { color: var(--ink-soft); }
.light h2, .light h3 { color: var(--navy); }

.night { color: var(--cream); background: var(--navy); }
.night.top-glow { background: linear-gradient(180deg, var(--navy-3) 0%, var(--navy) 42%); }
.night .eyebrow { color: var(--sun-2); }
.night .sec-head p { color: var(--sky-text); }

/* hero → peach fade */
.fade-peach { height: 72px; background: linear-gradient(180deg, var(--sun-3), var(--peach)); }
.fade-night { height: 72px; background: linear-gradient(180deg, var(--sun-3), var(--navy-3)); }
/* every light <-> night change is a soft fade, never a hard line (user, 2026-11-06) */
.fade { height: clamp(90px, 12vw, 160px); margin: -1px 0; position: relative; z-index: 1; }
.fade-dusk { background: linear-gradient(180deg, var(--peach-2), var(--navy-3)); background: linear-gradient(180deg in oklab, var(--peach-2), var(--navy-3)); }
.fade-dusk.to-navy { background: linear-gradient(180deg, var(--peach-2), var(--navy)); background: linear-gradient(180deg in oklab, var(--peach-2), var(--navy)); }
.fade-dawn { background: linear-gradient(180deg, var(--navy), var(--peach)); background: linear-gradient(180deg in oklab, var(--navy), var(--peach)); }

/* ---------- "Svi su dobrodošli" (who it is for) ---------- */
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.who-item {
  background: rgba(255,246,234,.75); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 26px 24px;
}
.who-item .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--navy); color: var(--sun-1); display: grid; place-items: center; margin-bottom: 18px; }
.who-item h3 { font-size: 20px; margin-bottom: 8px; }
.who-item p { color: var(--ink-soft); font-size: 16px; }
/* homepage since 2026-11-16: cards open on tap (details), with the matching "Zvuči poznato" line inside */
.who:has(details) { align-items: start; }
details.who-item { padding: 0; }
.who-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
  padding: 18px 48px 18px 18px; position: relative;
}
.who-item summary::-webkit-details-marker { display: none; }
.who-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--sun-3); border-bottom: 2px solid var(--sun-3); transform: rotate(45deg);
  transition: transform .2s ease, margin .2s ease;
}
.who-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.who-item summary .ic { flex: none; margin-bottom: 0; }
.who-item summary h3 { margin-bottom: 0; font-size: 19px; }
details.who-item > :not(summary) { margin: 0 20px; }
details.who-item > :last-child { margin-bottom: 20px; }
.who-item .q { margin-top: 16px; font: 600 17px/1.35 "Outfit", sans-serif; color: var(--navy); }
.who-item .q::before { content: "„"; color: var(--sun-3); }
.who-item .q::after { content: "”"; color: var(--sun-3); }
.who-item .q + p { margin-top: 6px; }
.who-item .more { display: inline-block; margin-top: 14px; font: 600 16px/1 "Outfit", sans-serif; color: var(--sun-3); text-decoration: none; }

/* ---------- "Zvuči poznato?" pain points ---------- */
.pains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain {
  background: rgba(255,246,234,.75); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 26px 24px;
}
.pain .q { font: 600 20px/1.3 "Outfit", sans-serif; color: var(--navy); }
.pain .q::before { content: "„"; color: var(--sun-3); }
.pain .q::after { content: "”"; color: var(--sun-3); }
.pain p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; }
.answer {
  margin-top: 28px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between;
  background: var(--navy); color: var(--cream); border-radius: var(--radius); padding: 26px 30px;
}
.answer p { font: 500 20px/1.4 "Outfit", sans-serif; max-width: 40em; }
.answer p b { color: var(--sun-1); font-weight: 600; }
.answer p.sub { flex-basis: 100%; margin-top: -8px; font: 400 16px/1.55 "Figtree", sans-serif; color: var(--sky-text); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pillar {
  background: rgba(255,246,234,.7); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column;
}
.pillar .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--sun-1); display: grid; place-items: center; margin-bottom: 22px; }
.pillar h3 { font-size: 21px; margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); font-size: 16px; }
.night .pillar { background: linear-gradient(160deg, rgba(19,57,127,.55), rgba(1,33,86,.15)); border-color: var(--line-light); }
.night .pillar h3 { color: var(--cream); }
.night .pillar p { color: var(--sky-text); }
.night .pillar .ic { background: rgba(247,166,58,.14); color: var(--sun-2); }

/* ---------- Steps (timeline) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; list-style: none; margin: 0; padding: 0; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 12%; height: 2px; background: linear-gradient(90deg, var(--sun-2), rgba(247,166,58,.25)); }
.step { position: relative; padding-right: 22px; }
.step .n {
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); border: 2px solid var(--sun-2);
  font: 700 22px/1 "Outfit", sans-serif; color: var(--sun-2); margin-bottom: 24px;
}
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--sky-text); font-size: 16px; }
.step .tag { display: inline-block; margin-top: 14px; font: 600 12px/1 "Outfit", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--sun-1); background: rgba(247,166,58,.12); padding: 7px 10px; border-radius: 999px; }
.loop-note { margin-top: 44px; display: flex; align-items: center; gap: 14px; color: var(--sky-text); font-size: 16px; }
.loop-note svg { flex: none; color: var(--sun-2); }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.stat { padding: 34px 24px; border-right: 1px solid var(--line-light); }
.stat:last-child { border-right: 0; }
.stat .v { font: 800 clamp(38px, 4.6vw, 56px)/1 "Outfit", sans-serif; color: var(--sun-2); letter-spacing: -0.02em; }
.stat .v small { font-size: .45em; font-weight: 600; margin-left: 4px; color: var(--sun-1); }
.stat p { margin-top: 12px; color: var(--sky-text); font-size: 15.5px; }

/* ---------- Principles (science, concrete) ---------- */
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin-top: 56px; }
.principle { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-light); }
.principle .no { font: 700 14px/1.6 "Outfit", sans-serif; color: var(--sun-2); letter-spacing: .08em; }
.principle h3 { font-size: 19px; margin-bottom: 6px; color: var(--cream); }
.principle p { color: var(--sky-text); font-size: 16px; }
.more-box { margin-top: 48px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.more-box summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 19px/1.35 "Outfit", sans-serif; color: var(--cream);
}
.more-box summary::-webkit-details-marker { display: none; }
.more-box summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--sun-2); border-bottom: 2px solid var(--sun-2); transform: rotate(45deg);
  transition: transform .2s ease, margin .2s ease;
}
.more-box[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.more-box .principles { margin-top: 0; padding-bottom: 12px; }

/* ---------- Program cards (sports / goals) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; border-radius: var(--radius); padding: 30px 28px 28px;
  border: 1px solid var(--line-light);
  background: linear-gradient(160deg, rgba(19,57,127,.6), rgba(1,33,86,.15));
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(247,166,58,.55); transform: translateY(-2px); }
.card .tag { font: 600 12px/1 "Outfit", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-2); }
.card .tag.soon { color: var(--sky-text); opacity: .7; }
.card h3 { font-size: 24px; margin: 14px 0 10px; color: var(--cream); }
.card > p { color: var(--sky-text); font-size: 16px; }
.card ul { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line-light); display: grid; gap: 10px; }
.card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15.5px; color: var(--cream); line-height: 1.45; }
.card li::before { content: ""; width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; border: 2px solid var(--sun-2); }
.card.feature { grid-row: span 2; background: linear-gradient(165deg, rgba(247,166,58,.22), rgba(19,57,127,.5) 45%, rgba(1,33,86,.2)); border-color: rgba(247,166,58,.35); }
.card.feature h3 { font-size: 30px; }
.card.solid { background: var(--navy); border-color: var(--navy); text-decoration: none; padding: clamp(28px, 4vw, 40px); box-shadow: 0 24px 50px -30px rgba(1,33,86,.8); }
.card.solid:hover { background: var(--navy-2); border-color: var(--sun-2); }
.card.solid h3 { font-size: clamp(24px, 2.6vw, 30px); }
.card .more { margin-top: auto; padding-top: 24px; font: 600 16px/1 "Outfit", sans-serif; color: var(--sun-2); }
.card .more span { display: inline-block; transition: transform .2s ease; }
.card:hover .more span { transform: translateX(4px); }
.card.muted { background: transparent; border-style: dashed; }
.card.muted h3 { font-size: 20px; }

/* ---------- Week plan ---------- */
.week[hidden] { display: none !important; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day {
  border-radius: 16px; padding: 16px 14px; min-height: 150px;
  background: rgba(255,246,234,.5); border: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 8px;
}
.day .dn { font: 700 13px/1 "Outfit", sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.day .what { font: 600 16px/1.25 "Outfit", sans-serif; color: var(--navy); }
.day p { font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); }
.day.gym { background: var(--navy); border-color: var(--navy); }
.day.gym .dn { color: var(--sun-2); }
.day.gym .what { color: var(--cream); }
.day.gym p { color: var(--sky-text); }
.day.game { background: var(--sun-2); border-color: var(--sun-3); }
.day.game .dn, .day.game p { color: var(--navy); }
.day.rest { background: transparent; border-style: dashed; }
.week-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; font-size: 14.5px; color: var(--ink-soft); }
.week-legend span { display: inline-flex; align-items: center; gap: 8px; }
.week-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.week-tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(1,33,86,.08); margin-bottom: 22px; }
.week-tabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 600 15px/1 "Outfit", sans-serif; color: var(--navy); cursor: pointer; }
.week-tabs button[aria-selected="true"] { background: var(--navy); color: var(--cream); }
.note[data-week-panel][hidden] { display: none; }
.week-app { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; margin-top: 36px; }
.week-shot { padding: 0; border: 0; background: none; cursor: zoom-in; }
.week-shot img { display: block; width: 100%; height: auto; border-radius: 18px; background: #050d24; box-shadow: 0 24px 44px -24px rgba(1,33,86,.55); }
.week-app h3 { font: 650 22px/1.25 "Outfit", sans-serif; color: var(--navy); }
.week-app p { margin-top: 10px; color: var(--ink-soft); max-width: 36em; }

/* ---------- App (real screenshots since 2026-11-06) ---------- */
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.app-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.app-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.app-list .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(247,166,58,.14); color: var(--sun-2); display: grid; place-items: center; }
.app-list b { display: block; font: 600 17px/1.3 "Outfit", sans-serif; color: var(--cream); margin-bottom: 3px; }
.app-list span { color: var(--sky-text); font-size: 15.5px; }
.app-first { padding-top: clamp(24px, 5vw, 64px); }
.app-cta { margin-top: 30px; }
.shots-stage { position: relative; min-width: 0; }
.shots {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 10px 2px 18px; overscroll-behavior-x: contain;
}
.shots::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 min(230px, 58vw); scroll-snap-align: start; padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: zoom-in; align-self: flex-start;
}
.shot img, .g-slide img {
  display: block; width: 100%; height: auto; border-radius: 22px; background: #050d24;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.75), 0 0 0 1.5px rgba(201,219,255,.18);
}
.shot b { display: block; margin-top: 14px; font: 600 16px/1.3 "Outfit", sans-serif; color: var(--cream); }
.shot span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--sky-text); }
.shots-nav { display: flex; gap: 10px; margin-top: 6px; }
.shots-nav button, .g-nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-light); background: rgba(201,219,255,.06);
  color: var(--cream); font: 600 18px/1 "Outfit", sans-serif; cursor: pointer; transition: background .2s ease;
}
.shots-nav button:hover, .g-nav button:hover { background: rgba(201,219,255,.16); }

/* full-screen gallery */
html.no-scroll { overflow: hidden; }
.galerija {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: #011433; color: var(--cream);
}
.galerija::backdrop { background: transparent; }
.galerija[open] { display: flex; flex-direction: column; }
.g-top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gutter); font: 600 15px/1 "Outfit", sans-serif; color: var(--sky-text); }
.g-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(201,219,255,.1); color: var(--cream); font: 400 28px/1 "Figtree", sans-serif; cursor: pointer; }
.g-track { flex: 1; min-height: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; margin: 0; padding: 4px 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.g-slide img { width: auto; height: min(650px, calc(100vh - 300px), calc(100dvh - 300px)); max-width: 100%; object-fit: contain; }
.g-slide figcaption { text-align: center; max-width: 24em; }
.g-slide b { display: block; font: 600 18px/1.3 "Outfit", sans-serif; }
.g-slide figcaption span { display: block; margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--sky-text); }
.g-nav { display: flex; justify-content: center; align-items: center; gap: 18px; padding: 8px 0 4px; }
.g-dots { display: flex; gap: 7px; }
.g-dots span { width: 8px; height: 8px; border-radius: 4px; background: rgba(201,219,255,.3); transition: width .2s ease, background .2s ease; }
.g-dots span.on { width: 22px; background: var(--sun-2); }
.g-note { text-align: center; margin: 0; padding: 6px 16px max(14px, env(safe-area-inset-bottom)); font-size: 13px; color: var(--sky-text); opacity: .75; }

/* ---------- Coach ---------- */
.coach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,227,168,.55), rgba(255,227,168,0) 55%),
    linear-gradient(180deg, var(--sun-1), var(--sun-3));
  display: grid; place-items: center;
}
.portrait img { width: 78%; filter: drop-shadow(0 18px 30px rgba(1,33,86,.25)); }
.portrait .sig { position: absolute; left: 18px; bottom: 18px; padding: 10px 14px; border-radius: 14px; background: rgba(255,246,234,.82); font: 700 15px/1.3 "Outfit", sans-serif; color: var(--navy); }
.portrait .sig span { display: block; font: 500 13px/1.3 "Figtree", sans-serif; opacity: .8; }
.coach-text h2 { font-size: clamp(32px, 4.4vw, 50px); margin: 16px 0 20px; }
.coach-text p { color: var(--sky-text); margin-bottom: 14px; font-size: 17.5px; }
.coach-text p.big { color: var(--cream); font: 500 21px/1.45 "Outfit", sans-serif; }
.promise { margin-top: 28px; }
.promise h3 { font: 600 13px/1 "Outfit", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-2); margin-bottom: 16px; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promise li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--cream); font-size: 16.5px; line-height: 1.45; }
.promise li::before { /* check mark */
  content: ""; width: 11px; height: 6px; margin: 7px 0 0 3px;
  border-left: 2px solid var(--sun-2); border-bottom: 2px solid var(--sun-2); transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq details:first-child { border-top: 1px solid var(--line-dark); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font: 600 19px/1.35 "Outfit", sans-serif; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid var(--sun-3); border-bottom: 2px solid var(--sun-3); transform: rotate(45deg);
  transition: transform .2s ease, margin .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 40em; }
.faq details p + p { margin-top: -10px; }

/* ---------- Note (active injury) ---------- */
.note {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  margin-top: 36px; padding: 20px 22px; border-radius: 18px;
  background: rgba(1,33,86,.06); border: 1px solid var(--line-dark); color: var(--ink-soft); font-size: 15.5px;
}
.note b { color: var(--navy); }
.note svg { color: var(--sun-3); margin-top: 2px; }

/* ---------- Contact ---------- */
.contact {
  text-align: center; color: var(--cream); overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,23,61,0) 78%, #00173D 100%),
    radial-gradient(ellipse 70% 100% at 50% 125%, rgba(247,166,58,.7), rgba(233,121,47,.25) 45%, rgba(247,166,58,0) 72%),
    var(--navy);
}
.contact .eyebrow { color: var(--sun-2); }
.contact .eyebrow::after { content: ""; width: 44px; height: 1.5px; background: linear-gradient(90deg, currentColor, transparent); }
.contact h2 { font-size: clamp(36px, 5.6vw, 68px); font-weight: 800; letter-spacing: -0.02em; margin: 18px 0 18px; }
.contact p { color: var(--sky-text); max-width: 34em; margin: 0 auto 34px; font-size: 18.5px; }
.contact .cta { justify-content: center; }
.contact .mail { display: block; margin-top: 20px; color: var(--sky-text); font-size: 15px; }
.contact .mail a { color: var(--cream); }

/* ---------- Other path ---------- */
.other-path {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  border-radius: var(--radius); padding: clamp(24px, 4vw, 40px);
  background: var(--sun-2); color: var(--navy); text-decoration: none;
  transition: background .2s ease;
}
.other-path:hover { background: var(--sun-1); }
.other-path .k { font: 600 12px/1 "Outfit", sans-serif; letter-spacing: .16em; text-transform: uppercase; opacity: .75; }
.other-path h3 { font-size: clamp(24px, 3vw, 32px); margin-top: 10px; }
.other-path p { margin-top: 6px; color: var(--ink); opacity: .85; }
.other-path .go { width: 58px; height: 58px; border-radius: 50%; background: var(--navy); color: var(--sun-1); display: grid; place-items: center; font-size: 22px; }

/* ---------- Footer ---------- */
footer { background: #00173D; color: var(--sky-text); padding: 56px 0 36px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer .mark { color: var(--cream); font-size: 26px; }
footer .mark .l { color: var(--sun-2); }
footer .tagline { margin-top: 14px; max-width: 22em; font: 500 17px/1.4 "Outfit", sans-serif; color: var(--cream); opacity: .9; }
footer h4 { font: 600 13px/1 "Outfit", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--sun-2); margin-bottom: 16px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer ul a { text-decoration: none; }
footer ul a:hover { color: var(--cream); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; opacity: .8; }

/* ---------- Reveal on scroll ---------- */
.reveal { transition: opacity .7s ease, transform .7s ease; }
.js .reveal:not(.in) { opacity: .001; transform: translateY(18px); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .runner { animation: none; }
  .reveal, .js .reveal:not(.in) { opacity: 1; transform: none; transition: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .pains, .pillars, .who { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card.feature { grid-row: auto; grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .steps::before { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .week { grid-template-columns: repeat(4, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .sec-head { position: static; margin-bottom: 8px; }
}
@media (max-width: 900px) {
  header.top nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sun-1); padding: 8px var(--gutter) 20px; box-shadow: 0 20px 30px -20px rgba(1,33,86,.5);
  }
  header.top nav a { padding: 15px 0; font-size: 18px; border-bottom: 1px solid var(--line-dark); }
  header.top nav .btn { margin-top: 16px; padding: 15px; font-size: 16px; border-bottom: 0; }
  header.top.open nav { display: flex; }
  header.top.open { background: var(--sun-1); }
  .menu-btn { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 0; gap: 12px; padding-bottom: 64px; }
  .runner-stage { order: -1; max-width: 420px; width: 80%; margin: 0 auto; }
  .runner { max-height: 30svh; }
  .app-grid, .coach-grid { grid-template-columns: 1fr; }
  /* app section on phones/tablets: heading → screenshots → button → list */
  .app-grid > .reveal:first-child { display: contents; }
  .app-grid .sec-head { order: 1; }
  .app-grid .shots-stage { order: 2; }
  .app-grid .app-cta { order: 3; margin-top: 0; }
  .app-grid .app-list { order: 4; margin-top: 8px; }
  .app-grid { gap: 24px; }
  .portrait { max-width: 420px; aspect-ratio: 5 / 4; }
  .portrait img { width: auto; height: 82%; }
  .principles { grid-template-columns: 1fr; gap: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
/* ---------- Phone ---------- */
@media (max-width: 600px) {
  .week-app { grid-template-columns: 110px 1fr; gap: 18px; align-items: start; }
  .week-app h3 { font-size: 19px; }
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 46px); }
  .hero p.lead { font-size: 17px; }
  .doors { grid-template-columns: 1fr; }
  .door { padding: 20px 20px 18px; }
  .door .t { font-size: 26px; }
  .pains, .pillars, .cards, .cards.two, .steps, .who { grid-template-columns: 1fr; }
  .who { gap: 10px; }
  div.who-item { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 18px; }
  div.who-item .ic { grid-row: span 2; margin-bottom: 0; }
  div.who-item h3 { margin-bottom: 0; align-self: end; }
  .pillar { display: grid; grid-template-columns: 44px 1fr; gap: 12px 16px; align-items: center; padding: 20px; }
  .pillar .ic { width: 44px; height: 44px; margin-bottom: 0; }
  .pillar h3 { margin-bottom: 0; font-size: 19px; }
  .pillar p { grid-column: 1 / -1; }
  /* steps as compact rows: number on the left, text beside it */
  .steps { gap: 22px; }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; padding-right: 0; }
  .step .n { grid-row: span 3; width: 44px; height: 44px; font-size: 18px; margin-bottom: 0; }
  .step h3 { font-size: 19px; margin-bottom: 4px; }
  .step .tag { justify-self: start; margin-top: 8px; }
  .stat { padding: 26px 16px; }
  .week { grid-template-columns: 1fr; gap: 6px; }
  .day { min-height: 0; display: grid; grid-template-columns: 52px 1fr; gap: 2px 12px; padding: 14px 16px; }
  .day .dn { grid-row: span 2; align-self: center; }
  .answer { padding: 22px; }
  .answer p { font-size: 18px; }
  .other-path { grid-template-columns: 1fr; }
  .other-path .go { display: none; }
  .btn { padding: 14px 22px; }
  .cta .btn { flex: 1 1 auto; }
}
