/* =============================================================
   Game Ban Appeal — server-rendered stylesheet
   Aligned 1:1 with the React design system (HANDOVER-CODEX-STYLE.md).
   All colors are HSL channel-only tokens. No hex literals in components.
   ============================================================= */

/* Self-hosted fonts are linked from /spa/fonts/fonts.css in the HTML shell. */

:root {
  --background: 0 0% 100%;
  --foreground: 222 25% 8%;
  --card: 0 0% 100%;
  --card-foreground: 222 25% 8%;
  --popover: 0 0% 100%;
  --popover-foreground: 222 25% 8%;

  --primary: 145 80% 45%;
  --primary-foreground: 222 47% 6%;
  --primary-glow: 145 90% 55%;

  --secondary: 220 14% 96%;
  --secondary-foreground: 222 25% 12%;
  --muted: 220 14% 96%;
  --muted-foreground: 220 10% 40%;
  --accent: 145 70% 92%;
  --accent-foreground: 145 80% 20%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;
  --success: 145 80% 45%;
  --warning: 38 95% 55%;

  --border: 220 14% 90%;
  --input: 220 14% 90%;
  --ring: 145 80% 45%;
  --radius: 0.875rem;

  --shadow-card: 0 1px 2px hsl(0 0% 0% / 0.05), 0 8px 24px hsl(220 25% 25% / 0.08);
  --shadow-elevated: 0 30px 80px -20px hsl(220 25% 25% / 0.18);
  --shadow-glow: 0 0 80px hsl(var(--primary) / 0.35);

  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--primary-glow)) 100%);
  --gradient-card: linear-gradient(180deg, hsl(0 0% 100%), hsl(220 14% 98%));

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 200ms var(--ease-out-expo);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

html.dark, [data-theme="dark"] {
  --background: 230 45% 5%;
  --foreground: 210 20% 98%;
  --card: 230 38% 8%;
  --card-foreground: 210 20% 98%;
  --popover: 230 42% 6%;
  --popover-foreground: 210 20% 98%;

  --primary: 145 75% 50%;
  --primary-foreground: 230 50% 5%;
  --primary-glow: 150 85% 60%;

  --secondary: 230 30% 12%;
  --secondary-foreground: 210 20% 98%;
  --muted: 230 28% 11%;
  --muted-foreground: 220 12% 62%;
  --accent: 145 55% 14%;
  --accent-foreground: 145 80% 75%;

  --destructive: 0 70% 55%;
  --success: 145 80% 55%;
  --warning: 38 95% 60%;

  --border: 220 25% 15%;
  --input: 220 25% 13%;
  --ring: 145 75% 50%;

  --shadow-card: 0 1px 2px hsl(0 0% 0% / 0.4), 0 8px 24px hsl(0 0% 0% / 0.35);
  --shadow-elevated: 0 30px 80px -20px hsl(0 0% 0% / 0.65);
  --gradient-card: linear-gradient(180deg, hsl(218 38% 9%), hsl(218 38% 7%));
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.dark body, [data-theme="dark"] body {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, hsl(145 80% 45% / 0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 30%, hsl(195 75% 40% / 0.16), transparent 65%),
    radial-gradient(ellipse 60% 40% at 50% 100%, hsl(150 85% 45% / 0.10), transparent 70%),
    linear-gradient(180deg, hsl(220 45% 5%), hsl(218 38% 7%));
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
main { width: min(1280px, calc(100vw - 48px)); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
p  { margin: 0 0 1rem; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  margin: 0 0 14px;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.1);
  border-radius: 999px;
}
.muted { color: hsl(var(--muted-foreground)); }
.serif-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(16px, 4vw, 32px);
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: hsl(var(--foreground)); }
.brand-logo { height: 32px; width: auto; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border-radius: calc(var(--radius) - 4px);
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-weight: 700; font-size: 14px;
  box-shadow: 0 2px 8px hsl(var(--primary) / 0.25);
}
.site-header nav { display: flex; gap: 4px; align-items: center; }
.site-header nav a {
  padding: 8px 12px;
  border-radius: calc(var(--radius) - 4px);
  font-size: 14px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color var(--transition-base), background-color var(--transition-base);
}
.site-header nav a:hover { color: hsl(var(--foreground)); background: hsl(var(--secondary)); }
.site-header nav a.is-active { color: hsl(var(--foreground)); background: hsl(var(--secondary)); }

.theme-toggle {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 4px);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  cursor: pointer;
  transition: background-color var(--transition-base);
}
.theme-toggle:hover { background: hsl(var(--secondary)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 4px);
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
}
.btn.primary:hover { background: hsl(var(--primary) / 0.9); box-shadow: 0 8px 24px hsl(var(--primary) / 0.25); }
.btn.ghost { background: transparent; border-color: hsl(var(--border)); color: hsl(var(--foreground)); }
.btn.ghost:hover { background: hsl(var(--secondary)); }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn.xs { height: 28px; padding: 0 10px; font-size: 12px; }
.btn.danger { color: hsl(var(--destructive)); border-color: hsl(var(--destructive) / 0.35); }
.btn.danger:hover { background: hsl(var(--destructive) / 0.10); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.text-link { color: hsl(var(--muted-foreground)); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.text-link:hover { color: hsl(var(--foreground)); }

/* ---------- Cards ---------- */
.card, .panel, .price-card, .team-card, .list-card, .content-page,
.portal-card, .card-form, .install-card, .hero-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 3vw, 32px);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.card.elevated, .price-card.featured, .hero-card.elevated {
  background: var(--gradient-card);
  box-shadow: var(--shadow-elevated);
}
.lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); }

