/* Let's Tri — website styles (landing page + privacy page).
   Variation 5, flat premium, same as the app: light grey background (#EFEFF1),
   solid white cards without shadows, black for actions, orange only for small
   accents and progress, sport colours for swim (blue), bike (violet), run (green). */
@font-face{font-family:'Archivo';font-weight:600;font-style:normal;font-display:swap;src:url('/fonts/archivo-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Archivo';font-weight:700;font-style:normal;font-display:swap;src:url('/fonts/archivo-latin-700-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-weight:400;font-style:normal;font-display:swap;src:url('/fonts/manrope-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-weight:500;font-style:normal;font-display:swap;src:url('/fonts/manrope-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-weight:600;font-style:normal;font-display:swap;src:url('/fonts/manrope-latin-600-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-weight:700;font-style:normal;font-display:swap;src:url('/fonts/manrope-latin-700-normal.woff2') format('woff2')}

:root{
  --bg:#EFEFF1; --card:#FFFFFF; --lift:#F1F1F3; --line:rgba(17,17,20,.08);
  --text:#111114; --ink:#111114; --sub:#62626C; --grey:#9A9AA4; --brand:#FF6400;
  --swim:#3BAFF5; --bike:#8B6CFF; --run:#2DBE7A;
  --fd:'Archivo','Helvetica Neue',Helvetica,Arial,sans-serif;
  --fb:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --pad:96px;
}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--fb);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;overflow-x:hidden;font-variant-numeric:tabular-nums}
a{color:var(--text);text-decoration:none}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px;border-radius:8px}
img{max-width:100%;display:block}
h1,h2,h3{font-family:var(--fd);font-weight:700;margin:0}
p{margin:0}
.wrap{max-width:1440px;margin:0 auto;padding:0 var(--pad)}
.skip{position:absolute;left:-999px;top:8px;z-index:50;padding:10px 14px;border-radius:12px;background:var(--ink);color:#FFFFFF;font-weight:700}
.skip:focus{left:8px}

/* ── Shared pieces ───────────────────────────────────────────── */
.chip{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 13px;border-radius:15px;background:var(--card);font-size:13px;font-weight:700;white-space:nowrap}
.chip i{width:7px;height:7px;border-radius:4px;background:var(--brand)}
.chip.grey{background:var(--lift)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:52px;padding:0 24px;border:none;border-radius:26px;font-family:var(--fb);font-size:15px;font-weight:700;white-space:nowrap;cursor:pointer;transition:background .15s,transform .15s}
.btn svg{width:17px;height:17px;flex-shrink:0}
.btn:active{transform:scale(.98)}
.btn-dark{background:var(--ink);color:#FFFFFF}
.btn-dark:hover{background:#2A2A30}
.btn-light{background:var(--card);color:var(--text)}
.btn-light:hover{background:#FAFAFB}
.btn-glass{background:var(--card);color:var(--text)}   /* privacy page: Log in */
.btn-sm{height:40px;padding:0 18px;border-radius:20px;font-size:14px}
.btn .sm{display:none}
.h2{font-size:56px;letter-spacing:-.035em;line-height:1.02}
.h2 span{color:var(--grey);display:block}
.sub{font-size:17px;font-weight:500;line-height:1.55;color:var(--sub)}
.card{background:var(--card);border-radius:28px}
.lbl{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--sub)}
.ic{width:40px;height:40px;border-radius:20px;background:var(--lift);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ic svg{width:19px;height:19px}
.sec-head{display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.sec-head.c{align-items:center;text-align:center}

/* The light logo: white tile, black bars. ".line" adds a thin outline on white surfaces. */
.logo-tile{--s:36px;width:var(--s);height:var(--s);border-radius:calc(var(--s) * .28);background:#FFFFFF;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.logo-tile.line{box-shadow:inset 0 0 0 1px rgba(17,17,20,.12)}
.logo-tile.big{--s:64px}
.bars{display:flex;align-items:flex-end;gap:calc(var(--s) * .066)}
.bars span{width:calc(var(--s) * .132);border-radius:calc(var(--s) * .066);background:var(--ink)}
.bars span:nth-child(1){height:calc(var(--s) * .265)}
.bars span:nth-child(2){height:calc(var(--s) * .397)}
.bars span:nth-child(3){height:calc(var(--s) * .53)}

/* Phone frame: white edge with a thin grey outline */
.phone{border:6px solid #FFFFFF;box-shadow:0 0 0 1px #DCDCE1;border-radius:46px;overflow:hidden;background:var(--bg);flex-shrink:0}
.phone img{width:100%;height:auto}

/* ── Header ──────────────────────────────────────────────────── */
.site-head{position:sticky;top:0;z-index:40;background:var(--bg)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;height:88px}
.brand{display:flex;align-items:center;gap:10px}
.brand-name{font-family:var(--fd);font-size:18px;font-weight:700;letter-spacing:-.02em}
.nav{display:flex;gap:4px;padding:4px;border-radius:24px;background:var(--card)}
.nav a{height:40px;padding:0 18px;border-radius:20px;display:flex;align-items:center;font-size:14px;font-weight:700;transition:background .2s,color .2s}
.nav a:hover{background:var(--lift)}
.nav a.on{background:var(--ink);color:#FFFFFF}
.head-r{display:flex;gap:8px}

/* ── Hero ────────────────────────────────────────────────────── */
.hero{display:grid;grid-template-columns:1fr 520px;gap:40px;align-items:center;padding-top:40px}
.hero-txt{display:flex;flex-direction:column;gap:28px;align-items:flex-start}
.hero h1{font-size:76px;letter-spacing:-.035em;line-height:1.02;max-width:620px}
.hero h1 span{color:var(--grey);display:block}
.hero .lead{max-width:520px;font-size:19px;font-weight:500;line-height:1.55;color:var(--sub)}
.ctas{display:flex;flex-wrap:wrap;gap:10px}
.install-btn{display:none;align-items:center;gap:12px;width:100%;height:64px;padding:0 10px;border:none;border-radius:22px;background:var(--card);color:var(--text);font-family:var(--fb);text-align:left;cursor:pointer}
.is-phone .install-btn{display:flex}
.install-btn .logo-tile{--s:42px}
.install-txt{flex:1;display:flex;flex-direction:column}
.install-txt b{font-size:15px}
.install-txt small{font-size:12px;font-weight:500;color:var(--sub)}
.install-plus{width:34px;height:34px;border-radius:17px;background:var(--lift);display:flex;align-items:center;justify-content:center}
.install-plus svg{width:16px;height:16px}
.hero-meta{display:flex;align-items:center;gap:22px;margin-top:6px;font-size:13px;font-weight:700;color:var(--sub)}
.hero-meta span{display:flex;align-items:center;gap:7px}
.hero-meta i{display:flex}
.hero-meta i svg{width:16px;height:16px}
.hero-meta .s{color:var(--swim)} .hero-meta .b{color:var(--bike)} .hero-meta .r{color:var(--run)}
.hero-meta .sep{width:1px;height:16px;background:#D6D6DC}
.hero-stage{position:relative;height:720px;display:flex;justify-content:center;align-items:flex-start}
.hero-stage::before{content:"";position:absolute;left:30px;right:30px;top:90px;bottom:-40px;border-radius:40px;background:var(--card)}
.hero-stage .phone{position:relative;width:330px;margin-top:20px}

/* ── Why ─────────────────────────────────────────────────────── */
.why{padding-top:120px;display:flex;flex-direction:column;gap:40px}
.why-top{display:grid;grid-template-columns:1.25fr 1fr;gap:72px;align-items:end}
.stats{display:grid;grid-template-columns:repeat(4,1fr);padding:32px 32px 36px}
.stat{display:flex;flex-direction:column;gap:14px;padding-right:20px}
.stat + .stat{border-left:1px solid var(--line);padding-left:28px}
.stat b{font-family:var(--fd);font-size:56px;font-weight:700;letter-spacing:-.04em;line-height:.9}
.stat small{font-size:14px;font-weight:500;line-height:1.5;color:var(--sub)}

/* ── How it works ────────────────────────────────────────────── */
.how{padding-top:140px;display:flex;flex-direction:column;gap:48px}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.step{display:flex;flex-direction:column;gap:16px;padding:28px 28px 0;overflow:hidden}
.step-top{display:flex;justify-content:space-between;align-items:center}
.step-n{font-family:var(--fd);font-size:15px;font-weight:700;color:var(--grey)}
.step h3{font-size:26px;letter-spacing:-.02em}
.step p{font-size:15px;font-weight:500;line-height:1.55;color:var(--sub)}
.step-shot{margin:auto -28px 0;padding-top:28px;height:300px;overflow:hidden;background:var(--lift);display:flex;justify-content:center;align-items:flex-start}
.step-shot .phone{width:250px}
/* Along the way: four cards in a row, two by two on tablets, stacked on phones (980px and below, as How it works) */
.along .steps{grid-template-columns:repeat(4,1fr)}
.along .step{padding:24px 24px 0}
.along .step h3{font-size:22px}
.along .step-shot{margin:auto -24px 0}
.along .step-shot .phone{width:220px}
@media (max-width:1240px){.along .steps{grid-template-columns:repeat(2,1fr)}.along .step-shot .phone{width:250px}}
@media (max-width:980px){.along .steps{grid-template-columns:1fr}}
.along .soon{margin:-24px auto 0;max-width:620px;text-align:center;font-size:14px;font-weight:600;color:var(--sub)}

/* ── Distances ───────────────────────────────────────────────── */
.dist{padding-top:140px;display:flex;flex-direction:column;gap:16px}
.dist-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:24px}
.legend{display:flex;gap:18px;font-size:13px;font-weight:700;padding-bottom:10px}
.legend span{display:flex;align-items:center;gap:7px}
.legend i{width:8px;height:8px;border-radius:4px}
.scale{padding:16px 16px 22px}
.races{display:flex;flex-direction:column;gap:4px}
.race{display:grid;grid-template-columns:24px 190px 1fr 110px;align-items:center;gap:20px;width:100%;padding:16px 20px;border:none;border-radius:20px;background:transparent;color:var(--text);font-family:var(--fb);text-align:left;cursor:pointer;transition:background .15s}
.race:hover{background:#F7F7F8}
.race[aria-checked="true"],.race[aria-checked="true"]:hover{box-shadow:none;background:#F2F2F5}
.race-mark{width:24px;height:24px;border-radius:12px;box-shadow:inset 0 0 0 2px #D6D6DC;display:flex;align-items:center;justify-content:center;color:#FFFFFF}
.race-mark svg{width:13px;height:13px;opacity:0}
.race[aria-checked="true"] .race-mark{background:var(--ink);box-shadow:none}
.race[aria-checked="true"] .race-mark svg{opacity:1}
.race-name{display:flex;flex-direction:column;gap:2px}
.race-name b{font-family:var(--fd);font-size:19px}
.race-name small{font-size:13px;font-weight:500;color:var(--sub)}
.race-bar{display:flex;gap:3px;height:8px;min-width:46px}
.race-bar i{display:block;height:8px;border-radius:4px}
.race-bar .s{background:var(--swim)} .race-bar .b{background:var(--bike)} .race-bar .r{background:var(--run)}
.race-tot{font-family:var(--fd);font-size:20px;font-weight:700;text-align:right}
.race-tot small{font-size:13px;color:var(--sub)}
.ruler{display:grid;grid-template-columns:24px 190px 1fr 110px;gap:20px;padding:10px 20px 0}
.ruler-in{position:relative;height:14px}
.ruler-in span{position:absolute;transform:translateX(-50%);font-size:11px;font-weight:700;color:var(--grey);white-space:nowrap}
.ruler-in span:first-child{transform:none}
.detail{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:36px}
.detail-l,.detail-r{display:flex;flex-direction:column;gap:20px;min-width:0}
.detail-l{gap:24px}
.detail-title{display:flex;align-items:center;gap:12px}
.detail-title h3{font-size:36px;letter-spacing:-.025em}
.badge{height:26px;padding:0 11px;border-radius:13px;background:var(--ink);color:#FFFFFF;font-size:12px;font-weight:700;display:flex;align-items:center}
.badge[hidden]{display:none}
.legs{display:flex;gap:40px}
.leg{display:flex;flex-direction:column;gap:6px}
.leg-l{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--sub)}
.leg-l svg{width:16px;height:16px}
.leg b{font-family:var(--fd);font-size:48px;letter-spacing:-.03em;line-height:1}
.leg b small{font-size:19px;color:var(--sub)}
.leg > i{display:block;width:48px;height:4px;border-radius:2px}
.detail-desc{max-width:440px;font-size:15px;font-weight:500;line-height:1.55;color:var(--sub)}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tile{padding:16px 18px;border-radius:18px;background:var(--lift);display:flex;flex-direction:column;gap:6px}
.tile b{font-family:var(--fd);font-size:24px;letter-spacing:-.02em;line-height:1.15}
.phases{padding:18px;border-radius:18px;background:var(--lift);display:flex;flex-direction:column;gap:12px}
.phases > b{font-size:13px}
.phase-row{display:flex;gap:8px}
.phase{min-width:0;display:flex;flex-direction:column;gap:2px}
.pseg{display:block;height:3px;border-radius:2px;background:var(--ink);margin-bottom:8px}
.phase:last-child{text-align:right}
.detail-good{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;font-size:14px;font-weight:500;color:var(--sub)}
.detail-good b{font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--text)}
.phase b{font-size:13px}
.phase small{font-size:12px;font-weight:500;color:var(--sub);white-space:nowrap}
.detail-cta{display:flex;align-items:center;gap:14px;margin-top:4px}
.detail-cta small{font-size:13px;font-weight:500;color:var(--sub)}

/* ── The app ─────────────────────────────────────────────────── */
.app{padding-top:140px}
.app-box{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:64px 64px 0 72px;overflow:hidden;height:720px}
.app-txt{display:flex;flex-direction:column;gap:24px;align-items:flex-start;justify-content:center;padding-bottom:64px}
.points{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.points li{display:flex;align-items:center;gap:14px;font-size:16px;font-weight:700}
.points .ic{width:36px;height:36px}
.points .ic svg{width:17px;height:17px}
.app-txt .btn{margin-top:8px}
.app-phones{display:flex;gap:20px;justify-content:center;align-items:flex-start}
.app-phones .phone{width:290px}
.app-phones .phone:first-child{margin-top:90px}

/* ── Close + footer ──────────────────────────────────────────── */
.close{padding:160px 24px 120px;display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center}
.close h2{font-size:72px;letter-spacing:-.035em;line-height:1.02}
.close h2 span{color:var(--grey);display:block}
.site-foot{padding-bottom:56px}
.site-foot .wrap > div{border-top:1px solid rgba(17,17,20,.1);padding-top:40px;display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:24px}
.foot-brand{display:flex;flex-direction:column;gap:14px}
.foot-brand p{font-size:13px;font-weight:500;color:var(--sub)}
.foot-col{display:flex;flex-direction:column;gap:12px;font-size:14px;font-weight:500}
.foot-col b{font-weight:700}
.foot-col a{color:var(--sub)}
.foot-col a:hover{color:var(--text)}

/* ── Add to home screen sheet (phones) ───────────────────────── */
.sheet{position:fixed;inset:0;z-index:60;display:none}
.sheet.open{display:block}
.sheet-bg{position:absolute;inset:0;background:rgba(17,17,20,.35);opacity:0;transition:opacity .3s}
.sheet.show .sheet-bg{opacity:1}
.sheet-panel{position:absolute;left:0;right:0;bottom:0;max-width:520px;margin:0 auto;padding:12px 20px calc(24px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;background:var(--bg);transform:translateY(100%);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.sheet.show .sheet-panel{transform:translateY(0)}
.sheet-grip{width:40px;height:5px;border-radius:3px;background:#CFCFD6;margin:0 auto 16px}
.sheet-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.sheet-head .logo-tile{--s:44px;box-shadow:none}
.sheet h2{font-size:22px;letter-spacing:-.02em}
.sheet-head p{font-size:13px;font-weight:600;color:var(--sub)}
.sheet ol{margin:0 0 20px;padding:0;list-style:none;counter-reset:s;display:flex;flex-direction:column;gap:8px}
.sheet li{counter-increment:s;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:16px;background:var(--card);font-size:15px;color:var(--sub)}
.sheet li::before{content:counter(s);width:28px;height:28px;border-radius:14px;background:var(--ink);color:#FFFFFF;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.sheet li strong{color:var(--text)}
.sheet .btn{width:100%}

/* ── Privacy page ────────────────────────────────────────────── */
.doc{max-width:760px;margin:0 auto;padding:40px 24px 72px}
.doc .date{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 13px;border-radius:15px;background:var(--card);font-size:13px;font-weight:700;margin-bottom:18px}
.doc .date::before{content:"";width:7px;height:7px;border-radius:4px;background:var(--brand)}
.doc h1{margin:0 0 18px;font-size:clamp(2.5rem,7vw,3.75rem);letter-spacing:-.04em;line-height:1}
.doc .lead{font-size:1.15rem;line-height:1.55;color:var(--sub);margin-bottom:32px}
.doc h2{margin:48px 0 12px;font-size:clamp(1.5rem,3vw,1.9rem);letter-spacing:-.025em;line-height:1.15}
.doc h3{margin:26px 0 6px;font-size:18px}
.doc p{margin:0 0 14px;color:var(--sub);line-height:1.65}
.doc ul{margin:0 0 14px;padding-left:1.2em;color:var(--sub);line-height:1.65}
.doc li{margin:4px 0}
.doc strong{color:var(--text)}
.doc a{text-decoration:underline;text-underline-offset:2px}
.doc .card{border-radius:24px}
.short{padding:24px 26px;margin-bottom:8px}
.short h2{margin:0 0 10px;font-size:22px}
.short ul{margin:0}
.data-table{width:100%;border-collapse:collapse;margin:8px 0;font-size:15px}
.data-table th,.data-table td{text-align:left;vertical-align:top;padding:12px 14px;border-bottom:1px solid var(--line)}
.data-table tr:last-child td{border-bottom:none}
.data-table th{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--sub)}
.data-table td{color:var(--sub);line-height:1.55}
.data-table td:first-child{color:var(--text);font-weight:700;width:32%}
.table-card{padding:6px 10px;margin-bottom:18px;overflow-x:auto}
.doc-foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;padding:24px 0 40px;border-top:1px solid rgba(17,17,20,.1);font-size:14px;font-weight:500;color:var(--sub)}
.doc-foot nav{display:flex;flex-wrap:wrap;gap:22px}
.doc-foot a{color:var(--sub)}
.doc-foot a:hover{color:var(--text)}

/* ── Smaller screens ─────────────────────────────────────────── */
@media (max-width:1240px){
  :root{--pad:48px}
  .hero{grid-template-columns:1fr 440px}
  .hero h1{font-size:64px}
  .hero-stage .phone{width:300px}
  .h2{font-size:48px}
  .why-top{grid-template-columns:1fr;gap:20px}
  .why-top .sub{max-width:640px}
  .app-box{grid-template-columns:1fr;height:auto;gap:24px}
  .app-txt{padding-bottom:0}
  .app-phones{height:440px;overflow:hidden}
  .stats{grid-template-columns:1fr 1fr;row-gap:28px}
  .stat:nth-child(3){border-left:none;padding-left:0}
  .step-shot .phone{width:220px}
  .detail{grid-template-columns:1fr;gap:32px}
  .app-box{padding:56px 48px 0}
  .app-phones .phone{width:250px}
  .close h2{font-size:58px}
  .site-foot .wrap > div{grid-template-columns:repeat(4,1fr)}
  .foot-brand{grid-column:1/-1}
}
@media (max-width:980px){
  .nav{display:none}
  .head-r .btn-glass{display:none}
  .hero{grid-template-columns:1fr;gap:24px}
  .hero-stage{height:560px;max-width:520px;width:100%;margin:0 auto}
  .why-top{grid-template-columns:1fr;gap:20px}
  .steps{grid-template-columns:1fr;max-width:620px;margin:0 auto;width:100%}
  .race{grid-template-columns:24px 150px 1fr 90px;gap:14px}
  .ruler{grid-template-columns:24px 150px 1fr 90px;gap:14px}
  .app-box{grid-template-columns:1fr;height:auto;gap:24px}
  .app-txt{padding-bottom:0}
  .app-phones{height:420px;overflow:hidden}
}
@media (max-width:720px){
  :root{--pad:16px}
  html{scroll-padding-top:76px}
  .site-head .wrap{height:68px}
  .brand .logo-tile{--s:32px}
  .brand-name{font-size:17px}
  .btn-sm{height:38px;padding:0 14px;font-size:13px}
  .btn .lg{display:none} .btn .sm{display:inline}
  .hero{padding-top:20px}
  .hero-txt{gap:20px}
  .hero h1{font-size:44px;letter-spacing:-.04em}
  .hero .lead{font-size:16px}
  .ctas{flex-direction:column;width:100%;gap:8px}
  .ctas .btn{width:100%}
  .is-phone .ctas .see{display:none}
  .hero-meta{display:none}
  .hero-stage{height:470px;margin-top:8px}
  .hero-stage::before{left:0;right:0;top:70px;bottom:0;border-radius:28px}
  .hero-stage .phone{width:250px;margin-top:0;border-radius:40px}
  .why{padding-top:72px;gap:20px}
  .h2{font-size:34px;letter-spacing:-.03em}
  .h2 span{display:inline}
  .sub{font-size:16px}
  .stats{padding:22px 20px 4px;row-gap:0}
  .stat{gap:10px;padding:0 8px 18px 0}
  .stat + .stat{padding-left:0}
  .stat:nth-child(even){border-left:1px solid var(--line);padding-left:16px}
  .stat:nth-child(odd){border-left:none}
  .stat:nth-child(n+3){border-top:1px solid var(--line);padding-top:18px}
  .stat b{font-size:40px}
  .stat small{font-size:12px;line-height:1.45}
  .how{padding-top:72px;gap:20px}
  .sec-head.c{align-items:flex-start;text-align:left}
  .steps{gap:12px}
  .step{gap:12px;padding:22px 22px 0}
  .step h3{font-size:22px}
  .step p{font-size:14px}
  .step-shot{margin:8px -22px 0;padding-top:22px;height:230px}
  .step-shot .phone{width:210px;border-radius:40px}
  .dist{padding-top:72px;gap:12px}
  .dist-head{margin-bottom:8px}
  .legend{display:none}
  .scale{padding:8px}
  .race{grid-template-columns:24px 1fr auto;grid-template-areas:"mark name tot" "bar bar bar";row-gap:10px;column-gap:12px;padding:14px 16px}
  .race-mark{grid-area:mark} .race-name{grid-area:name} .race-tot{grid-area:tot} .race-bar{grid-area:bar}
  .race-name b,.race-tot{font-size:17px}
  .race-name small{font-size:12px}
  .ruler{display:none}
  .detail{padding:22px;gap:20px}
  .detail-l,.detail-r{gap:20px}
  .detail-title h3{font-size:28px}
  .legs{justify-content:space-between;gap:12px}
  .leg b{font-size:34px}
  .leg b small{font-size:14px}
  .detail-desc{font-size:14px}
  .tiles{gap:8px}
  .tile{padding:14px;border-radius:16px}
  .tile b{font-size:18px}
  .phases{padding:16px;border-radius:16px;gap:10px}
  .phase-row{gap:6px}
  .phase small{font-size:11px}
  .detail-cta{flex-direction:column;align-items:stretch;gap:10px}
  .detail-cta small{text-align:center}
  .app{padding-top:72px}
  .app-box{padding:24px 22px 0;gap:18px;border-radius:28px}
  .app-txt{gap:18px}
  .points li{font-size:14px;gap:12px}
  .points .ic{width:34px;height:34px}
  .app-txt .btn{width:100%;margin-top:0}
  .app-phones{height:330px}
  .app-phones .phone{width:240px;border-radius:40px}
  .app-phones .phone:first-child{display:none}
  .close{padding:88px 16px 64px;gap:20px}
  .close .logo-tile{--s:52px}
  .close h2{font-size:36px}
  .close h2 span{display:inline}
  .site-foot{padding-bottom:40px}
  .site-foot .wrap > div{grid-template-columns:1fr 1fr;padding-top:28px}
}
/* Motion: fade in once (set up by the script; without it everything shows as normal) */
.motion .rv{opacity:0;transform:translateY(12px);transition:opacity .55s ease,transform .55s cubic-bezier(.2,.8,.2,1)}
.motion .rv.in{opacity:1;transform:none}
.stat b[data-count]{font-variant-numeric:tabular-nums}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.race{transition:none}}
@media (prefers-reduced-motion:reduce){.motion .rv{opacity:1;transform:none;transition:none}}
