/* ==========================================================================
   Moustr v3: Subpages Optical Glass Extension (loaded after styles.css)
   Provides shared grid primitives, interactive simulator meters, disclosures,
   and clean single-column / split-column layouts across secondary pages.
   ========================================================================== */

.sub-hero {
  padding: clamp(44px, 5vw, 72px) 24px 44px;
}

.sub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: end;
}

.sub-hero-single {
  max-width: 780px;
}

.sub-hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.036em;
  margin: 12px 0 18px;
}

.sub-lede {
  font-size: clamp(16.5px, 1.45vw, 18.5px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}

.sub-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* Band Selector Grid (4 Headcount Tiers / Summary Grids) */
.band-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}

.glass-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.glass-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.split-plate {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 3.6vw, 48px);
  align-items: start;
}

.glass-card { min-width: 0;
  background: var(--glass-1);
  backdrop-filter: blur(22px) saturate(148%);
  -webkit-backdrop-filter: blur(22px) saturate(148%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-glass);
  padding: 24px;
}

.glass-card-inset {
  background: var(--glass-inset);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  padding: 18px 20px;
}

.band-card {
  width: 100%;
  text-align: left;
  font-family: var(--sans);
  background: var(--glass-1);
  backdrop-filter: blur(20px) saturate(148%);
  -webkit-backdrop-filter: blur(20px) saturate(148%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .band-card:hover {
    background: var(--glass-2);
    transform: translateY(-2px);
    border-color: rgba(232, 163, 61, 0.65);
  }
}

.band-card.is-selected {
  background: linear-gradient(145deg, rgba(251, 240, 222, 0.92), rgba(255, 254, 250, 0.88));
  border-color: rgba(232, 163, 61, 0.85);
  box-shadow: 0 16px 34px -14px rgba(232, 163, 61, 0.30), inset 0 1.5px 0 rgba(255, 255, 255, 0.98);
}

.band-card-tier {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-ink);
}

.band-card strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.band-card span {
  font-size: 13px;
  color: var(--muted);
}

/* Native Sliders & Range Explorer Controls */
.meter-stack {
  display: grid;
  gap: 16px;
}

.meter-box {
  background: var(--glass-inset);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 16px 18px;
}

.meter-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.meter-head label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.meter-val {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.glass-range {
  width: 100%;
  height: 7px;
  border-radius: var(--r-pill);
  background: rgba(22, 20, 15, 0.11);
  appearance: none;
  -webkit-appearance: none;
  accent-color: var(--amber);
  cursor: pointer;
}

.glass-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #F0AF4D 0%, #DF9428 100%);
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(22, 20, 15, 0.24);
  cursor: pointer;
}

.meter-result-plate {
  background: linear-gradient(155deg, rgba(24, 22, 17, 0.94), rgba(18, 16, 12, 0.90));
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: grid;
  gap: 12px;
}

.meter-result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.meter-result-top small {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
}

.meter-result-top strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--on-dark);
}

.fixed-bar-track {
  height: 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.10);
  overflow: hidden;
  display: flex;
}

.fixed-bar-fill {
  width: 100%;
  background: linear-gradient(90deg, #3E6B52, #E8A33D);
  border-radius: var(--r-pill);
}

.meter-metrics-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  font-variant-numeric: tabular-nums;
}

.meter-metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-xs);
  padding: 10px 12px;
}

.meter-metric small {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.meter-metric strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--on-dark);
  margin-top: 3px;
}

/* Rule List & Feature Comparison */
.rule-stack {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.rule-item h3 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 5px;
}

.rule-item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.check-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(62, 107, 82, 0.16);
}

.check-list.is-amber li::before {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.18);
}

/* Glass Accordions & FAQ Cards */
.faq-stack {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--glass-1);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  padding: 0 22px;
  transition: background-color 180ms var(--ease);
}

.faq-item[open] {
  background: var(--glass-2);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--amber-ink);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-body {
  padding: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  display: grid;
  gap: 8px;
}