.pills, .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span, .tag-cloud span, .pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  padding: 5px 12px;
  background: hsl(var(--secondary) / 0.6);
  color: hsl(var(--muted-foreground));
  font-size: 12px;
  font-weight: 500;
}
.pill.primary { border-color: hsl(var(--primary) / 0.3); background: hsl(var(--primary) / 0.1); color: hsl(var(--primary)); }
.pill .dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .85fr);
  gap: clamp(28px, 6vw, 64px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) 0;
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-copy > p { color: hsl(var(--muted-foreground)); font-size: clamp(16px, 1.5vw, 18px); max-width: 56ch; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 28px 0; }
.hero-card h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 16px; }
.metric-row {
  display: flex; justify-content: space-between; gap: 20px;
  border-top: 1px solid hsl(var(--border));
  padding: 14px 0;
  color: hsl(var(--muted-foreground));
  font-size: 14px;
}
.metric-row strong { color: hsl(var(--foreground)); font-size: 18px; font-variant-numeric: tabular-nums; }

/* ---------- Section grids ---------- */
.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.section-grid.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: center;
}
.feature-step { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid hsl(var(--border)); }
.step-icon {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: calc(var(--radius) - 4px);
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
}

.coverage, .page-hero { padding: clamp(40px, 6vw, 72px) 0; }
.page-hero.compact { padding: clamp(32px, 5vw, 56px) 0 24px; }

/* ---------- Forms ---------- */
.stack { display: grid; gap: 12px; }
.stack.tight { gap: 6px; }
.row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.row.spaced { justify-content: space-between; }
.row > * { min-width: 0; }
.inline { display: inline-flex; vertical-align: middle; }
.label-text {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
input, select, textarea {
  width: 100%;
  border: 1px solid hsl(var(--input));
  border-radius: calc(var(--radius) - 4px);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.2);
}
label { display: grid; gap: 6px; color: hsl(var(--foreground) / 0.9); font-weight: 500; font-size: 14px; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.price-card { display: grid; gap: 14px; }
.price-card .price { font-family: var(--font-display); font-size: clamp(2.25rem, 4vw, 3rem); font-variant-numeric: tabular-nums; line-height: 1; }
.price-card .price small { font-size: 14px; font-weight: 400; color: hsl(var(--muted-foreground)); margin-left: 4px; }
.price-card.featured { border-color: hsl(var(--primary) / 0.5); }
.price-card ul { display: grid; gap: 8px; padding-left: 0; margin: 8px 0 16px; list-style: none; }
.price-card li { display: flex; gap: 8px; color: hsl(var(--muted-foreground)); font-size: 14px; }
.price-card li::before { content: "✓"; color: hsl(var(--primary)); font-weight: 700; }
.price-split {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 12px 14px;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 4px);
  background: hsl(var(--muted) / 0.4);
}
.price-split strong { font-size: 16px; font-variant-numeric: tabular-nums; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.team-card { text-align: left; }
.avatar {
  width: 64px; height: 64px;
  border-radius: 999px;
  margin: 0 0 16px;
  display: grid; place-items: center;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h2 { font-size: 18px; margin-bottom: 4px; }
.team-card strong { display: block; color: hsl(var(--primary)); font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.team-card p { color: hsl(var(--muted-foreground)); font-size: 14px; }
.linkedin-link { color: hsl(var(--primary)); font-weight: 500; font-size: 13px; }
.linkedin-link:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 96px;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.4);
}
.site-footer .footer-inner {
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin: 0 0 14px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: hsl(var(--muted-foreground)); font-size: 14px; }
.site-footer a:hover { color: hsl(var(--foreground)); }
.site-footer .legal {
  border-top: 1px solid hsl(var(--border));
  padding: 20px 24px;
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  width: min(1280px, calc(100vw - 48px));
  margin: 0 auto;
}

/* ---------- Flash / notice ---------- */
.flash, .notice {
  width: min(1280px, calc(100vw - 48px));
  margin: 16px auto;
  padding: 12px 16px;
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid hsl(var(--primary) / 0.3);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--foreground));
  font-size: 14px;
}
.flash.danger, .notice.danger { border-color: hsl(var(--destructive) / 0.4); background: hsl(var(--destructive) / 0.1); }
.notice.success { border-color: hsl(var(--success) / 0.4); background: hsl(var(--success) / 0.1); }

