/* Beatdown marketing site. No build step. Colors and type follow design tokens v3. */
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DSEG7 Classic";
  src: url("fonts/dseg7-classic-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --surface: #0c0c0e;
  --elevated: #1c1c1e;
  --elevated2: #2c2c2e;
  --ink: #ffffff;
  --sub: #a1a1a6;
  --tertiary: #636366;
  --line: #38383a;
  --accent: #0a84ff;
  --hr: #ff2d55;
  --success: #30d158;
  --danger: #ff453a;
  --prepare: #ffc14a;
  --work: #ff453a;
  --rest: #0a84ff;
  --cooldown: #64d2ff;
  --paused: #98989d;
  --radius: 16px;
  --radius-lg: 22px;
  --max: 1160px;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --lcd: "DSEG7 Classic", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 48px); }
h3 { font-size: 22px; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sub { color: var(--sub); }
.eyebrow {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 12px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  align-items: center;
}
.nav a {
  color: var(--sub);
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }

/* buttons + App Store badge */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 26px;
  font-weight: 600;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--ink); color: #000; }
.btn-primary:hover { background: #e8e8ed; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 20px; }

/* APP STORE BADGE
   Swap later: change the wrapper to <a class="appstore" href="APP_STORE_URL">,
   set .t1 to "Download on the", and remove .soon / .coming-soon. */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 20px 0 16px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  text-decoration: none;
}
a.appstore:hover { text-decoration: none; background: #111; }
.appstore svg { width: 26px; height: 26px; flex-shrink: 0; }
.appstore .t1 { display: block; font-size: 11px; line-height: 1.1; opacity: 0.85; }
.appstore .t2 { display: block; font-size: 21px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.appstore .soon {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--prepare);
  color: #1a1200;
  padding: 3px 8px;
  border-radius: 6px;
}
.appstore.coming-soon { cursor: default; }

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 48px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(50% 55% at 18% 20%, rgba(255, 69, 58, 0.28), transparent 70%),
    radial-gradient(40% 40% at 88% 8%, rgba(10, 132, 255, 0.16), transparent 70%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin-bottom: 22px;
  box-shadow: 0 12px 40px rgba(255, 69, 58, 0.25);
}
.hero h1 { font-size: clamp(52px, 8vw, 88px); letter-spacing: -0.04em; line-height: 0.95; }
.hero .subtitle { margin-top: 14px; color: var(--sub); letter-spacing: -0.02em; }
.hero .subtitle .product-name {
  display: block;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
}
.hero .subtitle .product-sub {
  display: block;
  margin-top: 6px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
}
.hero .lede {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--sub);
  margin-top: 20px;
  max-width: 38ch;
}
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--tertiary); }
@media (min-width: 980px) {
  .hero { padding: 88px 0 64px; }
  .hero-grid { grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
}

/* phone frames so black screenshots don't melt into the page */
.phone {
  background: #1c1c1e;
  border-radius: 32px;
  padding: 8px;
  box-shadow: 0 0 0 1px var(--line), 0 28px 64px rgba(0, 0, 0, 0.55);
}
.phone img { width: 100%; border-radius: 24px; }
.phone.landscape { border-radius: 22px; padding: 7px; }
.phone.landscape img { border-radius: 16px; }

/* sections */
section { padding: 88px 0; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { margin-top: 16px; font-size: 19px; color: var(--sub); }
.alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* six timers */
.timers {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .timers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .timers { grid-template-columns: repeat(3, 1fr); } }
.timer {
  background: var(--elevated);
  border-radius: var(--radius-lg);
  padding: 24px 24px 26px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.timer .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}
.timer h3 { display: flex; align-items: center; margin-bottom: 8px; font-size: 24px; }
.timer p { color: var(--sub); font-size: 16px; }
.timer .lcd {
  font-family: var(--lcd);
  font-size: 28px;
  letter-spacing: 0.06em;
  margin-top: 18px;
  color: var(--ink);
}
.timer .lcd-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-top: 16px;
}

/* features */
.features {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--elevated);
  border-radius: 18px;
  padding: 22px 22px 24px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.feature .ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.06);
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { color: var(--sub); font-size: 16px; }