/* Status banner inside glass forms */
.form-status {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  border-radius: var(--r-sm);
  padding: 0;
}

.form-status.is-ok {
  padding: 12px 14px;
  background: var(--green-bg);
  border: 1px solid var(--green-line);
  color: var(--forest);
}

.form-status.is-error {
  padding: 12px 14px;
  background: var(--amber-bg);
  border: 1px solid var(--amber-line);
  color: var(--amber-ink);
}

.section-intro-tight {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-intro-tight h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  margin: 10px 0 10px;
}

.section-intro-tight p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* Dark closer CTA inside single or split closer */
.closer-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.closer-pavilion .btn-outline-dark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

/* ---------------------------------------------------------------
   TABLES, SPECIMEN SHEETS & SPECIFICATION LISTS
   --------------------------------------------------------------- */
.glass-table-wrap { min-width: 0;
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid rgba(11, 11, 11, 0.09);
  background: rgba(255, 255, 255, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.glass-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.glass-table thead th {
  padding: 13px 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: rgba(247, 245, 240, 0.72);
  border-bottom: 1px solid rgba(11, 11, 11, 0.08);
  white-space: nowrap;
}

.glass-table tbody td {
  padding: 14px 16px;
  vertical-align: top;
  color: var(--ink);
  border-bottom: 1px solid rgba(11, 11, 11, 0.06);
}

.glass-table tbody tr:last-child td {
  border-bottom: 0;
}

.glass-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.45);
}

.table-sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-muted);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-pill.is-ok {
  background: rgba(20, 83, 45, 0.10);
  color: var(--emerald);
  border: 1px solid rgba(20, 83, 45, 0.22);
}

.status-pill.is-warn {
  background: rgba(232, 163, 61, 0.16);
  color: var(--amber-ink);
  border: 1px solid rgba(180, 83, 9, 0.28);
}

.status-pill.is-alert {
  background: rgba(185, 28, 28, 0.10);
  color: #991B1B;
  border: 1px solid rgba(185, 28, 28, 0.24);
}

.status-pill.is-muted {
  background: rgba(11, 11, 11, 0.05);
  color: var(--ink-muted);
  border: 1px solid rgba(11, 11, 11, 0.10);
}

.dl-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  margin: 0;
}

.dl-grid dt {
  padding: 14px 16px 14px 0;
  border-top: 1px solid rgba(11, 11, 11, 0.08);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dl-grid dd {
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(11, 11, 11, 0.08);
  font-size: 14px;
  line-height: 1.58;
  color: var(--ink);
}

.dl-grid dt:first-of-type,
.dl-grid dd:first-of-type {
  border-top: 0;
  padding-top: 2px;
}

/* ---------------------------------------------------------------
   EXECUTIVE SPECIMEN SHEETS (SAMPLE REPORTS)
   --------------------------------------------------------------- */
.specimen-sheet > * { min-width: 0; }
.specimen-sheet { min-width: 0;
  position: relative;
  border-radius: var(--r-lg);
  padding: 30px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 255, 255, 0.56) 100%);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  border: 1px solid rgba(255, 255, 255, 0.90);
  box-shadow: var(--glass-shadow);
  display: grid;
  gap: 22px;
}

.specimen-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(11, 11, 11, 0.08);
}

.specimen-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(11, 11, 11, 0.07);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.specimen-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.specimen-kpi {
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(11, 11, 11, 0.08);
  font-variant-numeric: tabular-nums;
}

.specimen-kpi strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 6px;
}

.specimen-kpi span {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.point-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.point-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(11, 11, 11, 0.08);
}

.point-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  padding-top: 2px;
}

.point-row strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.point-row p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.funnel-bars {
  display: grid;
  gap: 12px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.funnel-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.07);
  overflow: hidden;
}

.funnel-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), #2F6F4E);
}