/* ---------- Admin shell ---------- */
.admin-shell { display: flex; align-items: stretch; min-height: 100vh; width: 100%; overflow-x: hidden; }
.admin-sidebar {
  flex: 0 0 260px;
  width: 260px;
  border-right: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.5);
  padding: 16px 12px;
  position: sticky; top: 0;
  height: 100vh;
  overflow: auto;
}
.admin-brand { padding: 8px 8px 16px; border-bottom: 1px solid hsl(var(--border)); margin-bottom: 16px; }
.admin-nav { display: grid; gap: 16px; }
.admin-nav-group h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin: 0 0 6px;
  padding: 0 10px;
}
.admin-nav-group a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 10px;
  border-radius: calc(var(--radius) - 6px);
  color: hsl(var(--muted-foreground));
  font-size: 13px;
  font-weight: 500;
  transition: background-color var(--transition-base), color var(--transition-base);
}
.admin-nav-group a:hover { background: hsl(var(--secondary)); color: hsl(var(--foreground)); }
.admin-nav-group a.is-active { background: hsl(var(--primary) / 0.12); color: hsl(var(--primary)); }
.admin-main {
  flex: 1 1 auto;
  width: min(100%, calc(100% - 260px));
  min-width: 0;
  padding: clamp(20px, 3vw, 32px);
}
.admin-topbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 18px;
  padding: 0 0 20px;
  border-bottom: 1px solid hsl(var(--border));
  margin-bottom: 24px;
}
.admin-topbar h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.admin-topbar .eyebrow { margin-bottom: 6px; }
.admin-topbar-actions { display: flex; gap: 8px; }
.admin-main > .card + .card,
.admin-main > .panel + .panel,
.admin-main > .card + .panel,
.admin-main > .panel + .card { margin-top: 18px; }
.admin-embedded {
  min-height: auto;
  background: transparent;
  color: hsl(var(--foreground));
  overflow-x: hidden;
}
html.dark .admin-embedded { background: transparent; }
.admin-embedded-main {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 0;
}
.admin-embedded-main .notice {
  width: 100%;
  margin: 0;
}
.admin-embedded-main .card,
.admin-embedded-main .panel {
  width: 100%;
  max-width: none;
  margin: 0;
  box-shadow: none;
}
.admin-embedded-main .row.spaced {
  align-items: flex-start;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}
