/* ==========================================================================
   A00 — Custom Brand Design System (#1E0A0B Dark · #DAFF8E Accent · #FFFFFF Text)
   Domain: https://a00.co.uk
   Buttons: #DAFF8E fill with #000000 black text
   ========================================================================== */

:root {
  /* Exact User Brand Palette */
  --bg-base: #1e0a0b;
  --bg-elevated: #271011;
  --bg-card: #2f1416;
  --bg-card-hover: #38181b;
  --bg-white: #1e0a0b;
  --bg-paper: #250f10;

  /* Crisp Tonal Borders */
  --border-subtle: #3d1c1f;
  --border-strong: #52272b;
  --border-light: #492225;
  --border-light-subtle: #38191c;
  --border-dark: #492225;
  --border-dark-subtle: #38191c;

  /* Pure White Writing on Dark */
  --text-primary: #ffffff;
  --text-muted: #d6cbcc;
  --text-dim: #a8989a;
  --text-on-light: #ffffff;
  --text-on-light-muted: #d6cbcc;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #d6cbcc;

  /* Exact Electric Yellow-Lime Button & Accent (#DAFF8E) + Black Button Text */
  --accent-yellow: #daff8e;
  --accent-yellow-hover: #c9f56d;
  --accent-yellow-soft: rgba(218, 255, 142, 0.14);
  --btn-text: #000000;

  /* Legacy Variable Aliases (for complete cross-page consistency) */
  --accent-cobalt: #daff8e;
  --accent-cobalt-bright: #daff8e;
  --accent-cobalt-light: #daff8e;
  --accent-cobalt-hover: #c9f56d;
  --accent-cobalt-soft: rgba(218, 255, 142, 0.14);
  --accent-teal: #daff8e;
  --accent-teal-bright: #daff8e;
  --accent-teal-soft: rgba(218, 255, 142, 0.12);

  /* Typography */
  --font-sans: "Inter", "Google Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-width: 1260px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --header-height: 76px;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.32);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.48);
  --shadow-dropdown: 0 18px 44px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-base);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Containers & Sections */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  background: var(--bg-base);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.section--compact { padding: 56px 0; }
.section--paper,
.section--dark {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.section--dark-elevated {
  background: var(--bg-base);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header { max-width: 780px; margin-bottom: 40px; }
.section-header--center { margin-left: auto; margin-right: auto; text-align: center; }

/* Typography — Pure White Writing */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: 14px;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-yellow);
  box-shadow: 0 0 0 4px rgba(218, 255, 142, 0.2);
  display: inline-block;
}

h1, h2, h3, h4 {
  margin: 0 0 16px 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #ffffff;
}

