:root {
  --bg: #07080b;
  --accent: #db6c35;
  --accent-bright: #e8854a;
  --accent-soft: rgba(219, 108, 53, 0.13);
  --accent-line: rgba(219, 108, 53, 0.38);
  --text: #f3f4f6;
  --muted: #8b919c;
  --dim: #5c616a;
  --line: rgba(255, 255, 255, 0.07);
  --max: 1120px;
  --device-bg: #0d0e12;
  --card-bg: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] {
  --bg: #f4f6f8;
  --text: #0f172a;
  --muted: #64748b;
  --dim: #94a3b8;
  --line: rgba(15, 23, 42, 0.1);
  --accent-soft: rgba(219, 108, 53, 0.1);
  --device-bg: #ffffff;
  --card-bg: #ffffff;
  color-scheme: light;
}

[data-theme="light"] body {
  background:
    radial-gradient(ellipse 90% 55% at 50% -20%, rgba(219, 108, 53, 0.1), transparent 55%),
    var(--bg);
}

html { color-scheme: dark; overflow-x: clip; }
[data-theme="light"] { color-scheme: light; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  color: var(--text);
  font-family: "Outfit", system-ui, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(ellipse 90% 55% at 50% -20%, rgba(224, 106, 46, 0.17), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}

.splash {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: grid; place-items: center;
  pointer-events: none;
}
.splash.done { opacity: 0; visibility: hidden; transition: opacity 0.16s ease; }

.splash-lockup {
  position: relative; z-index: 2;
  width: min(280px, 72vw);
  transform-origin: center center;
  clip-path: inset(0 100% 0 0);
  -webkit-clip-path: inset(0 100% 0 0);
}
.splash-lockup.is-in {
  animation: splashCut 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.splash-lockup.flying {
  animation: none;
  clip-path: none;
  -webkit-clip-path: none;
  transition: transform 0.4s cubic-bezier(0.62, 0.02, 0.24, 1);
}
.splash-lockup img {
  width: 100%; height: auto;
}
.splash-lockup .splash-art-dark { display: block; }
.splash-lockup .splash-art-light { display: none; }
[data-theme="light"] .splash-lockup .splash-art-dark { display: none; }
[data-theme="light"] .splash-lockup .splash-art-light { display: block; }

.theme-toggle {
  border: 1px solid var(--line); background: var(--card-bg);
  color: var(--muted); width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; cursor: pointer; flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.theme-toggle:hover { border-color: var(--accent-line); color: var(--text); }
.theme-toggle svg { width: 16px; height: 16px; }
.header-actions { display: flex; align-items: center; gap: 12px; }
@keyframes splashCut {
  0%   { clip-path: inset(0 100% 0 0); -webkit-clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0); }
}

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  z-index: 50; transition: width 0.1s linear;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
.wrap { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

p, li, a, h1, h2, h3, .lede, .section-lede, .kicker, .status, .btn, .teaser-tag, nav a {
  overflow: visible;
}

header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 24px;
  padding: 14px 0 12px;
}
.logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.logo-mark img {
  width: 148px;
  height: auto;
  display: block;
}
.logo-mark .logo-img-light { display: none; }
[data-theme="light"] .logo-mark .logo-img-dark { display: none; }
[data-theme="light"] .logo-mark .logo-img-light { display: block; }
.logo-mark.handoff { opacity: 0; pointer-events: none; }
.logo-mark.revealed { opacity: 1; transition: opacity 0.2s ease; }
nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; font-weight: 500; align-items: center; }
nav a {
  color: var(--muted); text-decoration: none; transition: color 0.2s ease;
  display: inline-block; line-height: 1.45; padding: 2px 0;
}
nav a:hover, nav a.is-active { color: var(--text); text-decoration: none; }
@media (max-width: 780px) {
  header { flex-wrap: wrap; gap: 10px; padding: 12px 0 10px; }
  .header-actions { width: 100%; justify-content: space-between; }
  nav { gap: 4px 12px; font-size: 13px; }
  .logo-mark img { width: 120px; }
}

.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 20px; padding: 10px 0 16px;
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); padding: 5px 10px; border-radius: 20px;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  margin-bottom: 8px;
}
.hero h1, .page-hero h1 {
  font-family: "Syne", sans-serif; font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.025em;
  line-height: 1.18; max-width: 16ch; margin: 0 0 8px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede, .page-hero .lede {
  font-size: clamp(0.94rem, 2vw, 1.02rem); font-weight: 300; line-height: 1.5;
  color: var(--muted); max-width: 42ch; margin: 0 0 12px;
}
.hero .lede-secondary {
  max-width: 44ch;
  margin-top: -4px;
  padding: 10px 12px;
  border-left: 2px solid var(--accent-line);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-weight: 400;
}
.hero-flow {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
}
.hero-flow li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card-bg);
}
.hero-flow li span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 11px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  border: 1px solid var(--accent-line);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 10px; font-size: 14px; font-weight: 600;
  line-height: 1.4;
  text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  border: 1px solid transparent; box-shadow: 0 10px 30px rgba(224,106,46,0.3);
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(224,106,46,0.42); }
.btn-ghost { color: var(--text); background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.03); }
.status {
  margin-top: 10px; display: inline-flex; align-items: flex-start; gap: 8px;
  font-size: 12px; color: var(--muted); line-height: 1.45; max-width: 42ch;
}
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2.2s ease infinite; flex-shrink: 0; margin-top: 5px; }
.pilot-cta {
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px;
  margin-top: 12px; padding: 10px 14px; border-radius: 12px; max-width: 100%;
  border: 1px solid var(--accent-line); background: var(--accent-soft);
  text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pilot-cta:hover {
  text-decoration: none; border-color: var(--accent-bright);
  transform: translateY(-1px); box-shadow: 0 10px 28px rgba(219, 108, 53, 0.18);
}
.pilot-cta-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-bright); line-height: 1.3;
}
.pilot-cta-action {
  font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.35;
}
@media (max-width: 900px) {
  .pilot-cta { align-items: center; text-align: center; }
  .live-camera { gap: 4px; padding: 6px 8px 8px; }
  .pose-stage { max-height: 72px; width: 42%; }
  .form-guide-pip { width: 64px; }
  .pip-stage { height: 40px; }
  .pip-head { font-size: 6px; padding: 4px 6px; }
  .form-cue-toast { font-size: 9px; padding: 7px 10px; }
  .glass-hud { gap: 4px; }
  .glass-metric { padding: 5px 6px; }
  .g-val { font-size: 11px; }
}

