/* SoloRep homepage, the Poster + Arcade direction (owner pick 2026-12-02).
   Dark ground, a red slab, condensed italic display type, real store
   screenshots and the five pixel lifters. The shared-link page and 404
   keep styles.css. */

@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 900; font-display: swap; src: url("/fonts/barlow-condensed-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("/fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Press Start 2P"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/press-start-2p-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed Fallback"; font-style: italic; font-weight: 900; src: local("Arial Bold Italic"), local("Arial-BoldItalicMT"); size-adjust: 77.3%; ascent-override: 129.3%; descent-override: 25.9%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; font-style: normal; font-weight: 100 900; src: local("Arial"), local("ArialMT"); size-adjust: 107.6%; ascent-override: 90%; descent-override: 22.4%; line-gap-override: 0%; }

:root {
  color-scheme: dark;
  --ground: #111419;
  --deep: #0b0d11;
  --panel: #161a21;
  --field: #1b2028;
  --line: #2c333e;
  --line-soft: #222832;
  --bezel: #050608;
  --ink: #f2f1ee;
  --muted: #c4cad4;
  --dim: #8f98a6;
  --cyan: #3fd7e6;
  --red: #e0302d;
  --font-display: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Inter Fallback", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-pixel: "Press Start 2P", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
p, li { text-wrap: pretty; }
a { color: var(--ink); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.lp { overflow-x: clip; }
.wrap { max-width: 1320px; margin: 0 auto; }
.disp { font-family: var(--font-display); font-style: italic; font-weight: 900; letter-spacing: -0.01em; text-transform: uppercase; }
.mono { font-family: var(--font-mono); }
.pix { image-rendering: pixelated; }
.cyan { color: var(--cyan); }
.red { color: var(--red); }
.h2 { margin: 0; font-size: clamp(52px, 6.4vw, 96px); line-height: 0.9; }
.lead { margin: 0; max-width: 400px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.kicker { margin: 0; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; color: var(--cyan); text-transform: uppercase; }

/* Phones frame the real screenshots. */
.ph { border-radius: 36px; padding: 7px; background: var(--bezel); border: 1px solid #3b4352; }
/* Only the phones that float over colour get a drop shadow. */
.stage .ph, .gym-phone .ph { box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.75); }
.ph img { display: block; width: 100%; height: auto; border-radius: 30px; }

/* Pixel callouts and lifter cards: a stepped frame with an offset red shadow. */
.box { box-shadow: 0 0 0 3px var(--ground), 0 0 0 6px var(--ink), 8px 8px 0 6px var(--red); }
.px { font-family: var(--font-pixel); line-height: 1.7; }

/* Store buttons. A pending store is a quiet text button; site.js swaps a live
   store's button for a link that keeps its classes, and the link shows the
   store's official badge (its text stays for screen readers). */
.downloads { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; height: 54px; padding: 0 18px; border: 1px solid #a6a6a6; border-radius: 9px; background: #000; color: var(--ink); font: 700 17px/1.1 var(--font-body); text-align: left; text-decoration: none; }
.store small { font-size: 11px; font-weight: 500; color: var(--muted); }
.store b { font-size: 17px; }
button.store { cursor: default; }
a.store { width: 162px; padding: 0; border: 0; border-radius: 0; background: center / contain no-repeat; color: transparent; font-size: 0; overflow: hidden; }
a.store-apple { background-image: url("/img/badge-app-store.svg"); }
a.store-play { width: 181px; background-image: url("/img/badge-google-play.png"); }
a.store:hover { filter: brightness(1.15); }
a.store:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 9px; }

/* Header */
.top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; }
.brand { text-transform: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: 30px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav .get { padding: 0 18px; border-radius: 12px; background: var(--red); color: #ffffff; font-weight: 700; }
.nav .get:hover { color: #ffffff; background: #c92623; }

/* Hero */
.hero { position: relative; padding: 24px 24px 130px; }
.slab { position: absolute; inset: 0; z-index: 0; background: var(--red); clip-path: polygon(64% 0, 100% 0, 100% 100%, 44% 100%); }
.hero-in { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.free-note { margin: -14px 0 0; font-size: 15px; color: var(--muted); }
.h1 { margin: 0; font-size: clamp(72px, 10vw, 156px); line-height: 0.84; }
.lede { margin: 0; max-width: 520px; font-size: 20px; line-height: 1.5; color: var(--muted); }
.stage { position: relative; flex: 1 1 520px; min-width: 0; height: 780px; }
.stage-in { position: absolute; inset: 0; }
.stage .ph, .stage .hero-kai, .stage .callout { position: absolute; left: 50%; }
.ph-back { width: 270px; top: 40px; margin-left: 10px; transform: rotate(7deg); }
.ph-front { width: 310px; top: 90px; margin-left: -250px; transform: rotate(-5deg); }
.hero-kai { bottom: -10px; margin-left: -400px; width: 276px; height: 276px; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5)); }
.callout { margin: 0; padding: 14px 16px; background: var(--ground); font-size: 11px; }
.callout span { color: var(--ink); }
.callout-record { top: 10px; margin-left: -330px; color: var(--cyan); transform: rotate(-4deg); }
.callout-record span { font-size: 16px; }
.callout-past { top: 590px; left: auto !important; right: 0; color: #ff6a62; transform: rotate(3deg); }
@media (prefers-reduced-motion: no-preference) {
  .stage-in { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
}

/* Sources band */
.band { position: relative; z-index: 2; margin: -40px -20px 0; padding: 18px 44px; background: var(--ink); color: var(--ground); transform: rotate(-1.5deg); }
.band p { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin: 0 auto; max-width: 1320px; font-size: 40px; }
.band i { color: var(--red); font-style: normal; }

/* Steps */
.how { padding: 150px 24px 120px; }
.how .wrap, .lifters .wrap { display: flex; flex-direction: column; gap: 64px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.step { display: flex; flex-direction: column; gap: 18px; min-height: 620px; padding: 32px 32px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); }
.step:first-child { padding-bottom: 32px; }
.num { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 88px; line-height: 0.8; color: transparent; -webkit-text-stroke: 2px var(--cyan); }
.num.is-red { -webkit-text-stroke-color: var(--red); }
.step h3 { margin: 0; font-size: 40px; }
.step p { margin: 0; line-height: 1.55; color: var(--muted); }
.step .ph { width: 250px; margin: auto auto -120px; }
.paste { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--deep); }
.paste .label { font-size: 12px; letter-spacing: 0.08em; color: var(--dim); }
.paste .field { padding: 14px; border: 2px solid var(--cyan); border-radius: 12px; background: var(--field); font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.paste .row { display: flex; align-items: center; gap: 12px; }
.paste .build { flex: 1; padding: 14px; border-radius: 12px; background: var(--red); color: #ffffff; text-align: center; font-size: 22px; text-transform: none; }

/* At the gym */
.gym { padding: 130px 24px; background: var(--deep); border-block: 1px solid var(--line-soft); }
.gym .wrap { display: flex; flex-direction: column; align-items: center; gap: 64px; }
.gym .h2 { text-align: center; }
.gym-lead { max-width: 520px; margin: -40px auto 0; text-align: center; }
.gym-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 72px; width: 100%; }
.facts { list-style: none; margin: 0; padding: 0; flex: 1 1 280px; display: flex; flex-direction: column; gap: 40px; }
.facts.is-left { text-align: right; }
.facts h3 { margin: 0 0 6px; font-size: 30px; }
.facts p { margin: 0; line-height: 1.5; color: var(--muted); }
.gym-phone { position: relative; flex: 0 0 340px; max-width: 100%; }
.gym-phone::before { content: ""; position: absolute; inset: 60px -28px; border-radius: 40px; background: var(--red); transform: rotate(-6deg); }
.gym-phone .ph { position: relative; }

/* Lifters */
.lifters { padding: 140px 24px; }
.roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
.roster li { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 12px 22px; background: var(--panel); }
.roster img { width: 168px; height: 168px; }
.roster span { font-size: 32px; }

/* Screens */
.screens { padding: 120px 0; background: var(--deep); border-top: 1px solid var(--line-soft); }
.screens .head-row { padding: 0 24px; }
.shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; padding: 64px 24px 40px; }
.shots figure { margin: 0; width: 220px; display: flex; flex-direction: column; gap: 14px; }
.shots figure:nth-child(even) { transform: translateY(40px); }
.shots .cap { font-size: 13px; color: var(--dim); text-align: center; }

/* Audiences */
.who { padding: 140px 24px; }
.who .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.who article { display: flex; align-items: flex-end; gap: 24px; min-height: 320px; padding: 40px; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); }
.who article div { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.who h3 { margin: 0; font-size: 44px; line-height: 0.95; }
.who p { margin: 0; line-height: 1.55; color: var(--muted); }
.who img { flex: none; width: 160px; height: 160px; }

/* Sharing */
.share { padding: 0 24px 140px; }
.share .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: clamp(32px, 5vw, 72px); border-radius: 36px; background: var(--cyan); color: var(--deep); }
.share-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.share-copy .h2 { font-size: clamp(48px, 6vw, 88px); }
.share-copy p { margin: 0; max-width: 460px; font-size: 19px; line-height: 1.55; color: #0b2a2e; }
.share-demo { flex: 1 1 380px; max-width: 460px; display: flex; flex-direction: column; gap: 16px; }
.bubble { align-self: flex-start; max-width: 320px; padding: 16px 20px; border-radius: 22px 22px 22px 6px; background: var(--deep); color: var(--ink); }
.bubble p { margin: 0 0 6px; }
.bubble span { font-size: 13px; color: var(--cyan); }
.card { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 22px; background: var(--panel); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.card img { flex: none; width: 88px; height: 88px; }
.card div { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }
.card .cname { font-size: 28px; color: var(--ink); text-transform: none; }
.card .add { padding: 12px 16px; border-radius: 12px; background: var(--red); color: #ffffff; font-size: 14px; font-weight: 700; }

/* Free */
.big { margin: 0; font-size: clamp(64px, 9vw, 140px); line-height: 0.82; }

/* Questions */
.faq { padding: 0 24px 140px; }
.faq .wrap { max-width: 900px; display: flex; flex-direction: column; gap: 32px; }
.faq .h2 { font-size: clamp(48px, 6vw, 80px); }
.faq details { padding: 24px 0; border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 21px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { font-size: 28px; line-height: 1; color: var(--cyan); transition: transform 0.2s ease-out; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin: 16px 0 0; line-height: 1.6; color: var(--muted); }

/* Closing */
.get-section { position: relative; overflow: hidden; padding: 120px 24px; background: var(--red); }
.get-section .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.get-copy { flex: 1 1 560px; display: flex; flex-direction: column; gap: 32px; }
.get-copy .big span { color: var(--ground); }
.trio { flex: none; display: flex; align-items: flex-end; max-width: 100%; }
.trio img { width: 170px; height: 170px; }
.trio img:first-child { margin-right: -24px; }
.trio img:last-child { margin-left: -24px; }
.trio .lead-lifter { position: relative; z-index: 1; width: 280px; height: 280px; }

/* Footer */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 40px 24px; font-size: 14px; color: var(--dim); }
.foot nav { display: flex; flex-wrap: wrap; column-gap: 24px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.foot p { margin: 0; }

@media (max-width: 760px) {
  .nav .hide-sm { display: none; }
  .hero { padding-bottom: 110px; }
  .slab { clip-path: polygon(0 66%, 100% 54%, 100% 100%, 0 100%); }
  .stage { flex-basis: 100%; height: 540px; margin: 0 -24px; overflow: hidden; }
  .stage-in { left: 50%; right: auto; width: 700px; margin-left: -350px; transform: translateX(32px) scale(0.6); transform-origin: top center; }
  /* Phones: Kai stands below the front phone so the screen stays readable. */
  .stage .hero-kai { max-width: none; bottom: auto; top: 590px; margin-left: -440px; }
  .callout-past { left: 50% !important; right: auto; top: 600px; margin-left: 110px; }
  .band p { font-size: 28px; justify-content: center; }
  .facts.is-left { text-align: left; }
  .gym-phone::before { inset: 60px -16px; }
  .trio img { width: 104px; height: 104px; }
  .trio .lead-lifter { width: 176px; height: 176px; }
}

/* Phones: the long stacked sections become rows you swipe, the gaps shrink,
   and a download bar slides up once the hero is out of view. Desktop is
   unchanged. */
.dock { display: none; }
@media (max-width: 760px) {
  .how, .gym, .lifters, .screens, .who { padding-top: 72px; padding-bottom: 72px; }
  .share, .faq { padding-bottom: 72px; }
  .get-section { padding-top: 72px; padding-bottom: 72px; }
  .how .wrap, .lifters .wrap, .gym .wrap { gap: 36px; }
  .gym-lead { margin-top: -18px; }
  .head-row { gap: 14px; }

  .swipe { display: flex; flex-wrap: nowrap; gap: 14px; margin: 0 -24px; padding: 4px 24px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; overscroll-behavior-x: contain; scrollbar-width: none; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 auto; scroll-snap-align: start; }

  .steps.swipe > li { width: 82%; min-height: 0; padding: 26px 22px 0; gap: 12px; }
  .steps.swipe > li:first-child { padding-bottom: 22px; }
  .step .num { font-size: 64px; }
  .step h3 { font-size: 32px; }
  .step .ph { width: 180px; margin-bottom: -90px; }
  .step:first-child .paste { margin-top: 12px; }
  .paste { padding: 16px; }
  .paste .field { font-size: 13px; padding: 12px; }
  /* Phones skip the extra screenshots: the steps and the gym phone already show the app. */
  .screens { display: none; }
  .paste .build { white-space: nowrap; font-size: 19px; padding: 13px 10px; }
  .paste .row img { width: 44px; height: 44px; }

  .gym-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .gym-row .facts { display: contents; }
  .gym-phone { grid-column: 1 / -1; justify-self: center; width: 230px; order: -1; margin-bottom: 8px; }
  .gym-phone::before { inset: 44px -18px; }
  .facts.is-left { text-align: left; }
  .facts h3 { font-size: 21px; line-height: 1.05; }
  .facts p { font-size: 14px; }

  .roster.swipe { gap: 26px; padding-bottom: 30px; }
  .roster.swipe > li { width: 132px; padding: 18px 8px 14px; gap: 8px; }
  .roster.swipe img { width: 104px; height: 104px; }
  .roster.swipe span { font-size: 24px; }

  .shots.swipe { margin: 0; padding: 36px 24px 16px; justify-content: flex-start; }
  .shots.swipe figure { width: 62%; transform: none; }

  .who .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .who article { min-height: 0; padding: 26px 22px; align-items: center; gap: 14px; }
  .who h3 { font-size: 30px; }
  .who p { font-size: 15px; }
  .who img { width: 84px; height: 84px; }

  .share .wrap { gap: 28px; }

  .dock { display: flex; position: fixed; z-index: 10; left: 0; right: 0; bottom: 0; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(11, 13, 17, 0.94); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
  .dock.is-on { transform: none; }
  .dock:not(:has(a.store)) { display: none; }
  .dock img { flex: none; border-radius: 10px; }
  .dock .dock-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .dock .dock-copy b { font-size: 16px; }
  .dock .dock-copy small { font-size: 13px; color: var(--muted); }
  .dock button.store { display: none; }
  .dock a.store { width: 135px; height: 45px; }
  .dock a.store-play { width: 151px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .dock { transition: none; }
}
@media (max-width: 420px) {
  .stage { height: 470px; }
  .stage-in { transform: translateX(26px) scale(0.52); }
  .card { flex-wrap: wrap; }
  .card .add { flex: 1 1 100%; text-align: center; }
  .card img { width: 64px; height: 64px; }
}
