/* Grigor Dochev, grigor.app
   Layout: Athleon's site, retold for a person. A centred hero with the apps on a stage, then each app in turn:
   Athleon on a dark showcase band, Bezelry and Viewry as feature rows in their own colours.
   No frameworks, no web fonts, no scripts: the system font stack renders SF Pro on Apple devices. */

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

:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, 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);

  /* My accent is system blue, like Athleon and Patchry. Each app keeps its own colour. */
  --brand: #007aff;
  --brand-hover: #006ae0;
  --link: #0066d6;
  --brand-soft: rgba(0, 122, 255, 0.1);
  --eyebrow: #007aff;
  --green: #34c759;
  --pink: #e8335a;
  --indigo: #5856d6;
  --orange: #e5531a;
  --teal: #0f8fa6;
  --android: #2e9b4f;
  --athleon: #007aff;
  --bezelry: #2f6bff;
  --bezelry-text: #1f5ae6;
  --bezelry-soft: rgba(47, 107, 255, 0.1);
  --viewry: #e5531a;
  --viewry-text: #cc4714;
  --viewry-soft: rgba(229, 83, 26, 0.1);
  --glow-1: rgba(0, 122, 255, 0.24);
  --glow-2: rgba(229, 83, 26, 0.16);
  --gradient: linear-gradient(100deg, #007aff 0%, #5e5ce6 52%, #e5531a 100%);

  --ink: #1d1d1f;
  --on-ink: #ffffff;
  --mark-bg: #1d1d1f;
  --mark-fg: #ffffff;
  --frame: #1d1d1f;
  --frame-edge: #48484a;
  --dot-off: rgba(0, 0, 0, 0.14);

  --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));

  --orb-hi: #eaf3ff;
  --orb-base: #b9d8ff;
  --orb-glow: rgba(0, 122, 255, 0.22);
  --orb-ring: rgba(0, 122, 255, 0.25);

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

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --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;
    --green: #30d158;
    --pink: #ff4f74;
    --indigo: #8583ff;
    --orange: #ff7a3d;
    --teal: #40c8e0;
    --android: #3ddc84;
    --athleon: #0a84ff;
    --bezelry-text: #6e9bff;
    --bezelry-soft: rgba(47, 107, 255, 0.2);
    --viewry-text: #ff7a3d;
    --viewry-soft: rgba(229, 83, 26, 0.2);
    --glow-1: rgba(10, 132, 255, 0.34);
    --glow-2: rgba(229, 83, 26, 0.22);
    --gradient: linear-gradient(100deg, #3d9bff 0%, #7d7aff 52%, #ff7a3d 100%);
    --ink: #f5f5f7;
    --on-ink: #000000;
    --mark-bg: #f5f5f7;
    --mark-fg: #000000;
    --frame: #2c2c2e;
    --frame-edge: #5a5a5e;
    --dot-off: rgba(255, 255, 255, 0.18);
    --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));
    --orb-hi: #123a6b;
    --orb-base: #001b38;
    --orb-glow: rgba(10, 132, 255, 0.3);
    --orb-ring: rgba(10, 132, 255, 0.35);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --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;
  --green: #30d158;
  --pink: #ff4f74;
  --indigo: #8583ff;
  --orange: #ff7a3d;
  --teal: #40c8e0;
  --android: #3ddc84;
  --athleon: #0a84ff;
  --bezelry-text: #6e9bff;
  --bezelry-soft: rgba(47, 107, 255, 0.2);
  --viewry-text: #ff7a3d;
  --viewry-soft: rgba(229, 83, 26, 0.2);
  --glow-1: rgba(10, 132, 255, 0.34);
  --glow-2: rgba(229, 83, 26, 0.22);
  --gradient: linear-gradient(100deg, #3d9bff 0%, #7d7aff 52%, #ff7a3d 100%);
  --ink: #f5f5f7;
  --on-ink: #000000;
  --mark-bg: #f5f5f7;
  --mark-fg: #000000;
  --frame: #2c2c2e;
  --frame-edge: #5a5a5e;
  --dot-off: rgba(255, 255, 255, 0.18);
  --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));
  --orb-hi: #123a6b;
  --orb-base: #001b38;
  --orb-glow: rgba(10, 132, 255, 0.3);
  --orb-ring: rgba(10, 132, 255, 0.35);
  color-scheme: dark;
}