.metric-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  padding: 18px;
}
.metric-card span {
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.metric-card strong { display: block; font-family: var(--font-display); font-size: 28px; margin-top: 6px; font-variant-numeric: tabular-nums; }

.table-wrap { overflow: auto; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card)); }
.data-table { min-width: 920px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px 14px; border-bottom: 1px solid hsl(var(--border)); text-align: left; vertical-align: middle; font-size: 14px; }
th { color: hsl(var(--muted-foreground)); text-transform: uppercase; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; font-weight: 500; }
tbody tr:hover { background: hsl(var(--secondary) / 0.5); }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- Intake stepper ---------- */
.intake-stepper {
  width: min(860px, 100%);
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  position: relative;
}
.intake-step {
  appearance: none;
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--card));
  color: hsl(var(--muted-foreground));
  min-height: 64px;
  padding: 10px 8px;
  display: grid; place-items: center; gap: 4px;
  font: inherit;
  cursor: pointer;
  transition: all var(--transition-base);
}
.intake-step span {
  width: 24px; height: 24px;
  border-radius: 999px;
  display: grid; place-items: center;
  background: hsl(var(--secondary));
  color: hsl(var(--muted-foreground));
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}
.intake-step strong { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.intake-step.is-active { color: hsl(var(--foreground)); border-color: hsl(var(--primary)); background: hsl(var(--primary) / 0.08); }
.intake-step.is-active span, .intake-step.is-complete span { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.intake-step:disabled { cursor: not-allowed; opacity: .5; }

/* ---------- Status pills ---------- */
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid currentColor;
}
.status-pill.success { color: hsl(var(--success)); background: hsl(var(--success) / 0.1); }
.status-pill.warning { color: hsl(var(--warning)); background: hsl(var(--warning) / 0.1); }
.status-pill.danger  { color: hsl(var(--destructive)); background: hsl(var(--destructive) / 0.1); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; gap: 12px; }
  .site-header nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; flex-wrap: nowrap; }
  .hero, .section-grid, .section-grid.two-column, .split-grid { grid-template-columns: 1fr; }
  .site-footer .footer-inner { grid-template-columns: 1fr 1fr; }
  .admin-shell { display: block; }
  .admin-sidebar { position: relative; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid hsl(var(--border)); }
  .admin-main { width: 100%; }
  .admin-topbar { flex-direction: column; align-items: flex-start; }
  .intake-stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .site-footer .footer-inner { grid-template-columns: 1fr; }
  .intake-stepper { grid-template-columns: repeat(6, minmax(36px, 1fr)); gap: 4px; }
  .intake-step { min-height: 48px; }
  .intake-step strong { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .lift:hover, .btn:hover { transform: none !important; }
}

/* ---------- Public PHP visual hardening ---------- */
.footer-tagline {
  margin-top: 14px;
  font-size: 13px;
  max-width: 38ch;
}

.coverage-card { margin: 32px 0; }
.coverage-title { margin-bottom: 16px; }
.coverage-lede { max-width: 60ch; }
.coverage-tags { margin-top: 20px; }

.coverage-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.coverage-thumb {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: hsl(var(--secondary) / 0.5);
  border: 1px solid hsl(var(--border));
}

.coverage-thumb img,
.hero-figure img,
.office-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-figure {
  margin: 0 0 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid hsl(var(--border));
}

.trust-band { margin: 32px 0; }

.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.lawyer-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.lawyer-card img {
  width: 160px;
  height: 160px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 1px solid hsl(var(--border));
}

.card-heading { margin-bottom: 14px; }
.pricing-lede { max-width: 64ch; }
.pricing-pills { margin-top: 20px; }

.compliance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
}

.compliance-badge,
.payments-mark,
.office-photo {
  margin: 0;
}

.compliance-badge img,
.payments-mark img {
  height: auto;
  max-width: 100%;
  display: block;
}

.office-photo {
  margin-top: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid hsl(var(--border));
}

.pricing-spacing { margin: 32px 0; }
.protection-title,
.support-title { margin-bottom: 12px; }
.follow-up-grid { margin-top: 16px; }
.follow-up-empty { margin-top: 12px; }

.faq-meta { margin-top: 16px; }
.faq-section { margin: 24px 0; }
.faq-section-title { margin: 0 0 18px; }
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-sm);
  background: hsl(var(--muted) / 0.35);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-weight: 700;
  color: hsl(var(--foreground));
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: hsl(var(--primary));
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 18px 18px;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 480ms ease, transform 480ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

[data-spotlight] {
  position: relative;
  isolation: isolate;
}

[data-spotlight]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    320px circle at var(--x, 50%) var(--y, 50%),
    hsl(var(--primary) / 0.15),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 200ms ease;
  z-index: -1;
}

[data-spotlight]:hover::before { opacity: 1; }
[data-mobile-menu][hidden] { display: none !important; }

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  max-width: 480px;
  margin-inline: auto;
  padding: 16px 18px;
  background: hsl(var(--card) / 0.96);
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-banner.is-visible { display: block; }
.cookie-banner button { margin-top: 10px; }

#gba-seo-fallback {
  max-width: 1120px;
  margin: 48px auto;
  padding: 32px;
  font-family: var(--font-sans);
  line-height: 1.65;
  color: hsl(var(--foreground));
}

#gba-seo-fallback h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 16px;
}

#gba-seo-fallback p {
  max-width: 70ch;
  font-size: 17px;
  color: hsl(var(--muted-foreground));
  margin: 0 0 14px;
}

#gba-seo-fallback nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

#gba-seo-fallback .gba-seo-cluster {
  margin-top: 28px;
}

#gba-seo-fallback .gba-seo-cluster h2 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 12px;
}

#gba-seo-fallback .gba-seo-cluster nav {
  gap: 10px;
  font-size: 15px;
}
