/* Hamilton Ross — Institutional U.S. Corporate Unclaimed Property Advisory
   Grounded in real niche visual architecture (Eisen, MarketSphere, Watters) */

:root {
  --bg-canvas: #ffffff;
  --bg-subtle: #f4f6fa;
  --bg-muted: #e9eef5;
  --bg-navy: #0a224e;
  --bg-navy-deep: #071736;
  --bg-obsidian: #0d1524;

  --ink-primary: #0f172a;
  --ink-secondary: #334155;
  --ink-muted: #526277;
  --ink-inverse: #ffffff;
  --ink-inverse-muted: #cbd5e1;

  --accent-cobalt: #1d4ed8;
  --accent-cobalt-hover: #1e40af;
  --accent-teal: #0f766e;
  --accent-teal-soft: #ecfdf5;
  --accent-oxblood: #881337;
  --accent-oxblood-soft: #fff1f2;
  --accent-amber: #b45309;
  --accent-amber-soft: #fffbeb;

  --border-hairline: #dce3ed;
  --border-strong: #b8c4d4;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;

  --font-sans: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --container-max: 1240px;
  --gutter: 24px;
  --t-fast: 150ms cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent-cobalt);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover { color: var(--accent-cobalt-hover); }

:focus-visible {
  outline: 2px solid var(--accent-cobalt);
  outline-offset: 2px;
}

.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;
}

.hp-trap {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.measure { max-width: 68ch; }
.tabular { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); }

/* Top Urgent Utility Bar (MarketSphere + Eisen pattern) */
.utility-bar {
  background: var(--bg-obsidian);
  color: var(--ink-inverse);
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-height: 40px;
  padding-block: 6px;
}

.utility-bar__triggers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.utility-bar__label {
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}

.utility-bar__triggers a {
  color: #e2e8f0;
  font-weight: 500;
  white-space: nowrap;
}

.utility-bar__triggers a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.utility-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

.utility-bar__cta:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Sticky Primary Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-hairline);
}

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-primary);
  flex-shrink: 0;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-mark__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bg-navy);
}

.brand-mark__sub {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-secondary);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
  color: var(--bg-navy);
  background: var(--bg-subtle);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 310px;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(10, 34, 78, 0.12);
  padding: 8px;
  display: none;
  z-index: 80;
}

.nav-item.open .nav-dropdown,
.nav-item:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink-primary);
  font-size: 13.5px;
  font-weight: 600;
}

.nav-dropdown a span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: 2px;
}

.nav-dropdown a:hover {
  background: var(--bg-subtle);
  color: var(--accent-cobalt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-primary);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent-cobalt);
  color: #ffffff;
}
.btn--primary:hover {
  background: var(--accent-cobalt-hover);
  color: #ffffff;
}

.btn--navy {
  background: var(--bg-navy);
  color: #ffffff;
}
.btn--navy:hover {
  background: var(--bg-navy-deep);
  color: #ffffff;
}

.btn--teal {
  background: var(--accent-teal);
  color: #ffffff;
}
.btn--teal:hover {
  background: #0d5e57;
  color: #ffffff;
}

.btn--outline {
  background: #ffffff;
  color: var(--ink-primary);
  border-color: var(--border-strong);
}
.btn--outline:hover {
  background: var(--bg-subtle);
  border-color: var(--ink-secondary);
  color: var(--ink-primary);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 13.5px;
}

/* Typography & Sections */
.section {
  padding-block: 76px;
}

.section--compact {
  padding-block: 52px;
}

.section--subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.section--navy {
  background: var(--bg-navy);
  color: var(--ink-inverse);
}

.section--obsidian {
  background: var(--bg-obsidian);
  color: var(--ink-inverse);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-cobalt);
  margin-bottom: 12px;
}

.section--navy .eyebrow,
.section--obsidian .eyebrow {
  color: #93c5fd;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: var(--ink-primary);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-secondary);
  margin: 0 0 24px;
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--obsidian h1,
.section--obsidian h2,
.section--obsidian h3 {
  color: #ffffff;
}

.section--navy .lead,
.section--obsidian .lead {
  color: var(--ink-inverse-muted);
}

/* Badges & Statutory Tags */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  border: 1px solid var(--border-hairline);
  background: var(--bg-subtle);
  color: var(--ink-secondary);
}

.badge--teal {
  background: var(--accent-teal-soft);
  color: var(--accent-teal);
  border-color: #a7f3d0;
}

.badge--oxblood {
  background: var(--accent-oxblood-soft);
  color: var(--accent-oxblood);
  border-color: #fecdd3;
}

.badge--amber {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
  border-color: #fde68a;
}

.badge--cobalt {
  background: #eff6ff;
  color: var(--accent-cobalt);
  border-color: #bfdbfe;
}

/* Hero Architecture (Asymmetric Split + Ledger Anchor) */
.hero {
  padding-block: 56px 64px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6fa 100%);
  border-bottom: 1px solid var(--border-hairline);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  background: var(--bg-navy);
}