.funnel-fill.is-amber {
  background: linear-gradient(90deg, var(--amber), #D97706);
}

.funnel-fill.is-muted {
  background: rgba(11, 11, 11, 0.34);
}

/* ---------------------------------------------------------------
   ARTICLES, GUIDES & STICKY TOC SHELL
   --------------------------------------------------------------- */
.article-shell {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.toc-glass {
  position: sticky;
  top: 98px;
  padding: 20px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.toc-glass-label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.toc-glass nav {
  display: grid;
  gap: 6px;
}

.toc-glass a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-muted);
  text-decoration: none;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.toc-glass a:hover {
  background: rgba(11, 11, 11, 0.05);
  color: var(--ink);
}

.prose-column {
  min-width: 0;
  display: grid;
  gap: 24px;
}

.prose-section { min-width: 0;
  padding: 28px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.prose-section h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--ink);
}

.prose-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 18px 0 8px;
  color: var(--ink);
}

.prose-section p {
  max-width: 68ch;
  margin: 0 0 13px;
  font-size: 15px;
  line-height: 1.66;
  color: var(--ink-muted);
  text-wrap: pretty;
}

.prose-section p:last-child {
  margin-bottom: 0;
}

.prose-section ul,
.prose-section ol {
  max-width: 66ch;
  margin: 0 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.prose-section strong {
  color: var(--ink);
}

.answer-card {
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: rgba(20, 83, 45, 0.06);
  border: 1px solid rgba(20, 83, 45, 0.16);
}

.answer-card p {
  margin: 0;
  max-width: 68ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

/* ---------------------------------------------------------------
   INTERACTIVE TOOL CONTROLS (SIMULATOR / LIST CHECK / INSPECTORS)
   --------------------------------------------------------------- */
.tool-input,
.tool-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(11, 11, 11, 0.14);
  background: rgba(255, 255, 255, 0.78);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.tool-textarea {
  min-height: 156px;
  resize: vertical;
  line-height: 1.55;
}

.tool-input:focus,
.tool-textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.14);
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 1040px) {
  .sub-hero-grid,
  .split-plate,
  .glass-grid-2,
  .glass-grid-3,
  .article-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc-glass {
    position: static;
  }
  .band-grid-4,
  .specimen-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sub-hero {
    padding: 30px 12px 28px;
  }
  .band-grid-4,
  .meter-metrics-3,
  .specimen-kpis,
  .dl-grid,
  .point-row,
  .funnel-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .dl-grid dt {
    padding: 14px 0 4px;
  }
  .dl-grid dd {
    border-top: 0;
    padding: 0 0 14px;
  }
  .glass-card,
  .specimen-sheet,
  .prose-section,
  .glass-hero,
  .sub-hero-plate {
    padding: 20px 18px;
    border-radius: var(--r-md);
  }
}

/* ---------------------------------------------------------------
   SHARED SUBPAGE ALIASES, SKIP ACCESSIBILITY & FORM/FOOTER PARITY
   Ensures all 24 subpages share consistent Liquid Optical Glass
   surfaces, token mappings, accessibility hiding, and spacing.
   --------------------------------------------------------------- */
:root {
  --ink-muted: var(--muted);
  --emerald: var(--forest);
  --glass-shadow: var(--shadow-glass);
  --serif: var(--sans);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--dark);
  color: var(--on-dark);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sub-section {
  padding: 88px 24px 0;
}

.sub-section-head {
  max-width: 700px;
  margin-bottom: 40px;
}

.sub-hero-plate,
.glass-hero {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.80) 0%, rgba(255, 254, 250, 0.60) 100%);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-glass);
  padding: clamp(28px, 4vw, 44px);
}

.glass-hero-inner {
  margin: 0 auto;
}

.sub-hero-plate h1,
.sub-h1,
.glass-hero h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.036em;
  margin: 10px 0 16px;
  text-wrap: balance;
}

.sub-h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
  text-wrap: balance;
}

