/* Athleon, getathleon.com
   One stylesheet for every page. No frameworks, no web fonts: the system font stack renders SF Pro on Apple devices.
   The app screens on the home page are drawn here in CSS, not captured, so they follow the app as it changes. */

/* ---------- Tokens ---------- */

:root {
  color-scheme: light dark;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --surface: #ffffff;
  --text: #1d1d1f;
  --text-2: #5f5f66;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.16);

  /* The app's accent colour (system blue) and the Health-style domain colours from the design kit. */
  --brand: #007aff;
  --brand-hover: #006ae0;
  --link: #0066d6;
  --brand-soft: rgba(0, 122, 255, 0.1);
  --eyebrow: #007aff;
  --orange: #ff9500;
  --mint: #00c7be;
  --green: #34c759;
  --indigo: #5856d6;
  --pink: #ff2d55;
  --glow-1: rgba(0, 122, 255, 0.26);
  --glow-2: rgba(0, 199, 190, 0.18);

  --header-bg: rgba(255, 255, 255, 0.76);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 2px 6px rgba(15, 23, 42, 0.06), 0 18px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 4px 10px rgba(15, 23, 42, 0.06), 0 40px 80px -20px rgba(15, 23, 42, 0.34);
  --shot-shadow: drop-shadow(0 28px 36px rgba(15, 23, 42, 0.2)) drop-shadow(0 4px 8px rgba(15, 23, 42, 0.08));

  --radius: 20px;
  --radius-lg: 30px;
  --wrap: 1180px;
  --gutter: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Inside the drawn app screens: iOS grouped colours. */
  --app-bg: #f2f2f7;
  --app-card: #ffffff;
  --app-fill: rgba(120, 120, 128, 0.12);
  --app-text: #000000;
  --app-text-2: rgba(60, 60, 67, 0.6);
  --app-sep: rgba(60, 60, 67, 0.18);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-2: #101012;
    --surface: #161618;
    --text: #f5f5f7;
    --text-2: #a8a8ae;
    --text-3: #8a8a90;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.18);
    --brand: #0a84ff;
    --brand-hover: #3396ff;
    --link: #4da3ff;
    --brand-soft: rgba(10, 132, 255, 0.18);
    --eyebrow: #4da3ff;
    --orange: #ff9f0a;
    --mint: #63e6e2;
    --green: #30d158;
    --indigo: #7d7aff;
    --pink: #ff375f;
    --glow-1: rgba(10, 132, 255, 0.36);
    --glow-2: rgba(0, 199, 190, 0.22);
    --header-bg: rgba(0, 0, 0, 0.72);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 40px 90px -20px rgba(0, 0, 0, 0.85);
    --shot-shadow: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.65));

    --app-bg: #000000;
    --app-card: #1c1c1e;
    --app-fill: rgba(118, 118, 128, 0.24);
    --app-text: #ffffff;
    --app-text-2: rgba(235, 235, 245, 0.6);
    --app-sep: rgba(84, 84, 88, 0.6);
  }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.skip-link:focus { top: 10px; text-decoration: none; }

/* The app icon has a light and a dark version, like on the Home Screen. */
.icon-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .icon-light { display: none; }
  .icon-dark { display: block; }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--text-2); font-size: 14px; }
.site-nav a:not(.btn):hover { color: var(--text); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); }

