:root{
  --paper:#FFFFFF;
  --mat:#F1F2F4;
  --ink:#0A0A0A;
  --floor:#000000;
  --muted:#4E5562;
  --rule:#DADDE2;
  --red:#D62B2B;
  --blue:#1846E0;
  --yellow:#F2C200;
  --green:#138A45;
  --bar:#8C939E;
  --max:74rem;
  --read:40rem;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Archivo",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:1.0625rem;line-height:1.6;font-variation-settings:"wdth" 100}
a{color:var(--blue)}
a:focus-visible,button:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
img{max-width:100%}
.wrap{max-width:var(--max);margin:0 auto;padding:0 1.25rem}
h1,h2,h3{line-height:1.02;margin:0 0 .5em;font-weight:900}
h1{font-size:clamp(2.8rem,8vw,6.2rem);font-variation-settings:"wdth" 64;letter-spacing:-.015em}
h2{font-size:clamp(1.9rem,4.4vw,3.2rem);font-variation-settings:"wdth" 70}
h3{font-size:1.25rem;font-variation-settings:"wdth" 92;font-weight:800;line-height:1.15}
p{margin:0 0 1em}
.lede{font-size:clamp(1.15rem,1.8vw,1.35rem);max-width:38rem;line-height:1.5}

header.site{background:var(--paper);border-bottom:1px solid var(--rule);position:sticky;top:0;z-index:5}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:4.25rem;flex-wrap:wrap}
.brand{display:flex;align-items:center}
.brand img{height:2.5rem;width:auto;display:block}
nav.main{display:flex;gap:1.4rem;flex-wrap:wrap}
nav.main a{color:var(--ink);text-decoration:none;font-weight:700;font-variation-settings:"wdth" 88;padding:.3rem 0;border-bottom:3px solid transparent}
nav.main a:hover{border-bottom-color:var(--rule)}
nav.main a[aria-current="page"]{border-bottom-color:var(--red)}