.device-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.device-hint {
  font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--dim); margin: 0;
}
.device {
  position: relative; width: 244px; height: 496px; border-radius: 36px;
  background: linear-gradient(180deg, #16181d, #0b0c0f);
  border: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 34px 74px rgba(0,0,0,0.6), 0 0 60px rgba(224,106,46,0.07);
  padding: 10px; animation: floaty 6.5s ease-in-out infinite;
  cursor: pointer;
}
.device-screen {
  position: relative; width: 100%; height: 100%; border-radius: 27px; overflow: hidden;
  cursor: pointer;
  color-scheme: dark;
  /* Always render like the app — never inherit site light theme */
  --app-bg: #0a0b0f;
  --app-text: #f3f4f6;
  --app-muted: #8b919c;
  --app-dim: #5c616a;
  --app-card: rgba(255, 255, 255, 0.06);
  --app-line: rgba(255, 255, 255, 0.1);
  --app-accent: #db6c35;
  --app-cyan: #00f0ff;
  color: var(--app-text);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(219, 108, 53, 0.14), transparent 55%),
    var(--app-bg);
  border: 1px solid var(--app-line);
}
.device-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 17px; border-radius: 10px; background: #050506; z-index: 3;
}
.device-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 21px 14px 0; min-height: 36px; position: relative; z-index: 5;
}
.live-pill {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; padding: 4px 8px; border-radius: 6px;
  background: linear-gradient(135deg, #e8854a, var(--app-accent));
  box-shadow: 0 4px 12px rgba(224,106,46,0.35);
}
.device-topbar .device-logo { height: 14px; width: auto; display: block; opacity: 0.95; }

.app-frame {
  position: absolute; inset: 0; padding: 48px 16px 16px;
  display: none;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
}
.app-frame[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.app-frame.is-active {
  display: block;
  opacity: 1;
  pointer-events: auto;
  z-index: 4;
}
.device-screen.is-manual .app-frame.is-active {
  transform: none;
  visibility: visible;
}
.device-screen.is-manual .app-frame:not(.is-active) {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.frame-label {
  font-size: 10px; font-weight: 600; color: var(--app-accent);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
.device-screen .frame-card,
.device-screen .app-score-badge,
.device-screen .app-set-card {
  background: var(--app-card); border-color: var(--app-line); color: var(--app-text);
}
.device-screen .app-score-label,
.device-screen .frame-card small,
.device-screen .app-set-card .set-meta { color: var(--app-muted); }
.device-screen .app-score-val { color: var(--app-text); }
.device-screen .app-score-val.searching-text { font-size: 13px; color: var(--app-muted); }
.device-screen .app-score-dot.searching { background: var(--app-muted); }
.device-screen .app-score-bar { background: rgba(255,255,255,0.1); }
.device-screen .app-set-card .set-score small { color: var(--app-dim); }
.device-screen .scan-hint { color: var(--app-accent); }
.coach-note-strip {
  margin-bottom: 10px; padding: 7px 10px; border-radius: 10px; font-size: 9px; font-weight: 600;
  color: #ffb98a; background: rgba(219, 108, 53, 0.12); border: 1px solid rgba(219, 108, 53, 0.3);
  line-height: 1.35;
}
.app-frame-live { padding: 38px 0 0 !important; }
.app-frame-guide { padding: 44px 12px 12px !important; }
.tap-ring-wrap { display: flex; align-items: center; justify-content: center; height: 140px; position: relative; }
.tap-ring { position: absolute; border-radius: 50%; border: 1px solid var(--accent-line); animation: ring 2.4s ease-out infinite; }
.tap-ring.r2 { animation-delay: 0.6s; }
.tap-ring.r3 { animation-delay: 1.2s; }
@keyframes ring { 0% { width: 42px; height: 42px; opacity: 0.9; } 100% { width: 140px; height: 140px; opacity: 0; } }
.tap-core {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  display: grid; place-items: center; z-index: 2; box-shadow: 0 8px 26px rgba(224,106,46,0.45);
}
.tap-core svg { width: 22px; height: 22px; }
.frame-card {
  margin-top: 16px; padding: 11px 13px; border-radius: 12px;
  background: var(--card-bg); border: 1px solid var(--line);
  font-size: 12px; font-weight: 500;
}
.app-score-badge {
  margin-top: 8px; padding: 10px 11px; border-radius: 12px;
  background: var(--card-bg); border: 1px solid var(--line);
}
.app-score-row { display: flex; align-items: center; gap: 8px; }
.app-score-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }
.app-score-label { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.app-score-val { font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1.1; }
.app-score-bar { margin-top: 8px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.08); overflow: hidden; }
[data-theme="light"] .app-score-bar { background: rgba(15,23,42,0.08); }
.app-score-bar span { display: block; height: 100%; width: 94%; background: var(--accent); border-radius: 2px; }
.app-set-card {
  padding: 12px; border-radius: 12px; background: var(--card-bg); border: 1px solid var(--line);
}
.app-set-card .set-title { font-size: 11px; font-weight: 600; margin-bottom: 4px; }
.app-set-card .set-meta { font-size: 10px; color: var(--muted); }
.app-set-card .set-score { margin-top: 10px; font-family: "Syne", sans-serif; font-size: 28px; font-weight: 800; color: var(--accent); }
.app-set-card .set-score small { font-size: 14px; color: var(--dim); font-weight: 700; }
.app-hero-star { color: var(--accent); margin-right: 4px; }
.frame-card small { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; font-weight: 400; }
.guide-preview {
  height: 140px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(224,106,46,0.08), rgba(255,255,255,0.02));
  padding: 12px; display: flex; flex-direction: column; justify-content: space-between;
}
.guide-preview .muscle-bar {
  height: 6px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden;
}
.guide-preview .muscle-bar span {
  display: block; height: 100%; width: 72%; border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), #ffb98a);
}
.guide-preview p { font-size: 10px; color: var(--muted); line-height: 1.45; }
.guide-preview strong { color: var(--text); font-size: 11px; display: block; margin-bottom: 4px; }
.frame-card {
  margin-top: 16px; padding: 11px 13px; border-radius: 12px;
  background: var(--card-bg); border: 1px solid var(--line);
  font-size: 12px; font-weight: 500;
}
/* --- In-app form guide screen (phone mockup) --- */
.form-guide-screen { display: flex; flex-direction: column; gap: 8px; height: 100%; }
.fg-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fg-title {
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--app-muted);
}
.fg-badge {
  font-size: 8px; font-weight: 700; color: var(--app-accent); padding: 3px 7px; border-radius: 6px;
  background: rgba(219, 108, 53, 0.15); border: 1px solid rgba(219, 108, 53, 0.35);
}
.fg-exercise-name { font-size: 13px; font-weight: 700; color: var(--app-text); margin: 0; }
.fg-stage {
  position: relative; flex: 1; min-height: 108px; border-radius: 12px;
  background: #050608; border: 1px solid var(--app-line);
  display: grid; place-items: center; overflow: hidden;
}
.fg-pose { width: 72%; height: auto; }
.fg-bones { stroke: var(--app-accent); stroke-width: 2.8; stroke-linecap: round; }
.fg-joints { fill: #ffb98a; }
.fg-view {
  position: absolute; right: 8px; bottom: 7px; font-size: 8px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--app-dim);
}
.fg-summary { font-size: 10px; line-height: 1.45; color: var(--app-muted); margin: 0; }
.fg-keys { display: grid; gap: 6px; }
.fg-key {
  padding: 8px 10px; border-radius: 10px; background: var(--app-card); border: 1px solid var(--app-line);
  font-size: 9px; line-height: 1.4; color: var(--app-muted);
}
.fg-key strong { display: block; font-size: 10px; color: var(--app-text); margin-bottom: 2px; }

