/* Vire marketing surfaces (home EN/FI, Epassi). Scoped under body.mkt so legal,
   support and campaign pages that load styles.css alone are unaffected. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('./assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.mkt {
  --ink: #060A0B;
  --ink-2: #0A1210;
  --deep: #0F2C22;
  --deep-2: #0A1C16;
  --mint: #5BF4A4;
  --mint-2: #6DEEAE;
  --mint-ink: #04140C;
  --pale: #E4FFF0;
  --card: #141718;
  --card-2: #1B1F21;
  --line: rgba(255, 255, 255, 0.09);
  --line-mint: rgba(91, 244, 164, 0.28);
  --text: #F1F5F2;
  --muted: #A6B3AC;
  --muted-2: #8C9A93;
  --danger: #FCA5A5;
  --display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(1rem, 4.5vw, 2.5rem);
  --wrap: 1180px;
  --radius: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body.mkt * { box-sizing: border-box; }
body.mkt ::selection { background: var(--mint); color: var(--mint-ink); }
body.mkt img { max-width: 100%; display: block; }
body.mkt a { color: var(--mint); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
body.mkt a:hover { text-decoration: underline; }
body.mkt :focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}
body.mkt .num { font-variant-numeric: tabular-nums; }

html { scrollbar-color: #2A3330 var(--ink, #060A0B); }

.mkt .wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mkt .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.mkt .skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--mint);
  color: var(--mint-ink);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-weight: 700;
}
.mkt .skip:focus { top: 1rem; }

/* ── Display type ─────────────────────────────────────────── */

.mkt .display,
.mkt h1,
.mkt h2 {
  font-family: var(--display);
  font-weight: 850;
  font-stretch: 78%;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

.mkt h3 {
  font-family: var(--display);
  font-weight: 750;
  font-stretch: 88%;
  font-size: 1.25rem;
  letter-spacing: -0.005em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

.mkt p { margin: 0; }
.mkt .lede { color: var(--muted); font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); line-height: 1.55; max-width: 34em; }

/* ── Nav ──────────────────────────────────────────────────── */

.mkt .nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 10, 11, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.mkt .nav .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 60px;
}
.mkt .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 90%;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-right: auto;
  text-decoration: none;
}
.mkt .brand:hover { text-decoration: none; }
.mkt .brand img { width: 32px; height: 32px; border-radius: 8px; }
.mkt .nav-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0.25rem;
}
.mkt .nav-link:hover { color: var(--text); text-decoration: none; }
.mkt .lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 36px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.mkt .lang:hover { border-color: var(--line-mint); text-decoration: none; }
.mkt .nav .nav-cta { display: none; }

/* ── Buttons ──────────────────────────────────────────────── */

.mkt .stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.mkt .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 54px;
  padding: 0 1.4rem;
  border-radius: 14px;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background-color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.mkt .btn:hover { text-decoration: none; }
.mkt .btn svg { flex: none; width: 22px; height: 22px; }
.mkt .btn-store span { white-space: nowrap; }
.mkt .btn small { display: block; font-size: 0.7rem; font-weight: 600; opacity: 0.75; letter-spacing: 0.02em; }
.mkt .btn-store {
  background: var(--mint);
  color: var(--mint-ink);
  box-shadow: 0 8px 18px -10px rgba(0, 0, 0, 0.7);
  flex: 1 1 0;
  min-width: 150px;
}
.mkt .btn-store:hover { background: #7FF8B9; transform: translateY(-1px); box-shadow: 0 12px 22px -12px rgba(0, 0, 0, 0.8); }
.mkt .btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(91, 244, 164, 0.42);
}
.mkt .btn-ghost:hover { border-color: var(--mint); background: rgba(91, 244, 164, 0.06); }

.mkt .assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.88rem;
}
.mkt .assurance li { display: inline-flex; align-items: center; gap: 0.4rem; }
.mkt .assurance svg { width: 15px; height: 15px; color: var(--mint); flex: none; }

/* ── Screens (real app screenshots) ──────────────────────── */

.mkt .screen {
  position: relative;
  margin: 0;
  border-radius: clamp(22px, 3vw, 34px);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 5px #0C1110,
    0 0 0 6px rgba(255, 255, 255, 0.06),
    0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.mkt .screen img { width: 100%; height: auto; }
.mkt .screen.crop { aspect-ratio: 9 / 16.5; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.mkt .screen.crop picture, .mkt .screen.crop img { height: 100%; }
.mkt .screen.crop img { object-fit: cover; object-position: top; }

/* ── Atmosphere: Living Vire arcs and bloom ──────────────── */

.mkt .atmos {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.mkt .atmos::before {
  content: '';
  position: absolute;
  right: -20%;
  top: -35%;
  width: 90vmax;
  height: 90vmax;
  background: radial-gradient(closest-side, rgba(15, 92, 53, 0.55), rgba(15, 44, 34, 0.25) 45%, transparent 72%);
}
.mkt .atmos svg {
  position: absolute;
  right: -18%;
  top: -22%;
  width: min(1100px, 150vw);
  height: auto;
  color: rgba(103, 232, 173, 0.16);
}
.mkt .atmos .arc-light {
  stroke: url(#arcLight);
  stroke-dasharray: 180 2200;
  stroke-dashoffset: 0;
}

/* Optional photography layer: empty unless a licensed photo is provided via --hero-photo. */
.mkt .photo-layer {
  position: absolute;
  inset: 0;
  background-image: var(--hero-photo, none);
  background-size: cover;
  background-position: var(--hero-photo-pos, 70% 20%);
  opacity: 0;
  pointer-events: none;
}
.mkt .has-photo .photo-layer { opacity: 1; }
.mkt .photo-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 11, 0.55) 0%, rgba(6, 10, 11, 0.35) 35%, rgba(6, 10, 11, 0.92) 78%, var(--ink) 100%),
    linear-gradient(90deg, rgba(6, 10, 11, 0.85) 0%, rgba(6, 10, 11, 0.2) 60%, rgba(6, 10, 11, 0.55) 100%);
}

/* ── Hero ─────────────────────────────────────────────────── */

.mkt .hero {
  position: relative;
  isolation: isolate;
  padding-top: clamp(1.75rem, 5vw, 4.5rem);
  overflow: hidden;
}
.mkt .hero .atmos, .mkt .hero .photo-layer { z-index: -1; }
.mkt .hero-grid {
  display: grid;
  gap: 2rem;
}
.mkt .hero h1 {
  font-size: clamp(2.65rem, 1.6rem + 5.2vw, 5.4rem);
  max-width: 11ch;
}
.mkt .hero h1 .accent { color: var(--mint); }
.mkt .hero .lede { margin-top: 1.1rem; }
.mkt .hero .stores { margin-top: 1.6rem; max-width: 30rem; }
.mkt .hero-visual {
  position: relative;
  justify-self: center;
  width: min(80vw, 360px);
  height: clamp(300px, 92vw, 440px);
  margin-bottom: -1px;
}
.mkt .hero-visual .screen {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  height: 100%;
}
.mkt .hero-visual .screen img { object-fit: cover; object-position: top; height: 100%; }
.mkt .hero-visual::after {
  content: '';
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -1px;
  height: 38%;
  background: linear-gradient(180deg, transparent, var(--ink) 92%);
  pointer-events: none;
}

/* ── Session story ────────────────────────────────────────── */

.mkt .story { padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2rem, 5vw, 4rem); }
.mkt .story-head h2 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); max-width: 14ch; }
.mkt .story-head .lede { margin-top: 1rem; }

