/* Beat This site. Tokens are the app's own (lib/theme/app_theme.dart):
   background #0A0A0A, bg3 #1A1A1A, card charcoal #262626 with a 2pt lime border
   (the Home card), border2 #333. Dark only, like the app.
   Layout: sections alternate near-black and #1A1A1A bands; one column on
   phones, two or three from 900px. */
@font-face{font-family:"Barlow Condensed";font-weight:900;font-style:normal;font-display:swap;src:url("fonts/bc-900.woff2") format("woff2")}
@font-face{font-family:"Barlow Condensed";font-weight:700;font-style:normal;font-display:swap;src:url("fonts/bc-700.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-weight:400;font-style:normal;font-display:swap;src:url("fonts/b-400.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-weight:500;font-style:normal;font-display:swap;src:url("fonts/b-500.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-weight:600;font-style:normal;font-display:swap;src:url("fonts/b-600.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-weight:700;font-style:normal;font-display:swap;src:url("fonts/b-700.woff2") format("woff2")}

:root{
  color-scheme:dark;
  --bg:#0A0A0A; --band:#1A1A1A; --card:#262626; --foot:#111111;
  --line:#333333; --line-soft:#222222;
  --ink:#FFFFFF; --ink-2:#CCCCCC; --ink-3:#AAAAAA;
  --lime:#C6F135; --lime-dark:#1A2400;
  --gold:#F2C14E;
  --blue:#4A90D9; --blue-dark:#0A1A2A;
  --red:#FF5A5F; --red-dark:#2A0B0C;
  --violet:#A78BFA; --violet-dark:#17102E;
  --display:"Barlow Condensed","Arial Narrow","Helvetica Neue",Arial,sans-serif;
  --body:"Barlow","Helvetica Neue",Arial,sans-serif;
  --max:1120px;
  --gutter-l:max(20px, env(safe-area-inset-left, 0px));
  --gutter-r:max(20px, env(safe-area-inset-right, 0px));
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:72px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:17px;line-height:1.5;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:30;background:var(--bg)}
img,video{max-width:100%;display:block}
a{color:inherit}
p{margin:0}
h1,h2,h3{margin:0;font-family:var(--display);font-weight:900;text-transform:uppercase;text-wrap:balance}
:focus-visible{outline:2px solid var(--lime);outline-offset:3px;border-radius:4px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.t{color:var(--lime)}

.wrap{max-width:var(--max);margin:0 auto;padding-left:var(--gutter-l);padding-right:var(--gutter-r)}

/* ---- header ---- */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:rgba(10,10,10,.92);
  -webkit-backdrop-filter:saturate(150%) blur(12px);backdrop-filter:saturate(150%) blur(12px);
  border-bottom:1px solid var(--line-soft)}
.top .wrap{display:flex;align-items:center;gap:24px;height:56px}
.mark{font-family:var(--display);font-weight:900;font-size:24px;line-height:1;text-decoration:none;letter-spacing:.01em;white-space:nowrap;color:var(--ink)}
.top nav{display:flex;gap:22px;margin-left:auto}
.top nav a{font-family:var(--display);font-weight:700;font-size:17px;text-transform:uppercase;letter-spacing:.02em;color:var(--ink-3);text-decoration:none}
.top nav a:hover,.top nav a[aria-current="page"]{color:var(--ink)}
.top .btn{margin-left:auto;padding:9px 14px;font-size:16px;border-radius:10px}
.top nav + .btn{margin-left:0}
@media (max-width:760px){.top nav{display:none}}

/* ---- buttons ---- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--lime);color:#0A0A0A;
  font-family:var(--display);font-weight:900;font-size:20px;line-height:1;text-transform:uppercase;letter-spacing:.02em;
  text-decoration:none;padding:16px 22px;border-radius:12px;border:0;cursor:pointer;white-space:nowrap}
.btn:hover{background:#d6ff4f}
.btn-ghost{background:transparent;color:var(--ink);border:2px solid var(--line)}
.btn-ghost:hover{background:var(--card)}

/* ---- section rhythm ---- */
.section{padding-block:72px}
.band{background:var(--band)}
@media (min-width:900px){.section{padding-block:112px}}
.h2{font-size:clamp(42px,11vw,80px);line-height:.92;letter-spacing:.003em}
.lede{margin-top:18px;max-width:36em;color:var(--ink-2);font-size:18px}
.small{font-size:14px;color:var(--ink-3)}
.cap{font-family:var(--display);font-weight:700;font-size:clamp(26px,7.2vw,40px);line-height:1.04;letter-spacing:.005em;text-wrap:balance}
.cap-2{color:var(--lime)}
.cta{margin-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:14px 18px}
/* Apple's App Store badge, used as supplied (black, its gray border is part of
   the art). Apple: at least 40px tall, clear space a quarter of its height. */
.store{display:inline-block;line-height:0;border-radius:9px}
.store img{height:48px;width:auto}
@media (min-width:900px){.store img{height:54px}}
.cta .small{font-size:15px}

/* ---- charcoal card: the app's Home card (#262626, 2pt lime border) ---- */
.card{background:var(--card);border:2px solid var(--lime);border-radius:18px}

/* ---- hero ---- */
.hero{padding-block:36px 72px}
.hero-grid{display:grid;gap:22px}
.hero-head{container-type:inline-size;min-width:0}
.hero-h{display:block;text-transform:none}
.hero-h .cap{display:block;font-size:clamp(22px,6vw,44px)}
/* "60s NAME" on one line, the app's own format ('60s ${NAME}'). --base fits a
   phone line to "60s HEAD TO TOES" (6.774em); a longer name scales down to fit,
   like the app's FitName.scaleDown. Desktop fits all 20 hero names (longest
   "60s PLANK SHOULDER TAPS", 10.211em). The line box keeps --base's height so
   nothing below moves. */
.hero-head{--base:calc(100cqw / 6.85)}
.line{display:flex;align-items:flex-end;margin-top:8px;height:calc(var(--base) * 1.04);overflow:hidden;
  font-family:var(--display);font-weight:900;font-size:var(--base);line-height:1.04}
.line .txt{white-space:nowrap;line-height:1.04}
.line .nm{display:inline-block;color:var(--lime);text-transform:uppercase}
.line .nm.in{animation:tickin .22s cubic-bezier(.2,.8,.2,1)}
@keyframes tickin{from{transform:translateY(45%);opacity:0}to{transform:none;opacity:1}}
.hero-copy{min-width:0}
.stage-fig{margin:26px 0 0;position:relative;display:grid;grid-template-columns:minmax(0,58fr) minmax(0,42fr);align-items:stretch}
.stage{position:relative;aspect-ratio:9/16;max-width:100%;background:#000;border-radius:18px;overflow:hidden;border:2px solid var(--lime);justify-self:stretch;align-self:start}
/* Safari (Mac and iPhone, Nov 9) gave the hero box no size: .stage-fig stretches its items, and a stretched box whose
   only content is the absolutely placed video takes its height from the row, not from aspect-ratio. Stretched across
   its column and started at the top, the box's height comes from aspect-ratio in every engine; the notes still
   stretch to it. The ::before gives the box a 9:16 content height of its own as well, so it keeps its size even
   where an engine skips aspect-ratio. */
.stage::before{content:"";display:block;padding-top:calc(100% * 16 / 9)}
.stage video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
.stage video.on{opacity:1}
.notes{position:relative}
.note{position:absolute;left:0;right:0;padding-left:34px;font-size:15px;line-height:1.3;color:var(--ink-2)}
.note::before{content:"";position:absolute;left:0;top:.65em;width:26px;height:2px;background:var(--lime)}
.note::after{content:"";position:absolute;left:-3px;top:calc(.65em - 3px);width:8px;height:8px;border-radius:50%;background:var(--lime)}
.note-clock{top:9.5%}
.note-score{top:80%}
.note b{display:block;font-family:var(--display);font-weight:900;font-size:22px;line-height:1;text-transform:uppercase;color:var(--ink);margin-bottom:4px}
.playtoggle{position:absolute;top:10px;left:10px;z-index:2;width:36px;height:36px;border-radius:50%;border:0;
  background:rgba(0,0,0,.5);color:#fff;display:grid;place-items:center;cursor:pointer;padding:0}
.playtoggle svg{width:16px;height:16px}
.playtoggle .i-play{display:none}
.playtoggle.paused .i-play{display:block}
.playtoggle.paused .i-pause{display:none}
@media (prefers-reduced-motion:reduce){.line .nm.in{animation:none}}
@media (min-width:900px){
  .hero{padding-block:48px 104px}
  .hero-grid{grid-template-columns:minmax(0,1fr) 440px;grid-template-areas:"head head" "copy fig";gap:28px 56px;align-items:start}
  .hero-head{grid-area:head;--base:min(112px, calc(100cqw / 10.25))}
  .hero-copy{grid-area:copy}
  .hero-copy .cap{font-size:44px}
  .hero-copy .cta{margin-top:36px}
  .stage-fig{grid-area:fig;margin-top:0;grid-template-columns:250px minmax(0,1fr)}
}

/* ---- phone frame ---- */
.phone{position:relative;width:100%;aspect-ratio:1179/2556;max-width:100%;border-radius:15%/7%;border:5px solid #0A0A0A;
  background:#000;overflow:hidden;box-shadow:0 0 0 1px var(--line)}
.phone img{width:100%;height:100%;object-fit:cover}
.phone video.loop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .25s}
.phone video.loop.on{opacity:1}
.phone::after{content:"";position:absolute;top:1.6%;left:50%;width:31%;height:3.6%;transform:translateX(-50%);border-radius:99px;background:#000}
.phone.is-empty{display:grid;place-items:center;background:repeating-linear-gradient(135deg,#141414 0 10px,#191919 10px 20px)}
.phone.is-empty span{font-family:var(--display);font-weight:700;font-size:15px;text-transform:uppercase;color:var(--ink-3);text-align:center;padding:0 12%;line-height:1.15}

/* ---- steps (charcoal cards) ---- */
.steps{list-style:none;margin:44px 0 0;padding:0;display:grid;gap:16px}
.step{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,40%);gap:18px;align-items:center;padding:22px}
.step-n{display:block;font-family:var(--display);font-weight:900;font-size:56px;line-height:.8;color:var(--lime)}
.step h3{margin-top:12px;font-size:clamp(26px,6.6vw,32px);line-height:.98}
.step p{margin-top:10px;color:var(--ink-2);font-size:16px}
@media (min-width:900px){
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .step{grid-template-columns:1fr;align-items:start;align-content:space-between;gap:24px;padding:28px}
  .step .phone{order:2;max-width:220px}
  .step p{font-size:17px}
}

/* ---- rivalries: group modes in the app's colours, each with its screen ---- */
.modes{list-style:none;margin:40px 0 0;padding:0 var(--gutter-r) 8px var(--gutter-l);display:grid;grid-auto-flow:column;
  grid-auto-columns:min(80vw,320px);gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:var(--gutter-l);
  -webkit-overflow-scrolling:touch;scrollbar-width:none}
.modes::-webkit-scrollbar{display:none}
.mode{--c:var(--lime);--d:var(--lime-dark);scroll-snap-align:start;display:flex;flex-direction:column;gap:18px;
  border:2px solid var(--c);background:var(--d);border-radius:18px;padding:22px}
.mode .chip{font-family:var(--display);font-weight:900;font-size:15px;letter-spacing:.04em;text-transform:uppercase;color:var(--c)}
.mode h3{margin-top:6px;font-size:28px;line-height:1}
.mode p{margin-top:10px;color:var(--ink-2);font-size:16px}
.mode .phone{max-width:240px;margin:auto auto 0}
.mode-goal{--c:var(--blue);--d:var(--blue-dark)}
.mode-compete{--c:var(--red);--d:var(--red-dark)}
.mode-season{--c:var(--violet);--d:var(--violet-dark)}
.swipe{margin-top:12px;font-size:14px;color:var(--ink-3)}
@media (min-width:900px){
  .modes{max-width:var(--max);margin-inline:auto;grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:24px}
  .mode{padding:28px}
  .mode .phone{max-width:250px}
  .swipe-modes{display:none}
}

/* ---- no filters ---- */
.proof{margin-top:44px;display:grid;gap:36px}
.proof .fig{font-family:var(--display);font-weight:900;font-size:72px;line-height:.85;color:var(--lime)}
.proof .fig small{font-size:28px;color:var(--ink-3)}
.proof h3{margin-top:14px;font-size:28px;line-height:1}
.proof p:not(.fig){margin-top:10px;color:var(--ink-2);font-size:16px;max-width:30em}
@media (min-width:900px){.proof{grid-template-columns:repeat(3,minmax(0,1fr));gap:48px}}

/* ---- the wall of attempts ---- */
.wall{list-style:none;margin:40px 0 0;padding:0 var(--gutter-r) 6px var(--gutter-l);display:grid;grid-auto-flow:column;
  grid-auto-columns:clamp(148px,40vw,190px);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;
  scroll-padding-left:var(--gutter-l);-webkit-overflow-scrolling:touch;scrollbar-width:none}
.wall::-webkit-scrollbar{display:none}
.wall li{scroll-snap-align:start}
.clip{position:relative;aspect-ratio:9/16;border-radius:14px;overflow:hidden;background:#000;border:2px solid var(--line);cursor:pointer}
.clip video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.more{margin-top:14px;font-weight:600}
.more a{color:var(--lime);text-underline-offset:3px}
@media (min-width:900px){
  .wall{max-width:1600px;margin-inline:auto;grid-auto-columns:minmax(140px,1fr);gap:12px}
  .swipe-wall{display:none}
}

/* ---- records ---- */
.records{display:grid;gap:40px;align-items:center}
.cal-key{list-style:none;margin:28px 0 0;padding:20px;display:grid;grid-template-columns:repeat(2,max-content);gap:14px 24px;max-width:460px;width:max-content}
.cal-key li{display:flex;align-items:center;gap:12px;font-size:16px;color:var(--ink-2)}
.day{position:relative;flex:none;width:36px;height:36px;border-radius:50%;background:#0A0A0A}
.day::after{content:"";position:absolute;inset:0;margin:auto;width:10px;height:10px;border-radius:50%}
.d-sub::after{background:var(--lime)}
.d-pb::after{background:var(--gold)}
.d-routine{box-shadow:inset 0 0 0 2px var(--ink)}
.d-goal{box-shadow:0 0 0 2px var(--blue)}
.d-routine::after,.d-goal::after{display:none}
@media (max-width:420px){.cal-key{padding:16px;gap:12px 18px;max-width:100%}.cal-key li{font-size:15px;gap:10px}.day{width:30px;height:30px}}
@media (max-width:359px){.cal-key{grid-template-columns:max-content;width:auto}}
.rec-shots{display:grid;grid-template-columns:1fr 1fr;gap:14px;width:100%;max-width:480px;justify-self:center}
.rec-shots figure{margin:0;min-width:0}
.rec-shots figcaption{margin-top:12px;text-align:center;font-family:var(--display);font-weight:700;font-size:15px;line-height:1.2;text-transform:uppercase;letter-spacing:.5px;color:var(--ink-3)}
@media (min-width:1024px){.records{grid-template-columns:minmax(0,1fr) 500px;gap:56px}.rec-shots{gap:20px;max-width:500px;justify-self:end}}

/* ---- the dare: the visitor gets dared (the Home dare card, at full size) ---- */
.dare-card{display:grid;gap:24px;padding:22px;align-items:center}
.dare-clip{width:100%;max-width:260px;justify-self:center}
.dare-from{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px;line-height:1.2;letter-spacing:.08em;text-transform:uppercase;color:var(--lime)}
.dare-from .dot{flex:none;width:9px;height:9px;border-radius:50%;background:var(--lime)}
.dare .h2{margin-top:14px}
.dare .cta .btn span{font-family:var(--body);font-weight:700}
@media (min-width:900px){.dare-card{grid-template-columns:300px minmax(0,1fr);gap:56px;padding:40px 48px}.dare-clip{max-width:300px}}

/* ---- sticky Download: steps aside while a badge or the dare's button shows ---- */
.top .btn{transition:opacity .2s,visibility .2s}
.top.cta-off .btn{opacity:0;visibility:hidden}
@media (max-width:760px){.top nav + .btn{margin-left:auto}}

/* ---- step cards on phones: the phone under the words, bigger ---- */
@media (max-width:599px){
  .step{grid-template-columns:1fr;gap:20px}
  .step .phone{width:min(240px,72%);justify-self:center}
}

/* ---- closer ---- */
.closer{padding-block:88px 96px}
.closer-head{container-type:inline-size}
.wordmark{margin-top:16px;font-family:var(--display);font-weight:900;text-transform:uppercase;white-space:nowrap;
  font-size:min(240px, calc(100cqw / 3.9));line-height:.9;letter-spacing:0}
.follow{margin-top:24px;display:flex;flex-wrap:wrap;gap:10px}
.follow a{display:inline-flex;align-items:center;gap:10px;padding:12px 16px;border-radius:12px;border:2px solid var(--line);
  text-decoration:none;font-weight:600;font-size:16px}
.follow a:hover{background:var(--card)}
.follow svg{width:18px;height:18px;flex:none}

/* ---- footer ---- */
.foot{background:var(--foot);padding-block:48px 56px;border-top:1px solid var(--line-soft);font-size:15px;color:var(--ink-3)}
.foot-grid{display:grid;gap:32px;grid-template-columns:repeat(2,minmax(0,1fr))}
.foot h4{margin:0 0 10px;font-family:var(--display);font-weight:700;font-size:16px;text-transform:uppercase;letter-spacing:.04em;color:var(--ink)}
.foot-grid > div{min-width:0}
.foot ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.foot li{overflow-wrap:anywhere}
.foot a{color:var(--ink-3);text-decoration:none}
.foot a:hover{color:var(--ink)}
.foot .who{grid-column:1 / -1}
.foot .who .mark{font-size:28px}
.foot .who p{margin-top:10px}
.foot .legal{margin-top:40px;display:flex;flex-wrap:wrap;gap:6px 24px}
@media (min-width:900px){.foot-grid{grid-template-columns:1.4fr repeat(4,minmax(0,1fr))}.foot .who{grid-column:auto}}

/* ---- support page ---- */
.page-head{padding-block:56px 8px}
.page-head h1{font-size:clamp(56px,16vw,120px);line-height:.86}
.page-head .lede{margin-top:18px}
.mailbox{margin-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:20px;max-width:640px}
.mailbox .addr{font-family:var(--display);font-weight:900;font-size:clamp(24px,6.6vw,34px);line-height:1;text-decoration:none;word-break:break-all;margin-right:auto}
.mailbox .btn{font-size:16px;padding:11px 14px}
.faq{padding-block:48px 96px}
.faq-group + .faq-group{margin-top:48px}
.faq-group h2{font-size:clamp(30px,8vw,44px);line-height:.95;margin-bottom:14px}
.faq details{border-top:1px solid var(--line);max-width:760px}
.faq details:last-child{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:16px 36px 16px 0;position:relative;font-weight:600;font-size:18px;line-height:1.35}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:4px;top:12px;font-family:var(--display);font-weight:700;font-size:28px;line-height:1;color:var(--lime)}
.faq details[open] summary::after{content:"\2212"}
.faq .a{padding:0 0 20px;color:var(--ink-2);max-width:40em}
.faq .a p + p,.faq .a p + ul,.faq .a ul + p{margin-top:10px}
.faq .a ul{margin:10px 0 0;padding-left:20px}
.faq .a a{color:var(--lime)}
.faq .a b{color:var(--ink);font-weight:600}

/* ---- 404 ---- */
.nf{min-height:70vh;display:grid;align-content:center;padding-block:72px}
.nf h1{font-size:clamp(72px,22vw,160px);line-height:.84}
.nf p{margin-top:20px;color:var(--ink-2);max-width:30em}
.nf .btn{margin-top:28px;align-self:start;justify-self:start}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