.sub-lead {
  font-size: clamp(16px, 1.45vw, 18.5px);
  line-height: 1.56;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0;
  text-wrap: pretty;
}

.sub-p {
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0;
  text-wrap: pretty;
}

.eyebrow-pill,
.badge-mono {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 20, 15, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  border: 1px solid rgba(22, 20, 15, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(22, 20, 15, 0.24);
    transform: translateY(-1px);
  }
}

.glass-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card-h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}

.card-copy {
  font-size: 14.5px;
  line-height: 1.56;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}

.faq-list {
  display: grid;
  gap: 12px;
}

/* Standalone Closer Pavilion & Form Vessel outside .section-band */
main > .closer-pavilion {
  max-width: min(var(--measure), calc(100% - 48px));
  margin: var(--space-2xl, 88px) auto 0;
}

.closer-shell {
  width: 100%;
}

/* Defensive light-surface contrast enforcement */
body,
.glass-card,
.glass-card-inset,
.form-plate,
.form-vessel,
.prose-section,
.specimen-sheet,
.toc-glass {
  color: var(--ink);
}

.form-plate h3,
.form-plate p,
.form-plate label,
.form-vessel h3,
.form-vessel p,
.form-vessel label {
  color: var(--ink);
}

.form-plate .form-fine,
.form-vessel .form-fine {
  color: var(--muted);
}

.closer-copy h2 {
  color: var(--on-dark);
  font-size: clamp(27px, 3.2vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  text-wrap: balance;
}

.closer-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
}

.closer-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-dark-muted);
}

.closer-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.form-vessel {
  background: rgba(255, 254, 250, 0.96);
  color: var(--ink);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  padding: 26px 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
  margin-bottom: 12px;
}

.field {
  display: grid;
  gap: 5px;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(22, 20, 15, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber-ink);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.20);
}

.form-fine {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 12px;
}

.form-fine a {
  color: var(--forest);
  font-weight: 600;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Footer Grid Parity for legacy class hooks */
.footer-grid {
  max-width: var(--measure);
  margin: 0 auto;
  border-radius: var(--r-lg);
  background: var(--glass-1);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  padding: 34px 36px 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  color: var(--muted);
}

.footer-col h3 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 10px;
}

.footer-col a {
  display: block;
  padding: 3px 0;
  text-decoration: none;
  font-size: 13.5px;
  color: var(--ink-2);
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--measure);
  margin: 14px auto 0;
  padding: 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 1040px) {
  .glass-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .glass-grid-4,
  .form-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  main > .closer-pavilion {
    max-width: calc(100% - 24px);
    padding: 22px 16px;
    border-radius: 26px;
  }
  .form-vessel {
    padding: 20px 18px;
    border-radius: 20px;
  }
  .footer-grid {
    padding: 22px 18px;
  }
}