/* --- Live coaching camera (phone mockup) --- */
.live-camera {
  position: relative;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 8px 10px 10px;
  background: #030405;
  overflow: hidden;
  align-content: start;
}
.live-camera-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.pose-feed {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 48% 38%, rgba(90, 100, 120, 0.45), transparent 62%),
    linear-gradient(180deg, #141820 0%, #060708 100%);
}
.pose-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.55) 100%);
}
.glass-hud {
  position: relative;
  z-index: 3;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.pose-stage {
  position: relative;
  z-index: 1;
  grid-row: 2;
  width: 46%;
  max-width: 110px;
  height: 100%;
  max-height: 88px;
  justify-self: center;
  align-self: center;
  pointer-events: none;
  overflow: hidden;
  clip-path: inset(0 round 4px);
  contain: layout paint;
}
.pose-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.app-frame-live:not(.is-active) .live-camera {
  display: none;
}
.pose-shadow line {
  stroke: rgba(0, 0, 0, 0.95); stroke-width: 5.5; stroke-linecap: round;
}
.pose-bones {
  stroke: var(--app-cyan); stroke-width: 3.2; stroke-linecap: round;
}
.pose-joints { fill: var(--app-cyan); }
.glass-metric {
  padding: 7px 8px; border-radius: 10px; text-align: center;
  background: rgba(8, 11, 16, 0.92); border: 1px solid rgba(0, 240, 255, 0.22);
  backdrop-filter: blur(6px);
}
.g-label {
  display: block; font-size: 7px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--app-muted); margin-bottom: 2px;
}
.g-val { font-size: 13px; font-weight: 800; color: var(--app-text); font-variant-numeric: tabular-nums; }
.g-val.g-cyan { color: var(--app-cyan); }
.form-guide-pip {
  position: relative;
  z-index: 3;
  grid-row: 3;
  justify-self: start;
  width: 76px;
  border-radius: 12px; overflow: hidden;
  background: #0a0b0f; border: 2px solid rgba(219, 108, 53, 0.45);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
.pip-head {
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
  padding: 5px 7px; font-size: 7px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--app-muted); background: var(--app-card);
}
.pip-icon { color: var(--app-text); font-size: 9px; }
.pip-stage {
  height: 50px; background: #050608; display: grid; place-items: center;
}
.pip-stage svg { width: 62%; height: auto; }
.pip-bones { stroke: var(--app-accent); stroke-width: 3; stroke-linecap: round; }
.pip-cap {
  padding: 5px; text-align: center; font-size: 9px; font-weight: 600;
  color: var(--app-text); background: var(--app-card);
}
.form-cue-toast {
  position: relative;
  z-index: 3;
  grid-row: 4;
  padding: 8px 12px; border-radius: 14px; text-align: center;
  background: rgba(8, 11, 16, 0.94); backdrop-filter: blur(8px);
  font-size: 10px; font-weight: 600; line-height: 1.35; color: #f5f8fc;
  border: 1px solid rgba(255, 193, 7, 0.45);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  animation: cuePulse 2.5s ease-in-out infinite;
}
.form-cue-toast.warn { border-color: rgba(255, 193, 7, 0.45); }
@keyframes cuePulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 8px 24px rgba(0,0,0,0.45); }
  50% { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 193, 7, 0.12); }
}
.app-set-logged .set-metrics {
  display: flex; gap: 8px; margin: 10px 0 12px; flex-wrap: wrap;
}
.app-set-logged .set-metrics span {
  font-size: 10px; color: var(--app-muted); padding: 5px 8px; border-radius: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--app-line);
}
.app-set-logged .set-metrics strong { color: var(--app-text); font-weight: 700; }
.app-set-logged .set-score-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.app-set-logged .set-sync {
  font-size: 9px; font-weight: 600; color: #8fd19e; display: inline-flex; align-items: center; gap: 5px;
}
.set-voice-hint {
  display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 9px;
  border-radius: 10px; font-size: 9px; font-weight: 600; line-height: 1.35; color: var(--app-muted);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--app-line);
}
.set-voice-hint svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--app-accent); }
.sync-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}
.score-wrap { height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-num { font-family: "Syne", sans-serif; font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.03em; }
.score-num .out { color: var(--dim); font-size: 22px; font-weight: 700; }
.score-num .val { color: var(--accent); }
.score-sub { margin-top: 8px; font-size: 10px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.score-check { margin-top: 16px; font-size: 11px; color: #8fd19e; }
.device-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 4;
}
.device-dot {
  width: 7px; height: 7px; border-radius: 50%; padding: 0; border: none; cursor: pointer;
  background: rgba(255,255,255,0.2);
  transition: width 0.25s ease, background 0.25s ease, border-radius 0.25s ease;
}
.device-dot.is-active {
  width: 16px; border-radius: 4px; background: var(--accent);
}
.device-dots span { display: none; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-11px)} }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 8px 0 14px; }
  .hero-copy { align-items: center; }
  .hero h1, .hero .lede { max-width: 26ch; }
  .cta-row { justify-content: center; }
  .device-stage { order: -1; }
  .device { width: 208px; height: 424px; }
}

