/* Adrenaline homepage. Tokens first; seasons override the tokens, not the layout. */
:root {
  --h-bg: #09090B; --h-panel: #111114; --h-panel-2: #16161A; --h-sunken: #0B0B0D;
  --h-line: #26262C; --h-line-soft: #1C1C21;
  --h-text: #FAFAFA; --h-muted: #A1A1AA; --h-faint: #8A8A93;
  --h-accent: #F50332; --h-accent-hot: #FF2D55; --h-on-accent: #FFFFFF; --h-accent-soft: rgba(245, 3, 50, .12);
  --h-good: #22C55E; --h-glow: rgba(245, 3, 50, .18);
  --h-radius: 16px; --h-radius-md: 12px;
  --h-font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --h-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
html[data-theme="light"] {
  --h-bg: #FAFAFA; --h-panel: #FFFFFF; --h-panel-2: #F4F4F5; --h-sunken: #F4F4F5;
  --h-line: #E4E4E7; --h-line-soft: #EDEDF0;
  --h-text: #0A0A0B; --h-muted: #52525B; --h-faint: #71717A;
  --h-accent: #D9022C; --h-accent-hot: #F50332; --h-accent-soft: rgba(217, 2, 44, .09); --h-glow: rgba(217, 2, 44, .10);
}
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
.h-body { margin: 0; background: var(--h-bg); color: var(--h-text); font: 400 16px/1.6 var(--h-font); -webkit-font-smoothing: antialiased; }
.h-body h1, .h-body h2, .h-body h3, .h-body h4 { font-family: var(--h-font); color: var(--h-text); letter-spacing: -.02em; margin: 0; text-transform: none; }
.h-body a { color: inherit; }
.h-body p a, .h-fine a { color: var(--h-accent); text-decoration: none; }
.h-body p a:hover { text-decoration: underline; }
.h-body code { font-family: var(--h-mono); font-size: .9em; background: var(--h-panel-2); padding: 1px 6px; border-radius: 6px; }
.h-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.h-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons */
.h-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 10px; font: 600 14px/1 var(--h-font); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.h-btn--lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.h-body .h-btn--primary { background: var(--h-accent); color: var(--h-on-accent); }
.h-body .h-btn--primary:hover { background: var(--h-accent-hot); color: var(--h-on-accent); }
.h-body .h-btn--ghost { background: var(--h-panel); color: var(--h-text); border-color: var(--h-line); }
.h-btn--ghost:hover { border-color: var(--h-faint); }
.h-body a:focus-visible, .h-body button:focus-visible { outline: 2px solid var(--h-accent); outline-offset: 2px; }
.h-icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; background: transparent; border: 1px solid transparent; color: var(--h-muted); cursor: pointer; }
.h-icon-btn:hover { color: var(--h-text); border-color: var(--h-line); }
.h-ico--moon { display: none; }
html[data-theme="light"] .h-ico--sun { display: none; }
html[data-theme="light"] .h-ico--moon { display: block; }