.mkt .beat {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
}
.mkt .beat-copy { max-width: 30rem; }
.mkt .beat h3 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); font-weight: 850; font-stretch: 80%; line-height: 1.02; }
.mkt .beat p { color: var(--muted); margin-top: 0.9rem; font-size: 1.05rem; }
.mkt .beat .screen { width: min(78vw, 330px); justify-self: center; }

.mkt .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.mkt .chips li {
  border: 1px solid var(--line-mint);
  background: rgba(15, 57, 38, 0.45);
  color: var(--pale);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.mkt .ticks { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: 0.6rem; }
.mkt .ticks li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.5rem; color: var(--text); }
.mkt .ticks svg { width: 1.1rem; height: 1.1rem; margin-top: 0.22rem; color: var(--mint); }

/* Full-bleed logging beat */
.mkt .beat-band {
  position: relative;
  isolation: isolate;
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 55%, var(--ink) 100%);
  border-top: 1px solid rgba(91, 244, 164, 0.16);
  border-bottom: 1px solid rgba(91, 244, 164, 0.10);
  overflow: hidden;
}
.mkt .beat-band .beat { margin-top: 0; }
.mkt .pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
  align-items: start;
  width: min(100%, 640px);
  min-width: 0;
  justify-self: center;
}
.mkt .beat .pair .screen { width: 100%; min-width: 0; }
.mkt .pair .screen:last-child { margin-top: 2.5rem; }

/* Statement passage */
.mkt .statement {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 12vw, 9rem) 0;
  overflow: hidden;
}
.mkt .statement .atmos { z-index: -1; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.mkt .statement p.display {
  font-size: clamp(2.1rem, 1.2rem + 4.4vw, 4.8rem);
  max-width: 16ch;
}
.mkt .statement p.display span { color: var(--mint); }
.mkt .statement .lede { margin-top: 1.25rem; }
.mkt .statement.has-photo { padding-bottom: calc(clamp(4rem, 12vw, 9rem) + 78vw); }
.mkt .statement.has-photo .photo-layer { top: auto; height: calc(78vw + 6rem); }
.mkt .statement.has-photo .photo-layer::after {
  background: linear-gradient(180deg, var(--ink) 0%, rgba(6, 10, 11, 0.15) 30%, rgba(6, 10, 11, 0.1) 75%, var(--ink) 100%);
}

/* ── Start / pricing ──────────────────────────────────────── */

.mkt .start { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.mkt .start-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(1.75rem, 5vw, 3.5rem);
  background: linear-gradient(150deg, #10301F 0%, #0B1D16 55%, #0A1311 100%);
  border: 1px solid rgba(91, 244, 164, 0.22);
  display: grid;
  gap: 2rem;
}
.mkt .start-panel h2 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); max-width: 13ch; }
.mkt .start-panel .lede { margin-top: 1rem; color: #B9C7BF; }
.mkt .start-panel .stores { margin-top: 1.5rem; max-width: 30rem; }
.mkt .offer {
  display: grid;
  gap: 0;
  align-content: start;
  margin: 0;
}
.mkt .offer > div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.mkt .offer > div:first-child { border-top: 0; }
.mkt .offer dt { font-weight: 700; color: var(--text); }
.mkt .offer dd { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.95rem; }
.mkt .offer .price { color: var(--mint); font-weight: 800; }
.mkt .epassi-line { display: inline-flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.mkt .epassi-pill {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 7px;
  padding: 4px 9px;
}
.mkt .epassi-pill img { height: 16px; width: auto; }

/* ── FAQ ──────────────────────────────────────────────────── */

.mkt .faq { padding: 0 0 clamp(3.5rem, 8vw, 6rem); }
.mkt .faq h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem); margin-bottom: 1.25rem; }
.mkt .faq details { border-top: 1px solid var(--line); }
.mkt .faq details:last-of-type { border-bottom: 1px solid var(--line); }
.mkt .faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  min-height: 56px;
}
.mkt .faq summary::-webkit-details-marker { display: none; }
.mkt .faq summary::after {
  content: '';
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform 0.25s var(--ease-out);
}
.mkt .faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.mkt .faq details p { color: var(--muted); padding: 0 0 1.2rem; max-width: 62ch; }

/* ── Footer ───────────────────────────────────────────────── */

.mkt .foot {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.mkt .foot .wrap { display: grid; gap: 1.25rem; }
.mkt .foot nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.mkt .foot nav a { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.mkt .foot nav a:hover { color: var(--text); }
.mkt .foot .social { display: flex; gap: 0.25rem; }
.mkt .foot .social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--muted); }
.mkt .foot .social a:hover { color: var(--text); }
.mkt .foot .social svg { width: 22px; height: 22px; }

/* ── Epassi landing (body.mkt.ep) ─────────────────────────── */

.ep .ep-layout {
  display: grid;
  gap: 2.75rem;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}