/* ---------- 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;
}

/* Paints the band under the phone's status bar. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--bg);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }

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 { 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-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (max-width: 520px) { :root { --gutter: 16px; } }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-ink);
  font-weight: 600;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  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;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }

.mark { width: 28px; height: 28px; flex: none; }
.mark rect, .hero-mark rect { fill: var(--mark-bg); }
.mark path, .hero-mark path { fill: none; stroke: var(--mark-fg); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

.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; }
@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-dark { background: var(--ink); color: var(--on-ink); }
.btn-dark:hover { opacity: 0.88; }
.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-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }

.text-link { font-size: 17px; font-weight: 600; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.55; }

/* A "coming soon" capsule in place of the App Store badge. */
.soon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px 0 18px;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-weight: 600;
  font-size: 16px;
  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.7; letter-spacing: 0.01em; }

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

.eyebrow { display: inline-block; font-size: 15px; font-weight: 600; color: var(--eyebrow); margin-bottom: 14px; }

.display { font-size: clamp(42px, 7.6vw, 88px); line-height: 1.02; letter-spacing: -0.045em; }
.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, .gradient-athleon {
  background-image: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-bottom: 0.04em;
}
.gradient-athleon { background-image: linear-gradient(100deg, #3d9bff 0%, #40c4ff 50%, #63e6e2 100%); }
.tint-bezelry { color: var(--bezelry-text); }
.tint-viewry { color: var(--viewry-text); }

.section { padding-block: clamp(80px, 11vw, 150px); }
.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; }

/* An app's name with its icon and platforms, used to open each app's section. */
.app-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-align: left;
}
.app-label img { width: 40px; height: 40px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.app-label span { display: grid; line-height: 1.2; }
.app-label small { font-size: 13px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }

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

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

.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; }

.hero-mark {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  filter: drop-shadow(-14px 16px 22px var(--glow-1)) drop-shadow(14px 16px 22px var(--glow-2)) 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; }

/* The three app icons overlapping, like the coach badges on Athleon's site. */
.app-row { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.app-row .faces { display: flex; }
.app-row .faces img { width: 46px; height: 46px; border-radius: 11px; box-shadow: 0 0 0 3px var(--bg), 0 6px 14px -4px rgba(15, 23, 42, 0.25); }
.app-row .faces > * + * { margin-left: -8px; }
.app-row p { font-size: 15px; color: var(--text-2); }
.app-row p strong { color: var(--text); font-weight: 600; }

/* The stage: Bezelry on iPhone, Athleon in front, Viewry on iPad. */
.stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.18fr 1.25fr;
  align-items: end;
  gap: clamp(14px, 3vw, 40px);
  max-width: 1040px;
  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 28% 50%, var(--glow-1), transparent 70%),
    radial-gradient(45% 50% at 76% 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(-10%) rotate(3deg); }

.shot { display: block; }
.shot img { display: block; width: 100%; height: auto; filter: var(--shot-shadow); }

/* Raw captures get a device frame drawn here; Athleon's screens come framed already. */
.device {
  padding: 3.4%;
  background: var(--frame);
  box-shadow: inset 0 0 0 1.5px var(--frame-edge), var(--shadow-lg);
}
.device img { width: 100%; }
.device.phone { border-radius: 15% / 7%; }
.device.phone img { border-radius: 12% / 5.6%; }
.device.tablet { border-radius: 7.5% / 5.2%; }
.device.tablet img { border-radius: 4.6% / 3.2%; }

@media (max-width: 720px) {
  .stage { grid-template-columns: 1fr 1.08fr; max-width: 560px; padding-bottom: 64px; }
  .stage > :nth-child(1) { display: none; }
  .stage > :nth-child(3) { transform: translateY(-8%) 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; font-variant-numeric: tabular-nums; }
.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; } }