/* Nav */
.h-nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--h-bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--h-line-soft); padding-top: env(safe-area-inset-top, 0px); }
.h-nav__row { display: flex; align-items: center; gap: 28px; height: 64px; }
.h-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; text-decoration: none; color: var(--h-text); }
.h-brand img { border-radius: 8px; object-fit: contain; }
.h-nav__links { display: flex; gap: 22px; }
.h-nav__links a { color: var(--h-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.h-nav__links a:hover { color: var(--h-text); }
.h-nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

/* Hero */
.h-hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.h-hero::before { content: ""; position: absolute; inset: -30% -10% auto 35%; height: 720px; background: radial-gradient(closest-side, var(--h-glow), transparent); pointer-events: none; }
.h-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.h-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 12px; border: 1px solid var(--h-line); border-radius: 999px; background: var(--h-panel); font-size: 13px; color: var(--h-muted); }
.h-pill__sep { width: 1px; height: 12px; background: var(--h-line); }
.h-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--h-faint); flex: none; }
.h-dot--good { background: var(--h-good); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.h-hero h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; font-weight: 700; letter-spacing: -.035em; margin: 0 0 20px; }
.h-lead { font-size: 18px; color: var(--h-muted); max-width: 520px; margin: 0 0 28px; }
.h-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.h-hero__actions--center { justify-content: center; }
.h-fine { margin: 18px 0 0; font-size: 14px; color: var(--h-faint); }
.h-hero__art { position: relative; padding: 0 28px 44px 0; }
.h-window { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--h-line); background: var(--h-panel); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.h-window__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--h-line-soft); background: var(--h-panel-2); }
.h-window__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--h-line); }
.h-window__bar em { margin-left: 12px; font: 400 12px/1 var(--h-mono); color: var(--h-faint); font-style: normal; }
.h-window img { display: block; width: 100%; height: auto; }
.h-phone { position: absolute; right: 0; bottom: 0; width: 26%; margin: 0; border-radius: 22px; overflow: hidden; border: 6px solid #1A1A1F; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); background: #000; }
.h-phone img { display: block; width: 100%; height: auto; }
.h-toast { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--h-panel); border: 1px solid var(--h-line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); font-size: 13px; }
.h-toast strong { display: block; font-weight: 600; }
.h-toast span { color: var(--h-muted); }
.h-toast .h-ico { color: var(--h-accent); }
.h-toast--call { left: -28px; top: 26%; }
.h-toast--unit { left: 12%; bottom: 8px; }

/* Social proof */
.h-proof { padding: 18px 0 8px; }
.h-proof__label { margin: 0 0 14px; text-align: center; font-size: 13px; color: var(--h-faint); }
.h-proof__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.h-proof__row img { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--h-line); background: var(--h-panel); }

/* Vitals */
.h-vitals { padding: 36px 0; }
.h-vitals__grid { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--h-line); border-radius: var(--h-radius); background: var(--h-panel); overflow: hidden; }
.h-vitals .vital { padding: 22px 16px; border-right: 1px solid var(--h-line-soft); text-align: center; }
.h-vitals .vital:last-child { border-right: 0; }
.h-vitals .vital-value { font: 600 26px/1.1 var(--h-mono); color: var(--h-text); letter-spacing: -.02em; }
.h-vitals .vital-label { margin-top: 6px; font-size: 13px; color: var(--h-faint); }

/* Sections */
.h-section { padding: 88px 0; }
.h-section--tint { background: var(--h-sunken); border-top: 1px solid var(--h-line-soft); border-bottom: 1px solid var(--h-line-soft); }
.h-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.h-head--left { margin: 0; text-align: left; }
.h-head h2, .h-row h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 700; margin-bottom: 14px; }
.h-head p, .h-row p { color: var(--h-muted); font-size: 17px; margin: 0; }
.h-head--left .h-btn { margin-top: 22px; }

