
:root {
  --bg: #02070e;
  --bg-soft: #04101a;
  --surface: #071523;
  --surface-2: #0a1c2d;
  --text: #f6f9fc;
  --muted: #91a7bc;
  --muted-2: #60788f;
  --line: rgba(143, 165, 185, 0.2);
  --blue: #0878ff;
  --cyan: #23a9ff;
  --purple: #8b4dff;
  --green: #39db9a;
  --amber: #ffb84d;
  --red: #ff4567;
  --max: 1180px;
  --radius: 24px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 75% -10%, rgba(8, 120, 255, 0.18), transparent 32rem),
    radial-gradient(circle at -10% 28%, rgba(139, 77, 255, 0.11), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid rgba(35, 169, 255, 0.55); outline-offset: 3px; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(143, 165, 185, 0.12);
  background: rgba(2, 7, 14, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 850; letter-spacing: -0.02em; }
.brand img.brand-mark { width: 42px; height: 36px; object-fit: contain; }
.brand span { font-size: 17px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--text); }
.menu-button { display: none; border: 0; background: transparent; color: var(--text); padding: 8px; cursor: pointer; }

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 12px 35px rgba(8, 120, 255, 0.24);
  cursor: pointer;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.06); }
.button.secondary { background: transparent; border-color: var(--line); box-shadow: none; color: var(--text); }
.button.secondary:hover { border-color: rgba(35, 169, 255, 0.65); }
.button.small { min-height: 40px; padding: 9px 15px; border-radius: 11px; }

.hero { padding: 76px 0 66px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 64px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(35, 169, 255, 0.26);
  border-radius: 999px;
  background: rgba(35, 169, 255, 0.08);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(57, 219, 154, .8); }
.hero h1 { margin: 0; font-size: clamp(44px, 6vw, 78px); line-height: 0.98; letter-spacing: -0.055em; max-width: 760px; }
.hero h1 span { background: linear-gradient(115deg, #fff 0%, #b8dbff 38%, #23a9ff 74%, #8b4dff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy { margin: 24px 0 0; max-width: 650px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin: 20px 0 0; color: var(--muted-2); font-size: 13px; line-height: 1.55; }

.phone-stage { position: relative; min-height: 650px; display: grid; place-items: center; isolation: isolate; overflow: visible; }
.phone-glow { position: absolute; inset: 12% 2% 8%; background: radial-gradient(circle, rgba(8,120,255,.32), transparent 66%); filter: blur(28px); }
.device-frame {
  position: relative;
  width: min(308px, 72vw);
  overflow: hidden;
  border: 1px solid rgba(143,165,185,.34);
  border-radius: 40px;
  padding: 8px;
  background: #00060d;
  box-shadow: 0 35px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.device-frame img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 32px; }
.hero-device { z-index: 2; transform: none; }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7,21,35,.55); }
.trust-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 28px; padding: 22px 0; }
.trust-label { color: var(--muted-2); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.trust-copy { color: var(--muted); font-size: 14px; line-height: 1.5; }
.trust-copy strong { color: var(--text); }

.section { padding: 92px 0; }
.section.compact { padding: 68px 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.kicker { margin: 0 0 12px; color: var(--cyan); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.section h2 { margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; letter-spacing: -0.045em; }
.section-lead { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }

.problem-grid, .audience-grid, .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(10,28,45,.94), rgba(5,16,26,.95));
}
.info-card .number { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; border-radius: 13px; background: rgba(35,169,255,.1); color: var(--cyan); font-weight: 900; }
.info-card h3 { margin: 0 0 10px; font-size: 19px; }
.info-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.feature-row { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: 70px; margin: 0 0 110px; }
.feature-row.reverse { grid-template-columns: 1.08fr 0.92fr; }
.feature-row.reverse .feature-visual { order: 2; }
.feature-row:last-child { margin-bottom: 0; }
.feature-copy h3 { margin: 0; font-size: clamp(29px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.035em; }
.feature-copy p { margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.68; }
.feature-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.feature-list li { display: flex; gap: 11px; color: var(--muted); line-height: 1.5; }
.feature-list li::before { content: "✓"; color: var(--green); font-weight: 900; }
.feature-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.feature-visual::before { content: ""; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(8,120,255,.18), transparent 68%); filter: blur(22px); }
.screen-stack { position: relative; width: min(590px, 100%); min-height: 520px; display: grid; align-items: start; }
.screen-panel {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  overflow: hidden;
  border: 1px solid rgba(143,165,185,.28);
  border-radius: 26px;
  background: #071523;
  box-shadow: 0 28px 70px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.025) inset;
}
.screen-panel img { display: block; width: 100%; height: auto; object-fit: contain; }
.screen-panel.secondary-panel { width: 78%; margin: -110px 0 0 auto; z-index: 3; }
.screen-panel.wide-panel { width: min(620px, 100%); }
.screen-panel.blood-panel { width: min(520px, 100%); max-height: 690px; }
.screen-panel.blood-panel img { width: 100%; height: auto; }

