@import url("fonts.css");
:root{--ink:#09171c;--paper:#f5f5e9;--mint:#9df3ce;--soft:#bbcbc8;--line:#38504f;--display:'DM Sans',Arial,sans-serif;color-scheme:dark}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ink);color:var(--paper);font:400 17px/1.55 'DM Sans',Arial,sans-serif}
a{color:inherit;text-underline-offset:.22em}
button,input,select{font:inherit}
button,a,input,select{touch-action:manipulation}
img{display:block;max-width:100%}
figure,h1,h2,h3,p{margin:0}
:focus-visible{outline:3px solid #ed76b1;outline-offset:4px}
.wrap{width:min(90%,1344px);margin-inline:auto}
.mast{background:var(--ink);position:relative;z-index:3;border-bottom:1px solid #253438}
.bar,.bar nav,.actions,.bottom nav,.bottom .wrap{display:flex;align-items:center}
.bar{min-height:74px;gap:25px}
.wordmark{margin-right:auto;display:inline-flex;align-items:center}
.wordmark img{width:158px;height:auto}
.bar nav{gap:clamp(18px,2.4vw,38px);margin-right:20px}
.bar nav a,.navbtn,.home-link,.bottom a{font-size:.9rem;text-decoration:none;font-weight:700}
.bar nav a:hover,.home-link:hover,.bottom a:hover,.bar nav a[aria-current=page]{color:var(--mint);text-decoration:underline}
.navbtn,.home-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
.navbtn{padding:0 20px;border:1px solid #60716e;border-radius:100px;gap:16px}
.navbtn:hover{background:var(--paper);color:var(--ink)}
.skip{position:fixed;top:5px;left:5px;z-index:10;background:var(--paper);color:var(--ink);padding:8px;transform:translateY(-150%)}
.skip:focus{transform:none}
h1,h2,h3{font-family:var(--display);font-weight:700;line-height:1.08}
h2{font-size:clamp(1.95rem,3.6vw,3.6rem);letter-spacing:-.035em}
.btn,.ghost,.textlink{font-weight:700;text-decoration:none;display:inline-flex;gap:18px;align-items:center}
.btn,.ghost{min-height:48px;padding:11px 22px;border-radius:100px}
.btn{background:var(--mint);color:var(--ink);border:1px solid transparent}
.btn:hover{background:white}.ghost{padding-inline:6px;color:white}.ghost:hover,.textlink:hover{text-decoration:underline}
.actions{gap:22px;flex-wrap:wrap}
[hidden]{display:none!important}
.eyebrow{font:700 .73rem/1.3 'DM Sans',sans-serif;letter-spacing:.14em;text-transform:uppercase;color:var(--mint);margin-bottom:16px}
.showcase{background:var(--paper);color:var(--ink);padding:clamp(58px,7vw,110px) 0}
.showcase .eyebrow{color:#536154}
.product-intro h2{margin-bottom:20px}
.product-intro>p:not(.eyebrow),.founder-story>p{max-width:57ch;margin-bottom:14px}
.textlink{margin-top:5px;padding:10px 0 4px;border-bottom:2px solid currentColor}
.section{padding:clamp(60px,7vw,104px) 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:32px}
.section-head>p{max-width:36ch;color:var(--soft)}
.hyrox-band{display:flex;gap:24px;align-items:center;text-decoration:none;color:var(--paper);padding:21px 0;border-bottom:1px solid var(--line);margin-top:12px}
.hyrox-band strong{font:700 1.7rem var(--display)}.hyrox-band span{color:var(--soft)}.hyrox-band b{margin-left:auto}.hyrox-band:hover strong{text-decoration:underline}
.story{padding:clamp(60px,7vw,104px) 0;background:#213b35}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:7%}.story .actions{margin-top:25px}
.bottom .wrap{padding-block:30px;justify-content:space-between;gap:24px}.bottom nav{gap:22px;flex-wrap:wrap}
.panel{padding:clamp(20px,2.6vw,38px);border:1px solid var(--line);border-radius:8px;background:#13272c}
.flow>*+*{margin-top:1rem}
dialog{max-width:96vw;max-height:96dvh;border:1px solid var(--line);background:var(--ink);color:var(--paper);padding:14px;border-radius:12px}
dialog::backdrop{background:#031115de}
.viewer-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:12px}.viewer-bar button{background:var(--mint);color:var(--ink);border:0;border-radius:100px;padding:8px 17px;cursor:pointer}
dialog img{max-height:78dvh;width:auto;max-width:90vw;margin:auto;object-fit:contain}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}


.training-hero {
  background: radial-gradient(ellipse at 82% 30%, #20443e 0%, #101f25 52%, var(--ink) 85%);
  padding: clamp(42px, 7vw, 100px) 0 clamp(36px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
}
.hero-grid, .app-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.4fr);
  gap: clamp(26px, 5vw, 82px);
  align-items: center;
}
.hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3.3rem, 6.7vw, 6.5rem);
  line-height: .98;
  letter-spacing: -.05em;
  margin-bottom: 22px;
}
.hero-copy p:not(.eyebrow) {max-width: 43ch; color: var(--soft); margin-bottom: 20px}
.hero-copy .hero-lead {font-size: clamp(1.18rem, 2.3vw, 1.65rem); color: var(--paper)!important; font-weight: 700; line-height: 1.26}
.hero-copy .btn {margin-top: 7px}
.screen-frame {
  display: block;
  background: #07141c;
  border: 3px solid #365551;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 14px 36px #06141338;
}
.screen-frame img {width: 100%; height: auto}
.hero-product figcaption, .app-shots figcaption, .sport-preview figcaption {margin-top: 9px; font-size: .82rem}
.hero-product figcaption, .sport-preview figcaption {color: var(--soft)}
.equipment-switch {display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px}
.equipment-switch button {
  min-height: 44px;
  padding: 5px 15px;
  border: 1px solid #657c76;
  border-radius: 7px;
  background: #122529;
  color: var(--paper);
  font-weight: 700;
  font-size: .87rem;
  cursor: pointer;
}
.equipment-switch button[aria-pressed=true] {background: var(--mint); border-color: var(--mint); color: var(--ink)}
.training-cards {display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px}
.training-cards article {border: 1px solid var(--line); border-radius: 10px; background: #13272c; padding: clamp(18px, 2.4vw, 32px); display: flex; flex-direction: column}
.training-cards h3 {font-size: 1.65rem}
.training-cards p {color: var(--soft); margin: 12px 0 18px; flex: 1}
.training-cards a {font-size: .93rem; padding: 9px 0; text-decoration: none; display: flex; justify-content: space-between; gap: 6px}
.training-cards a:first-of-type {color: var(--mint); font-weight: 700; border-bottom: 1px solid var(--line)}
.training-cards a:hover {text-decoration: underline}
.app-grid {grid-template-columns: minmax(0, .85fr) minmax(0, 1.2fr)}
.story-grid {grid-template-columns: minmax(0,.75fr) minmax(0,1fr)}
@media(max-width: 760px) {
  .hero-grid, .app-grid, .training-cards, .story-grid {grid-template-columns: 1fr; row-gap: 26px}
  .hero-copy h1 {max-width: none}
  .section-head, .bottom .wrap {display: block}
  .section-head>p, .bottom nav {margin-top: 14px}
  .bottom nav {gap: 12px 20px}
  .hyrox-band {display: grid; grid-template-columns: 1fr auto; gap: 3px 10px}
  .hyrox-band span {grid-row: 2}
  .hyrox-band b {grid-row: 1/3; grid-column: 2}
}
@media(max-width: 680px) {
  .bar {flex-wrap: wrap; padding: 12px 0 4px; gap: 8px 12px}
  .wordmark img {width: 120px}
  .bar nav {order: 4; width: 100%; margin: 0; justify-content: space-between; border-top: 1px solid #ffffff23}
  .bar nav a {display: flex; align-items: center; min-height: 42px}
  .navbtn,.home-link {font-size: .82rem}
  .navbtn {padding: 0 12px; min-height: 41px}
  .actions {gap: 12px}
}

.founder-portrait {
  width: min(100%, 300px);
  height: auto;
  margin-top: 24px;
  border-radius: 12px;
}

.hero-previews {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: start;
  gap: 14px;
  margin-top: 12px;
}
#training-caption {color: var(--soft); font-size: .82rem}
.rotation-toggle {
  margin-top: 6px;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--soft);
  text-decoration: underline;
  font-size: .8rem;
  cursor: pointer;
}
.phone-previews {display: flex; gap: clamp(5px,1vw,14px)}
.phone-previews a {
  width: clamp(40px,5vw,76px);
  border: 2px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--ink);
  cursor: zoom-in;
}
.phone-previews img {width: 100%; height: auto}
.phone-previews a.is-current {border-color: var(--mint); box-shadow: 0 0 0 2px #9df3ce43}
.event-links {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 20px}
.event-links a {display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none}
.event-links strong {font-size: 1.25rem}
.event-links span {display: flex; justify-content: space-between; gap: 8px; color: var(--soft)}
.event-links b {color: var(--mint)}
.event-links a:hover strong {text-decoration: underline}
@media(max-width: 1040px) and (min-width: 761px) {
  .hero-previews {grid-template-columns: 1fr}
}
@media(max-width: 490px) {
  .hero-previews {grid-template-columns: 1fr}
  .phone-previews a {width: 55px}
  .event-links {grid-template-columns: 1fr; gap: 0}
}

.hero-copy p.hero-signoff {color: var(--mint)}