/* === Stage 1: Unified v1.3 Site Shell & Surface Standard === */
.header-shell {
  position: sticky;
  top: 14px;
  z-index: 100;
  max-width: 1328px;
  margin: 14px auto 20px;
  padding: 0 24px;
  box-sizing: border-box;
}
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  min-height: 56px;
  padding: 8px 8px 8px 20px;
  box-sizing: border-box;
  border-radius: 999px;
  background: rgba(255, 254, 250, 0.78);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.90);
  box-shadow:
    0 8px 24px -12px rgba(22, 20, 15, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.header-shell.is-scrolled .top-bar {
  background: rgba(255, 254, 250, 0.88);
  box-shadow:
    0 14px 32px -14px rgba(22, 20, 15, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}
.top-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.top-bar .brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.left-nav {
  position: relative;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(22, 20, 15, 0.045);
  border: 1px solid rgba(22, 20, 15, 0.07);
  box-shadow:
    inset 0 1.5px 4px rgba(22, 20, 15, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.85);
}
.left-nav a {
  position: relative;
  z-index: 1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 13px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .left-nav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.65);
  }
}
.corner-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.corner-pill .nav-ext {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms var(--ease), background-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .corner-pill .nav-ext:hover:not(.is-active) {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.62);
  }
}
.corner-pill .nav-ext.is-active {
  color: var(--ink);
  font-weight: 600;
  background: #FFFFFF;
  box-shadow:
    0 3px 10px -3px rgba(22, 20, 15, 0.14),
    inset 0 1px 0 #FFFFFF;
}
.progress-under {
  display: none;
}
/* Unified v1.3 light glass outer cards and deeper white inner cards on subpages */
.glass-card,
.glass-frame,
.swiss-footer .footer-glass {
  background:
    radial-gradient(circle at 12% 16%, rgba(232, 163, 61, 0.10), transparent 52%),
    radial-gradient(circle at 88% 84%, rgba(62, 107, 82, 0.08), transparent 50%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(247, 244, 237, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 20px 46px -22px rgba(22, 20, 15, 0.11),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.96);
}
.glass-card-inset,
.band-card:not(.is-selected) {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 10px 24px -14px rgba(22, 20, 15, 0.09),
    inset 0 1px 0 #FFFFFF;
}
.band-card.is-selected {
  background:
    radial-gradient(circle at 86% 18%, rgba(232, 163, 61, 0.14), transparent 54%),
    linear-gradient(150deg, rgba(33, 59, 46, 0.96), rgba(22, 41, 32, 0.95));
  border-color: rgba(255, 255, 255, 0.20);
  color: var(--on-dark);
}
.swiss-footer.footer-wrap {
  max-width: 1328px;
  margin: 0 auto;
  padding: 88px 24px 28px;
  box-sizing: border-box;
}
.swiss-footer.footer-wrap .footer-glass {
  max-width: none;
  border-radius: var(--r-lg);
  padding: 36px 40px 28px;
}
@media (max-width: 1080px) {
  .corner-pill .nav-ext:not(.is-active) { display: none; }
}
@media (max-width: 768px) {
  .header-shell { padding: 0 12px; top: 8px; }
  .top-bar { padding: 6px 6px 6px 14px; }
  .left-nav { display: none; }
  .swiss-footer.footer-wrap { padding: 56px 12px 20px; }
}


/* === Stage 2: v1.3 Commercial, Specimen Report & Form Polish === */
:root {
  --measure: 1280px;
  --space-lg: 40px;
  --space-2xl: 88px;
}

.container {
  max-width: var(--measure);
  margin: 0 auto;
}

.sub-hero {
  padding: 18px 24px 0;
}

.section-band,
.sub-section {
  padding: 88px 24px 0;
}

.section-intro-tight {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 40px;
}

.section-head--split p {
  margin: 0 0 4px;
  padding-left: 20px;
  border-left: 2px solid rgba(142, 81, 0, 0.28);
  font-size: 15.5px;
  line-height: 1.52;
  color: var(--ink-2);
}

/* Outer light glass standard across subpages */
.sub-hero-plate,
.glass-hero,
.glass-card,
.glass-frame,
.instrument-frame,
.specimen-sheet,
.faq-item,
.toc-glass {
  background:
    radial-gradient(circle at 12% 16%, rgba(232, 163, 61, 0.10), transparent 52%),
    radial-gradient(circle at 88% 84%, rgba(62, 107, 82, 0.08), transparent 50%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.78), rgba(247, 244, 237, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 20px 46px -22px rgba(22, 20, 15, 0.11),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.96);
}

/* Deeper crisp white inner highlight cards */
.glass-card-inset,
.rep-surface,
.specimen-kpi,
.point-row,
.glass-table-wrap,
.meter-box,
.spec-cell,
.mini-item,
.prose-section,
.band-card:not(.is-selected),
.faq-item[open] {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 10px 24px -14px rgba(22, 20, 15, 0.09),
    inset 0 1px 0 #FFFFFF;
}

.specimen-kpi strong {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Selected band card in v1.3 friendly forest-green */
.band-card.is-selected {
  background:
    radial-gradient(circle at 86% 18%, rgba(232, 163, 61, 0.16), transparent 54%),
    linear-gradient(150deg, rgba(33, 59, 46, 0.96), rgba(22, 41, 32, 0.95));
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--on-dark);
  box-shadow:
    0 18px 36px -14px rgba(18, 34, 26, 0.36),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.20);
}
.band-card.is-selected .band-card-tier {
  color: #F6B95E;
}
.band-card.is-selected strong {
  color: var(--on-dark);
}
.band-card.is-selected span:not(.band-card-tier) {
  color: rgba(246, 244, 238, 0.78);
}