.ep .ep-intro { position: relative; isolation: isolate; padding-top: clamp(1.25rem, 4vw, 3.5rem); }
.ep .ep-intro .atmos {
  z-index: -1;
  inset: -2rem calc(-1 * var(--gutter));
  -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000 35%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 70% 20%, #000 35%, transparent 80%);
}
.ep .ep-intro h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.4rem); max-width: 16ch; }
.ep .ep-intro h1 .accent { color: var(--mint); display: block; }
.ep .ep-intro .lede { margin-top: 0.9rem; }
.ep .ep-paywith {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.ep .ep-buy { scroll-margin-top: 76px; }
.ep .ep-card {
  border: 1px solid var(--line-mint);
  border-radius: 20px;
  padding: clamp(1.25rem, 3.5vw, 1.75rem);
  background: linear-gradient(160deg, var(--deep) 0%, var(--card) 55%);
}
.ep .ep-packages-label,
.ep .ep-field label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}
.ep .ep-packages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.ep .ep-package { position: relative; }
.ep .ep-package input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.ep .ep-package label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-height: 84px;
  padding: 0.6rem 0.2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background-color 0.15s;
}
.ep .ep-package label:hover { border-color: rgba(91, 244, 164, 0.5); }
.ep .ep-package input:checked + label { border-color: var(--mint); background: #0F3926; }
.ep .ep-package input:focus-visible + label { outline: 2px solid var(--mint); outline-offset: 3px; }
.ep .ep-package input:disabled + label { opacity: 0.5; cursor: not-allowed; }
.ep .ep-pkg-duration { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 1.3rem; line-height: 1.1; color: var(--text); }
.ep .ep-pkg-price { font-family: var(--display); font-stretch: 85%; font-size: 1.05rem; font-weight: 800; color: var(--mint); font-variant-numeric: tabular-nums; }
.ep .ep-pkg-month { font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.ep .ep-field { margin-bottom: 1.1rem; }
.ep .ep-field input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: var(--ink);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  caret-color: var(--mint);
  -webkit-appearance: none;
  appearance: none;
}
.ep .ep-field input[type="email"]::placeholder { color: var(--muted-2); }
.ep .ep-field input[type="email"]:focus { border-color: var(--mint); outline: none; }
.ep .ep-field input[type="email"]:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.ep .ep-helper { margin-top: 0.4rem; color: var(--muted); font-size: 0.82rem; }

.ep .ep-submit-btn {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 14px;
  background: var(--mint);
  color: var(--mint-ink);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}
.ep .ep-submit-btn:not(:disabled):hover { background: #7FF8B9; }
.ep .ep-submit-btn:disabled { background: #24392F; color: #A9BDB2; cursor: not-allowed; }
.ep .ep-submit-btn.loading { background: var(--mint); color: var(--mint-ink); opacity: 0.75; }
.ep .ep-cta-hint { min-height: 1.4em; margin-top: 0.6rem; text-align: center; color: var(--muted); font-size: 0.85rem; }
.ep .ep-error {
  display: none;
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(239, 68, 68, 0.45);
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  font-size: 0.9rem;
}
.ep .ep-error.visible { display: block; }
.ep .ep-card-note { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

.ep h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); }
.ep .ep-proof {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-top: 1.75rem;
  max-width: 560px;
}
.ep .ep-proof .screen { grid-row: 1; }
.ep .ep-proof .screen:first-child { grid-column: 1 / 8; }
.ep .ep-proof .screen:last-child { grid-column: 6 / 13; margin-top: 46%; position: relative; z-index: 1; }
.ep .ep-proof-note { margin-top: 0.9rem; color: var(--muted-2); font-size: 0.82rem; }

.ep .ep-steps ol { list-style: none; counter-reset: step; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0; }
.ep .ep-steps li {
  counter-increment: step;
  position: relative;
  padding: 1.1rem 0 1.1rem 3.25rem;
  border-top: 1px solid var(--line);
}
.ep .ep-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0F3926;
  border: 1px solid var(--line-mint);
  color: var(--mint);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
}
.ep .ep-steps h3 { font-size: 1.2rem; }
.ep .ep-steps p { color: var(--muted); margin-top: 0.3rem; }
.ep .ep-steps strong { color: var(--text); }
.ep .ep-steps .stores { margin-top: 0.9rem; max-width: 26rem; }
.ep .ep-steps .btn-store { min-height: 48px; }
.ep .ep-faq { padding: 0; }
.ep .ep-layout .ep-steps .btn-store { background: transparent; color: var(--text); border: 1px solid var(--line-mint); box-shadow: none; }
.ep .ep-layout .ep-steps .btn-store:hover { background: #0F3926; }
.ep .ep-back { width: 100%; margin-top: 2rem; }
.ep .ep-done-head { position: relative; isolation: isolate; }
.ep .ep-done-head .atmos { z-index: -1; inset: -3rem calc(-1 * var(--gutter)); -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000 35%, transparent 80%); mask-image: radial-gradient(120% 90% at 70% 20%, #000 35%, transparent 80%); }
@media (max-width: 959px) {
  .ep .ep-proof { max-width: none; }
  .ep .ep-layout { gap: 1.75rem; }
  .ep .ep-intro { padding-top: 1rem; }
}
@media (max-width: 419px) {
  .ep .ep-card { border-radius: 16px; }
}

.ep .ep-done { max-width: 640px; padding-top: clamp(2rem, 6vw, 4rem); padding-bottom: 4rem; }
.ep .ep-done-head h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 3.8rem); margin-top: 1rem; }
.ep .ep-done-head .lede { margin-top: 0.75rem; }
.ep .ep-done-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0F3926;
  border: 1px solid var(--line-mint);
  color: var(--mint);
}
.ep .ep-done-icon svg { width: 28px; height: 28px; }
.ep .ep-done .ep-steps { margin-top: 1.5rem; }
.ep .ep-done-help { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); }

@media (min-width: 960px) {
  .ep .ep-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }
  .ep .ep-intro, .ep .ep-includes, .ep .ep-steps, .ep .ep-faq { grid-column: 1; }
  .ep .ep-buy { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 84px; margin-top: clamp(1.25rem, 4vw, 3.5rem); }
  .ep .ep-back { display: none; }
  .ep .ep-proof { max-width: 620px; }
}

/* ── Responsive ───────────────────────────────────────────── */