.hero__photo-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  opacity: 0.92;
}

.hero__photo-caption {
  padding: 20px 22px;
  background: var(--bg-navy);
  color: #ffffff;
  border-top: 3px solid var(--accent-teal);
}

.hero__photo-caption strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.hero__photo-caption span {
  font-size: 13.5px;
  color: var(--ink-inverse-muted);
}

/* Urgent Triage Strip (Watters + MarketSphere hybrid) */
.triage-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.triage-chip {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-left: 3px solid var(--accent-cobalt);
  border-radius: var(--radius-sm);
  color: var(--ink-primary);
  font-size: 13px;
  font-weight: 600;
}

.triage-chip span {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-top: 2px;
}

.triage-chip:hover {
  border-color: var(--accent-cobalt);
  background: #f8fbff;
}

/* Eisen-Style Analysis Summary Ledger Preview */
.ledger-shell {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.ledger-shell__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-hairline);
}

.ledger-shell__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--bg-navy);
}

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

.kpi-card {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px;
}

.kpi-card__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.kpi-card__value {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--bg-navy);
  font-variant-numeric: tabular-nums;
  margin-bottom: 6px;
}

.kpi-card__note {
  font-size: 13px;
  color: var(--ink-secondary);
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  background: #ffffff;
}

table.ledger-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

table.ledger-table th {
  padding: 12px 16px;
  background: var(--bg-subtle);
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-hairline);
  white-space: nowrap;
}

table.ledger-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: top;
}

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

table.ledger-table tbody tr:hover {
  background: #f8fafd;
}

.num-col {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

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

.card {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card--subtle {
  background: var(--bg-subtle);
}

.card__eyebrow {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cobalt);
  margin-bottom: 8px;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

/* MarketSphere-Inspired Stacked Service Bars */
.service-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-navy);
  color: #ffffff;
  border-radius: 3px;
  font-weight: 600;
  font-size: 16px;
  transition: background-color var(--t-fast), transform var(--t-fast);
}

.service-bar:hover {
  background: var(--accent-cobalt);
  color: #ffffff;
  transform: translateX(3px);
}

.service-bar span {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-inverse-muted);
  margin-top: 2px;
}

/* Page Header / Breadcrumbs */
.page-hero {
  padding-block: 44px 40px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-hairline);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 14px;
}

.breadcrumbs a { color: var(--ink-secondary); }
.breadcrumbs a:hover { color: var(--accent-cobalt); }

/* Content Split (Main Prose + Sticky Sidebar) */
.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.sticky-aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aside-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 22px;
}

.aside-box--navy {
  background: var(--bg-navy);
  color: #ffffff;
  border-color: var(--bg-navy);
}

.aside-box--navy h3,
.aside-box--navy p {
  color: #ffffff;
}

.aside-box--navy p {
  color: var(--ink-inverse-muted);
  font-size: 14px;
}

/* Interactive Calculators & Forms */
.calc-layout {
  display: grid;
  grid-template-columns: 365px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.calc-layout table.ledger-table th,
.calc-layout table.ledger-table td {
  padding: 10px 11px;
  font-size: 13px;
}

.panel {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px;
}

.field-group {
  margin-bottom: 18px;
}

.field-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.field-hint {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-primary);
  background: #ffffff;
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--accent-cobalt);
  outline: 2px solid rgba(29, 78, 216, 0.15);
}

.textarea { min-height: 110px; resize: vertical; }

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.state-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-mono);
  cursor: pointer;
  color: var(--ink-secondary);
}

.state-chip.active {
  background: var(--bg-navy);
  color: #ffffff;
  border-color: var(--bg-navy);
}

.range-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.range-row input[type="range"] {
  flex: 1;
  accent-color: var(--accent-cobalt);
}

.range-val {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  min-width: 68px;
  text-align: right;
}

/* Alerts / Callouts */
.callout {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  border-left: 4px solid var(--accent-cobalt);
  background: #f8fbff;
  margin-block: 18px;
}

.callout--oxblood {
  border-left-color: var(--accent-oxblood);
  background: var(--accent-oxblood-soft);
}

.callout--teal {
  border-left-color: var(--accent-teal);
  background: var(--accent-teal-soft);
}

.callout--amber {
  border-left-color: var(--accent-amber);
  background: var(--accent-amber-soft);
}

.callout > strong:first-child {
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details.faq-item {
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 16px 20px;
}

details.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

details.faq-item p {
  margin: 12px 0 0;
  color: var(--ink-secondary);
  font-size: 15px;
}

/* Form Status Messages */
.form-status {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: 14px;
  display: none;
}

.form-status.visible { display: block; }
.form-status--error {
  background: var(--accent-oxblood-soft);
  color: var(--accent-oxblood);
  border: 1px solid #fecdd3;
}
.form-status--success {
  background: var(--accent-teal-soft);
  color: #064e3b;
  border: 1px solid #a7f3d0;
}

/* Footer */
.site-footer {
  background: var(--bg-obsidian);
  color: var(--ink-inverse-muted);
  padding-block: 64px 36px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--ink-inverse-muted);
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-disclosures {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

/* Mobile Nav Drawer */
.mobile-drawer {
  display: none;
  border-top: 1px solid var(--border-hairline);
  background: #ffffff;
  padding: 16px var(--gutter) 24px;
}

.mobile-drawer.open { display: block; }

.mobile-drawer a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--ink-primary);
  font-weight: 600;
}