/* Showcase rows */
.h-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.h-row + .h-row { margin-top: 96px; }
.h-row--flip .h-row__copy { order: 2; }
.h-tile { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--h-accent-soft); color: var(--h-accent); margin-bottom: 18px; }
.h-tile .h-ico { width: 22px; height: 22px; }
.h-checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.h-checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--h-text); font-size: 15px; }
.h-checks .h-ico { width: 18px; height: 18px; color: var(--h-accent); margin-top: 3px; }
.h-shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--h-line); background: var(--h-panel); box-shadow: 0 24px 64px rgba(0, 0, 0, .35); }
.h-shot img { display: block; width: 100%; height: auto; }
.h-shot--phone { justify-self: center; width: min(300px, 70%); border-radius: 28px; border: 8px solid #1A1A1F; }

/* Feature grid (admin-editable content) */
.h-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.h-card { background: var(--h-panel); border: 1px solid var(--h-line-soft); border-radius: var(--h-radius); padding: 24px; transition: border-color .15s, transform .15s; }
.h-card:hover { border-color: var(--h-line); transform: translateY(-2px); }
.h-card h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.h-card p { margin: 0; color: var(--h-muted); font-size: 15px; line-height: 1.55; }

/* Steps */
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: step; }
.h-step { position: relative; background: var(--h-panel); border: 1px solid var(--h-line-soft); border-radius: var(--h-radius); padding: 24px; }
.h-step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.h-step__num { font: 500 13px/1 var(--h-mono); color: var(--h-faint); }
.h-step h3 { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.h-step p { margin: 0; color: var(--h-muted); font-size: 15px; }

/* Plans teaser */
.h-plans { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.h-plan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.h-plan { background: var(--h-panel); border: 1px solid var(--h-line); border-radius: var(--h-radius); padding: 24px; }
.h-plan--plus { border-color: color-mix(in srgb, var(--h-accent) 55%, var(--h-line)); }
.h-plan h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; }
.h-plan--plus h3 { color: var(--h-accent); }
.h-plan__price { font: 600 30px/1.1 var(--h-mono); margin: 12px 0 0; color: var(--h-text); }
.h-plan__price small { font: 400 13px/1 var(--h-font); color: var(--h-muted); }
.h-plan .h-checks { margin-top: 18px; }

/* FAQ */
.h-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.h-faq { border-top: 1px solid var(--h-line); }
.h-faq__item { border-bottom: 1px solid var(--h-line); }
.h-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; background: none; border: 0; color: var(--h-text); font: 600 16px/1.4 var(--h-font); text-align: left; cursor: pointer; }
.h-faq__q .h-ico { color: var(--h-faint); transition: transform .2s; }
.h-faq__q[aria-expanded="true"] .h-ico { transform: rotate(180deg); }
.h-faq__a { margin: 0; padding: 0 2px 18px; color: var(--h-muted); font-size: 15px; }
.h-faq__a[hidden] { display: none; }

/* CTA + footer */
.h-cta { padding: 96px 0; text-align: center; position: relative; overflow: hidden; }
.h-cta::before { content: ""; position: absolute; left: 50%; top: 0; width: 760px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, var(--h-glow), transparent); pointer-events: none; }
.h-cta__inner { position: relative; max-width: 720px; }
.h-cta__mark { border-radius: 16px; margin-bottom: 22px; object-fit: contain; }
.h-cta h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 700; margin-bottom: 14px; }
.h-cta p { color: var(--h-muted); font-size: 17px; margin: 0 0 28px; }
.h-footer { border-top: 1px solid var(--h-line-soft); padding: 48px 0 calc(48px + env(safe-area-inset-bottom, 0px)); }
.h-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.h-footer p { color: var(--h-faint); font-size: 14px; margin: 12px 0 0; max-width: 280px; }
.h-footer h4 { font-size: 13px; font-weight: 600; color: var(--h-muted); margin-bottom: 12px; }
.h-footer a:not(.h-brand), .h-footer span { display: block; color: var(--h-faint); text-decoration: none; font-size: 14px; margin: 0 0 8px; }
.h-footer a:not(.h-brand):hover { color: var(--h-text); }

/* Phones and tablets */
@media (max-width: 960px) {
  .h-nav__links { display: none; }
  .h-hero { padding-top: 44px; }
  .h-hero__grid, .h-row, .h-plans, .h-faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .h-row--flip .h-row__copy { order: 0; }
  .h-row + .h-row { margin-top: 64px; }
  .h-grid, .h-steps { grid-template-columns: 1fr 1fr; }
  .h-vitals__grid { grid-template-columns: repeat(3, 1fr); }
  .h-vitals .vital:nth-child(3n) { border-right: 0; }
  .h-vitals .vital:nth-child(-n+3) { border-bottom: 1px solid var(--h-line-soft); }
  .h-footer__grid { grid-template-columns: 1fr 1fr; }
  .h-toast--call { left: 0; }
}
@media (max-width: 600px) {
  .h-nav__actions .h-btn--ghost { display: none; }
  .h-nav__actions .h-btn--primary { height: 36px; padding: 0 12px; font-size: 13px; }
  .h-section { padding: 64px 0; }
  .h-grid, .h-steps, .h-plan-cards { grid-template-columns: 1fr; }
  .h-vitals__grid { grid-template-columns: 1fr 1fr; }
  .h-vitals .vital { border-right: 1px solid var(--h-line-soft) !important; border-bottom: 1px solid var(--h-line-soft); }
  .h-vitals .vital:nth-child(2n) { border-right: 0 !important; }
  .h-toast { display: none; }
  .h-hero__art { padding: 0 16px 36px 0; }
  .h-btn--lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .h-card, .h-faq__q .h-ico { transition: none; } }

