@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/BarlowCondensed-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0B0D10;
  --surface: #15181D;
  --line: #2A3038;
  --text: #F4F6F8;
  --soft: #C3CAD2;
  --muted: #9AA3AE;
  --lime: #C8FF2E;
  --coral: #FF9F6B;
  --court: #0F2422;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: #E4FF8F; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 26px/1 var(--display); letter-spacing: .02em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { font-weight: 800; }
.brand span { color: var(--lime); }
.top nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.top nav a { color: var(--soft); text-decoration: none; }
.top nav a:hover { color: var(--text); }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 72px 0 80px; }
.pill { display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--lime); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
h1 { margin: 20px 0 18px; font: 800 clamp(52px, 8.5vw, 92px)/.95 var(--display); text-transform: uppercase; letter-spacing: .005em; }
h1 em { font-style: normal; color: var(--lime); }
.lead { margin: 0; max-width: 34em; color: var(--soft); font-size: 19px; }
.stores { margin-top: 30px; }
.stores p { margin: 0 0 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; color: var(--text); font-size: 16px; font-weight: 700; }
.store svg { flex: none; }
/* The App Store's own blue, from its app icon. */
a.store { text-decoration: none; color: #fff; border-color: transparent; background: linear-gradient(180deg, #1AC2FB 0%, #1E78F2 100%); box-shadow: 0 8px 22px rgba(30, 120, 242, .28); }
a.store:hover { color: #fff; background: linear-gradient(180deg, #37CBFC 0%, #2E85F5 100%); }
a.store:focus-visible { outline-color: #1AC2FB; }
.store small { margin-left: 4px; color: var(--muted, #9AA3AE); font-size: 12px; font-weight: 600; }

.watches { position: relative; min-height: 400px; }
.watch { position: absolute; width: min(290px, 72%); border-radius: 50%; border: 10px solid #1D2127; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.watch.front { top: 0; right: 8%; z-index: 2; }
.watch.back { bottom: 0; left: 0; }

section.band { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 12px; font: 800 clamp(36px, 5vw, 52px)/1 var(--display); text-transform: uppercase; }
.intro { margin: 0 0 40px; max-width: 36em; color: var(--soft); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; }
.card h3 { margin: 0 0 8px; font: 700 25px/1.1 var(--display); }
.card p { margin: 0; color: var(--soft); font-size: 16px; }

.demo-grid { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: 56px; align-items: center; }
.demo .intro { margin-bottom: 28px; }
.phone-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #000; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.55); }
html { scroll-behavior: smooth; }

.grid.sports { grid-template-columns: repeat(4, 1fr); }
.card.sport svg { display: block; margin-bottom: 14px; }

.ladder { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ladder li { display: flex; align-items: center; gap: 10px; font: 700 25px/1 var(--display); }
.ladder li + li::before { content: "→"; color: var(--lime); font-family: var(--body); font-size: 20px; }

.doc { padding: 56px 0 80px; }
.doc h1 { font-size: clamp(44px, 8vw, 68px); margin-top: 0; }
.doc h2 { margin: 44px 0 12px; font-size: 32px; }
.doc li { margin: 6px 0; }
.doc p, .doc li { color: var(--soft); }
.doc strong { color: var(--text); }
.doc table { width: 100%; margin: 16px 0; border-collapse: collapse; font-size: 15px; }
.doc th { text-align: left; color: var(--muted); font-size: 13px; }
.doc th, .doc td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc td { color: var(--soft); }
.doc td:first-child { color: var(--text); font-weight: 600; }
.callout { margin: 24px 0; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.callout p { margin: 0; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot a { color: var(--soft); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 56px; }
  .watches { min-height: 330px; max-width: 400px; width: 100%; margin-inline: auto; }
  .watch { width: 66%; }
  .grid { grid-template-columns: 1fr; }
  .grid.sports { grid-template-columns: 1fr 1fr; }
  .demo-grid { grid-template-columns: 1fr; gap: 32px; }
  .phone-video { max-width: 340px; width: 100%; margin-inline: auto; }
  section.band { padding: 52px 0; }
}

@media (max-width: 620px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; width: 100%; }
  .doc thead { display: none; }
  .doc tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .doc td { padding: 3px 0; border: 0; }
  .doc td[data-label]:not(:first-child)::before { content: attr(data-label) ": "; color: var(--muted); font-size: 13px; }
}