.cred { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.014); }
.cred-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px;
  padding: 8px 24px; max-width: var(--max); margin: 0 auto;
}
.cred-item { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.cred-item svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.cred-item b { color: var(--text); font-weight: 600; }

section { position: relative; z-index: 1; padding: 18px 0; }
section + section { border-top: 1px solid var(--line); }
.page-hero { padding: 10px 0 8px; }
.kicker {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px; line-height: 1.4;
}
section h2, .page-hero h2 { font-family: "Syne", sans-serif; font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.8rem); letter-spacing: -0.02em; margin-bottom: 6px; line-height: 1.25; }
.section-lede { color: var(--muted); font-size: 0.94rem; line-height: 1.5; max-width: 58ch; margin-bottom: 10px; font-weight: 300; }
.section-lede strong { color: var(--text); font-weight: 500; }
.reveal { opacity: 0; transition: opacity 0.45s ease; }
.reveal.is-visible { opacity: 1; }

.teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.teaser {
  padding: 14px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none; color: inherit; display: block;
}
.teaser:hover {
  border-color: var(--accent-line); transform: translateY(-2px); text-decoration: none;
  box-shadow: 0 14px 36px rgba(0,0,0,0.14);
}
.teaser-tag {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 4px; line-height: 1.4;
}
.teaser h3 { font-family: "Syne", sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--text); line-height: 1.3; }
.teaser p { font-size: 0.9rem; color: var(--muted); line-height: 1.45; font-weight: 300; }
.teaser .link-arrow { margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--accent); line-height: 1.4; }
@media (max-width: 640px) { .teaser-grid { grid-template-columns: 1fr; } }