.coach-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: center;
  padding: 52px;
  border: 1px solid rgba(35,169,255,.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(8,120,255,.22), transparent 34rem),
    linear-gradient(145deg, rgba(7,21,35,.98), rgba(3,12,21,.98));
}
.coach-panel h2 { font-size: clamp(34px, 4vw, 52px); }
.coach-panel p { color: var(--muted); line-height: 1.65; font-size: 17px; }
.attention-board { display: grid; gap: 10px; }
.athlete-row { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 14px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 14px; background: rgba(2,7,14,.62); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.green { background: var(--green); }
.status-dot.amber { background: var(--amber); }
.status-dot.blue { background: var(--cyan); }
.athlete-row strong { font-size: 14px; }
.athlete-row span { color: var(--muted); font-size: 12px; }
.athlete-row .action { color: var(--cyan); font-weight: 800; }

.steps .info-card { position: relative; }
.steps .info-card::after { content: ""; position: absolute; top: 47px; right: -19px; width: 20px; height: 1px; background: var(--line); }
.steps .info-card:last-child::after { display: none; }

.integrations { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.integration { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(7,21,35,.68); font-size: 13px; font-weight: 750; }
.integration.live { color: #bff8df; border-color: rgba(57,219,154,.3); background: rgba(57,219,154,.07); }
.integration.planned::after { content: " · planned"; color: var(--muted-2); font-weight: 600; }

.beta-box {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 50px;
  border-radius: 30px;
  border: 1px solid rgba(139,77,255,.28);
  background:
    radial-gradient(circle at 0 100%, rgba(139,77,255,.22), transparent 30rem),
    linear-gradient(140deg, #071523, #03101b);
}
.beta-box h2 { font-size: clamp(34px, 4vw, 52px); }
.beta-box p { color: var(--muted); line-height: 1.65; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: 12px; font-weight: 750; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; background: rgba(2,7,14,.7); color: var(--text);
}
.field textarea { min-height: 100px; resize: vertical; }
.form-note { margin: 12px 0 0; color: var(--muted-2); font-size: 12px; line-height: 1.5; }

.article-header { padding: 72px 0 36px; }
.article-header h1 { margin: 12px 0 10px; font-size: clamp(36px, 6vw, 58px); line-height: 1.06; letter-spacing: -.045em; }
.article-header .meta { color: var(--muted); font-size: 13px; }
.back-link { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 13px; }
.prose { padding-bottom: 72px; }
.prose h2 { margin: 38px 0 12px; font-size: 24px; letter-spacing: -.02em; }
.prose h3 { margin: 28px 0 10px; color: var(--cyan); font-size: 17px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; line-height: 1.75; }
.prose strong { color: var(--text); }
.prose a { color: var(--cyan); }
.prose .lead { color: var(--text); font-size: 20px; font-weight: 650; line-height: 1.6; }
.prose .callout { padding: 22px 24px; margin: 28px 0; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: 14px; }
.prose th, .prose td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--muted); }
.prose th { color: var(--text); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.prose details { border: 1px solid var(--line); border-radius: 14px; padding: 0 18px; margin: 10px 0; background: var(--surface); }
.prose summary { cursor: pointer; padding: 18px 0; color: var(--text); font-weight: 800; }
.prose details p, .prose details ul { margin-top: 0; padding-bottom: 8px; }
.contact-card { text-align: center; }

.site-footer { margin-top: 10px; border-top: 1px solid var(--line); background: rgba(1,5,10,.55); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 30px; padding: 44px 0; }
.footer-grid p { color: var(--muted); line-height: 1.6; font-size: 13px; }
.footer-title { color: var(--text); font-weight: 800; margin-bottom: 12px; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { padding: 18px 0 28px; border-top: 1px solid rgba(143,165,185,.1); color: var(--muted-2); font-size: 12px; }

@media (max-width: 980px) {
  .hero-grid, .coach-panel, .beta-box { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .phone-stage { min-height: 610px; max-width: 620px; margin: 0 auto; width: 100%; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 30px; margin-bottom: 84px; }
  .feature-row.reverse .feature-visual { order: initial; }
  .feature-copy { max-width: 720px; }
  .coach-panel, .beta-box { padding: 38px; }
}

@media (max-width: 760px) {
  .container, .narrow { width: min(100% - 28px, var(--max)); }
  .nav { min-height: 64px; }
  .nav-links { display: none; position: absolute; left: 14px; right: 14px; top: 66px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(3,12,21,.98); box-shadow: 0 20px 55px rgba(0,0,0,.5); }
  .nav-links.open { display: grid; gap: 14px; }
  .menu-button { display: block; }
  .nav .button.small { display: none; }
  .hero { padding: 46px 0 48px; }
  .hero h1 { font-size: clamp(42px, 14vw, 63px); }
  .hero-copy { font-size: 17px; }
  .phone-stage { min-height: 540px; }
  .device-frame { width: min(272px, 72vw); border-radius: 34px; padding: 7px; }
  .device-frame img { border-radius: 27px; }
  .screen-stack { min-height: 420px; }
  .screen-panel { border-radius: 20px; }
  .screen-panel.secondary-panel { width: 88%; margin-top: -58px; }

  .trust-inner { grid-template-columns: 1fr; gap: 8px; }
  .section { padding: 70px 0; }
  .section-heading { margin-bottom: 32px; }
  .problem-grid, .audience-grid, .steps { grid-template-columns: 1fr; }
  .steps .info-card::after { display: none; }
  .feature-visual { min-height: 380px; }
  .coach-panel, .beta-box { padding: 28px 20px; border-radius: 23px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

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

.footer-logo { display: inline-block; text-decoration: none; }
.footer-logo img { display: block; width: 176px; height: auto; }

@media (max-width: 980px) {
  .screen-stack { width: min(650px, 100%); }
  .screen-panel { width: min(600px, 100%); }
}
@media (max-width: 520px) {
  .screen-stack { min-height: 360px; }
  .screen-panel.secondary-panel { width: 92%; margin-top: -34px; }
  .footer-logo img { width: 150px; }
}