/* Friendlier forest-green dark bands and closer pavilion on subpages */
.dark-band,
.closer-pavilion,
.meter-result-plate {
  background:
    radial-gradient(circle at 12% 18%, rgba(84, 145, 108, 0.34), transparent 54%),
    radial-gradient(circle at 88% 82%, rgba(232, 163, 61, 0.16), transparent 50%),
    linear-gradient(148deg, rgba(31, 56, 44, 0.96), rgba(21, 39, 30, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 28px 64px -18px rgba(18, 34, 26, 0.34),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.18);
  color: var(--on-dark);
}

.dark-band .section-intro-tight h2,
.dark-band h2,
.dark-band h3 {
  color: var(--on-dark);
}
.dark-band .section-intro-tight p,
.dark-band p {
  color: rgba(246, 244, 238, 0.84);
}
.dark-band .coord-index {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  color: #F6B95E;
}
.dark-band .glass-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  color: var(--on-dark);
}
.dark-band .glass-card .badge-mono {
  background: rgba(232, 163, 61, 0.16);
  border-color: rgba(232, 163, 61, 0.36);
  color: #F6D59B;
}

/* Report switcher pill bar inside sample reports */
.report-Verify-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(22, 20, 15, 0.05);
  border: 1px solid rgba(22, 20, 15, 0.08);
  margin-top: 18px;
}
.report-Verify-switcher a {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 13px;
  border-radius: 999px;
  transition: color 150ms ease, background-color 150ms ease;
}
.report-Verify-switcher a.is-active {
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 2px 8px -2px rgba(22, 20, 15, 0.12), inset 0 1px 0 #FFFFFF;
}

/* Unified 42px form controls and full-height form plate on subpages */
.closer-pavilion {
  padding: 36px;
  border-radius: var(--r-xl);
}
.closer-grid {
  gap: 36px;
  align-items: stretch;
}
.closer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.closer-left .section-more {
  max-width: 40ch;
  margin: 16px 0 0;
  color: rgba(246, 244, 238, 0.72);
  font-size: 13px;
  line-height: 1.5;
}
.form-plate {
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: var(--r-lg);
}
.form-plate h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 4px;
}
.form-plate .form-sub {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0;
}
.form-plate .form-fields,
.f-item input,
.f-item select,
.field input,
.field select {
  box-sizing: border-box;
}
.f-item input,
.f-item select,
.field input,
.field select {
  width: 100%;
  height: 42px;
  min-height: 42px;
  font-size: 14px;
  line-height: 1.4;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(22, 20, 15, 0.14);
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}
.f-item select,
.field select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding: 9px 36px 9px 14px;
  background: rgba(255, 255, 255, 0.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%233A3730' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 12px 12px;
}
.f-item select::-ms-expand,
.field select::-ms-expand,
.f-item select::picker-icon,
.field select::picker-icon {
  display: none;
}
.form-foot-block {
  display: grid;
  gap: 12px;
  margin-top: auto;
}
.form-privacy-note {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0;
}
.form-privacy-note a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 1040px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .section-head--split p {
    padding-left: 0;
    border-left: none;
  }
}
@media (max-width: 768px) {
  .section-band,
  .sub-section {
    padding: 56px 12px 0;
  }
  main > .closer-pavilion {
    margin: 56px auto 0;
  }
  .closer-pavilion {
    padding: 22px 20px;
    border-radius: var(--r-lg);
  }
  .form-plate {
    height: auto;
    padding: 20px;
  }
}

