:root {
  color-scheme: dark;
  --black: #08080a;
  --base: #101013;
  --surface: #17171b;
  --red: #dc143c;
  --accent: #ff6680;
  --white: #fafafa;
  --muted: #bfbfc4;
  --line: #37373c;
  --radius: 12px;
  --max: 1160px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--base);
  color: var(--white);
  font: 1rem/1.6 system-ui, "Segoe UI", sans-serif;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0 0 .75rem; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.04em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p, .muted { color: var(--muted); }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 3rem), var(--max)); margin-inline: auto; }
.skip {
  position: fixed;
  inset: 1rem auto auto 1rem;
  transform: translateY(-200%);
  padding: .7rem 1rem;
  background: var(--white);
  color: var(--black);
  z-index: 30;
}
.skip:focus { transform: none; }
#app { min-height: 60vh; }

.site-footer { background: var(--black); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background-color: #08080af5;
  border-bottom: 1px solid #dc143c65;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled {
  background-color: #131316fa;
  border-color: #dc143c78;
  box-shadow: 0 10px 26px #0006;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.header-inner {
  --header-logo-width: clamp(108px, 11vw, 130px);
  --header-columns: minmax(0, 1fr) var(--header-logo-width) minmax(0, 1fr);
  position: relative;
  display: grid;
  grid-template-columns: var(--header-columns);
  align-items: center;
  min-height: 76px;
}
.wordmark { display: inline-block; flex: none; }
.wordmark img { height: auto; }
.header-inner .wordmark {
  position: relative;
  grid-column: 2;
  isolation: isolate;
}
.header-inner .wordmark img { width: 100%; }
.header-inner .wordmark::before {
  position: absolute;
  inset: .1rem -.9rem;
  z-index: -1;
  background: radial-gradient(ellipse, #dc143c80 0%, #dc143c26 48%, transparent 73%);
  opacity: .56;
  pointer-events: none;
  content: "";
}
@keyframes ev-logo-led {
  0%, 100% { opacity: .42; }
  50% { opacity: .72; }
}
@media (prefers-reduced-motion: no-preference) {
  .header-inner .wordmark::before { animation: ev-logo-led 3.6s ease-in-out infinite; }
}
.nav-actions {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: var(--header-columns);
  align-items: center;
  pointer-events: none;
}
.nav-group {
  display: flex;
  align-items: center;
  gap: clamp(.15rem, 1.5vw, 1.25rem);
  pointer-events: auto;
}
.nav-start { grid-column: 1; }
.nav-end { grid-column: 3; justify-content: flex-end; }
.nav-link, .menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem .8rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 7px;
  font-size: .875rem;
  font-weight: 650;
  white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-current] { color: var(--white); background: var(--surface); }