h1 { font-size: clamp(2.35rem, 4.3vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.2rem; line-height: 1.3; }
h4 { font-size: 1rem; line-height: 1.35; }
p { margin: 0 0 16px 0; color: var(--text-primary); }

.lead {
  font-size: 1.12rem;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 740px;
}

.muted { color: var(--text-muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: #ffffff;
}

.badge--teal {
  border-color: rgba(218, 255, 142, 0.45);
  background: var(--accent-yellow-soft);
  color: var(--accent-yellow);
}

/* ==========================================================================
   Header & Mega-Menu (#1E0A0B Dark + Crisp White + #DAFF8E Brand Mark)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-height);
  background: rgba(30, 10, 11, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  color: #ffffff;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: #ffffff;
  flex-shrink: 0;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  box-shadow: none;
}

.brand__wordmark {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #ffffff;
}

.brand__zeros {
  color: var(--accent-yellow);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.16em;
  display: block;
  line-height: 1;
  margin-top: 4px;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
}

.nav-link:hover,
.nav-link.active,
.nav-item.open > .nav-link {
  color: var(--accent-yellow);
  background: rgba(218, 255, 142, 0.08);
}

.nav-chevron { font-size: 0.65rem; opacity: 0.75; transition: transform 0.15s ease; }
.nav-item:hover .nav-chevron, .nav-item.open .nav-chevron { transform: rotate(180deg); }

.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 340px;
  background: #271011;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.16s ease;
  z-index: 250;
}

.mega-menu--wide {
  min-width: 580px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.nav-item:hover > .mega-menu,
.nav-item:focus-within > .mega-menu,
.nav-item.open > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-link {
  display: block;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  transition: background 0.14s ease;
}

.mega-link:hover { background: rgba(218, 255, 142, 0.1); }
.mega-link__title { display: block; font-size: 0.89rem; font-weight: 600; color: #ffffff; margin-bottom: 2px; }
.mega-link__desc { display: block; font-size: 0.78rem; line-height: 1.42; color: var(--text-muted); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-email { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; color: var(--text-muted); transition: color 0.15s ease; }
.header-email:hover { color: var(--accent-yellow); }

.mobile-toggle {
  display: none;
  background: var(--accent-yellow);
  border: 1px solid var(--accent-yellow);
  color: #000000;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-base);
  z-index: 190;
  overflow-y: auto;
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
}

.mobile-drawer.open { display: block; }
.mobile-group { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--border-subtle); }
.mobile-group__label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-yellow); margin-bottom: 10px; }
.mobile-group a { display: block; padding: 8px 0; font-size: 0.96rem; color: #ffffff; font-weight: 500; }

/* ==========================================================================
   Buttons — #DAFF8E Yellow-Lime with PURE BLACK (#000000) Writing!
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent-yellow);
  background: var(--accent-yellow);
  color: #000000;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }

.btn--primary {
  background: var(--accent-yellow);
  color: #000000;
  border-color: var(--accent-yellow);
  box-shadow: 0 4px 16px rgba(218, 255, 142, 0.22);
}

.btn--primary:hover {
  background: var(--accent-yellow-hover);
  border-color: var(--accent-yellow-hover);
  color: #000000;
  box-shadow: 0 8px 24px rgba(218, 255, 142, 0.34);
  transform: translateY(-1px);
}

.btn--outline-dark,
.btn--outline-light {
  background: var(--accent-yellow);
  color: #000000;
  border-color: var(--accent-yellow);
  opacity: 0.92;
}

.btn--outline-dark:hover,
.btn--outline-light:hover {
  opacity: 1;
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  transform: translateY(-1px);
}

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ==========================================================================
   Hero & Sub-Page Heroes (#1E0A0B + Subtle Matrix Grid)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 85% 18%, rgba(218, 255, 142, 0.08), transparent 65%),
    linear-gradient(to right, rgba(218, 255, 142, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(218, 255, 142, 0.04) 1px, transparent 1px),
    var(--bg-base);
  background-size: 100% 100%, 44px 44px, 44px 44px, 100% 100%;
  color: #ffffff;
  padding: 88px 0 76px;
  border-bottom: 1px solid var(--border-subtle);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.hero__micro {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.page-hero {
  background:
    radial-gradient(ellipse 55% 65% at 88% 12%, rgba(218, 255, 142, 0.07), transparent 70%),
    linear-gradient(to right, rgba(218, 255, 142, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(218, 255, 142, 0.035) 1px, transparent 1px),
    var(--bg-base);
  background-size: 100% 100%, 44px 44px, 44px 44px, 100% 100%;
  color: #ffffff;
  padding: 68px 0 56px;
  border-bottom: 1px solid var(--border-subtle);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.breadcrumb a:hover { color: var(--accent-yellow); }

.diagram-card {
  background: var(--bg-card);
  color: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Proof Strip */
.proof-strip {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  color: #ffffff;
}

.proof-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 26px 22px; border-right: 1px solid var(--border-subtle); }
.proof-item:last-child { border-right: none; }
.proof-item__label { font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-yellow); margin-bottom: 6px; }
.proof-item__value { font-size: 1.02rem; font-weight: 700; color: #ffffff; }
.proof-item__sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.doc-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.sticky-toc { position: sticky; top: calc(var(--header-height) + 28px); border-left: 2px solid var(--border-strong); padding-left: 16px; }
.sticky-toc__title { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-yellow); margin-bottom: 12px; }
.sticky-toc a { display: block; padding: 6px 0; font-size: 0.86rem; color: var(--text-muted); }
.sticky-toc a:hover { color: var(--accent-yellow); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  color: #ffffff;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.card--interactive:hover {
  border-color: var(--accent-yellow);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-yellow);
  margin-bottom: 10px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-yellow);
}

.card__link:hover { text-decoration: underline; }

.spec-list { list-style: none; padding: 0; margin: 14px 0 0; }
.spec-list li { position: relative; padding-left: 18px; margin-bottom: 10px; font-size: 0.94rem; color: #ffffff; }
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent-yellow);
  border-radius: 50%;
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  margin-top: 24px;
  box-shadow: var(--shadow-card);
}

table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.92rem; color: #ffffff; }
th, td { padding: 15px 18px; border-bottom: 1px solid var(--border-subtle); vertical-align: top; }
th {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-elevated);
  color: var(--accent-yellow);
}
tr:last-child td { border-bottom: none; }

/* Configurator & Rental Estimator */
.configurator {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  color: #ffffff;
}

.config-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }

.pill-btn {
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.77rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.14s ease;
}

.pill-btn:hover { border-color: var(--accent-yellow); color: var(--accent-yellow); }