/* === Stage 3: Trust, Interactive Tools & Company Polish (v1.3) === */
.sec-payload-box {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background:
    radial-gradient(circle at 12% 18%, rgba(84, 145, 108, 0.34), transparent 54%),
    radial-gradient(circle at 88% 82%, rgba(232, 163, 61, 0.16), transparent 50%),
    linear-gradient(148deg, rgba(31, 56, 44, 0.96), rgba(21, 39, 30, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 36px -14px rgba(18, 34, 26, 0.32),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.16);
  color: var(--on-dark);
}
.sec-payload-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.sec-payload-title {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #F6B95E;
}
.sec-payload-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--forest);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.sec-payload-pre {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(14, 28, 21, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--on-dark);
  white-space: pre-wrap;
}
.sec-payload-note {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.48;
  color: rgba(246, 244, 238, 0.84);
}
.dark-band .status-pill.is-alert,
.dark-band .status-pill.is-ok,
.dark-band .status-pill.is-warn {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 4px 12px -4px rgba(10, 20, 15, 0.28);
}
.dark-band .check-list li {
  color: rgba(246, 244, 238, 0.90);
}
.tool-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(22, 20, 15, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.55;
  resize: vertical;
  transition: border-color 150ms var(--ease), box-shadow 150ms var(--ease);
}
.tool-textarea:focus {
  outline: none;
  border-color: var(--amber-ink);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.22);
}
.tool-input {
  width: 100%;
  box-sizing: border-box;
  height: 42px;
  min-height: 42px;
  padding: 9px 36px 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(22, 20, 15, 0.14);
  background: rgba(255, 255, 255, 0.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%233A3730' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
  background-size: 12px 12px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
}
.f-item textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 92px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(22, 20, 15, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.48;
  resize: vertical;
}
.f-item textarea:focus,
.tool-input:focus {
  outline: none;
  border-color: var(--amber-ink);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.22);
}
.lc-file-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(22, 20, 15, 0.10);
  font-size: 12.5px;
  color: var(--ink-2);
}
.answer-card {
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(62, 107, 82, 0.26);
  box-shadow: 0 10px 24px -14px rgba(22, 20, 15, 0.09);
}
.answer-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink);
}

/* Shared subpage typography & layout helpers (replaces raw inline styles) */
.closer-left > h2 {
  color: var(--on-dark);
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.08;
  margin: 10px 0 12px;
  text-wrap: balance;
}
.closer-left > p.sub {
  color: rgba(246, 244, 238, 0.84);
  font-size: 15.5px;
  line-height: 1.52;
  margin: 0 0 24px;
}
.form-foot-block .btn-amber {
  width: 100%;
}
.glass-grid-2 > .glass-card-inset,
.glass-grid-3 > .glass-card-inset,
.glass-grid-4 > .glass-card-inset {
  height: 100%;
  box-sizing: border-box;
}
.glass-card-inset > .status-pill + .card-h3,
.glass-card-inset > .badge-mono + .card-h3 {
  margin-top: 12px;
}
.section-head--split .sub-h2,
.section-intro-tight .sub-h2 {
  margin: 10px 0 0;
}