.origin-band {
  position: relative; z-index: 1; padding: 16px 0;
  border-top: 1px solid var(--line);
}
.origin-band .section-lede { margin-bottom: 10px; max-width: 62ch; }
.origin-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.origin-step {
  padding: 12px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
}
.origin-step .n {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent); margin-bottom: 8px;
}
.origin-step h3 {
  font-family: "Syne", sans-serif; font-size: 0.95rem; font-weight: 700;
  margin-bottom: 6px; line-height: 1.3;
}
.origin-step p { font-size: 0.84rem; line-height: 1.5; color: var(--muted); font-weight: 300; }
@media (max-width: 880px) { .origin-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .origin-grid { grid-template-columns: 1fr; } }

/* Coaching loop band (homepage) */
.loop-band {
  position: relative; z-index: 1; padding: 18px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(219, 108, 53, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(0, 240, 255, 0.04), transparent 50%);
}
.loop-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.loop-head h2 {
  font-family: "Syne", sans-serif; font-weight: 700;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem); letter-spacing: -0.02em; margin: 0 0 8px;
}
.loop-head .section-lede { margin-bottom: 0; max-width: 52ch; }
.loop-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px;
}
.loop-card {
  padding: 12px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255,255,255,0.04), transparent);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.loop-card:hover {
  border-color: var(--accent-line); transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}