@media (min-width: 900px) {
  /* On wide screens the phone owns the hero; photography moves to the statement passage. */
  .mkt .hero .photo-layer { display: none; }
  .mkt .statement.has-photo .photo-layer { top: 0; bottom: 0; left: 46%; height: auto; }
  .mkt .statement.has-photo .photo-layer::after {
    background:
      linear-gradient(90deg, var(--ink) 0%, rgba(6, 10, 11, 0.35) 28%, rgba(6, 10, 11, 0.05) 60%, rgba(6, 10, 11, 0.45) 100%),
      linear-gradient(180deg, var(--ink) 0%, rgba(6, 10, 11, 0) 18%, rgba(6, 10, 11, 0) 78%, var(--ink) 100%);
  }
  .mkt .statement.has-photo { padding-bottom: clamp(4rem, 12vw, 9rem); }
  .mkt .nav .nav-cta { display: inline-flex; flex: none; min-width: 0; min-height: 40px; padding: 0 1.1rem; font-size: 0.9rem; border-radius: 10px; }
  .mkt .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: end;
    gap: 3rem;
  }
  .mkt .hero-copy { padding-bottom: clamp(3rem, 7vw, 6rem); }
  .mkt .hero-visual { width: min(100%, 380px); height: clamp(520px, 52vw, 640px); }
  .mkt .beat { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .mkt .beat .screen { width: min(100%, 340px); }
  .mkt .beat.flip .beat-copy { order: 2; }
  .mkt .beat-band .beat { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .mkt .start-panel { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 3rem; }
  .mkt .foot .wrap { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 1200px) {
  .mkt .hero h1 { max-width: 12ch; }
}

@media (max-width: 419px) {
  .mkt .hero .lede .more { display: none; }
  .mkt .hero .lede { margin-top: 0.8rem; }
  .mkt .hero .stores { margin-top: 1.1rem; }
  .mkt .assurance .wide { display: none; }
}
@media (max-width: 379px) {
  .mkt .btn-store { font-size: 0.95rem; gap: 0.5rem; padding-inline: 0.75rem; min-width: 0; }
  .mkt .hero { padding-top: 1.1rem; }
  .mkt .hero h1 { font-size: 2.4rem; }
  .mkt .hero .lede { line-height: 1.45; }
  .mkt .hero-grid { gap: 1.25rem; }
  .mkt .assurance { margin-top: 0.75rem; }
}

@media (min-width: 900px) {
  .mkt .statement:not(.has-photo) p.display { font-size: clamp(2.1rem, 0.8rem + 5.6vw, 6rem); max-width: 19ch; }
  .mkt .offer { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 3vw, 2.5rem); }
  .mkt .offer > div:first-child { padding-top: 0; }
}

@media (min-width: 1024px) {
  .mkt .beat { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); }
  .mkt .beat .screen { width: min(430px, 34vw); }
  .mkt .beat-band .beat { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
  .mkt .beat-band .pair { width: min(100%, 760px); }
  .mkt .beat-copy { max-width: 34rem; }
  .mkt .story-head { max-width: min(36rem, 44%); }
  .mkt .beat.opening { align-items: start; }
  .mkt .beat.opening .beat-copy { padding-top: 14rem; }
  .mkt .beat.opening .screen { margin-top: -15rem; position: relative; z-index: 2; }
  .mkt .beat.finale { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .mkt .beat.finale .beat-copy { order: 0; max-width: 28rem; padding-top: 3rem; }
  .mkt .beat.finale h3 { font-size: clamp(2.6rem, 1.4rem + 3.4vw, 4.6rem); }
  .mkt .beat.finale .screen { width: min(560px, 46vw); justify-self: end; margin-bottom: -9rem; position: relative; z-index: 2; }
  .mkt .story { padding-bottom: 0; }
  .mkt .statement {
    padding-top: calc(clamp(4rem, 12vw, 9rem) + 7rem);
    border-top: 1px solid rgba(91, 244, 164, 0.16);
    background: linear-gradient(180deg, var(--deep-2) 0%, var(--ink) 55%);
  }
}

/* ── Motion: one authored moment — the arc light travels once ─ */

@media (prefers-reduced-motion: no-preference) {
  .mkt .atmos .arc-light { animation: arc-travel 3.2s var(--ease-out) 0.3s both; }
  .mkt .hero-visual .screen { animation: rise 0.9s var(--ease-out) both; }
  @keyframes arc-travel { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
  @keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .mkt *, .mkt *::before, .mkt *::after { transition: none !important; animation: none !important; }
}

/* WEB-2 homepage. All new presentation is isolated from checkout and legal pages. */
body.mkt.home {
  --w2-ground: #050807;
  --w2-rim: rgba(91, 244, 164, 0.32);
  --w2-copy: #CBD8D1;
  --w2-accent-grad: linear-gradient(175deg, #BCFFE5 0%, #64F9B4 45%, #22DDA2 100%);
  --wrap: 1360px;
  background: var(--w2-ground);
}
.home .nav { background: linear-gradient(180deg, rgba(5,8,7,.94), rgba(5,8,7,.72)); border-color: rgba(255,255,255,.06); }
.home .nav .wrap { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; min-height: 64px; }
.home .brand { font-size: 1.5rem; font-stretch: 100%; gap: 7px; min-height: 44px; }
.home .brand img { width: 36px; height: 36px; border-radius: 9px; }
.home .nav-links { display: flex; justify-content: end; gap: 22px; }
.home .nav .nav-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; }
.home .nav .section-link { display: none; }
.home .nav .lang { min-height: 44px; }
.home .nav .nav-cta { display: inline-flex; min-height: 44px; border-radius: 12px; padding: 0 16px; font-size: .82rem; white-space: nowrap; }
.home .nav-cta svg { width: 18px; height: 18px; }
.home h1, .home h2, .home .display { font-stretch: 100%; font-weight: 850; letter-spacing: -.04em; text-wrap: initial; }
.home .accent { color: #64F9B4; background: var(--w2-accent-grad); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.home .eyebrow { color: #6AF1BA; font-size: .7rem; font-weight: 750; line-height: 1.4; letter-spacing: .23em; text-transform: uppercase; margin: 0 0 18px; }
.home .lede { color: var(--w2-copy); font-size: 1.075rem; line-height: 1.55; }
.home .hero { padding: 0; background: var(--w2-ground); overflow: hidden; }
.home .hero::before { content: ''; position: absolute; z-index: 1; top: 55vw; left: 0; right: 0; height: 320px; pointer-events: none; background: linear-gradient(transparent, #050807BA 40px, #050807CA 160px, transparent); }
.home .hero-environment { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(5,8,7,.8), rgba(5,8,7,.6)), url('./assets/web2/hero-ambient.webp') center / cover; opacity: .7; }
.home .hero::after { content: ''; position: absolute; z-index: 3; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, #45CD91, #A1FFCF, #38AD7E, transparent); box-shadow: 0 0 22px 2px #2AAB6C55; }
.home .hero-athlete { position: relative; display: block; width: 100%; aspect-ratio: 1122 / 1180; margin-top: -35px; z-index: 0; mask-image: linear-gradient(#000 65%, transparent 98%); -webkit-mask-image: linear-gradient(#000 65%, transparent 98%); }
.home .hero-athlete img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.home .hero-stage { position: relative; z-index: 2; }
.home .hero-copy { margin-top: -100px; position: relative; padding: 0; max-width: none; }
.home .hero h1 { max-width: none; font-size: clamp(2rem, 10.15vw, 4.5rem); line-height: .99; }
.home .hero h1 .line { display: block; }
.home .hero .lede { margin-top: 18px; font-size: 1rem; line-height: 1.5; }
.home .stores { --badge-height: 44px; display: flex; align-items: center; gap: 24px; padding: 12px 0; flex-wrap: wrap; }
.home .hero .stores { margin-top: 16px; max-width: none; }
.home a.store-badge { display: block; flex: none; position: relative; height: var(--badge-height); min-height: 44px; text-decoration: none; border-radius: 6px; }
.home .store-badge img { width: auto; max-width: none; height: var(--badge-height); }
/* Google's original transparent padding is part of the file: normalize visible art,
   without cropping, rewriting or recoloring publisher pixels. */
.home .store-badge.google-play { width: calc(var(--badge-height) * 3.37); }
.home .store-badge.google-play img { position: absolute; max-width: none; height: calc(var(--badge-height) * 1.493); top: calc(var(--badge-height) * -.2465); left: calc(var(--badge-height) * -.25); }
.home:lang(fi) .store-badge.google-play img { height: calc(var(--badge-height) * 1.302083); top: calc(var(--badge-height) * -.151042); left: 0; }
.home .how-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin: 6px 0 22px; color: #E2ECE6; font-size: .88rem; }
.home .how-link svg { color: var(--mint); width: 18px; height: 18px; }
.home .hero-product { position: relative; height: 340px; border: 1px solid var(--w2-rim); border-radius: 22px; overflow: hidden; margin: 0 0 32px; background: radial-gradient(ellipse at 100% 50%, #17664480, transparent 75%), linear-gradient(140deg, #0C2119, #050A07); box-shadow: inset 0 1px 0 #B6FFCE22; }
.home .hero-card-copy { width: 47%; position: relative; z-index: 2; padding: 25px 0 0 20px; }
.home .hero-card-copy .eyebrow { font-size: .6rem; letter-spacing: .18em; margin-bottom: 12px; }
.home .hero-card-copy .display { font-size: clamp(1.45rem, 6.4vw, 2.4rem); line-height: 1.04; }
.home .hero-card-copy > p:not(.eyebrow, .display) { margin-top: 12px; color: var(--w2-copy); font-size: .82rem; line-height: 1.5; }
.home .training-modes { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 7px; font-size: .8rem; }
.home .training-modes li::before { content: ''; display: inline-block; width: 5px; height: 5px; margin-right: 10px; vertical-align: middle; background: var(--mint); border-radius: 50%; box-shadow: 0 0 8px #5BF4A488; }
.home .device { --device-r: 34px; position: relative; margin: 0; padding: 7px; border: 1px solid #6BAE8E; border-radius: var(--device-r); background: linear-gradient(125deg, #739A8A, #101916 7%, #030705 70%, #54715F); box-shadow: 0 35px 70px -25px #000, 0 0 50px -10px #41ED9B3A; }
.home .device picture { display: block; overflow: hidden; border-radius: calc(var(--device-r) - 7px); background: #07110D; }
.home .device img { width: 100%; height: auto; }
.home .hero-device { position: absolute; width: 56%; top: 26px; right: 6px; transform: rotate(5deg); }
.home #get, .home #how, .home #features { scroll-margin-top: 84px; }
.home .nav-cta, .home .how-link { transition: color .18s, box-shadow .18s; }
@supports not (background-clip: text) {
  .home .accent { background: none; color: #64F9B4; -webkit-text-fill-color: currentColor; }
}
@media (forced-colors: active) {
  .home .accent { background: none; color: CanvasText; -webkit-text-fill-color: currentColor; }
  .home .device, .home .hero-product { border: 1px solid CanvasText; }
}
@media (max-width: 767px) {
  .home .hero-copy > .eyebrow { display: none; }
  .home .nav .wrap { gap: 8px; grid-template-columns: auto 1fr auto auto; }
  .home .nav-links { gap: 0; }
  .home .nav .nav-link { font-size: .78rem; }
  .home .brand { font-size: 1.3rem; }
  .home .brand img { width: 30px; height: 30px; }
  .home .nav .nav-cta { font-size: .75rem; padding-inline: 10px; gap: 6px; }
  .home .nav-cta svg { width: 14px; height: 14px; }
  .home .nav .lang { min-width: 44px; padding: 0 7px; }
  .home .nav .nav-link { min-width: 44px; justify-content: center; }
  .home:lang(fi) .hero h1 { font-size: clamp(1.8rem, 9.25vw, 4.15rem); }
}
@media (max-width: 359px) {
  .home .nav .wrap { gap: 5px; padding-inline: 12px; }
  .home .nav .nav-cta { padding-inline: 8px; font-size: .69rem; }
  .home .nav-cta svg { display: none; }
  .home .stores { --badge-height: 40px; gap: 22px; }
  .home .hero-card-copy { padding-left: 15px; }
}
@media (min-width: 768px) {
  .home .nav .wrap { min-height: 72px; gap: 24px; }
  .home .hero { min-height: 740px; }
  .home .hero::before { inset: 0; height: auto; background: linear-gradient(90deg, #050807D9, #050807C2 48%, transparent 64%); mask-image: linear-gradient(#000 48%, #0009 65%, transparent 90%); -webkit-mask-image: linear-gradient(#000 48%, #0009 65%, transparent 90%); }
  .home .hero-stage { min-height: 740px; display: flex; align-items: flex-start; }
  .home .hero-copy { width: 60%; max-width: 670px; margin: 0; padding-top: 115px; z-index: 2; }
  .home .hero h1 { font-size: clamp(3rem, 5.4vw, 5.4rem); }
  .home:lang(fi) .hero h1 { font-size: clamp(2.7rem, 4.85vw, 4.9rem); }
  .home .hero .lede { margin-top: 24px; font-size: 1.15rem; }
  .home .hero .stores { margin-top: 24px; --badge-height: 48px; }
  .home .hero-athlete { position: absolute; width: 760px; height: 100%; aspect-ratio: auto; margin: 0; left: calc(50% - 250px); top: 0; mask-image: linear-gradient(90deg, transparent, #000 22%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 88%, transparent); }
  .home .hero-athlete img { object-fit: cover; object-position: 50% 20%; }
  .home .hero-environment::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #050807A8, transparent 70%); }
  .home .hero-product { position: absolute; width: 250px; height: auto; right: var(--gutter); top: 120px; border: 0; border-radius: 0; overflow: visible; background: none; box-shadow: none; margin: 0; }
  .home .hero-card-copy { display: none; }
  .home .hero-device { position: relative; width: 100%; top: 0; right: 0; transform: rotate(4deg); }
  .home .how-link { margin-top: 18px; }
}
@media (min-width: 1024px) {
  .home .nav .section-link { display: inline-flex; }
  .home .nav-links { justify-content: center; gap: 32px; }
  .home .nav .nav-cta { font-size: .88rem; padding-inline: 22px; }
}
@media (min-width: 1100px) {
  .home .hero, .home .hero-stage { min-height: 720px; height: min(800px, calc(100svh - 72px)); }
  .home .hero-athlete { width: 800px; left: calc(50% - 350px); }
  .home .hero-copy { width: 60%; }
  .home .hero-product { width: 282px; right: 38px; top: 62px; }
  .home .hero .stores { --badge-height: 52px; gap: 30px; }
}

.home .benefits { position: relative; padding: 36px 0; background: linear-gradient(180deg, #08150F, var(--w2-ground)); }
.home .benefit-grid { display: grid; gap: 12px; }
.home .benefit-intro { padding: 4px 0 18px; }
.home .benefit-intro .eyebrow { margin-bottom: 12px; }
.home .benefit-intro h2 { font-size: clamp(1.7rem, 5.7vw, 2.1rem); line-height: 1.06; }
.home .benefit { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px; border: 1px solid #5BF4A41B; border-radius: 12px; background: linear-gradient(145deg, #15271C55, #050A0770); }
.home .benefit h3 { font-size: 1rem; font-stretch: 100%; font-weight: 750; line-height: 1.2; margin-bottom: 6px; }
.home .benefit p { font-size: .84rem; color: #ABBFB2; line-height: 1.5; }
.home .icon-tile { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 11px; color: #51F2B2; background: linear-gradient(135deg, #16432C77, #0D211833); border: 1px solid #5BF4A422; }
.home .icon-tile svg { width: 25px; height: 25px; filter: drop-shadow(0 0 7px #5BF4A43A); }
.home .how { padding: 64px 0; background: radial-gradient(ellipse at 50% 70%, #0C2A1C77, transparent 65%); }
.home .section-heading { display: grid; gap: 24px; margin-bottom: 32px; }
.home h2 { font-size: clamp(2.1rem, 6.8vw, 3.8rem); line-height: 1.02; }
.home .section-heading .lede { max-width: 27rem; }
.home .product-cards { display: grid; gap: 24px; }
.home .product-card { position: relative; overflow: hidden; border: 1px solid #4DE6A337; border-radius: 16px; background: linear-gradient(145deg, #0A1C12, #040A07); }
.home .product-card-copy { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 24px 22px 20px; min-height: 175px; position: relative; z-index: 1; }
.home .chapter-number { display: inline-flex; align-items: center; justify-content: center; height: 34px; border: 1px solid #5BF4A43D; border-radius: 8px; background: #14402A40; color: #72F5B4; font: 700 .85rem var(--body); font-variant-numeric: tabular-nums; }
.home .product-card h3 { font-size: 1.15rem; font-stretch: 100%; line-height: 1.2; margin: 3px 0 12px; }
.home .product-card p { font-size: .9rem; color: #B6C7BC; line-height: 1.55; }
.home .promo-art { position: relative; aspect-ratio: 1 / 1.2; overflow: hidden; mask-image: linear-gradient(transparent, #000 6%, #000 95%, transparent); -webkit-mask-image: linear-gradient(transparent, #000 6%, #000 95%, transparent); }
.home .photo-chapter { position: relative; isolation: isolate; overflow: hidden; background: var(--w2-ground); border-top: 1px solid #5BF4A422; }
.home .chapter-athlete { display: block; width: 100%; aspect-ratio: 1; position: relative; z-index: -1; mask-image: linear-gradient(#000 75%, transparent); -webkit-mask-image: linear-gradient(#000 75%, transparent); }
.home .chapter-athlete img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.home .chapter-copy { position: relative; }
.home .chapter-stage { padding-top: 0; padding-bottom: 54px; }
.home .chapter-copy .lede { margin-top: 24px; }
.home .anywhere .chapter-copy { margin-top: -10px; }
.home .environment-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.home .environment-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px; border-radius: 12px; border: 1px solid #5BF4A42B; background: linear-gradient(120deg, #0D2019, #080F0B); }
.home .environment-list .icon-tile { width: 48px; height: 48px; background: #0E3E293D; }
.home .environment-list h3 { font-size: 1.05rem; font-stretch: 100%; margin-bottom: 6px; }
.home .environment-list p { font-size: .9rem; color: #B4C3B9; line-height: 1.5; }
.home .every-set { display: flex; flex-direction: column; padding-top: 48px; }
.home .every-set .chapter-athlete { order: 2; aspect-ratio: 1.06; margin-top: -18px; }
.home .every-set .chapter-stage { display: contents; }
.home .every-set .chapter-copy { order: 1; padding: 0 var(--gutter); }
.home .tracking-features { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin: 32px 0 28px; }
.home .tracking-features li { text-align: center; font-size: .78rem; line-height: 1.5; border-right: 1px solid #5BF4A42D; }
.home .tracking-features li:first-child { text-align: left; }
.home .tracking-features li:last-child { border: 0; }
.home .tracking-features .icon-tile { border: 0; background: none; margin-bottom: 9px; }
.home .tracking-features span:not(.icon-tile) { display: block; color: #D2DED6; }
.home .progress-proof { order: 3; position: relative; z-index: 1; width: min(80%, 410px); margin: -60px auto 56px; padding: 20px; border-radius: 20px; border: 1px solid #5BF4A45C; background: linear-gradient(150deg, #0F281C, #070D0A); box-shadow: 0 0 48px -20px #5BF4A46B, 0 20px 40px #0008; }
.home .progress-proof .eyebrow { font-size: .6rem; letter-spacing: .16em; margin-bottom: 14px; }
.home .progress-device { padding: 0; border: 0; border-radius: 12px; box-shadow: none; overflow: hidden; }
.home .progress-device picture { border-radius: 12px; }
.home .final-cta { position: relative; isolation: isolate; padding: 56px 0 40px; border-top: 1px solid var(--w2-rim); background: radial-gradient(ellipse at 70% 30%, #134A2F7A, transparent 66%), linear-gradient(130deg, #091B12, #050807 65%); }
.home .final-cta::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('./assets/web2/hero-ambient.webp') center / cover; opacity: .08; }
.home .conversion-grid { display: grid; gap: 36px; }
.home .conversion-copy h2 { font-size: clamp(2.7rem, 9vw, 4.6rem); }
.home:lang(fi) .conversion-copy h2 { font-size: clamp(2rem, 9.25vw, 4.2rem); }
.home .conversion-copy .lede { margin-top: 24px; }
.home .conversion-copy .stores { margin-top: 20px; }
.home .conversion-devices { position: relative; width: 100%; aspect-ratio: 1 / 1.36; max-width: 500px; margin: 16px auto 0; }
.home .conversion-front { position: absolute; width: 53%; left: 9%; top: 16px; transform: rotate(-8deg); z-index: 2; }
.home .conversion-back { position: absolute; width: 50%; right: 5%; top: 90px; transform: rotate(8deg); }
.home .offer { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; border: 1px solid #5BF4A42D; border-radius: 16px; margin: 24px 0 0; background: linear-gradient(135deg, #10291C70, #09100C); }
.home .offer > div { padding: 24px; border: 0; border-bottom: 1px solid #5BF4A41F; }
.home .offer > div:first-child { padding-top: 24px; }
.home .offer > div:last-child { border: 0; }
.home .offer dt { font-size: .82rem; color: #C6D5CC; margin-bottom: 8px; }
.home .offer dd { font-size: .95rem; color: #D6E0DA; }
.home .faq { padding: 64px 0; background: var(--w2-ground); }
.home .faq .wrap { max-width: 1000px; }
.home .faq h2 { margin-bottom: 32px; }
.home .faq summary { padding-block: 22px; }
.home .foot { background: #040705; padding: 40px 0 28px; }
.home .foot .footer-brand { display: flex; margin-bottom: 24px; }
.home .foot .trademarks { font-size: .7rem; color: #94A79C; max-width: 68rem; margin-top: 24px; }
/* Future verified credibility figures can use this three-column treatment.
   No metrics, endorsement copy or hidden placeholder DOM ships on the homepage. */
.home .credibility-strip { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 600px; gap: 20px; }
.home .credibility-strip > div + div { border-left: 1px solid #5BF4A42D; padding-left: 20px; }
.home .credibility-strip strong { font: 800 1.5rem var(--display); color: var(--text); }
.home .credibility-strip small { display: block; color: var(--w2-copy); }
@media (min-width: 768px) {
  .home .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .home .benefit-intro { grid-column: 1 / -1; }
  .home .how { padding-block: 80px; }
  .home .product-cards { max-width: 560px; margin-inline: auto; }
  .home .product-card-copy { min-height: 145px; }
  .home .chapter-athlete { aspect-ratio: 1.3; }
  .home .chapter-copy { max-width: 650px; margin-inline: auto; }
  .home .anywhere .chapter-copy { margin-top: -40px; }
  .home .every-set .chapter-copy { width: 100%; }
  .home .conversion-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .home .conversion-devices { aspect-ratio: 1 / 1.52; }
  .home .conversion-front { width: 60%; left: 1%; }
  .home .conversion-back { width: 57%; right: 0; top: 140px; }
  .home .offer { grid-template-columns: repeat(3, 1fr); }
  .home .offer > div { border-bottom: 0; border-right: 1px solid #5BF4A41F; }
}
@media (min-width: 1100px) {
  .home .benefits { padding: 36px 0; }
  .home .benefit-grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 12px; align-items: stretch; }
  .home .benefit-intro { grid-column: auto; align-self: center; padding: 0 8px 0 0; }
  .home .benefit-intro h2 { font-size: 1.75rem; }
  .home .benefit { display: block; padding: 16px; }
  .home .benefit .icon-tile { margin-bottom: 14px; }
  .home .benefit p { font-size: .78rem; }
  .home .section-heading { grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; margin-bottom: 36px; }
  .home .section-heading h2 { font-size: 3.1rem; }
  .home .section-heading .lede { font-size: 1rem; }
  .home .product-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; gap: 22px; }
  .home .product-card-copy { padding: 24px 20px 12px; min-height: 175px; gap: 12px; }
  .home .product-card h3 { font-size: 1.1rem; }
  .home .promo-art { aspect-ratio: 1 / 1.2; }
  .home .photo-chapter { min-height: 740px; }
  .home .chapter-stage { min-height: 740px; position: relative; padding-top: 85px; padding-bottom: 72px; }
  .home .chapter-athlete { position: absolute; top: 0; bottom: 0; height: 100%; width: 760px; aspect-ratio: auto; mask-image: linear-gradient(90deg, #000 65%, transparent), linear-gradient(#000 88%, transparent); mask-composite: intersect; -webkit-mask-image: linear-gradient(90deg, #000 65%, transparent), linear-gradient(#000 88%, transparent); -webkit-mask-composite: source-in; }
  .home .chapter-athlete img { object-fit: cover; object-position: center 25%; }
  .home .seated-athlete { left: calc(50% - 775px); }
  .home .anywhere .chapter-copy { width: 46%; margin: 0 0 0 auto; max-width: 570px; }
  .home .anywhere h2 { font-size: 3.5rem; }
  .home .chapter-copy .lede { font-size: 1rem; }
  .home .environment-list { margin-top: 30px; }
  .home .environment-list li { padding: 14px 18px; }
  .home .every-set { display: block; padding: 0; min-height: 720px; }
  .home .every-set .chapter-stage { display: block; min-height: 720px; padding-top: 105px; }
  .home .every-set .chapter-copy { width: 35%; max-width: 425px; padding: 0; margin: 0; }
  .home .every-set h2 { font-size: 3.6rem; }
  .home .male-row-athlete { left: calc(50% - 250px); width: 710px; margin: 0; mask-image: linear-gradient(90deg, transparent, #000 22%, #000 88%, transparent), linear-gradient(#000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 88%, transparent), linear-gradient(#000 88%, transparent); }
  .home .male-row-athlete img { object-position: center top; }
  .home .progress-proof { position: absolute; width: 255px; right: 40px; top: 340px; padding: 18px; margin: 0; transform: rotate(3deg); }
  .home .progress-proof .eyebrow { font-size: .52rem; }
  .home .tracking-features { margin-top: 36px; }
  .home .final-cta { padding-top: 56px; }
  .home .conversion-grid { min-height: 610px; grid-template-columns: 1fr 1fr; gap: 50px; }
  .home .conversion-copy h2 { font-size: 4.5rem; }
  .home:lang(fi) .conversion-copy h2 { font-size: 3.6rem; }
  .home .conversion-devices { aspect-ratio: 1 / 1.2; max-width: 570px; margin: 0; }
  .home .conversion-front { width: 48%; left: 9%; }
  .home .conversion-back { width: 49%; right: 3%; top: 145px; }
  .home .conversion-copy .stores { --badge-height: 48px; gap: 30px; }
  .home:lang(fi) .every-set h2 { font-size: 3.1rem; }
}
@media (min-width: 768px) and (max-width: 1099px) {
  .home .hero, .home .hero-stage { min-height: 920px; }
  .home .hero-copy { width: calc(100% - 270px); padding-top: 355px; }
  .home .hero h1 { font-size: clamp(2.65rem, 4.8vw, 3.3rem); }
  .home:lang(fi) .hero h1 { font-size: clamp(2.3rem, 4.1vw, 2.85rem); }
  .home .hero-athlete { width: 700px; left: calc(50% - 210px); }
  .home .hero-product { width: 220px; top: 410px; }
  .home .hero .stores { --badge-height: 44px; }
  .home .hero::before { background: linear-gradient(180deg, transparent 30%, #050807A6 47%, #050807C2 80%, transparent); mask-image: none; -webkit-mask-image: none; }
}
@media (min-width: 1100px) and (max-width: 1399px) {
  .home .hero-athlete { width: 680px; left: calc(50% - 350px); }
  .home .hero-product { width: 240px; right: 24px; top: 100px; }
  .home .hero h1 { font-size: 5vw; }
  .home:lang(fi) .hero h1 { font-size: 4.5vw; }
}

/* Genuine app screens: unmodified native captures (site/assets/web2/app/manifest.json),
   whole frames at their 9:20 ratio, flat 2D tilt only. */
.home .hero-device { border-color: #A2D6BB; box-shadow: 0 36px 65px -20px #000, 0 0 42px -13px #52FFAC88, inset 0 0 0 2px #DAFFEA33; }
.home .product-scene { background: radial-gradient(ellipse at 50% 65%, #24B57535, transparent 68%); perspective: 1400px; }
.home .chapter-device { position: absolute; width: 74%; left: 13%; top: 18px; transform: rotate(-4deg); box-shadow: 0 30px 45px #000A, 0 0 35px -10px #44FFAA66; }
.home .scene-logging .chapter-device { top: auto; bottom: 22px; transform: rotate(3deg); }
.home .scene-progress .chapter-device { top: -34px; transform: rotate(3deg); }
.home .progress-proof { padding: 13px; border-color: #77FFD08A; background: linear-gradient(140deg, #20503C, #07140D 70%); box-shadow: 0 20px 48px #0009, 0 0 55px -15px #4DFFB35C; }
.home .progress-proof .eyebrow { margin: 7px 6px 12px; color: #CAFFDF; }
.home .progress-proof .progress-device picture { max-height: none; aspect-ratio: 1080 / 1420; }
.home .progress-proof .progress-device img { height: 100%; object-fit: cover; object-position: top; }
.home .conversion-back { box-shadow: 0 30px 70px #000B, 0 0 45px -10px #4BFFC355; }
.home .conversion-back { width: 43%; right: 5%; top: 68px; }
@media (min-width: 768px) {
  .home .conversion-back { width: 40%; top: 95px; }
}
@media (min-width: 1100px) {
  .home .progress-proof { width: 240px; right: 35px; top: 330px; }
}

/* Example-data disclosure and the Progress lens. The lens is a CSS window onto the
   same capture, aligned over its own source region (x 42-1038, y 1262-1666 of the
   1080x2400 frame) and enlarged in place, so the card is never shown twice. */
.home .screens-note { margin: 18px 0 0; color: #9DB3A6; font-size: .78rem; text-align: center; }
.home .conversion-devices .screens-note { position: absolute; left: 0; right: 0; bottom: -6px; margin: 0; }
.home .app-device img { height: auto; }
.home .screen-lens { position: absolute; z-index: 2; overflow: hidden;
  left: calc(7px + (100% - 14px) * 42 / 1080); width: calc((100% - 14px) * 996 / 1080);
  top: calc(7px + (100% - 14px) * 1262 / 2400); height: calc((100% - 14px) * 404 / 2400);
  border: 1px solid #8DFFCB99; border-radius: 12px; transform: scale(1.32); transform-origin: 50% 40%;
  box-shadow: 0 22px 44px #000D, 0 0 40px -6px #4BFFAC66; }
.home .screen-lens img { position: absolute; max-width: none; width: calc(100% * 1080 / 996); height: auto;
  left: calc(-100% * 42 / 996); top: calc(-100% * 1262 / 404); }