.nav-link { position: relative; transition: background-color 180ms ease, color 180ms ease; }
.nav-link::after {
  position: absolute;
  inset: auto .8rem .27rem;
  height: 1px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(.45);
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-link[aria-current]::after { opacity: 1; transform: scaleX(1); }
.nav-preview, .menu-toggle { border: 1px solid var(--line); }
.nav-preview span { color: var(--accent); }
.menu-toggle { display: none; background: var(--surface); }
.footer-inner { color: var(--muted); font-size: .85rem; padding-block: .85rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner .wordmark img { width: 104px; }

.hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(ellipse at 76% 66%, #5a1027 0%, transparent 58%), linear-gradient(110deg, #08080a 30%, #180e15 100%);
  border-bottom: 1px solid #3c1520;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .83fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
}
.ev-hero-effects {
  position: absolute;
  inset: 0;
  background: url("./assets/hero-glow.svg") center / cover no-repeat;
  opacity: .68;
  pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 5%, #000 58%);
}
.ev-hero-effects canvas { display: block; width: 100%; height: 100%; }
.ev-hero-effects::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08080a 8%, #08080a20 58%, transparent 82%);
  content: "";
}
.ev-hero-content { padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.ev-hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  align-items: end;
  align-self: end;
  isolation: isolate;
}
.ev-hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("./assets/red-swoosh.svg") center / contain no-repeat;
  opacity: .5;
  content: "";
}
.ev-athlete {
  grid-row: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px #0009);
}
.ev-athlete--male { grid-column: 1 / 13; }
.ev-athlete--female { grid-column: 10 / -1; }
.hero h1 {
  font-size: clamp(2.65rem, 5.7vw, 5.25rem);
  font-weight: 950;
  font-style: italic;
  line-height: .98;
  letter-spacing: -.075em;
  padding-right: .12em;
  margin-bottom: 1rem;
}
.hero h1 em { color: #ff3449; }
.hero-subtitle {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.18;
}
.hero-copy { max-width: 36ch; font-size: clamp(.95rem, 2vw, 1.12rem); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.hero-actions img { width: 18px; height: 18px; margin-left: .5rem; filter: brightness(0) invert(1); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .65rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 7px;
  text-align: center;
  color: var(--white);
  font-size: .82rem;
  font-weight: 750;
  transition: translate 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-position 300ms ease;
}
.btn-red {
  background: linear-gradient(112deg, transparent 28%, #ffdee833 50%, transparent 68%) 100% 0 / 245% 100%, var(--red);
}
.btn-dark, .btn-outline { background: var(--base); border-color: #626269; }

.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section-intro { margin-bottom: 1.65rem; }
#programs, #how, #main { scroll-margin-top: 5.5rem; }
.ev-nutrition { padding-bottom: 0; }
.ev-nutrition-feature, .ev-nutrition-shortcut {
  border: 1px solid #63414a;
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 92% 0%, #74213b70, transparent 62%), linear-gradient(125deg, #141417 18%, #29292e 70%, #161418);
  box-shadow: inset 0 1px #fafafa12;
}
.ev-nutrition-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3.25rem);
  padding: clamp(1rem, 5vw, 3.5rem);
  transition: transform 240ms ease-out, border-color 240ms ease, box-shadow 240ms ease;
}
.ev-nutrition-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.ev-nutrition-brand img { width: 92px; height: auto; }
.ev-nutrition-copy h2 { font-size: clamp(1.65rem, 3.75vw, 3.5rem); font-weight: 900; }
.ev-nutrition-copy h2 span { color: var(--accent); }
.ev-nutrition-copy p { max-width: 36ch; margin-bottom: 1.15rem; }
.ev-calculator-link { gap: .65rem; text-decoration: none; }
.ev-calculator-link span { font-size: 1rem; line-height: 1; }
.ev-macro-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem clamp(.65rem, 2vw, 1.5rem);
  margin: 0;
  padding: clamp(.7rem, 2.2vw, 1.5rem);
  border: 1px solid #ffffff29;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #101014c9, #171117e6);
}
.ev-macro-dial {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 11rem);
  aspect-ratio: 1;
  justify-self: center;
}
.ev-macro-dial svg { display: block; width: 100%; }
.ev-macro-dial span { position: absolute; font-size: clamp(.7rem, 1.45vw, 1rem); font-weight: 750; }
.ev-macro-track, .ev-macro-arc { fill: none; stroke-width: 6; }
.ev-macro-track { stroke: #3a3037; }
.ev-macro-arc { stroke: var(--macro-color); stroke-dasharray: 29 71; stroke-linecap: round; }
.ev-macro-protein { --macro-color: #ff506f; }
.ev-macro-carbs { --macro-color: #e4dade; }
.ev-macro-fat { --macro-color: #a9929f; }
.ev-macro-legend {
  display: grid;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(.7rem, 1.35vw, .88rem);
}
.ev-macro-legend li { display: flex; align-items: center; gap: .45rem; }
.ev-macro-legend li::before { content: ""; width: .52rem; height: .52rem; flex: none; border-radius: 50%; background: var(--macro-color); }
.ev-macro-preview figcaption { grid-column: 1 / -1; color: var(--muted); font-size: .75rem; text-align: center; }
.ev-nutrition-shortcut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  padding: clamp(.9rem, 2.5vw, 1.35rem);
}
.data-card .ev-nutrition-shortcut { margin-top: 1rem; }
.ev-nutrition-shortcut div { flex: 1 1 14rem; }
.ev-nutrition-shortcut h3 { margin-bottom: .3rem; font-size: 1.12rem; }
.ev-nutrition-shortcut p { margin: 0; font-size: .88rem; }
.ev-goals { padding-bottom: 0; }
.ev-goal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ev-goal-card, .ev-dashboard-callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #232227, var(--surface));
}
.ev-goal-card img, .ev-dashboard-callout img { flex: none; }
.ev-goal-card h3, .ev-dashboard-callout h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.ev-goal-card p, .ev-dashboard-callout p { font-size: .9rem; margin: 0; }
.ev-dashboard-callout {
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
  border-color: #743140;
  background: url("./assets/corner-slashes.svg") right center / auto 150% no-repeat, #211418;
}
.ev-dashboard-callout div { flex: 1 1 14rem; }
.plan-grid, .strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.plan, .strip, .main-card, .enroll-side, .data-card, .metric, .sidebar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.plan { display: flex; flex-direction: column; padding: clamp(1rem, 2.5vw, 1.65rem); background: linear-gradient(145deg, #232227, var(--surface)); }
.plan { transition: transform 240ms ease-out, border-color 240ms ease, box-shadow 240ms ease; }
.plan-dark { border-color: #9f233d; border-top: 3px solid var(--red); background: linear-gradient(145deg, #321b23, #191417); }
.plan .summary, .plan-item, .strip p, .info-banner { font-size: .9rem; }
.price { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 850; letter-spacing: -.06em; line-height: 1.2; }
.price small, .trial-choice small { color: var(--muted); font-size: .79rem; font-weight: 600; letter-spacing: 0; }
.plan hr, .checkout-divider { border: 0; border-top: 1px solid var(--line); width: 100%; margin: 1.2rem 0 .6rem; }
.plan-item, .summary-check { display: flex; align-items: baseline; gap: .65rem; margin: .3rem 0; }
.plan-item::before { content: "✓" / ""; color: var(--accent); font-weight: 800; }
.plan-bottom { margin-top: auto; padding-top: 1.2rem; }
.plan .btn { width: 100%; }
.trial-choice { padding-block: .65rem; }
.trial-choice + .trial-choice { border-top: 1px solid var(--line); }
.trial-choice .row, .summary-line { display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; justify-content: space-between; }
.trial-choice .row { margin-bottom: .45rem; }
.trial-choice .row span, .summary-line strong { font-weight: 800; font-size: 1.45rem; }
.eyebrow, .form-section-title { color: var(--accent); font-size: .73rem; letter-spacing: .115em; font-weight: 800; }
.strip { gap: 0; }
.strip > div { padding: 1.25rem; }
.strip > div + div { border-left: 1px solid var(--line); }
.strip p { margin: .45rem 0 0; }
.info-banner, .notice {
  background: var(--base);
  color: var(--muted);
  border-left: 3px solid var(--red);
  padding: 1rem;
}

.enroll-bg, .portal-section { padding-block: clamp(2rem, 6vw, 5rem); }
.enroll-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 1.25rem; }
.main-card, .enroll-side, .data-card, .metric { padding: clamp(1rem, 3vw, 2rem); }
.stepper { display: flex; gap: 6px; margin-bottom: 1rem; }
.stepper span { background: var(--line); height: 4px; flex: 1; border-radius: 5px; }
.stepper .active { background: var(--red); }
.back-link { border: 0; background: transparent; color: var(--muted); padding: 0; min-height: 44px; }
.back-link:hover { color: var(--white); }
.form-head h1 { margin-top: .5rem; }
.checkout-summary { background: var(--base); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin-block: 1.3rem; }
.summary-check b, .notice .mark { color: var(--accent); }
.notice { display: flex; gap: .6rem; font-size: .875rem; margin-top: 1rem; }
.sidebar-step, .timeline-row { border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: .75rem; padding: .85rem 0; }
.sidebar-step small, .metric small { display: block; color: var(--muted); }
.sidebar-step .n, .timeline-dot { color: var(--accent); font-weight: 750; }
.form-help { font-size: .875rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-field { min-width: 0; display: flex; flex-direction: column; gap: .4rem; }
.form-field.full, .form-section-title { grid-column: 1 / -1; }
.form-section-title { border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin-top: .85rem; }
.form-field label { font-weight: 650; font-size: .9rem; }
.form-field label small { color: var(--muted); }
.form-field input:not([type="checkbox"]), .form-field select, .form-field textarea {
  min-width: 0;
  width: 100%;
  min-height: 48px;
  padding: .65rem;
  background: var(--base);
  border: 1px solid #626269;
  border-radius: 7px;
  color: var(--white);
}
.form-field textarea { min-height: 5rem; resize: vertical; }
.form-field :is(input,textarea)::placeholder { color: #a9a9af; opacity: 1; }
.form-field [aria-invalid="true"] { outline: 1px solid var(--accent); }
.form-error { color: #ff99a9; font-size: .86rem; }
.form-error:empty { margin: 0; }
.checkbox-row { display: flex; align-items: flex-start; gap: .65rem; padding: .75rem; background: var(--base); }
.checkbox-row input { accent-color: var(--red); width: 1.2rem; height: 1.2rem; flex: none; margin: .2rem 0 0; }

.portal-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.portal-header h1 { margin-block: .5rem; }
.role-tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.role-tabs button, .sidebar button {
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--line);
  min-height: 44px;
  padding: .45rem .8rem;
  border-radius: 7px;
  font-size: .85rem;
}
.role-tabs button[aria-current="true"], .sidebar button[aria-current="page"] { border-color: var(--accent); background: #391922; }
.portal-grid { display: grid; gap: 1rem; }
.portal-grid:has(.sidebar) { grid-template-columns: 12rem minmax(0, 1fr); }
.sidebar { display: grid; align-content: start; gap: .45rem; padding: .8rem; }
.sidebar button { text-align: left; }
.role-tabs button, .sidebar button { transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
.portal-content { min-width: 0; display: grid; gap: 1rem; }
.portal-hero { background: url("./assets/corner-slashes.svg") right center / auto 100% no-repeat, #23171b; border: 1px solid #743140; border-radius: var(--radius); padding: clamp(1rem, 4vw, 2.25rem); }
.portal-hero h2 { margin-top: .5rem; }
.portal-metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.metric strong { display: block; margin-block: .4rem; }
.data-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem .8rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.tag { padding: .18rem .55rem; border-radius: 5px; background: #29292d; font-size: .78rem; }
.tag.good { background: #19372c; color: #a5ecc7; }
.tag.warn { background: #443318; color: #ffdc9e; }
.ev-check-in { display: grid; grid-template-columns: 1fr auto; gap: .45rem 1rem; margin-block: 1rem; font-size: .9rem; }
.ev-check-in-track { grid-column: 1 / -1; background: #34343b; border-radius: 1rem; overflow: hidden; }
.ev-check-in-track span {
  display: block;
  height: .4rem;
  background: linear-gradient(90deg, var(--red), var(--accent));
  transform: scaleX(var(--progress));
  transform-origin: left;
}

@keyframes ev-arrive {
  from { opacity: .25; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ev-meter { from { transform: scaleX(0); } }
@keyframes ev-macro-draw { from { stroke-dasharray: 0 100; opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .hero.is-entering .ev-hero-content > * { animation: ev-arrive 460ms ease-out both; }
  .hero.is-entering .ev-hero-content > :nth-child(2) { animation-delay: 65ms; }
  .hero.is-entering .ev-hero-content > :nth-child(3) { animation-delay: 120ms; }
  .hero.is-entering .hero-actions { animation-delay: 170ms; }
  .hero.is-entering .ev-athlete { animation: ev-arrive 680ms ease-out both; }
  .hero.is-entering .ev-athlete--female { animation-delay: 90ms; }
  .hero.is-entering .ev-hero-content:focus-within > * { animation: none; }
  .ev-revealed { animation: ev-arrive 360ms ease-out var(--reveal-delay, 0ms) both; }
  .ev-revealed:focus-within { animation: none; }
  .ev-macro-preview.ev-revealed .ev-macro-arc { animation: ev-macro-draw 520ms ease-out both; }
  .ev-macro-preview.ev-revealed .ev-macro-carbs { animation-delay: 90ms; }
  .ev-macro-preview.ev-revealed .ev-macro-fat { animation-delay: 180ms; }
  .portal-content > * { animation: ev-arrive 240ms ease-out both; }
  .portal-content > :nth-child(2) { animation-delay: 45ms; }
  .portal-content > :nth-child(3) { animation-delay: 85ms; }
  .portal-content > :focus-within { animation: none; }
  .ev-check-in-track span { animation: ev-meter 460ms ease-out both; }
}

@media (hover: hover) and (pointer: fine) {
  .btn-red:hover { background-position: 0 0; background-color: #b81134; }
  .btn-dark:hover, .btn-outline:hover { background-color: #303035; }
  .plan:hover, .plan:focus-within { border-color: #cd3654; box-shadow: 0 10px 30px #a112312b; }
}
.ev-nutrition-feature:focus-within { border-color: #cd3654; }

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .ev-athlete { transition: translate 160ms ease-out; }
  .ev-athlete--male { translate: calc(var(--hero-x, 0px) * -.6) calc(var(--hero-y, 0px) * -.5); }
  .ev-athlete--female { translate: var(--hero-x, 0px) var(--hero-y, 0px); }
  :is(.plan, .ev-nutrition-feature):hover { transform: perspective(900px) translateY(-4px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); }
  .ev-nutrition-feature:hover { border-color: #cd3654; box-shadow: inset 0 1px #fafafa20, 0 12px 32px #a112312b; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .btn:hover { translate: 0 -2px; }
}

@media(max-width: 850px) {
  .ev-athlete--male { grid-column: 1 / 12; }
  .ev-athlete--female { grid-column: 11 / -1; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-dark { grid-column: 1 / -1; }
  .portal-header { align-items: start; flex-direction: column; }
}

@media(max-width:680px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { --header-logo-width: 108px; min-height: 64px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ev-hero-content { padding-block: 2.5rem 1rem; }
  .ev-hero-visual { width: min(100%, 420px); justify-self: center; }
  .ev-goal-grid { grid-template-columns: minmax(0, 1fr); }
  .ev-nutrition-feature { grid-template-columns: minmax(0, 1fr); }
  .ev-nutrition-feature .ev-calculator-link { width: 100%; }
  .menu-toggle { display: inline-flex; grid-column: 3; justify-self: end; }
  .nav-actions {
    display: none;
    inset: 100% 0 auto;
    grid-template-columns: 1fr;
    gap: .2rem;
    padding: .55rem;
    z-index: 2;
    border: 1px solid var(--line);
    background: var(--black);
    border-radius: 8px;
    pointer-events: auto;
  }
  .nav-group { grid-column: 1; display: grid; gap: .2rem; justify-content: stretch; }
  .menu-toggle[aria-expanded="true"] + .nav-actions { display: grid; }
  .hero-actions .btn, .button-row .btn { width: 100%; }
  .plan-grid, .strip, .enroll-layout, .form-grid, .portal-grid:has(.sidebar), .portal-metric-grid { grid-template-columns: minmax(0, 1fr); }
  .strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .sidebar { display: flex; flex-wrap: wrap; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; padding-bottom: .75rem; gap: .3rem 1rem; }
}

@media (max-width: 680px) and (prefers-reduced-motion: no-preference) {
  .menu-toggle[aria-expanded="true"] + .nav-actions { animation: ev-arrive 180ms ease-out; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
