:root {
  --bg: #07080b;
  --bg-2: #0b0d12;
  --surface: #10131a;
  --surface-2: #141821;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.17);
  --text: #f6f8fb;
  --muted: #9ba4b4;
  --faint: #6f7785;
  --magenta: #ff00c8;
  --cyan: #00dbfc;
  --green: #7bff00;
  --amber: #ffce51;
  --danger: #ff6f73;
  --radius: 28px;
  --shell: min(1180px, calc(100vw - 40px));
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: var(--cyan); color: #020406; }
.shell { width: var(--shell); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 18px; top: 12px; z-index: 1000; background: white; color: black; padding: 10px 14px; border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: linear-gradient(180deg, rgba(7,8,11,.92), rgba(7,8,11,.54), transparent); transition: background .2s ease, border-color .2s ease; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7,8,11,.91); backdrop-filter: blur(18px); border-color: var(--line); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { width: 182px; display: inline-flex; }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 30px; color: #c7ced9; font-size: 14px; font-weight: 750; }
.primary-nav a { transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: white; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: var(--surface); color: white; border-radius: 12px; padding: 10px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; background: white; margin: 4px 0; border-radius: 99px; }

.hero { min-height: 900px; padding: 150px 0 86px; position: relative; overflow: clip; display: flex; align-items: center; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 88%); }
.orb { position: absolute; width: 640px; height: 640px; border-radius: 50%; filter: blur(85px); opacity: .15; pointer-events: none; }
.orb-one { left: -260px; top: 190px; background: var(--magenta); }
.orb-two { right: -270px; top: 55px; background: var(--cyan); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .88fr; align-items: center; gap: 54px; }
.eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: .18em; font-weight: 900; color: var(--cyan); }
.hero-copy h1, .section-heading h2, .muscle-copy h2, .progress-copy h2, .fit-card h2, .cta-card h2 { font-family: var(--display); font-weight: 900; letter-spacing: .015em; text-transform: uppercase; line-height: .92; margin: 0; }
.hero-copy h1 { font-size: clamp(64px, 7.8vw, 116px); max-width: 770px; }
.hero-copy h1 span { background: linear-gradient(90deg, var(--magenta), var(--cyan) 52%, var(--green)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero-lede { color: #b9c2d0; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.65; max-width: 660px; margin: 30px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.button { min-height: 50px; padding: 0 22px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; letter-spacing: .02em; border: 1px solid transparent; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #020406; background: linear-gradient(90deg, var(--cyan), var(--green)); box-shadow: 0 16px 40px rgba(0,219,252,.15); }
.button-ghost { background: rgba(255,255,255,.035); border-color: var(--line-strong); color: white; }
.hero-points { margin-top: 30px; display: flex; gap: 18px; flex-wrap: wrap; color: #aab3c0; font-size: 13px; font-weight: 750; }
.hero-points span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; box-shadow: 0 0 16px rgba(123,255,0,.45); }

.hero-visual { min-height: 690px; position: relative; display: grid; place-items: center; }
.phone-glow { position: absolute; width: 420px; height: 600px; border-radius: 48%; background: linear-gradient(150deg, rgba(255,0,200,.22), rgba(0,219,252,.21), rgba(123,255,0,.11)); filter: blur(54px); }
.phone-shell { width: min(370px, 78vw); height: 720px; border: 1px solid rgba(255,255,255,.24); border-radius: 52px; background: #050609; padding: 12px; position: relative; transform: rotate(2.3deg); box-shadow: 0 45px 120px rgba(0,0,0,.58), inset 0 0 0 2px rgba(255,255,255,.035); }
.phone-camera { position: absolute; width: 100px; height: 25px; border-radius: 0 0 14px 14px; background: #050609; left: 50%; top: 11px; transform: translateX(-50%); z-index: 5; }
.phone-shell.phone-shell--screenshot { max-width: 100%; padding: 0; border: 0; background: none; box-shadow: none; transform: none; }
.hero-visual:has(.phone-shell--screenshot) { grid-template-columns: minmax(0, 1fr); }
.hero-phone-image { width: 100%; height: 100%; object-fit: contain; }
.phone-screen { height: 100%; border-radius: 41px; overflow: hidden; padding: 34px 18px 16px; background: radial-gradient(circle at 84% 12%, rgba(0,219,252,.12), transparent 32%), linear-gradient(180deg, #11141a, #090b0f); display: flex; flex-direction: column; gap: 14px; }
.app-topbar { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-size: 18px; letter-spacing: .04em; }
.app-topbar img { width: 30px; height: 30px; object-fit: contain; }
.pulse-dot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px rgba(123,255,0,.8); }
.app-greeting p { margin: 2px 0 4px; color: #7f8998; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.app-greeting h2 { margin: 0; font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 31px; line-height: 1; }
.readiness-panel, .suggestion-panel { background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 900; margin-bottom: 12px; letter-spacing: .02em; }
.live-pill { font-size: 7px; color: #010405; background: var(--green); padding: 3px 6px; border-radius: 99px; }
.readiness-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 9px; margin-top: 9px; }
.readiness-row img { width: 30px; height: 30px; object-fit: contain; opacity: .92; }
.readiness-row strong { display: block; font-size: 11px; line-height: 1.2; }
.readiness-row small { display: block; color: #7d8795; font-size: 8px; margin-top: 3px; }
.readiness-row b { font-size: 11px; color: var(--green); }
.meter { height: 4px; border-radius: 99px; overflow: hidden; background: #20252e; margin: 7px 0 2px 43px; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--green)); border-radius: 99px; }
.meter-mid span { background: linear-gradient(90deg, #8c70ff, var(--cyan)); }
.meter-low span { background: linear-gradient(90deg, #ff5a87, var(--amber)); }
.meter-mid + .readiness-row b, .readiness-row:nth-of-type(4) b { color: var(--cyan); }
.workout-card { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); color: #9da7b5; font-size: 9px; }
.workout-card.best { border-top: 0; padding-top: 0; }
.workout-card strong { display: block; color: white; font-size: 12px; margin-top: 3px; }
.tag { color: var(--green); font-size: 7px; font-weight: 900; letter-spacing: .09em; }
.tag.muted { color: var(--cyan); }
.phone-nav { margin-top: auto; display: grid; grid-template-columns: repeat(4,1fr); padding-top: 8px; border-top: 1px solid var(--line); color: #5f6874; font-size: 8px; text-align: center; }
.phone-nav .active { color: var(--green); }
.floating-card { position: absolute; z-index: 7; background: rgba(13,16,22,.93); backdrop-filter: blur(18px); border: 1px solid var(--line-strong); border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 24px 55px rgba(0,0,0,.42); }
.floating-card small { display: block; color: #6f7886; font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.floating-card strong { display: block; font-size: 11px; margin-top: 2px; }
.float-card-one { left: -20px; top: 180px; }
.float-card-two { right: -28px; bottom: 150px; }
.mini-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 900; }
.mini-icon.check { background: rgba(123,255,0,.13); color: var(--green); }
.mini-icon.chart { background: rgba(0,219,252,.13); color: var(--cyan); }

.section { padding: 112px 0; position: relative; }
.section-intro { background: linear-gradient(180deg, #0a0c10, var(--bg)); border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading h2, .muscle-copy h2, .progress-copy h2, .fit-card h2, .cta-card h2 { font-size: clamp(48px, 6vw, 78px); }
.section-heading > p:last-child, .muscle-copy > p, .progress-copy > p, .fit-card > p { color: #aeb7c5; font-size: 18px; max-width: 720px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 320px; border: 1px solid var(--line); border-radius: 24px; padding: 24px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.018)); position: relative; overflow: hidden; }
.feature-card::after { content: ""; position: absolute; inset: auto -30px -80px auto; width: 160px; height: 160px; border-radius: 50%; background: var(--cyan); opacity: .035; filter: blur(14px); }
.feature-number { position: absolute; top: 20px; right: 22px; color: #464d59; font-family: var(--display); font-size: 22px; }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; border: 1px solid var(--line-strong); background: #11151c; color: var(--cyan); font-size: 20px; font-weight: 950; margin-bottom: 36px; }
.gradient-ring { background: linear-gradient(#11151c,#11151c) padding-box, linear-gradient(135deg,var(--magenta),var(--cyan),var(--green)) border-box; border: 1px solid transparent; }
.feature-card h3 { font-size: 22px; margin: 0 0 12px; }
.feature-card p { color: #a6afbc; margin: 0 0 18px; }
.benefit { display: block; color: #d9dee7; font-size: 13px; }

.muscle-section { overflow: hidden; background: radial-gradient(circle at 80% 40%, rgba(0,219,252,.08), transparent 30%), #080a0e; border-block: 1px solid var(--line); }
.muscle-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 74px; align-items: center; }
.callout-line { margin-top: 30px; display: grid; grid-template-columns: 3px 1fr; gap: 18px; align-items: stretch; max-width: 520px; }
.callout-line span { border-radius: 99px; background: linear-gradient(var(--magenta),var(--cyan),var(--green)); }
.callout-line p { margin: 0; font-size: 19px; font-weight: 800; line-height: 1.5; }
.muscle-board { display: grid; grid-template-columns: repeat(2,1fr); gap: 13px; padding: 24px; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.015)); border-radius: 28px; }
.muscle-chip { min-height: 126px; border: 1px solid var(--line); background: #0f1218; border-radius: 18px; padding: 14px; display: grid; grid-template-columns: 54px 1fr; align-items: center; column-gap: 12px; }
.muscle-chip img { width: 48px; height: 48px; object-fit: contain; grid-row: span 2; opacity: .92; }
.muscle-chip span { font-size: 15px; font-weight: 900; align-self: end; }
.muscle-chip b { font-size: 10px; color: var(--green); align-self: start; }
.muscle-chip.mid b { color: var(--cyan); }
.muscle-chip.low b { color: var(--amber); }
.muscle-chip.ready { box-shadow: inset 0 0 0 1px rgba(123,255,0,.05); }
.muscle-chip.mid { box-shadow: inset 0 0 0 1px rgba(0,219,252,.05); }
.muscle-chip.low { box-shadow: inset 0 0 0 1px rgba(255,206,81,.08); }

.how-section { background: #0b0d12; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step { padding: 8px 6px 0; }
.step-top { display: grid; grid-template-columns: 50px 1fr; align-items: center; gap: 15px; margin-bottom: 28px; }
.step-top span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,var(--magenta),var(--cyan),var(--green)); color: #020407; font-weight: 950; }
.step-top i { height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.25), transparent); }
.step h3 { font-size: 22px; margin: 0 0 10px; }
.step p { color: #9ca6b5; margin: 0; }

.progress-section { background: radial-gradient(circle at 15% 80%, rgba(255,0,200,.075), transparent 30%), var(--bg); }
.progress-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: #d7dce4; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #020406; background: var(--green); font-size: 12px; font-weight: 950; }
.progress-dashboard { border: 1px solid var(--line-strong); border-radius: 30px; background: linear-gradient(165deg,#11151c,#0b0e13); padding: 26px; box-shadow: 0 34px 90px rgba(0,0,0,.42); }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dash-head small { display: block; color: #7d8795; font-size: 9px; letter-spacing: .16em; font-weight: 900; }
.dash-head strong { display: block; font-size: 19px; margin-top: 4px; }
.dash-head > span { border: 1px solid var(--line); border-radius: 99px; padding: 6px 9px; color: #7f8997; font-size: 8px; font-weight: 900; }
.chart-wrap { margin: 22px -4px 10px; }
.chart-wrap svg { width: 100%; height: auto; }
.grid-lines line { stroke: rgba(255,255,255,.06); stroke-width: 1; }
.trend-line { filter: drop-shadow(0 0 11px rgba(0,219,252,.26)); }
.dash-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.dash-stats > div { border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.025); padding: 12px; }
.dash-stats small { display: block; color: #6f7886; font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.dash-stats strong { display: block; font-size: 20px; margin: 4px 0 1px; }
.dash-stats span { color: #7f8995; font-size: 9px; }
.dash-stats .up { color: var(--green); }

.fit-section { border-top: 1px solid var(--line); background: linear-gradient(180deg,#0b0d12,#080a0d); }
.fit-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.fit-card { position: relative; overflow: hidden; min-height: 520px; border: 1px solid var(--line); border-radius: 30px; padding: 48px; background: radial-gradient(circle at 90% 10%, rgba(0,219,252,.11), transparent 32%), linear-gradient(145deg,#11151c,#0b0d12); }
.fit-card > img { width: 210px; opacity: .14; position: absolute; right: 30px; bottom: 24px; filter: saturate(1.25); }
.fit-card h2 { max-width: 720px; position: relative; z-index: 2; }
.fit-card p { position: relative; z-index: 2; max-width: 660px; }
.benefit-stack { display: grid; gap: 14px; }
.benefit-stack > div { border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); padding: 22px; display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; }
.benefit-stack span { width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 13px; display: grid; place-items: center; color: var(--cyan); font-family: var(--display); font-size: 18px; grid-row: span 2; }
.benefit-stack strong { font-size: 17px; align-self: end; }
.benefit-stack p { margin: 3px 0 0; color: #8d97a5; font-size: 14px; }

.final-cta { padding-top: 60px; }
.cta-card { border: 1px solid var(--line-strong); border-radius: 34px; padding: 72px 40px; text-align: center; overflow: hidden; position: relative; background: radial-gradient(circle at 50% 0%, rgba(0,219,252,.13), transparent 36%), linear-gradient(145deg,#11151c,#0a0c10); }
.cta-card::before { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: linear-gradient(90deg,var(--magenta),var(--cyan),var(--green)); }
.cta-mark { width: 86px; height: 86px; margin: 0 auto 25px; border-radius: 26px; overflow: hidden; box-shadow: 0 16px 45px rgba(0,0,0,.35); }
.cta-mark img { width: 100%; height: 100%; object-fit: cover; }
.cta-card h2 { max-width: 870px; margin: 0 auto; }
.cta-card > p:not(.eyebrow) { color: #abb4c1; max-width: 680px; margin: 24px auto 28px; font-size: 18px; }

.site-footer { padding: 42px 0 54px; }
.footer-wrap { border-top: 1px solid var(--line); padding-top: 32px; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 28px; color: #747d8a; font-size: 12px; }
.footer-brand { width: 160px; opacity: .82; }
.footer-wrap p { margin: 0; text-align: center; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero { min-height: auto; padding-bottom: 100px; }
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { max-width: 760px; }
  .hero-visual { min-height: 760px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .muscle-layout, .progress-layout, .fit-layout { grid-template-columns: 1fr; }
  .muscle-board { max-width: 760px; }
  .progress-dashboard { max-width: 780px; }
  .fit-card { min-height: auto; }
}

@media (max-width: 760px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .site-header { background: rgba(7,8,11,.88); backdrop-filter: blur(15px); }
  .nav-wrap { min-height: 70px; }
  .brand { width: 145px; }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; top: 70px; left: 14px; right: 14px; display: none; padding: 18px; border: 1px solid var(--line-strong); background: rgba(11,13,18,.98); border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.45); flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: 12px 8px; }
  .hero { padding-top: 118px; }
  .hero-copy h1 { font-size: clamp(42px, 13vw, 84px); }
  .hero-lede { font-size: 17px; }
  .hero-points { gap: 10px 15px; }
  .hero-visual { min-height: 690px; }
  .phone-shell { height: 650px; width: 335px; }
  .float-card-one { left: 0; top: 154px; }
  .float-card-two { right: 0; bottom: 116px; }
  .section { padding: 86px 0; }
  .section-heading h2, .muscle-copy h2, .progress-copy h2, .fit-card h2, .cta-card h2 { font-size: clamp(44px, 13vw, 66px); overflow-wrap: anywhere; }
  .feature-grid, .steps-grid, .muscle-board { grid-template-columns: 1fr; }
  .feature-card { min-height: 280px; }
  .dash-stats { grid-template-columns: 1fr; }
  .fit-card { padding: 34px 26px; }
  .benefit-stack > div { grid-template-columns: 44px 1fr; }
  .footer-wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-wrap p { max-width: 500px; }
}

@media (max-width: 480px) {
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 645px; }
  .phone-shell { width: 304px; height: 620px; border-radius: 44px; }
  .phone-screen { border-radius: 34px; padding-left: 14px; padding-right: 14px; }
  .float-card-one { left: -2px; top: 154px; }
  .float-card-two { right: -1px; bottom: 82px; }
  .floating-card { transform: scale(.9); }
  .float-card-one { transform-origin: left center; }
  .float-card-two { transform-origin: right center; }
  .section-heading > p:last-child, .muscle-copy > p, .progress-copy > p, .fit-card > p, .cta-card > p:not(.eyebrow) { font-size: 16px; }
  .cta-card { padding: 56px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Closed beta and legal links */
.beta-pill { width: fit-content; margin: 16px 0 20px; padding: 9px 13px; display: inline-flex; align-items: center; gap: 9px; border: 1px solid rgba(123,255,0,.28); border-radius: 999px; background: rgba(123,255,0,.07); color: #dfffc5; font-size: 12px; line-height: 1; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.beta-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px rgba(123,255,0,.7); }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 14px; flex-wrap: wrap; }
.footer-links a { color: #9aa5b4; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus-visible { color: #fff; }

/* Privacy policy */
.legal-main { padding: 150px 0 100px; min-height: 100vh; background: radial-gradient(circle at 20% 0%, rgba(0,219,252,.07), transparent 30%), radial-gradient(circle at 90% 10%, rgba(255,0,200,.055), transparent 28%), var(--bg); }
.legal-shell { width: min(100% - 40px, 920px); margin: 0 auto; }
.legal-hero { padding-bottom: 42px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { margin: 8px 0 18px; font-family: var(--display); font-size: clamp(52px, 8vw, 88px); line-height: .95; letter-spacing: -.035em; }
.legal-hero > p:last-child { max-width: 760px; color: #aeb7c4; font-size: 18px; line-height: 1.7; }
.legal-meta { margin-top: 18px; display: flex; gap: 12px; flex-wrap: wrap; color: #7f8997; font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.legal-toc { margin: 34px 0 14px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.02); display: flex; flex-wrap: wrap; gap: 10px 16px; }
.legal-toc a { color: #c7d0dd; text-decoration: none; font-size: 13px; font-weight: 800; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--cyan); }
.legal-section { padding: 40px 0; border-bottom: 1px solid var(--line); }
.legal-section h2 { margin: 0 0 16px; font-family: var(--display); font-size: clamp(30px, 5vw, 44px); letter-spacing: -.02em; }
.legal-section h3 { margin: 28px 0 10px; font-size: 19px; }
.legal-section p, .legal-section li { color: #aab4c1; line-height: 1.75; font-size: 15px; }
.legal-section ul { padding-left: 22px; display: grid; gap: 10px; }
.legal-section strong { color: #f4f7fb; }
.legal-note { margin: 22px 0 0; padding: 18px 20px; border-left: 3px solid var(--cyan); background: rgba(0,219,252,.055); border-radius: 0 14px 14px 0; }
.legal-warning { border-left-color: var(--magenta); background: rgba(255,0,200,.05); }
.privacy-form { margin-top: 24px; display: grid; gap: 16px; }
.privacy-form label { display: grid; gap: 7px; color: #dfe5ee; font-size: 13px; font-weight: 800; }
.privacy-form input, .privacy-form select, .privacy-form textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; background: #0c1016; color: #fff; padding: 13px 14px; font: inherit; outline: none; }
.privacy-form input:focus, .privacy-form select:focus, .privacy-form textarea:focus { border-color: rgba(0,219,252,.65); box-shadow: 0 0 0 3px rgba(0,219,252,.08); }
.privacy-form textarea { min-height: 130px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.legal-back { display: inline-flex; margin-top: 34px; color: #c6cfdb; text-decoration: none; font-weight: 800; }
.legal-back:hover, .legal-back:focus-visible { color: var(--cyan); }

@media (max-width: 760px) {
  .footer-links { justify-content: center; }
  .form-grid { grid-template-columns: 1fr; }
  .legal-main { padding-top: 115px; }
}