.loop-icon {
  width: 36px; height: 36px; border-radius: 10px; margin-bottom: 8px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent);
}
.loop-icon svg { width: 20px; height: 20px; }
.loop-card h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; }
.loop-card p { font-size: 0.88rem; line-height: 1.55; color: var(--muted); font-weight: 300; }
.pt-preview {
  border-radius: 18px; border: 1px solid var(--accent-line); overflow: hidden;
  background: #0a0b0f; box-shadow: 0 28px 60px rgba(0,0,0,0.35);
}
.pt-preview-label {
  padding: 10px 16px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); background: rgba(219, 108, 53, 0.08);
  border-bottom: 1px solid var(--line);
}
.pt-mock { display: grid; grid-template-columns: 120px 1fr; min-height: 220px; }
.pt-mock-sidebar {
  padding: 16px 12px; border-right: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 8px; background: rgba(0,0,0,0.25);
}
.pt-nav {
  font-size: 11px; font-weight: 600; color: var(--muted); padding: 8px 10px; border-radius: 8px;
}
.pt-nav.active { color: var(--text); background: rgba(219, 108, 53, 0.14); border: 1px solid var(--accent-line); }
.pt-mock-main { padding: 18px 20px; color: #f3f4f6; }
.pt-mock-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pt-mock-header strong { font-size: 1.05rem; }
.pt-pill {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent-bright); padding: 4px 8px; border-radius: 6px;
  background: rgba(219, 108, 53, 0.15); border: 1px solid var(--accent-line);
}
.pt-mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.pt-stat {
  padding: 10px; border-radius: 10px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.pt-stat-label { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em; color: #8b919c; margin-bottom: 4px; }
.pt-stat-val { font-size: 14px; font-weight: 800; }
.pt-stat-val.accent { color: #00f0ff; }
.pt-mock-plan { display: grid; gap: 8px; margin-bottom: 14px; }
.pt-plan-line {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center;
  font-size: 11px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,0.03);
}
.pt-plan-line span { color: #8b919c; }
.pt-plan-line em { color: #8b919c; font-style: normal; text-align: right; }
.pt-plan-line.muted { opacity: 0.85; }
.pt-mock-flag {
  font-size: 11px; font-weight: 600; color: #ffb98a; padding: 10px 12px; border-radius: 10px;
  background: rgba(219, 108, 53, 0.12); border: 1px solid rgba(219, 108, 53, 0.35);
}
@media (max-width: 960px) { .loop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .loop-grid { grid-template-columns: 1fr; }
  .pt-mock { grid-template-columns: 1fr; }
  .pt-mock-sidebar { flex-direction: row; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

/* PT toolkit panels (for-gyms) */
.pt-toolkit { margin-top: 16px; margin-bottom: 12px; }
.pt-toolkit h2 { font-family: "Syne", sans-serif; font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: 10px; }
.pt-toolkit-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px;
}
.pt-panel {
  border-radius: 14px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.pt-panel.accent { border-color: var(--accent-line); }
.pt-panel-head {
  padding: 10px 14px; font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  background: rgba(219, 108, 53, 0.08); border-bottom: 1px solid var(--line);
}
.pt-panel-body { padding: 14px; }
.pt-line {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 8px; align-items: center;
  font-size: 11px; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.pt-line:last-child { border-bottom: none; }
.pt-line span { color: var(--muted); }
.pt-line em { color: var(--dim); font-style: normal; font-size: 10px; }
.pt-line.dim { opacity: 0.9; }
.pt-table-head, .pt-table-row {
  display: grid; grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr; gap: 8px;
  font-size: 10px; padding: 6px 0;
}
.pt-table-head { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border-bottom: 1px solid var(--line); }
.pt-table-row { border-bottom: 1px solid var(--line); color: var(--text); }
.pt-table-row:last-child { border-bottom: none; }
.pt-table-row .good { color: #4ade80; font-weight: 700; }
.pt-table-row .warn { color: #ffb98a; font-weight: 700; }
.pt-macro-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 11px; margin-bottom: 6px;
}
.pt-macro-row span:first-child { color: var(--muted); }
.pt-macro-row strong { font-weight: 700; }
.pt-track { color: var(--dim); font-size: 10px; }
.pt-macro-bar {
  height: 4px; border-radius: 2px; background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 12px;
}
.pt-macro-bar span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.pt-macro-bar.protein span { background: #00f0ff; opacity: 0.75; }
.pt-inbox-item {
  display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.pt-inbox-item:last-child { border-bottom: none; }
.pt-inbox-item.read { opacity: 0.65; }
.pt-inbox-item strong { display: block; font-size: 11px; margin-bottom: 3px; }
.pt-inbox-item p { font-size: 10px; line-height: 1.45; color: var(--muted); font-weight: 300; }
.pt-flag { color: var(--accent); flex-shrink: 0; }
.tier-note {
  padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--accent-soft); margin-bottom: 8px;
}
.tier-note p { font-size: 0.94rem; line-height: 1.6; color: var(--muted); font-weight: 300; }
.tier-note strong { color: var(--text); }
@media (max-width: 780px) { .pt-toolkit-grid { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.flow-item { padding: 0 12px; text-align: center; }
.flow-num {
  width: 40px; height: 40px; margin: 0 auto 10px; display: grid; place-items: center;
  border-radius: 50%; font-family: "Syne", sans-serif; font-weight: 700; font-size: 13px;
  color: var(--accent); background: var(--bg); border: 1px solid var(--accent-line);
}
.flow-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.flow-item p { font-size: 0.94rem; line-height: 1.55; color: var(--muted); font-weight: 300; }
@media (max-width: 780px) {
  .flow { grid-template-columns: 1fr; gap: 28px; }
  .flow-item { text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 0 16px; align-items: start; padding: 0; }
  .flow-num { margin: 0; grid-row: 1 / span 2; }
}

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pillar {
  padding: 14px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pillar:hover { border-color: var(--accent-line); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.pillar-tag { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.pillar h3 { font-family: "Syne", sans-serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 0.94rem; line-height: 1.6; font-weight: 300; }
.pillar ul { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.pillar li { font-size: 0.87rem; color: var(--dim); padding-left: 20px; position: relative; font-weight: 300; line-height: 1.45; }
.pillar li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
@media (max-width: 880px) { .pillars { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.feature {
  padding: 14px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.feature h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.feature p { font-size: 0.93rem; line-height: 1.55; color: var(--muted); font-weight: 300; }
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; } }

.note-box {
  margin-top: 10px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--accent-line); background: var(--accent-soft);
}
.note-box p { font-size: 0.92rem; line-height: 1.5; color: var(--muted); font-weight: 300; }
.note-box strong { color: var(--text); }

.journey-band,
.equation-band,
.audience-band,
.objection-band,
.vision-band {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
}
.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.journey-step {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card-bg);
}
.journey-step .js-n {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}
.journey-step h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.journey-step p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 300;
}
.score-example {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--accent-line);
  background: linear-gradient(160deg, rgba(224,106,46,0.1), rgba(255,255,255,0.02));
}
.score-example-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.score-example h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.score-example-load {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.score-example-form {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.score-example-form strong {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  color: var(--accent-bright);
}
.score-example-form span { color: var(--muted); font-size: 0.95rem; }
.score-example-cue {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}
.score-example-note {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  font-weight: 300;
}
.equation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
  margin: 16px 0 12px;
}
.equation > span:not(.eq-arrow) {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.eq-arrow { color: var(--accent); font-weight: 700; padding: 0 2px; }
.equation-formula {
  max-width: 56ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 14px;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.audience-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audience-card-gym {
  border-color: var(--accent-line);
  background: linear-gradient(160deg, rgba(224,106,46,0.08), rgba(255,255,255,0.02));
}
.audience-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.audience-card h3 {
  font-family: "Syne", sans-serif;
  font-size: 1.15rem;
}
.audience-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.audience-card li {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  padding: 5px 0;
  border-bottom: 1px solid var(--line);
}
.audience-card li:last-child { border-bottom: 0; }
.audience-card .btn { margin-top: 4px; align-self: flex-start; }
.objection-band h2 {
  max-width: 22ch;
  margin-bottom: 14px;
}
.objection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.objection-grid p {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
  font-weight: 500;
}
.vision-band h2 { max-width: 18ch; }
@media (max-width: 900px) {
  .journey-steps,
  .audience-grid,
  .objection-grid { grid-template-columns: 1fr 1fr; }
  .score-example { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .journey-steps,
  .audience-grid,
  .objection-grid { grid-template-columns: 1fr; }
}

.faq-band {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
}
.faq-list {
  max-width: 640px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-bg);
  padding: 0 14px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: "Syne", sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  padding: 14px 28px 14px 0;
  position: relative;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 600;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 14px;
  padding-top: 0;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 300;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.contact { text-align: center; padding-bottom: 16px; }
.contact .section-lede { margin-left: auto; margin-right: auto; }
.contact-note { margin-top: 10px; font-size: 13px; color: var(--dim); }
.contact-note a { color: var(--accent); font-weight: 600; }
.contact-jump {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px;
}
.contact-form-section {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}
.contact-form-wrap { max-width: 480px; margin: 0 auto; }
.contact-form-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 6px 0 8px;
  text-align: left;
}
.contact-form-lede {
  text-align: left;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 300;
  margin-bottom: 16px;
}
.pilot-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.pilot-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pilot-field span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.pilot-field em {
  font-style: normal;
  font-weight: 400;
  color: var(--dim);
}
.pilot-field input,
.pilot-field select,
.pilot-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 12px;
  outline: none;
  transition: border-color 0.15s ease;
}
.pilot-field input:focus,
.pilot-field select:focus,
.pilot-field textarea:focus {
  border-color: var(--accent-line);
}
.pilot-field textarea { resize: vertical; min-height: 64px; }
.pilot-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.pilot-honey {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.pilot-submit {
  width: 100%;
  margin-top: 4px;
  text-align: center;
  justify-content: center;
}

footer {
  text-align: center; padding: 14px 24px 16px; font-size: 12px; color: var(--dim);
  border-top: 1px solid var(--line); line-height: 1.5;
}
.footer-logos { margin-bottom: 8px; line-height: 1; }
.footer-logos img { height: 34px; width: auto; }
.footer-logos .footer-logo-dark { display: inline-block; }
.footer-logos .footer-logo-light { display: none; }
[data-theme="light"] .footer-logos .footer-logo-dark { display: none; }
[data-theme="light"] .footer-logos .footer-logo-light { display: inline-block; }
.checkin-row {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 3px;
}
.checkin-row svg { width: 11px; height: 11px; flex-shrink: 0; color: var(--app-accent); }
.frame-card .checkin-row { color: var(--app-muted); font-size: 10px; font-weight: 400; }

.hero-expand { margin-top: 8px; }
.hero-expand summary {
  cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent);
  list-style: none;
}
.hero-expand summary::-webkit-details-marker { display: none; }
.hero-pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-pill {
  font-size: 12px; padding: 7px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card-bg); color: var(--muted);
}
.hero-pill.live { border-color: var(--accent-line); color: var(--text); background: var(--accent-soft); }
.hero-pill.guide { opacity: 0.92; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,106,46,0.45); }
  70% { box-shadow: 0 0 0 9px rgba(224,106,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,106,46,0); }
}

/* Interactive scan demo (NFC / QR / manual) */
.scan-demo {
  margin-top: 8px; padding: 14px; border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(224,106,46,0.06), rgba(255,255,255,0.02));
}
.scan-demo h3 { font-family: "Syne", sans-serif; font-size: 1.2rem; margin-bottom: 8px; }
.scan-demo .demo-lede { color: var(--muted); font-size: 0.94rem; line-height: 1.55; margin-bottom: 12px; font-weight: 300; }
.scan-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.scan-tab {
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
  color: var(--muted); padding: 10px 16px; border-radius: 10px;
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.scan-tab:hover { border-color: var(--accent-line); color: var(--text); }
.scan-tab.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 8px 22px rgba(224,106,46,0.28);
}
.scan-stage {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center;
}
.scan-visual {
  min-height: 200px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(0,0,0,0.35); display: grid; place-items: center;
  padding: 24px; position: relative; overflow: hidden;
}
[data-theme="light"] .scan-visual { background: rgba(15, 23, 42, 0.04); }
.scan-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(224,106,46,0.12), transparent 60%);
}
[data-theme="light"] .scan-visual::after {
  background: radial-gradient(circle at 50% 40%, rgba(219, 108, 53, 0.08), transparent 60%);
}
.scan-icon-wrap {
  position: relative; z-index: 1; text-align: center;
}
.scan-icon {
  width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  animation: iconPulse 2.4s ease-in-out infinite;
}
.scan-icon svg { width: 34px; height: 34px; color: var(--accent); }
.scan-visual-label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); font-weight: 600;
}
.scan-copy h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.scan-copy p { font-size: 0.93rem; line-height: 1.55; color: var(--muted); font-weight: 300; }
.scan-panel { display: none; }
.scan-panel.is-active { display: block; animation: panelIn 0.35s ease both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes iconPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224,106,46,0.2); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 10px rgba(224,106,46,0); }
}
@media (max-width: 720px) {
  .scan-stage { grid-template-columns: 1fr; }
  .scan-visual { min-height: 170px; }
}

/* Deload mini chart */
.deload-block {
  margin-top: 12px; padding: 14px; border-radius: 14px;
  border: 1px solid var(--accent-line);
  background: linear-gradient(140deg, rgba(224,106,46,0.07), transparent);
}
.deload-block h3 { font-family: "Syne", sans-serif; font-size: 1.15rem; margin-bottom: 8px; }
.deload-block > p { font-size: 0.93rem; line-height: 1.5; color: var(--muted); font-weight: 300; margin-bottom: 12px; }
.deload-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.deload-bar {
  flex: 1; border-radius: 6px 6px 0 0; cursor: pointer;
  background: linear-gradient(180deg, var(--accent-bright), var(--accent));
  transform-origin: bottom; transform: scaleY(0.15);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.2s ease;
  opacity: 0.75;
}
.deload-bar.rest {
  background: linear-gradient(180deg, #6b7078, #454a52);
}
.deload-bar.is-highlight { opacity: 1; box-shadow: 0 0 18px rgba(224,106,46,0.35); }
.deload-block.is-visible .deload-bar { transform: scaleY(1); }
.deload-block.is-visible .deload-bar:nth-child(1) { transition-delay: 0.04s; }
.deload-block.is-visible .deload-bar:nth-child(2) { transition-delay: 0.08s; }
.deload-block.is-visible .deload-bar:nth-child(3) { transition-delay: 0.12s; }
.deload-block.is-visible .deload-bar:nth-child(4) { transition-delay: 0.16s; }
.deload-block.is-visible .deload-bar:nth-child(5) { transition-delay: 0.2s; }
.deload-block.is-visible .deload-bar:nth-child(6) { transition-delay: 0.24s; }
.deload-block.is-visible .deload-bar:nth-child(7) { transition-delay: 0.28s; }
.deload-block.is-visible .deload-bar:nth-child(8) { transition-delay: 0.32s; }
.deload-legend { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 16px; font-size: 11px; color: var(--dim); }
.deload-legend i {
  display: inline-block; width: 9px; height: 9px; border-radius: 2px;
  margin-right: 6px; vertical-align: -1px;
}
.deload-caption { margin-top: 8px; font-size: 0.88rem; color: var(--muted); min-height: 1.4em; font-weight: 300; }

.frame-card .scan-hint { color: var(--accent); }

.wait-band {
  position: relative; z-index: 1; padding: 20px 0 18px;
  border-top: 1px solid var(--line);
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(219, 108, 53, 0.12), transparent 60%);
}
.wait-band h2 {
  font-family: "Syne", sans-serif; font-weight: 700;
  font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: -0.02em;
  margin: 0 auto 10px; max-width: 22ch;
}
.wait-band .section-lede { margin: 0 auto 12px; max-width: 46ch; }
.wait-band .cta-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; }
  .splash { display: none; }
  .logo-mark { opacity: 1 !important; }
  .deload-bar { transform: scaleY(1) !important; }
  .scan-panel { display: block; }
  .scan-panel:not(:first-child) { display: none; }
  .device-screen .app-frame { display: none !important; opacity: 0 !important; visibility: hidden !important; }
  .device-screen .app-frame.is-active,
  .device-screen .app-frame[data-frame="2"] { display: block !important; opacity: 1 !important; visibility: visible !important; z-index: 4; }
}