.pill-btn.active {
  background: var(--accent-yellow);
  border-color: var(--accent-yellow);
  color: #000000;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(218, 255, 142, 0.25);
}

.config-output {
  background: var(--bg-base);
  border: 2px solid var(--accent-yellow);
  border-radius: var(--radius-md);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.density-slider-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 28px;
}

.density-slider { width: 100%; accent-color: var(--accent-yellow); margin: 18px 0; cursor: pointer; }

.stack-layer-btn {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  margin-bottom: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s ease;
}

.stack-layer-btn:hover { border-color: var(--accent-yellow); }
.stack-layer-btn.active {
  border-color: var(--accent-yellow);
  background: var(--accent-yellow);
  color: #000000;
  font-weight: 700;
}

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--border-subtle); padding-bottom: 12px; }
.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  padding: 9px 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tab-btn.active { background: var(--accent-yellow); border-color: var(--accent-yellow); color: #000000; font-weight: 700; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.faq-item { border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--bg-card); overflow: hidden; }
.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 22px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}
.faq-icon { font-family: var(--font-mono); font-size: 1.15rem; color: var(--accent-yellow); flex-shrink: 0; }
/* Site-wide rule: click-to-open expanded multi-line sub-text is always #DAFF8E yellow */
.faq-content,
details[open] > :not(summary) {
  display: none;
  padding: 0 22px 20px;
  color: var(--accent-yellow);
  font-size: 0.95rem;
  line-height: 1.68;
}
.faq-content a,
details[open] a {
  color: #ffffff !important;
  text-decoration: underline;
  font-weight: 600;
}
.faq-item.open .faq-content,
details[open] > :not(summary) { display: block; }

/* Callout */
.callout {
  border-left: 4px solid var(--accent-yellow);
  background: var(--bg-card);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 22px 0;
  font-size: 0.94rem;
  color: #ffffff;
}

.step-num { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: var(--accent-yellow); margin-bottom: 8px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 0.86rem; font-weight: 600; color: #ffffff; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: #ffffff;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  outline: none;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent-yellow);
  box-shadow: 0 0 0 3px var(--accent-yellow-soft);
}
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 4px; }
.checkbox-item { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: #ffffff; cursor: pointer; }
.checkbox-item input { width: auto; accent-color: var(--accent-yellow); }
.form-status {
  display: none;
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-yellow);
  background: var(--accent-yellow-soft);
  color: #ffffff;
}
.form-status.visible { display: block; }

/* Footer (#1E0A0B + White Text + #DAFF8E Accents) */
.site-footer {
  background: #170708;
  color: var(--text-muted);
  padding: 68px 0 36px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-yellow);
  margin-bottom: 14px;
}

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { color: #ffffff; opacity: 0.85; }
.footer-links a:hover { color: var(--accent-yellow); opacity: 1; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 1060px) {
  .nav-primary, .header-email { display: none; }
  .mobile-toggle { display: inline-flex; }
  .hero__grid, .config-grid, .doc-layout, .footer-grid { grid-template-columns: 1fr; }
  .config-output { position: static; }
  .sticky-toc { position: static; border-left: none; padding-left: 0; border-bottom: 1px solid var(--border-subtle); padding-bottom: 16px; }
  .grid-3, .grid-4, .proof-strip__grid { grid-template-columns: 1fr 1fr; }
  .proof-item { border-bottom: 1px solid var(--border-subtle); }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .proof-strip__grid, .form-grid, .checkbox-grid { grid-template-columns: 1fr; }
  .proof-item { border-right: none; }
  .section { padding: 56px 0; }
  .hero { padding: 60px 0 52px; }
}

/* Yellow Redirect Pills (#DAFF8E + #000000 Black Text) */
.pill-redirect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #daff8e;
  color: #000000 !important;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none !important;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.pill-redirect:hover {
  background: #ffffff;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(218, 255, 142, 0.32);
}

/* Enhanced Enterprise Form Styling */
.form-field input,
.form-field select,
.form-field textarea {
  background: #1a0809;
  border: 1px solid #592a2e;
  padding: 13px 15px;
  border-radius: 8px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(218, 255, 142, 0.55);
}

.form-field select option {
  background: #1e0a0b;
  color: #ffffff;
}

/* Smart Motherboard Lock Banner & Locked/Incompatible Pill State */
.mobo-lock-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  margin: 0 0 20px;
  border-radius: 8px;
  background: rgba(218, 255, 142, 0.09);
  border: 1px solid rgba(218, 255, 142, 0.48);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #ffffff;
}

.mobo-lock-banner strong {
  color: #daff8e;
}

.pill-btn.is-locked-out {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
  border-style: dashed;
}