/* The "My apps" heading sits right above the Athleon band. */
#apps { padding-bottom: clamp(16px, 3vw, 40px); }
#apps .section-head { margin-bottom: 0; }

/* ---------- Athleon showcase (dark) ---------- */

.showcase {
  position: relative;
  overflow: hidden;
  color: #f5f5f7;
  background: #03060d;
  padding-block: clamp(96px, 12vw, 160px);
  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 .section-head { margin-bottom: 40px; }
.showcase .lede { color: rgba(245, 245, 247, 0.74); }
.showcase .app-label small { color: rgba(245, 245, 247, 0.62); }
.showcase .app-label img { box-shadow: 0 8px 20px -6px rgba(10, 132, 255, 0.7); }
.showcase a:not(.btn) { color: #7cc0ff; }

/* The nine coaches, drawn the way Athleon's site draws them, blinking now and then. */
.orb {
  --size: 46px;
  position: relative;
  display: block;
  flex: none;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, var(--orb-hi) 0, var(--orb-base) calc(var(--size) * 0.75));
}
.showcase .orb { --orb-hi: #eaf3ff; --orb-base: #b9d8ff; --orb-ring: rgba(0, 122, 255, 0.25); }
.orb img, .orb .eyes { position: absolute; inset: 0; width: 100%; height: 100%; }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--orb-ring); pointer-events: none; }
.orb .eyes g {
  fill: #fff;
  stroke: #001b38;
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: round;
  transform-box: view-box;
  transform-origin: 483.5px 137px;
  animation: blink 4.2s infinite;
}
.orb:nth-child(2n) .eyes g { animation-delay: 1.3s; }
.orb:nth-child(3n) .eyes g { animation-delay: 2.7s; }
@keyframes blink {
  0%, 95.5%, 100% { transform: scaleY(1); }
  97.5% { transform: scaleY(0.1); }
}

.coach-row { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.coach-row .faces { display: flex; }
.coach-row .orb { box-shadow: 0 0 0 3px #03060d, 0 4px 14px rgba(10, 132, 255, 0.45); }
.coach-row .orb + .orb { margin-left: -10px; }
.coach-row p { font-size: 15px; color: rgba(245, 245, 247, 0.7); }
.coach-row p strong { color: #fff; font-weight: 600; }
@media (max-width: 480px) {
  .coach-row .orb { --size: 36px; }
  .coach-row .orb + .orb { margin-left: -8px; }
}

.showcase-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 4vw, 40px);
  max-width: 600px;
  margin: clamp(48px, 6vw, 72px) auto 0;
}
.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;
}
.showcase-stage > :nth-child(2) { transform: translateY(8%); }
.showcase .shot img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)); }

.showcase-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: clamp(72px, 9vw, 112px) 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; } }

.showcase-cta { margin-top: clamp(40px, 5vw, 56px); }

/* ---------- 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 { min-width: 0; }
.feature-copy .title-sm { margin-bottom: 18px; }
.feature-copy > p:not(.app-label) { color: var(--text-2); font-size: 19px; line-height: 1.5; }
.feature-copy .btn-row { margin-top: 30px; gap: 12px 18px; }

.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--check-bg) var(--check) center / 15px no-repeat;
}
.checks-bezelry {
  --check-bg: var(--bezelry-soft);
  --check: 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='%232f6bff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.checks-viewry {
  --check-bg: var(--viewry-soft);
  --check: 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='%23e5531a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
#bezelry .text-link { color: var(--bezelry-text); }
#viewry .text-link { color: var(--viewry-text); }

/* Each Mac screenshot sits on a soft panel tinted with its app's colour. */
.feature-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: radial-gradient(70% 60% at 50% 30%, var(--tint), transparent 75%), var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.feature-visual.is-bezelry { --tint: rgba(47, 107, 255, 0.2); }
.feature-visual.is-viewry { --tint: rgba(229, 83, 26, 0.18); }
.feature-visual .window { width: 100%; border-radius: 10px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }

@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; }
}

/* ---------- Where they run ---------- */

.matrix-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.matrix { width: 100%; border-collapse: collapse; font-size: 16px; }
.matrix th, .matrix td { padding: 20px 22px; text-align: center; border-bottom: 1px solid var(--line); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix thead th { font-size: 13px; font-weight: 600; color: var(--text-3); background: var(--bg-2); }
.matrix th:first-child { text-align: left; }
.row-app { display: inline-flex; align-items: center; gap: 12px; font-weight: 650; font-size: 17px; }
.row-app img { width: 32px; height: 32px; border-radius: 8px; box-shadow: var(--shadow-sm); }

.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--dot-off); vertical-align: middle; }
.row-athleon .dot.on { background: var(--athleon); box-shadow: 0 0 0 4px var(--brand-soft); }
.row-bezelry .dot.on { background: var(--bezelry); box-shadow: 0 0 0 4px var(--bezelry-soft); }
.row-viewry .dot.on { background: var(--viewry); box-shadow: 0 0 0 4px var(--viewry-soft); }

/* On a phone each app becomes its own block, with its four platforms in a row. */
@media (max-width: 640px) {
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix tbody tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; padding: 20px 18px; border-bottom: 1px solid var(--line); }
  .matrix tbody tr:last-child { border-bottom: 0; }
  .matrix th, .matrix td { padding: 0; border-bottom: 0; }
  .matrix tbody th { grid-column: 1 / -1; }
  .matrix td { display: grid; justify-items: center; gap: 8px; }
  .matrix td::before { content: attr(data-label); font-size: 12px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
}

.languages-title { margin-top: clamp(56px, 7vw, 80px); font-size: 15px; font-weight: 600; color: var(--text-2); letter-spacing: 0; text-align: center; }
.languages { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.languages li { padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 16px; font-weight: 500; box-shadow: var(--shadow-sm); }

/* ---------- 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;
  padding: 0;
  list-style: none;
  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); }

/* ---------- Cards ---------- */

.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; }

/* ---------- Tags ---------- */

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.tags li { padding: 5px 11px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--text); }

/* ---------- Toolkit ---------- */

.toolkit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool { display: flex; flex-direction: column; }
.tool .tags { margin-top: auto; padding-top: 20px; }
.tool .icon { color: var(--tint); background: color-mix(in srgb, var(--tint) 13%, transparent); }
.tint-blue { --tint: var(--brand); }
.tint-pink { --tint: var(--pink); }
.tint-indigo { --tint: var(--indigo); }
.tint-orange { --tint: var(--orange); }
.tint-green { --tint: var(--android); }
.tint-teal { --tint: var(--teal); }
@media (max-width: 980px) { .toolkit { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .toolkit { grid-template-columns: 1fr; } }

/* ---------- Final call to action ---------- */

.final-cta { text-align: center; }
.cta-icons { display: flex; justify-content: center; margin-bottom: 30px; }
.cta-icons img { width: 72px; height: 72px; border-radius: 16px; box-shadow: 0 0 0 4px var(--bg-2), 0 14px 26px -10px rgba(15, 23, 42, 0.35); }
.cta-icons > :nth-child(1) { transform: rotate(-8deg) translateY(4px); }
.cta-icons > :nth-child(2) { margin-left: -12px; z-index: 1; position: relative; }
.cta-icons > :nth-child(3) { margin-left: -12px; transform: rotate(8deg) translateY(4px); }
.final-cta .lede { max-width: 620px; margin: 20px auto 34px; }
.email-note { margin-top: 18px; font-size: 15px; color: var(--text-3); user-select: all; }

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

.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-block: 56px calc(44px + env(safe-area-inset-bottom, 0px));
  font-size: 14px;
  color: var(--text-2);
}
.footer-top { display: grid; grid-template-columns: 2fr repeat(2, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer-top .brand { font-size: 17px; }
.footer-top .mark { width: 26px; height: 26px; }
.footer-blurb { margin-top: 12px; max-width: 320px; 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: 620px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- 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; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