.cta{display:inline-block;background:var(--ink);color:#fff;font-weight:800;text-decoration:none;padding:.95rem 1.4rem;border-radius:3px;border:2px solid var(--ink);font-variation-settings:"wdth" 92}
.cta:hover{background:var(--red);border-color:var(--red)}
.cta.ghost{background:transparent;color:var(--ink)}
.cta.ghost:hover{background:var(--ink);color:#fff;border-color:var(--ink)}
.cta-row{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.8rem}

/* Hero: the loaded bar */
.hero{padding:4.5rem 0 0;overflow:hidden}
.hero h1{max-width:13ch}
.rack{margin-top:3rem;padding:2.5rem 0 1.25rem;background:var(--mat);border-top:1px solid var(--rule)}
.rack svg{display:block;width:100%;height:auto;max-height:300px}
.rack figcaption{max-width:var(--max);margin:1rem auto 0;padding:0 1.25rem;color:var(--muted);font-size:.98rem}
.plate{transform-box:fill-box}
@media (prefers-reduced-motion:no-preference){
  .load-r .plate{animation:slide-r .7s cubic-bezier(.2,.8,.2,1) both}
  .load-l .plate{animation:slide-l .7s cubic-bezier(.2,.8,.2,1) both}
  .plate:nth-child(1){animation-delay:.10s}
  .plate:nth-child(2){animation-delay:.22s}
  .plate:nth-child(3){animation-delay:.34s}
  .plate:nth-child(4){animation-delay:.46s}
  .plate:nth-child(5){animation-delay:.58s}
  @keyframes slide-r{from{transform:translateX(220px);opacity:0}to{transform:none;opacity:1}}
  @keyframes slide-l{from{transform:translateX(-220px);opacity:0}to{transform:none;opacity:1}}
}

/* Plate colour key, used on the day board and module grid */
.k-red{--k:var(--red)}
.k-blue{--k:var(--blue)}
.k-yellow{--k:var(--yellow)}
.k-green{--k:var(--green)}
.k-white{--k:#FFFFFF}

section.band{padding:5rem 0}
section.band.mat{background:var(--mat)}
section.band.dark{background:var(--floor);color:#EDEFF2}
section.band.dark a{color:#fff}
.band-head{display:grid;grid-template-columns:1fr 1fr;gap:2rem 3rem;align-items:end;margin-bottom:2.5rem}
.band-head p{color:var(--muted);margin:0}
section.band.dark .band-head p{color:#B8BEC7}

/* A day on ZeusOS */
.day{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.day li{display:grid;grid-template-columns:7rem 1fr 14rem;gap:1.5rem;align-items:baseline;padding:1.2rem 0;border-bottom:1px solid var(--rule)}
.day time{font-weight:900;font-size:1.9rem;font-variation-settings:"wdth" 62;line-height:1}
.day strong{display:block;font-size:1.15rem;font-variation-settings:"wdth" 92}
.day .what span{color:var(--muted)}
.day .mod{display:flex;align-items:center;gap:.55rem;font-weight:700;font-size:.95rem;justify-self:end}
.day .mod::before{content:"";width:1.1rem;height:1.1rem;border-radius:50%;background:var(--k);box-shadow:inset 0 0 0 3px rgba(0,0,0,.18);border:1px solid var(--ink)}

/* Modules */
.mods{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#2A2D33;border:1px solid #2A2D33}
.mods > div{background:var(--floor);padding:1.6rem 1.5rem 1.7rem;position:relative}
.mods > div::before{content:"";display:block;width:2.6rem;height:.5rem;border-radius:2px;background:var(--k);margin-bottom:1.1rem}
.mods p{color:#B8BEC7;margin:0}

/* Stack replacement */
.stack{display:grid;grid-template-columns:1fr auto 1fr;gap:2rem;align-items:center}
.stack ul{list-style:none;margin:0;padding:0}
.stack li{padding:.75rem 0;border-bottom:1px solid var(--rule);font-weight:700;font-variation-settings:"wdth" 90}
.stack li span{display:block;font-weight:400;color:var(--muted);font-size:.95rem}
.stack .old li{position:relative;padding-left:2.4rem;color:var(--ink)}
.stack .old li::before{content:"\00D7";position:absolute;left:0;top:.8rem;width:1.5rem;height:1.5rem;border-radius:50%;background:var(--red);color:#fff;font-weight:900;font-size:1.05rem;line-height:1.5rem;text-align:center}
.stack .old-head{font-weight:800;font-variation-settings:"wdth" 90;color:var(--muted);margin:0 0 .4rem}
.stack .arrow svg{display:block}
.stack .new{background:var(--ink);color:#fff;padding:1.8rem;border-radius:4px}
.stack .new h3{font-size:2rem;font-variation-settings:"wdth" 66;margin-bottom:.4rem}
.stack .new p{color:#C9CED6;margin:0}

.split{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:start}
.pilot{border-left:6px solid var(--red);padding-left:1.4rem}

/* Athlete page */
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3rem;align-items:center;padding-bottom:4rem}
.applogo{max-width:19rem;height:auto;display:block;margin:0 0 1.4rem}
.checklist{list-style:none;padding:0;margin:1.5rem 0 0;columns:2;column-gap:2rem}
.checklist li{break-inside:avoid;padding:.55rem 0 .55rem 1.6rem;position:relative;border-top:1px solid var(--rule)}
.checklist li::before{content:"";position:absolute;left:0;top:1.05rem;width:.7rem;height:.7rem;border-radius:50%;background:var(--red)}
.stores{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.6rem}
.store{border:2px solid var(--ink);border-radius:4px;padding:.55rem 1rem;font-weight:800;font-size:.95rem}
.store small{display:block;font-weight:500;color:var(--muted);font-size:.8rem}
.phone{justify-self:center;width:min(100%,19.5rem);background:var(--floor);border-radius:2.6rem;padding:.8rem;box-shadow:0 30px 60px -30px rgba(0,0,0,.45)}
.screen{background:var(--mat);border-radius:2rem;padding:1.2rem 1rem 1.3rem;min-height:30rem}
.screen .notch{width:5.5rem;height:1.3rem;background:var(--floor);border-radius:1rem;margin:-.4rem auto 1rem}
.screen .hi{font-weight:900;font-size:1.6rem;font-variation-settings:"wdth" 66;line-height:1.05;margin:0 0 .9rem}
.card{background:#fff;border-radius:.9rem;padding:.85rem .95rem;margin-bottom:.6rem;border-left:5px solid var(--k)}
.card small{display:block;color:var(--muted);font-size:.78rem;font-weight:600}
.card b{display:block;font-size:1rem;font-variation-settings:"wdth" 90}
.card .row{display:flex;justify-content:space-between;align-items:center;gap:.5rem;font-size:.9rem}
.pill{background:var(--ink);color:#fff;border-radius:1rem;padding:.15rem .6rem;font-size:.75rem;font-weight:700}
.pr{font-weight:900;font-size:1.5rem;font-variation-settings:"wdth" 64}

/* Documents (support, privacy, terms, delete account) */
.doc{padding:3.5rem 0 5rem}
.doc .wrap{max-width:calc(var(--read) + 2.5rem)}
.doc h1{font-size:clamp(2.4rem,6vw,3.8rem);border-bottom:6px solid var(--red);padding-bottom:.35em;margin-bottom:.6em}
.doc h2{font-size:1.6rem;margin-top:2.4rem;font-variation-settings:"wdth" 80}
.doc h3{margin-top:1.4rem}
.doc ul{padding-left:1.2rem}
.doc li{margin-bottom:.4rem}
.meta{color:var(--muted);font-size:.95rem}
.note{border-left:5px solid var(--yellow);background:#FFF9DD;padding:.95rem 1.1rem;margin:1.3rem 0}
dl.faq dt{font-weight:800;margin-top:1.4rem;font-variation-settings:"wdth" 92}
dl.faq dd{margin:.3rem 0 0}

footer.site{background:var(--floor);color:#B8BEC7;padding:3rem 0;font-size:.95rem}
footer.site a{color:#FFFFFF}
footer.site .wrap{display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
footer.site nav{display:flex;gap:1.2rem;flex-wrap:wrap}
footer.site .flogo{height:1.6rem;width:auto;margin-bottom:.9rem;display:block}
.plates-rule{display:flex;height:6px}
.plates-rule span{flex:1}

@media (max-width:900px){
  .band-head,.split,.hero-grid{grid-template-columns:1fr}
  .mods{grid-template-columns:1fr 1fr}
  .stack{grid-template-columns:1fr}
  .stack .arrow{transform:rotate(90deg);justify-self:start}
  .day li{grid-template-columns:5rem 1fr}
  .day .mod{grid-column:2;justify-self:start}
  .checklist{columns:1}
}
@media (max-width:560px){
  .rack{overflow:hidden}
  .rack svg{width:820px;max-width:none;max-height:none;margin-left:calc(100% - 820px)}
  .mods{grid-template-columns:1fr}
  .hero{padding-top:2.75rem}
  section.band{padding:3.5rem 0}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}

/* v3: hero with the bar beside the headline */
.hero2{padding:3.5rem 0 3.5rem;overflow:hidden}
.hero2 .grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:2.5rem;align-items:center}
.hero2 h1{font-size:clamp(2.6rem,5.4vw,4.9rem);max-width:12ch}
.bar-fig{margin:0}
.bar-fig svg{display:block;width:100%;height:auto}
.bar-fig figcaption{color:var(--muted);font-size:.95rem;margin-top:.8rem;max-width:34rem}

/* Editions */
.editions{display:grid;grid-template-columns:1.3fr 1fr;gap:1.25rem}
.edition{border:2px solid var(--ink);border-radius:4px;padding:1.6rem 1.6rem 1.7rem;background:#fff}
.edition.live{border-left:10px solid var(--red)}
.edition .tag{display:inline-block;font-weight:800;font-size:.85rem;padding:.2rem .6rem;border-radius:1rem;margin-bottom:.9rem}
.edition.live .tag{background:var(--red);color:#fff}
.edition.next{border-style:dashed;border-color:#9AA1AC}
.edition.next .tag{background:var(--mat);color:var(--muted)}
.edition h3{font-size:1.9rem;font-variation-settings:"wdth" 70;margin-bottom:.35rem}
.edition p{margin:0 0 .8rem}
.edition p:last-child{margin-bottom:0}

/* Coming next */
.soon{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;column-gap:3rem;border-top:2px solid var(--ink)}
.soon li{display:grid;grid-template-columns:1fr auto;gap:.3rem 1rem;padding:1.05rem 0;border-bottom:1px solid var(--rule)}
.soon b{font-size:1.1rem;font-variation-settings:"wdth" 92}
.soon span{grid-column:1 / -1;color:var(--muted)}
.soon em{font-style:normal;font-weight:800;font-size:.8rem;align-self:start;border:2px solid var(--ink);border-radius:1rem;padding:.05rem .55rem;white-space:nowrap}

@media (max-width:900px){
  .hero2 .grid,.editions{grid-template-columns:1fr}
  .soon{grid-template-columns:1fr}
}