@media (max-width: 760px) {
  .site-nav { gap: 18px; }
  .site-nav .nav-optional { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.2s var(--ease), box-shadow 0.2s, color 0.2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(0, 122, 255, 0.65);
}
.btn-primary:hover { background: var(--brand-hover); color: #fff; }

.btn-secondary {
  color: var(--link);
  background: var(--brand-soft);
}
.btn-secondary:hover { background: rgba(0, 122, 255, 0.16); }

.btn-small { min-height: 32px; padding: 0 15px; font-size: 14px; }
.btn-small.btn-primary { box-shadow: none; }

.btn .chev { width: 9px; height: 14px; }
.btn .glyph { width: 18px; height: 18px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }

/* ---------- Type helpers ---------- */

.eyebrow {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--eyebrow);
  margin-bottom: 14px;
}
.eyebrow.is-orange { color: var(--orange); }
.eyebrow.is-mint { color: var(--mint); }
.eyebrow.is-green { color: var(--green); }
.eyebrow.is-indigo { color: var(--indigo); }
.eyebrow.is-pink { color: var(--pink); }

.display {
  font-size: clamp(40px, 7.2vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.title {
  font-size: clamp(34px, 5.2vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.title-sm {
  font-size: clamp(28px, 3.8vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.lede {
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.42;
  color: var(--text-2);
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.gradient-text {
  background: linear-gradient(100deg, #007aff 0%, #00a3e0 50%, #00c7be 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (prefers-color-scheme: dark) {
  .gradient-text { background-image: linear-gradient(100deg, #3d9bff 0%, #40c4ff 50%, #63e6e2 100%); }
}

.center { text-align: center; }

.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-tight { padding: clamp(64px, 8vw, 110px) 0; }
.section-alt { background: var(--bg-2); }

.section-head { max-width: 820px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section-head .lede { margin-top: 18px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 0;
  text-align: center;
  overflow: hidden;
}

.hero-icon {
  width: 104px;
  height: 104px;
  margin: 0 auto 26px;
  filter: drop-shadow(0 16px 22px rgba(0, 122, 255, 0.28)) drop-shadow(0 2px 4px rgba(15, 23, 42, 0.12));
}

.hero .display { max-width: 980px; margin: 0 auto; }
.hero .lede { max-width: 720px; margin: 24px auto 0; }
.hero .btn-row { margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-3); }

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font-size: 14px;
  box-shadow: var(--shadow-sm);
}
.pill-link:hover { text-decoration: none; color: var(--text); border-color: var(--line-strong); }
.pill-link .tag {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
}

/* The stage: three iPhones, the middle one in front, with the Dynamic Island above it. */
.stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.18fr 1fr;
  align-items: end;
  gap: clamp(14px, 3vw, 40px);
  max-width: 1000px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  padding: 0 0 clamp(56px, 7vw, 96px);
}
.stage::before {
  content: "";
  position: absolute;
  inset: 10% -10% 0;
  background:
    radial-gradient(50% 55% at 30% 50%, var(--glow-1), transparent 70%),
    radial-gradient(45% 50% at 72% 55%, var(--glow-2), transparent 70%);
  filter: blur(30px);
  z-index: -1;
}
.stage > :nth-child(1) { transform: translateY(-6%) rotate(-3deg); }
.stage > :nth-child(3) { transform: translateY(-6%) rotate(3deg); }

@media (max-width: 720px) {
  .stage { grid-template-columns: 1.25fr 1fr; max-width: 520px; padding-bottom: 64px; }
  .stage > :nth-child(1) { display: none; }
  .stage > :nth-child(3) { transform: translateY(-4%) rotate(3deg); }
}

/* ---------- Facts strip ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: clamp(40px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.fact strong {
  display: block;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.fact span { display: block; margin-top: 10px; color: var(--text-2); font-size: 15px; }
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
}
.step-copy { padding: 32px 32px 26px; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--text-2); }
.step-visual {
  margin-top: auto;
  display: grid;
  place-items: start center;
  height: 300px;
  padding: 32px 28px 0;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.step-visual .shot { width: 240px; }
/* The screenshot runs off the bottom of the panel and fades into it. */
.step-visual { position: relative; }
.step-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(transparent, var(--bg-2));
  pointer-events: none;
}
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}

/* ---------- Feature rows ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.feature + .feature { margin-top: clamp(96px, 12vw, 160px); }
.feature.flip .feature-copy { order: 2; }

.feature-copy .title-sm { margin-bottom: 18px; }
.feature-copy > p:not(.eyebrow) { color: var(--text-2); font-size: 19px; line-height: 1.5; }

.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: var(--text); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23007aff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
}

/* The drawn screen sits on a soft tinted panel, the way Bezelry frames its screenshots. */
.feature-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 60% at 50% 30%, var(--tint, var(--brand-soft)), transparent 75%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.feature-visual .phone,
.feature-visual .shot { width: min(300px, 78%); }
.feature-visual.is-orange { --tint: rgba(255, 149, 0, 0.16); }
.feature-visual.is-mint { --tint: rgba(0, 199, 190, 0.18); }
.feature-visual.is-indigo { --tint: rgba(88, 86, 214, 0.18); }
.feature-visual.is-pink { --tint: rgba(255, 45, 85, 0.14); }
.feature-visual.is-green { --tint: rgba(52, 199, 89, 0.16); }
.feature-visual .duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2.4vw, 24px); width: min(520px, 100%); align-items: end; }
.feature-visual .duo > * { width: 100%; }
.feature-visual .duo > :nth-child(2) { transform: translateY(8%); }

@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .feature-copy { max-width: 620px; }
  .feature-visual { min-height: 0; }
}

.eyebrow .tag-new {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: 2px;
  background: var(--brand);
  color: #fff;
}

/* ---------- Live Activity showcase (dark) ---------- */

.showcase {
  position: relative;
  overflow: hidden;
  color: #f5f5f7;
  background: #03060d;
  padding: clamp(96px, 12vw, 170px) 0;
  isolation: isolate;
}
.showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(10, 132, 255, 0.5), transparent 70%),
    radial-gradient(40% 40% at 85% 70%, rgba(0, 199, 190, 0.26), transparent 70%),
    radial-gradient(40% 40% at 10% 80%, rgba(88, 86, 214, 0.22), transparent 70%);
}
.showcase .eyebrow { color: #7cc0ff; }
.showcase .lede { color: rgba(245, 245, 247, 0.74); }
.showcase .section-head { margin-bottom: 56px; }

.showcase-stage {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}
.showcase-duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 4vw, 40px); }
.showcase-stage::before {
  content: "";
  position: absolute;
  inset: 10% -40% -6%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(10, 132, 255, 0.5), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* Callouts beside the phone on wide screens. */
.annot { display: none; }
@media (min-width: 1200px) {
  .annot {
    display: block;
    position: absolute;
    width: 210px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
  }
  .annot small { display: block; margin-top: 4px; font-weight: 400; color: rgba(245, 245, 247, 0.62); font-size: 14px; }
  .annot::before {
    content: "";
    position: absolute;
    top: 10px;
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, rgba(124, 192, 255, 0), #7cc0ff);
  }
  .annot::after {
    content: "";
    position: absolute;
    top: 6px;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #7cc0ff;
    box-shadow: 0 0 0 5px rgba(124, 192, 255, 0.2);
  }
  .annot-left { right: calc(100% + 70px); text-align: right; }
  .annot-left::before { right: -64px; }
  .annot-left::after { right: -72px; }
  .annot-right { left: calc(100% + 70px); }
  .annot-right::before { left: -64px; transform: scaleX(-1); }
  .annot-right::after { left: -72px; }
  .annot-1 { top: 76%; }
  .annot-2 { top: 88%; }
  .annot-3 { top: 3%; }
  .annot-4 { top: 15%; }
}

.showcase-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: clamp(56px, 7vw, 88px) auto 0;
}
.showcase-points div {
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.showcase-points h3 { font-size: 19px; margin: 14px 0 6px; color: #fff; }
.showcase-points p { color: rgba(245, 245, 247, 0.7); font-size: 16px; }
.showcase-points svg { width: 28px; height: 28px; color: #7cc0ff; }
@media (max-width: 820px) { .showcase-points { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- Bento grid ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 20px; margin: 16px 0 8px; letter-spacing: -0.02em; }
.card p { color: var(--text-2); font-size: 16px; line-height: 1.5; }
.card .icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}
.card .icon svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Privacy ---------- */

.privacy-band { text-align: center; }
.privacy-band .shield {
  width: 64px; height: 64px;
  margin: 0 auto 26px;
  color: var(--brand);
}
.privacy-band .title { max-width: 900px; margin: 0 auto; }
.privacy-band .lede { max-width: 700px; margin: 22px auto 0; }
.privacy-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 34px 0 0;
  list-style: none;
  padding: 0;
  color: var(--text-2);
  font-size: 16px;
}
.privacy-points li { display: inline-flex; align-items: center; gap: 8px; }
.privacy-points svg { width: 18px; height: 18px; color: var(--green); }
.privacy-band .more { display: inline-block; margin-top: 30px; font-size: 16px; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px; height: 11px;
  margin-top: -8px;
  border-right: 2px solid var(--text-3);
  border-bottom: 2px solid var(--text-3);
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease), margin-top 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq summary:hover { color: var(--link); }
.faq .answer { padding: 0 0 24px; color: var(--text-2); }
.faq .answer p + p, .faq .answer p + ul, .faq .answer ul + p { margin-top: 12px; }
.faq .answer ul { padding-left: 22px; margin: 0; }
.faq .answer li { margin: 6px 0; }
.faq .answer strong { color: var(--text); }
.faq-more { margin-top: 36px; text-align: center; }

/* ---------- Final CTA ---------- */

.final-cta { text-align: center; }
.final-cta .cta-icon { width: 88px; height: 88px; margin: 0 auto 28px; filter: drop-shadow(0 16px 20px rgba(0, 122, 255, 0.3)); }
.final-cta .lede { max-width: 620px; margin: 20px auto 34px; }

/* A "coming soon" capsule in place of the App Store badge until Athleon is on the App Store. */
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px 0 20px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.1;
  text-align: left;
}
.soon svg { width: 22px; height: 22px; flex: none; }
.soon small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; letter-spacing: 0.01em; }
@media (prefers-color-scheme: dark) { .soon { background: #fff; color: #000; } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 56px 0 44px;
  font-size: 14px;
  color: var(--text-2);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}
.footer-top .brand { font-size: 17px; }
.footer-top .brand img { width: 26px; height: 26px; }
.footer-blurb { margin-top: 12px; max-width: 300px; line-height: 1.5; }
.footer-col h2 { font-size: 13px; font-weight: 600; color: var(--text); letter-spacing: 0; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--text-2); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { padding-top: 24px; display: grid; gap: 8px; color: var(--text-3); font-size: 12.5px; line-height: 1.55; }
@media (max-width: 820px) {
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ---------- Inner pages ---------- */

.page-hero {
  padding: clamp(64px, 9vw, 112px) 0 clamp(36px, 5vw, 56px);
  text-align: center;
}
.page-hero .title { margin: 0 auto; max-width: 820px; }
.page-hero .lede { max-width: 640px; margin: 18px auto 0; }
.page-hero .meta { margin-top: 14px; color: var(--text-3); font-size: 15px; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.contact-card:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.contact-card .icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 18px;
}
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card h2 { font-size: 21px; letter-spacing: -0.02em; }
.contact-card p { color: var(--text-2); font-size: 16px; margin-top: 6px; }
.contact-card .go { margin-top: 18px; color: var(--link); font-weight: 600; font-size: 15px; }
.contact-hint { max-width: 820px; margin: 22px auto 0; text-align: center; color: var(--text-3); font-size: 14px; }
@media (max-width: 680px) { .contact-cards { grid-template-columns: 1fr; } }

.faq-group { margin-top: clamp(56px, 7vw, 80px); }
.faq-group > h2 {
  max-width: 820px;
  margin: 0 auto 8px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-3);
}

/* Legal and long-form text */
.prose { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.65; }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; margin: 48px 0 12px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose .summary {
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 8px;
}
.prose .summary ul { margin: 10px 0 0; }
.prose .summary p:last-child, .prose .summary ul:last-child { margin-bottom: 0; }

/* 404 */
.not-found { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.not-found .code { font-size: clamp(96px, 18vw, 180px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.9; }
.not-found .lede { max-width: 520px; margin: 18px auto 32px; }

/* =====================================================================================================
   App screenshots
   Real captures from the app, framed with Bezelry's iPhone bezel on a transparent background.
   ===================================================================================================== */

.shot { display: block; }
.shot img { display: block; width: 100%; height: auto; filter: var(--shot-shadow); }
.showcase .shot img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)); }

/* =====================================================================================================
   Drawn app screens
   An iPhone frame whose contents scale with its width: 1 --pt is one iOS point on a 393-point-wide screen.
   ===================================================================================================== */

.phone {
  position: relative;
  aspect-ratio: 393 / 852;
  padding: 3.2%;
  border-radius: 15.5% / 7.2%;
  background: #0d0d0f;
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.screen {
  container-type: inline-size;
  --pt: calc(100cqw / 393);
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 12.6% / 5.9%;
  background: var(--app-bg);
  color: var(--app-text);
  font-family: var(--font);
  letter-spacing: 0;
  line-height: 1.25;
  text-align: left;
}
/* The Dynamic Island and the status bar. */
.screen::before {
  content: "";
  position: absolute;
  z-index: 5;
  top: calc(var(--pt) * 11);
  left: 50%;
  width: calc(var(--pt) * 124);
  height: calc(var(--pt) * 36);
  margin-left: calc(var(--pt) * -62);
  border-radius: 999px;
  background: #000;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: calc(var(--pt) * 54);
  padding: calc(var(--pt) * 4) calc(var(--pt) * 34) 0 calc(var(--pt) * 46);
  font-size: calc(var(--pt) * 16);
  font-weight: 600;
}
.statusbar i {
  width: calc(var(--pt) * 66);
  height: calc(var(--pt) * 12);
  background:
    linear-gradient(currentColor, currentColor) right / calc(var(--pt) * 24) 100% no-repeat,
    radial-gradient(circle at 50% 100%, currentColor 55%, transparent 56%) calc(var(--pt) * 18) 100% / calc(var(--pt) * 16) 100% no-repeat,
    linear-gradient(90deg, currentColor 0 18%, transparent 18% 27%, currentColor 27% 45%, transparent 45% 54%, currentColor 54% 72%, transparent 72% 81%, currentColor 81%) left bottom / calc(var(--pt) * 17) 100% no-repeat;
  border-radius: calc(var(--pt) * 3);
  opacity: 0.9;
}

.app {
  padding: 0 calc(var(--pt) * 16);
  font-size: calc(var(--pt) * 15);
}
.app-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: calc(var(--pt) * 44);
  color: var(--brand);
  font-size: calc(var(--pt) * 17);
}
.app-nav b { color: var(--app-text); font-weight: 600; }
.app-nav .glass {
  display: grid;
  place-items: center;
  min-width: calc(var(--pt) * 40);
  height: calc(var(--pt) * 40);
  padding: 0 calc(var(--pt) * 12);
  border-radius: 999px;
  background: var(--app-card);
  box-shadow: 0 calc(var(--pt) * 2) calc(var(--pt) * 10) rgba(0, 0, 0, 0.08);
  font-size: calc(var(--pt) * 15);
  font-weight: 600;
}

.app .sub { color: var(--app-text-2); font-size: calc(var(--pt) * 13); }

/* Health-style cards. */
.a-card {
  background: var(--app-card);
  border-radius: calc(var(--pt) * 24);
  padding: calc(var(--pt) * 16);
  margin-bottom: calc(var(--pt) * 12);
}

/* Set list, after the Reminders-style list in the app. */
.ex-head { display: flex; align-items: center; gap: calc(var(--pt) * 12); margin-bottom: calc(var(--pt) * 10); }
.ex-thumb {
  width: calc(var(--pt) * 44);
  height: calc(var(--pt) * 44);
  border-radius: calc(var(--pt) * 12);
  background: linear-gradient(140deg, #e9eef6, #cfd8e6);
  display: grid;
  place-items: center;
  flex: none;
}
@media (prefers-color-scheme: dark) { .ex-thumb { background: linear-gradient(140deg, #2c2f36, #1d2027); } }
.ex-thumb svg { width: 70%; height: 70%; color: #8c99ad; }
.ex-name { font-size: calc(var(--pt) * 17); font-weight: 600; }

/* A floating glass bar at the bottom of a screen. */
.glass-bar {
  position: absolute;
  left: calc(var(--pt) * 16);
  right: calc(var(--pt) * 16);
  bottom: calc(var(--pt) * 30);
  display: flex;
  align-items: center;
  gap: calc(var(--pt) * 10);
  padding: calc(var(--pt) * 8);
  border-radius: 999px;
  background: color-mix(in srgb, var(--app-card) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 calc(var(--pt) * 6) calc(var(--pt) * 24) rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  font-size: calc(var(--pt) * 15);
}

.glass-bar .grow { flex: 1; color: var(--app-text-2); font-size: calc(var(--pt) * 13); }
.pill {
  display: inline-grid;
  place-items: center;
  height: calc(var(--pt) * 40);
  padding: 0 calc(var(--pt) * 16);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: calc(var(--pt) * 15);
  white-space: nowrap;
}

/* Form Feedback: a camera view with the tracked pose drawn over it. */
.screen.camera { background: radial-gradient(120% 80% at 50% 30%, #3a3f4a, #121418 70%); color: #fff; }
.camera .statusbar { color: #fff; }
.pose { position: absolute; inset: 14% 8% 22%; width: 84%; height: 64%; }
.pose .bone { stroke: #fff; stroke-width: 5; stroke-linecap: round; opacity: 0.9; }
.pose .bone.good { stroke: #30d158; }
.pose .joint { fill: #fff; }
.pose .joint.good { fill: #30d158; }
.pose .floor { stroke: rgba(255, 255, 255, 0.28); stroke-width: 2; stroke-dasharray: 6 6; }
.pose .plate { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 7; }
.pose .plate-hub { fill: rgba(255, 255, 255, 0.85); }
.cam-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: calc(var(--pt) * 6);
  padding: calc(var(--pt) * 8) calc(var(--pt) * 13);
  border-radius: 999px;
  background: rgba(30, 30, 32, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  font-size: calc(var(--pt) * 14);
  font-weight: 600;
  white-space: nowrap;
}
.cam-chip i { width: calc(var(--pt) * 9); height: calc(var(--pt) * 9); border-radius: 50%; background: #30d158; }
.cam-chip.top { top: calc(var(--pt) * 66); left: 50%; transform: translateX(-50%); }
.cam-chip.c1 { top: 36%; right: calc(var(--pt) * 16); }
.cam-chip.c2 { top: 54%; left: calc(var(--pt) * 16); }
.cam-panel {
  position: absolute;
  left: calc(var(--pt) * 14);
  right: calc(var(--pt) * 14);
  bottom: calc(var(--pt) * 28);
  display: flex;
  align-items: center;
  gap: calc(var(--pt) * 14);
  padding: calc(var(--pt) * 14) calc(var(--pt) * 16);
  border-radius: calc(var(--pt) * 28);
  background: rgba(30, 30, 32, 0.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.cam-panel .score { font-family: var(--rounded); font-size: calc(var(--pt) * 34); font-weight: 700; line-height: 1; }
.cam-panel .lbl { font-size: calc(var(--pt) * 13); color: rgba(255, 255, 255, 0.7); }
.cam-panel .msg { font-size: calc(var(--pt) * 15); font-weight: 600; line-height: 1.25; }

/* Avatars and people. */
.avatar {
  display: inline-grid;
  place-items: center;
  width: calc(var(--pt) * 32);
  height: calc(var(--pt) * 32);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: calc(var(--pt) * 14);
  flex: none;
}
.avatar.a1 { background: linear-gradient(140deg, #5ac8fa, #007aff); }
.avatar.a2 { background: linear-gradient(140deg, #ff9f0a, #ff2d55); }

.people { display: flex; align-items: center; gap: calc(var(--pt) * 8); margin-bottom: calc(var(--pt) * 12); }
.people .avatar + .avatar { margin-left: calc(var(--pt) * -16); box-shadow: 0 0 0 calc(var(--pt) * 3) var(--app-bg); }
.live-dot { display: inline-flex; align-items: center; gap: calc(var(--pt) * 5); color: var(--green); font-weight: 600; font-size: calc(var(--pt) * 13); }
.live-dot::before { content: ""; width: calc(var(--pt) * 8); height: calc(var(--pt) * 8); border-radius: 50%; background: currentColor; }
.duo-sets { display: grid; gap: calc(var(--pt) * 2); }
.duo-set {
  display: grid;
  grid-template-columns: calc(var(--pt) * 22) 1fr 1fr;
  gap: calc(var(--pt) * 8);
  align-items: center;
  min-height: calc(var(--pt) * 38);
  padding: 0 calc(var(--pt) * 8);
  border-radius: calc(var(--pt) * 12);
  font-size: calc(var(--pt) * 14);
  font-variant-numeric: tabular-nums;
}
.duo-set .n { color: var(--app-text-2); font-weight: 600; }
.duo-set span { display: flex; align-items: center; gap: calc(var(--pt) * 6); }
.duo-set span:not(.n)::before { content: ""; width: calc(var(--pt) * 8); height: calc(var(--pt) * 8); border-radius: 50%; background: var(--app-sep); flex: none; }
.duo-set span.ok:not(.n)::before { background: var(--green); }
.duo-set.head { min-height: calc(var(--pt) * 26); color: var(--app-text-2); font-size: calc(var(--pt) * 12); font-weight: 600; }
.duo-set.head span::before { display: none; }
.duo-set.now { background: rgba(0, 122, 255, 0.12); }

/* ---------- Motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

.hero .rise { animation: rise 0.9s var(--ease) both; }
.hero .rise-2 { animation-delay: 0.08s; }
.hero .rise-3 { animation-delay: 0.16s; }
.hero .rise-4 { animation-delay: 0.24s; }
.hero .stage.rise { animation-duration: 1.2s; animation-delay: 0.3s; }

.js [data-reveal].is-pending { opacity: 0; transform: translateY(28px); }
.js [data-reveal] { transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal].is-pending { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */

@media print {
  .site-header, .site-footer, .btn { display: none; }
  body { background: #fff; color: #000; }
}