.phases {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.phase {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: var(--elevated);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.phase .swatch { width: 14px; height: 14px; border-radius: 50%; }
.phase.prepare .swatch { background: transparent; box-shadow: inset 0 0 0 2px var(--prepare); }
.phase.work .swatch { background: var(--work); }
.phase.rest .swatch { background: transparent; box-shadow: inset 0 0 0 2px var(--rest); }
.phase.prepare { color: var(--prepare); }
.phase.work { color: var(--work); }
.phase.rest { color: #7ab8ff; }

/* split / HR */
.split {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; } }
.split .copy h3 { margin: 22px 0 8px; }
.split .copy h3:first-child { margin-top: 0; }
.split .copy p { color: var(--sub); }
.shot-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* gallery */
.gallery { display: grid; gap: 28px; }
.gallery.landscape { grid-template-columns: 1fr; }
@media (min-width: 760px) { .gallery.landscape { grid-template-columns: 1fr; } }
.gallery.portrait {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 8px;
}
@media (min-width: 900px) { .gallery.portrait { grid-template-columns: repeat(4, 1fr); } }
figure { margin: 0; }
figcaption {
  margin-top: 12px;
  font-size: 15px;
  color: var(--sub);
  text-align: center;
}
figcaption b { color: var(--ink); font-weight: 600; }

/* privacy band */
.band {
  border-radius: 28px;
  padding: 40px 32px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
  background: var(--elevated);
  box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 860px) {
  .band { grid-template-columns: 1.4fr auto; padding: 48px 52px; }
}
.band h2 { font-size: clamp(28px, 4vw, 42px); }
.band p { margin-top: 12px; color: var(--sub); max-width: 60ch; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pills span {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.14);
  color: #7ab8ff;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  color: var(--sub);
  font-size: 14px;
}
.site-footer .row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer nav a { color: var(--ink); }
.site-footer .legal { margin-top: 26px; font-size: 13px; line-height: 1.6; max-width: 86ch; }
.tagline {
  font-weight: 600;
  font-size: 14px;
  color: var(--sub);
  margin-top: 6px;
  letter-spacing: -0.01em;
}

/* document pages */
.doc { max-width: 780px; margin: 0 auto; padding: 64px 24px 88px; }
.doc h1 { font-size: clamp(40px, 7vw, 64px); }
.doc .meta { color: var(--sub); margin-top: 10px; }
.doc h2 { font-size: 28px; margin: 44px 0 12px; }
.doc h3 { font-size: 20px; margin: 26px 0 8px; }
.doc p, .doc li { color: rgba(255, 255, 255, 0.86); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 12px 0; }
.doc li { margin: 6px 0; }
.doc .summary {
  margin-top: 28px;
  background: var(--elevated);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 18px;
  padding: 22px 24px;
}
.doc .summary p { color: var(--ink); }
.faq details {
  background: var(--elevated);
  border-radius: 16px;
  padding: 0 22px;
  margin: 12px 0;
  box-shadow: inset 0 0 0 1px var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 28px 18px 0;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 24px;
  color: var(--accent);
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--sub); }
.faq details p + p { margin-top: -6px; }
.contact-card {
  margin-top: 28px;
  background: var(--elevated);
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 22px;
  padding: 28px;
}
.contact-card a.big {
  font-weight: 700;
  font-size: clamp(22px, 4.5vw, 36px);
  color: var(--ink);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .nav a:not(.btn):not(.keep) { display: none; }
  section { padding: 64px 0; }
  .hero { padding-top: 40px; }
  .band { padding: 32px 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 420px) {
  .site-header .wrap { gap: 12px; padding: 0 16px; }
  .brand { font-size: 18px; }
  .brand img { width: 32px; height: 32px; }
  .nav { gap: 12px; }
  .hero-icon { width: 72px; height: 72px; border-radius: 16px; }
}