/* 40px (--space-lg) heading-to-widget rhythm on inner pages */
.sub-hero-grid + .band-grid-4,
.sub-hero-grid + .glass-grid-3 {
  margin-top: var(--space-lg);
}
.section-intro-tight,
.sub-section-head,
.section-head--split {
  margin-bottom: var(--space-lg);
}
.specimen-head {
  margin-bottom: 18px;
}
.prose-section h2 + .glass-table-wrap,
.prose-section h2 + .glass-grid-2,
.prose-section h2 + .glass-grid-3,
.prose-section h2 + .glass-grid-4,
.prose-section h2 + .faq-item,
.prose-section h2 + .faq-list,
.prose-section h2 + .dl-grid,
.prose-section h2 + .preset-row,
.prose-section h2 + .glass-card-inset,
.prose-section p + .glass-table-wrap,
.prose-section p + .glass-grid-2,
.prose-section p + .glass-grid-3,
.prose-section p + .glass-grid-4,
.prose-section p + .preset-row,
.prose-section p + .glass-card-inset,
.glass-card > h2 + .glass-card-inset,
.glass-card > h2 + .glass-table-wrap,
.glass-card > p + .glass-grid-2,
.glass-card > h3 + .faq-stack,
.glass-card > h3 + .faq-list,
.sub-h2 + .glass-grid-2,
.sub-h2 + .glass-grid-3,
.sub-h2 + .glass-card,
.sub-h2 + .glass-table-wrap,
.sub-h2 + .faq-stack,
.sub-h2 + .faq-list {
  margin-top: var(--space-lg);
}
.prose-section .glass-table-wrap + p,
.prose-section .glass-grid-2 + p,
.prose-section .glass-grid-3 + p,
.prose-section .glass-grid-4 + p,
.prose-section .glass-card-inset + p {
  margin-top: 16px;
}
#pr57-faq {
  margin-top: var(--space-lg);
}
#pr57-faq > h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 var(--space-lg);
}




/* Standardised contrast on dark and light glass surfaces */
.prose-section .diagram-figure--dark .diagram-title,
.prose-section .q-widget--dark .diagram-title,
.prose-section .d-card--dark .diagram-title {
  color: var(--amber);
}
.prose-section .d-card--dark,
.prose-section .diagram-figure--dark,
.prose-section .q-widget--dark {
  color: var(--on-dark-muted);
}
.prose-section .d-card--dark h3,
.prose-section .d-card--dark h4,
.prose-section .d-card--dark strong,
.prose-section .diagram-figure--dark > h3,
.prose-section .diagram-figure--dark > h4,
.prose-section .diagram-figure--dark > strong,
.prose-section .q-widget--dark > h3,
.prose-section .q-widget--dark > h4,
.prose-section .q-widget--dark > strong {
  color: var(--on-dark);
}
.prose-section .d-card--dark p,
.prose-section .d-card--dark li,
.prose-section .d-card--dark .d-kv span,
.prose-section .d-card--dark span:not(.badge-mono):not(.status-pill):not(.q-pill):not(.d-card-tag) {
  color: var(--on-dark-muted);
}
.prose-section .d-card:not(.d-card--dark) h3,
.prose-section .d-card:not(.d-card--dark) h4,
.prose-section .d-card:not(.d-card--dark) strong {
  color: var(--ink);
}
.prose-section .d-card:not(.d-card--dark) p,
.prose-section .d-card:not(.d-card--dark) li,
.prose-section .d-card:not(.d-card--dark) .d-kv span,
.prose-section .d-card:not(.d-card--dark) span:not(.badge-mono):not(.status-pill):not(.q-pill) {
  color: var(--ink-2);
}
.prose-section .d-card--dark .d-kv small,
.prose-section .d-card--dark .d-card-tag {
  color: var(--amber);
}
.prose-section .d-card--dark .badge-mono,
.prose-section .d-card--dark .status-pill,
.prose-section .d-card--dark .q-pill,
.prose-section .ag-summary .q-pill {
  background: rgba(232, 163, 61, 0.20);
  border: 1px solid rgba(232, 163, 61, 0.45);
  color: var(--amber);
}
.prose-section .rao-scenario-bar .rao-trigger-line,
.prose-section .aup-lane-panel .aup-lane-summary,
.prose-section .wo-detail-panel .wo-org-note {
  color: var(--on-dark-muted);
}