/* ---- Products menu: a bento layout (featured CAD and Mod Panel tiles, then grouped products) */
.h-menu { position: relative; display: inline-flex; }
.h-menu__btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.h-menu__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.h-menu__panel { position: absolute; top: calc(100% + 14px); left: -24px; z-index: 60; display: none; width: min(860px, calc(100vw - 32px)); padding: 10px; border-radius: 22px; border: 1px solid var(--h-line, #26262C); background: var(--h-panel, #111114); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.h-menu__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.h-menu:hover .h-menu__panel, .h-menu:focus-within .h-menu__panel, .h-menu.is-open .h-menu__panel { display: block; animation: h-menu-in .14s ease-out forwards; }
@keyframes h-menu-in { from { transform: translateY(-4px); } to { transform: none; } }
.h-menu:hover .h-menu__btn svg, .h-menu.is-open .h-menu__btn svg { transform: rotate(180deg); }
.h-menu__bento { display: grid; grid-template-columns: 290px 1fr; gap: 10px; }
.h-menu__feat { display: grid; gap: 10px; align-content: start; }
.h-menu__tile { display: grid; gap: 6px; padding: 18px; border-radius: 16px; border: 1px solid var(--h-line-soft, #1C1C21); color: var(--h-text, #FAFAFA) !important; text-decoration: none; transition: border-color .15s; }
.h-menu__tile:hover, .h-menu__tile:focus-visible { border-color: var(--h-line, #26262C); outline: none; }
.h-menu__tile--cad { background: radial-gradient(120% 90% at 100% 0%, rgba(245, 3, 50, .22), transparent 60%), var(--h-sunken, #0C0C0F); }
.h-menu__tile--panel { background: radial-gradient(120% 90% at 100% 0%, rgba(74, 222, 128, .16), transparent 60%), var(--h-sunken, #0C0C0F); }
.h-menu__tile img { width: 44px; height: 44px; object-fit: contain; }
.h-menu__tile strong { margin-top: 4px; font-size: 16px; font-weight: 700; }
.h-menu__tile small { color: var(--h-muted, #A1A1AA); font-size: 13.5px; line-height: 1.45; }
.h-menu__add { justify-content: center; }
.h-menu__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 6px; }
.h-menu__label { margin: 4px 10px 8px; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--h-faint, #8A8A93); }
.h-menu__row { display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--h-text, #FAFAFA) !important; text-decoration: none; }
.h-menu__row:hover, .h-menu__row:focus-visible { background: var(--h-panel-2, #18181C); outline: none; }
.h-menu__row strong { display: block; font-size: 14.5px; font-weight: 600; }
.h-menu__row strong em { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(45, 212, 191, .14); color: #2DD4BF; font: 700 10.5px/1.5 var(--h-font, "Geist", sans-serif); font-style: normal; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }
.h-menu__row small { display: block; margin-top: 1px; color: var(--h-muted, #A1A1AA); font-size: 13px; line-height: 1.4; }
.h-menu__sq { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); flex: none; }
.h-menu__sq svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.h-menu__tile .h-menu__sq { width: 44px; height: 44px; border-radius: 12px; }
.h-menu__tile .h-menu__sq svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .h-menu { display: none; } }
@media (prefers-reduced-motion: reduce) { .h-menu__panel { animation: none !important; } .h-menu__btn svg, .h-menu__tile { transition: none; } }