/* Executive Print / Save-as-PDF Styles */
.print-memo-header { display: none; }

@media print {
  .utility-bar,
  .site-header,
  .site-footer,
  .no-print,
  .triage-strip,
  .sticky-aside,
  .breadcrumbs {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
    font-size: 11pt;
  }

  .print-memo-header {
    display: block !important;
    border-bottom: 2px solid #0a224e;
    padding-bottom: 10px;
    margin-bottom: 18px;
  }

  .calc-layout,
  .content-split,
  .grid-2,
  .grid-3 {
    display: block !important;
  }

  .panel, .kpi-card, .table-wrap {
    border-color: #999 !important;
    margin-bottom: 14px;
    break-inside: avoid;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .primary-nav,
  .header-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .hero__grid,
  .calc-layout,
  .content-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .triage-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sticky-aside {
    position: static;
  }
}

@media (max-width: 820px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .kpi-strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .triage-strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .section {
    padding-block: 48px;
  }
}

/* Comparison Hub, Verdict Strips, Interactive Switchers & 375px Responsive Matrix */
.verdict-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.verdict-card {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.verdict-card--safe {
  border-top: 4px solid var(--accent-teal);
  background: #f6fefb;
}

.verdict-card--specialist {
  border-top: 4px solid var(--accent-oxblood);
  background: #ffffff;
}

.verdict-card h3 {
  font-size: 17px;
  margin: 10px 0 8px;
}

.verdict-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.pill-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pill-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink-secondary);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  white-space: normal;
  text-align: left;
  max-width: 100%;
  cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.pill-tab:hover {
  border-color: var(--accent-cobalt);
  color: var(--bg-navy);
}

.pill-tab.active {
  background: var(--bg-navy);
  border-color: var(--bg-navy);
  color: #ffffff;
}

.switcher-shell {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-top: 4px solid var(--bg-navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-block: 28px;
}

.switcher-shell__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-hairline);
}

.switcher-shell__body {
  padding: 22px;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-primary);
}

.checkbox-row input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-cobalt);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.source-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.source-list li {
  padding: 12px 14px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  font-size: 13.5px;
}

.source-list strong {
  display: block;
  color: var(--ink-primary);
}

.source-list span {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.related-strip {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
}

.related-strip h3 {
  font-size: 15px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bg-navy);
}

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

.related-link-card {
  display: flex;
  flex-direction: column;
  padding: 11px 14px;
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-primary);
}

.related-link-card span {
  font-size: 11px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cobalt);
  margin-bottom: 2px;
}

.related-link-card:hover {
  border-color: var(--accent-cobalt);
  color: var(--accent-cobalt);
}

table.compare-table {
  table-layout: fixed;
  width: 100%;
}

table.compare-table th {
  white-space: normal;
  line-height: 1.35;
  padding: 12px 13px;
}

table.compare-table td {
  padding: 12px 13px;
  font-size: 13.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

table.compare-table th:first-child {
  width: 22%;
}

table.compare-table td:first-child {
  font-weight: 700;
  color: var(--bg-navy);
  background: #fafbfd;
}

@media (max-width: 820px) {
  .utility-bar__triggers a {
    white-space: normal;
  }

  .verdict-strip,
  .related-links-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .table-wrap--compare {
    border: 0;
    background: transparent;
    overflow-x: visible;
  }

  table.compare-table,
  table.compare-table thead,
  table.compare-table tbody,
  table.compare-table tr,
  table.compare-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  table.compare-table {
    table-layout: auto;
  }

  table.compare-table thead {
    display: none;
  }

  table.compare-table tbody {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  table.compare-table tbody tr {
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    background: #ffffff;
    overflow: hidden;
  }

  table.compare-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-hairline);
    font-size: 14px;
  }

  table.compare-table tbody td:first-child {
    background: var(--bg-navy);
    color: #ffffff;
    font-size: 13.5px;
    letter-spacing: 0.01em;
  }

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

  table.compare-table tbody td[data-col]::before {
    content: attr(data-col);
    display: block;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent-cobalt);
    margin-bottom: 4px;
  }
}

@media print {
  table.compare-table,
  table.compare-table tbody,
  table.compare-table tr {
    display: table !important;
  }
  table.compare-table thead {
    display: table-header-group !important;
  }
  table.compare-table tr {
    display: table-row !important;
  }
  table.compare-table td,
  table.compare-table th {
    display: table-cell !important;
  }
  table.compare-table tbody td[data-col]::before {
    display: none !important;
  }
}
