:root {
  --color-bg: #fbfaf6;
  --color-bg-soft: #f3f7f4;
  --color-bg-band: #eef5f2;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;
  --color-text: #1f2a32;
  --color-text-muted: #52616b;
  --color-text-soft: #6b7780;
  --color-primary: #163a5f;
  --color-primary-hover: #102f50;
  --color-secondary: #28766f;
  --color-secondary-hover: #1f625c;
  --color-accent: #b65a3d;
  --color-success: #557c44;
  --color-warning: #8a640f;
  --color-danger: #b94a35;
  --color-border: #d9e1e6;
  --color-border-strong: #bac7cf;
  --color-focus: #0d9488;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(24, 45, 63, 0.06);
  --shadow-sm: 0 8px 22px rgba(24, 45, 63, 0.08);
  --shadow-md: 0 18px 55px rgba(24, 45, 63, 0.12);
  --shadow-lg: 0 28px 80px rgba(24, 45, 63, 0.16);
  --duration-fast: 150ms;
  --duration-base: 220ms;
  --duration-slow: 320ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 44px;
  --font-heading: "Crimson Pro", Georgia, "Times New Roman", serif;
  --font-handwritten: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --font-body: "Atkinson Hyperlegible", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ops: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --ink: var(--color-text);
  --muted: var(--color-text-muted);
  --line: var(--color-border);
  --paper: var(--color-bg);
  --surface: var(--color-surface);
  --blue: var(--color-primary);
  --teal: var(--color-secondary);
  --coral: var(--color-accent);
  --amber: #c79a31;
  --green: var(--color-success);
  --shadow: var(--shadow-md);
  --radius: var(--radius-sm);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.partner-context-banner {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-text-muted);
  font-size: 13px;
  box-shadow: var(--shadow-xs);
}

.partner-context-banner span {
  color: var(--color-text-soft);
}

.partner-context-banner strong {
  color: var(--color-primary);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  transform: translateY(-150%);
  transition: transform var(--duration-fast) var(--ease-standard);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(31, 42, 50, 0.09);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  min-width: 0;
}

.brand-mark-logo {
  display: block;
  width: 46px;
  height: 42px;
  object-fit: contain;
}

.brand-wordmark {
  display: block;
  width: clamp(168px, 19vw, 248px);
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.nav-links a {
  transition: color var(--duration-fast) var(--ease-standard);
}

.nav-links a:hover {
  color: var(--color-text);
}

.button,
.ghost-button,
.text-button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  transition:
    background var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    color var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
}

.button {
  background: var(--color-text);
  color: #fff;
  box-shadow: var(--shadow-xs);
}

.button.primary {
  background: var(--color-primary);
}

.button.primary:hover {
  background: var(--color-primary-hover);
}

.button.accent {
  background: var(--color-secondary);
}

.button.accent:hover {
  background: var(--color-secondary-hover);
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.button.full {
  width: 100%;
}

.ghost-button {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.55);
  color: var(--color-text);
}

.ghost-button:hover {
  border-color: var(--color-border-strong);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.text-button {
  min-height: 44px;
  padding: 0;
  background: transparent;
  color: var(--color-primary);
  font-weight: 800;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: #eef3f1;
  color: var(--color-text);
  font-size: 24px;
  line-height: 1;
  transition:
    background var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
}

.icon-button:hover {
  background: #dfe9e6;
}

button:disabled,
.button[aria-disabled="true"],
.ghost-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

@media (hover: hover) {
  .button:not(:disabled):hover,
  .ghost-button:not(:disabled):hover,
  .option:not(:disabled):hover {
    transform: translateY(-1px);
  }
}

.advisory-page {
  background: var(--color-bg);
}

.ops-page {
  background: var(--color-bg);
  font-family: var(--font-ops);
}

.hero {
  min-height: min(760px, calc(100vh - 72px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(30px, 5vw, 64px) clamp(18px, 4vw, 56px) 28px;
  background: var(--color-bg);
}

.home-hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(460px, 1.2fr) minmax(340px, 0.8fr);
  min-height: min(620px, calc(100vh - 100px));
  padding-top: clamp(34px, 5vw, 58px);
  background:
    linear-gradient(115deg, rgba(251, 250, 246, 0.98) 0%, rgba(251, 250, 246, 0.95) 48%, rgba(232, 242, 238, 0.9) 100%),
    var(--color-bg);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 250, 246, 0), rgba(22, 58, 95, 0.07));
}

.hero-copy {
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
}

.hero-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-proof-row span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(22, 58, 95, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.66);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 28px;
}

.hero-metrics div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(22, 58, 95, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-xs);
}

.hero-metrics strong {
  display: block;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 0.9;
}

.hero-metrics span {
  display: block;
  margin-top: 7px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow,
.label {
  margin: 0 0 10px;
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-heading);
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
}

@keyframes handwriting-reveal {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes handwritten-underline {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .handwritten-hero-line span,
  .handwritten-hero-line span::after {
    animation: none;
  }

  .handwritten-hero-line span::after {
    transform: scaleX(1);
  }
}

.heading-hero {
  max-width: 680px;
  font-size: clamp(42px, 4.8vw, 58px);
  line-height: 1;
}

.handwritten-hero-line {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: -6px 0 18px;
  color: var(--color-accent);
  font-family: var(--font-handwritten);
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.04;
  transform: rotate(-1.4deg);
}

.handwritten-hero-line span {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  animation: handwriting-reveal 1.25s steps(42, end) 380ms both;
}

.handwritten-hero-line span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 7px;
  border-radius: 999px;
  background: rgba(182, 90, 61, 0.22);
  transform: scaleX(0);
  transform-origin: left center;
  animation: handwritten-underline 720ms var(--ease-standard) 1.55s forwards;
  z-index: -1;
}

.heading-page {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.heading-section {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.heading-card {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.08;
}

.body-large,
.lede {
  max-width: 660px;
  color: var(--color-text-muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.5;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.hero-actions.center,
.action-row.center {
  justify-content: center;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill,
.meta,
.status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(31, 42, 50, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.76);
  color: #42515b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.meta.good,
.status-badge.good {
  background: #e8f3ee;
  color: var(--color-success);
}

.meta.warn,
.status-badge.warn {
  background: #fbf2dd;
  color: var(--color-warning);
}

.meta.caution,
.status-badge.caution {
  background: #fbeae3;
  color: var(--color-danger);
}

.meta.india,
.access-badge.india {
  border-color: rgba(40, 118, 111, 0.24);
  background: #e4f3ef;
  color: #1f625c;
}

.meta.global,
.access-badge.global {
  border-color: rgba(22, 58, 95, 0.22);
  background: #e8eef5;
  color: var(--color-primary);
}

.access-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(31, 42, 50, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.76);
  color: #42515b;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.explore-controls {
  display: grid;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
}

.filter-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: #fff;
  color: var(--color-text-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.filter-chip.active {
  border-color: rgba(40, 118, 111, 0.35);
  background: #e4f3ef;
  color: var(--color-secondary);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.currency-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 8px 6px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 800;
}

.currency-control select {
  min-height: 30px;
  border: 0;
  background: transparent;
  color: var(--color-primary);
  font: inherit;
}

.filter-note {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.preview-board,
.decision-board {
  align-self: center;
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 0;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(22, 58, 95, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.66)),
    url("assets/summerworthy-decision-board.png") center/cover;
  box-shadow: var(--shadow-lg);
}

.preview-panel,
.decision-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.4vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.decision-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), #c79a31);
}

.decision-panel-toolbar,
.decision-board-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.decision-panel-toolbar {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 800;
}

.decision-panel-toolbar b {
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: #edf5f2;
  color: var(--color-secondary);
  font-size: 12px;
}

.decision-panel h3 {
  font-family: var(--font-heading);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1;
}

.mini-compare,
.decision-list {
  display: grid;
  gap: 8px;
}

.mini-row,
.decision-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.decision-option {
  grid-template-columns: 1fr;
  border-color: rgba(22, 58, 95, 0.12);
  box-shadow: var(--shadow-sm);
}

.decision-option-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.decision-option strong,
.mini-row strong {
  display: block;
}

.decision-option span,
.mini-row span {
  color: var(--color-text-muted);
  font-size: 13px;
}

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

.decision-fact {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f8faf8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.decision-fact span {
  color: var(--color-text-soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.decision-fact strong {
  color: var(--color-text);
  font-size: 13px;
}

.score-chip {
  padding: 6px 9px;
  border-radius: var(--radius-pill);
  background: #eaf3f1;
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 850;
}

.decision-board-footer {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #f8faf8;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
}

.decision-board-footer a {
  color: var(--color-primary);
}

.home-proof-band {
  padding-top: 14px;
  padding-bottom: 14px;
  border-top: 1px solid rgba(22, 58, 95, 0.08);
  border-bottom: 1px solid rgba(22, 58, 95, 0.08);
  background: #fff;
}

.proof-strip-modern {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-border);
}

.proof-strip-modern span {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 10px;
  background: #fff;
  color: var(--color-primary);
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.home-section {
  background: linear-gradient(180deg, var(--color-bg), #fff);
}

.home-process-band {
  border-top: 1px solid rgba(22, 58, 95, 0.08);
  border-bottom: 1px solid rgba(22, 58, 95, 0.08);
}

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

.process-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(22, 58, 95, 0.1);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.process-card .step-number {
  margin-bottom: 12px;
}

.process-card h3 {
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.02;
}

.bento-index {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #edf5f2;
  color: var(--color-secondary);
  font-weight: 900;
}

.bento-mini-ledger {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.bento-mini-ledger span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 800;
}

.section {
  padding: clamp(50px, 7vw, 92px) clamp(18px, 4vw, 56px);
}

.section.tight {
  padding-top: 34px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

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

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--space-3);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

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

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

.bento-item {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
}

.bento-item.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 360px;
}

.bento-item.medium {
  grid-column: span 2;
}

.bento-item.bento-verdict {
  background:
    linear-gradient(135deg, rgba(22, 58, 95, 0.95), rgba(40, 118, 111, 0.92)),
    var(--color-primary);
  color: #fff;
}

.bento-item.bento-verdict p,
.bento-item.bento-verdict .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.bento-item.bento-verdict h3 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.98;
}

.card,
.program-card,
.detail-block,
.brief-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  box-shadow: var(--shadow-xs);
}

.card,
.detail-block,
.brief-card {
  padding: 22px;
}

.card p,
.detail-block p,
.program-card p {
  color: var(--color-text-muted);
}

.editorial-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding-top: 62px;
}

.editorial-number {
  position: absolute;
  top: 20px;
  left: 22px;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.step {
  position: relative;
  min-height: 190px;
}

.step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 850;
}

.compare-preview,
.compare-table {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.compare-table {
  max-height: 72vh;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

caption {
  padding: 14px 16px;
  color: var(--color-text-muted);
  text-align: left;
  font-weight: 800;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f3f6f3;
  color: #34434c;
  font-size: 13px;
  text-transform: uppercase;
}

td:first-child,
th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #fff;
  color: var(--color-text-muted);
  font-weight: 760;
}

th:first-child {
  z-index: 3;
  background: #f3f6f3;
}

.recommended-col {
  background: #f7fbf9;
  box-shadow: inset 3px 0 0 #d7e9e4;
}

.compare-group-row td {
  position: sticky;
  left: 0;
  z-index: 1;
  padding: 10px 16px;
  background: #eaf3f1;
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-mobile {
  display: none;
}

.compare-mobile-group,
.compare-mobile-row,
.compare-mobile-options {
  display: grid;
  gap: 12px;
}

.compare-mobile-group {
  margin-top: 18px;
}

.compare-mobile-row,
.compare-mobile-options > div {
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.compare-mobile-options > div p {
  margin: 6px 0 0;
  color: var(--color-text-muted);
}

.recommended-card {
  border-color: #cfe4de !important;
  background: #f7fbf9 !important;
}

.band {
  background: var(--color-bg-band);
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
  background: #edf2ef;
}

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

.check-list li {
  padding-left: 28px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-secondary);
}

.page-shell {
  padding: clamp(32px, 5vw, 72px) clamp(18px, 4vw, 56px);
}

.server-program-page {
  min-height: calc(100vh - 72px);
}

.server-category-page,
.report-page {
  min-height: calc(100vh - 72px);
}

.category-hero {
  max-width: 940px;
  margin-bottom: 24px;
}

.category-hero h1 {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}

.category-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 28px;
}

.category-stats div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f8faf8;
}

.category-stats span,
.report-bar-row span {
  color: var(--color-text-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-stats strong {
  font-size: 24px;
}

.report-bars {
  display: grid;
  gap: 14px;
}

.report-bar-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) 44px minmax(140px, 1fr);
  gap: 12px;
  align-items: center;
}

.report-bar-row strong {
  text-align: right;
}

.report-bar {
  height: 12px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: #e5ece8;
}

.report-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color-secondary);
}

.page-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  margin-bottom: 24px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--color-text-soft);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--color-primary);
}

.program-card-title a {
  color: inherit;
}

@media (max-width: 780px) {
  .category-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-bar-row {
    grid-template-columns: 1fr 36px;
  }

  .report-bar {
    grid-column: 1 / -1;
  }
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
  padding: 18px;
  transition:
    box-shadow var(--duration-base) var(--ease-standard),
    transform var(--duration-base) var(--ease-standard);
}

@media (hover: hover) {
  .program-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
  }
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.program-card-topline,
.program-card-title,
.program-best-for,
.program-rationale,
.chip-stack {
  display: grid;
  gap: 8px;
}

.program-card-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-right: 42px;
}

.program-card-title h3 {
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.05;
}

.ranking-label {
  width: fit-content;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: #edf5f2;
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 800;
}

.program-best-for,
.program-rationale {
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f8faf8;
}

.program-best-for span,
.program-rationale span,
.chip-row-label {
  color: var(--color-text-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.program-best-for p,
.program-rationale p {
  margin-bottom: 0;
  color: var(--color-text);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.chip-row-label {
  min-width: 66px;
}

.program-decision-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.portfolio-output-badge {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(40, 118, 111, 0.22);
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  background: #f4faf7;
  color: var(--color-text);
  font-weight: 800;
}

.portfolio-output-badge span {
  color: var(--color-secondary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.save-action {
  justify-self: start;
}

.shortlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 18px;
  align-items: stretch;
}

.ranked-program {
  position: relative;
  min-width: 0;
}

.ranked-program-primary {
  grid-row: span 2;
}

.rank-marker {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  box-shadow: var(--shadow-xs);
}

.decision-confidence,
.compare-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.evidence-disclosure summary {
  cursor: pointer;
  color: var(--color-text);
  font-weight: 800;
}

.card-actions,
.program-card .actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin-top: auto;
}

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

.fact-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.fact-list div:last-child {
  border-bottom: 0;
}

.fact-list span {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-list strong {
  color: var(--color-text);
}

.cost-breakdown {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fbfefd;
}

.cost-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.cost-breakdown div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cost-breakdown span,
.cost-note {
  color: var(--color-text-muted);
  font-size: 13px;
}

.cost-breakdown strong {
  color: var(--color-text);
  text-align: right;
}

.cost-breakdown .cost-total {
  color: var(--color-primary);
  font-weight: 900;
}

.source-ledger {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #f7faf8;
}

.decision-scorecard {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.decision-brief-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.decision-brief-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.decision-brief-main .verdict,
.decision-brief-main .detail-block:has(.evidence-ledger) {
  grid-column: 1 / -1;
}

.decision-rail,
.decision-brief-side {
  position: sticky;
  top: 94px;
}

.decision-rail {
  display: grid;
  gap: 16px;
}

.decision-rail-actions {
  display: grid;
  gap: 10px;
}

.rail-note {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: #fbf2dd;
  color: var(--color-warning) !important;
}

.decision-brief-hero {
  display: grid;
  align-content: center;
}

.evidence-ledger {
  display: grid;
  gap: 14px;
}

.ledger-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

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

.evidence-ledger li {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f8faf8;
  color: var(--color-text-muted);
}

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

.testimonial-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 100%;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.32;
}

.testimonial-card h3 {
  margin-bottom: 0;
}

.testimonial-card p {
  color: var(--color-text-muted);
}

.testimonial-media-card {
  padding: 0;
  overflow: hidden;
}

.testimonial-media-card figcaption,
.testimonial-media-card > p,
.testimonial-media-card > h3 {
  padding-right: 18px;
  padding-left: 18px;
}

.testimonial-media-card figcaption {
  padding-bottom: 18px;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #13212b;
}

div.video-frame {
  display: block;
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

video.video-frame {
  display: block;
  height: auto;
}

.testimonial-interview-card {
  background: #f7faf8;
}

.testimonial-card figcaption {
  display: grid;
  gap: 4px;
  align-self: end;
  color: var(--color-text-muted);
  font-size: 13px;
}

.testimonial-card figcaption strong {
  color: var(--color-text);
  font-size: 15px;
}

.testimonial-empty {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: 24px;
  align-items: center;
  background: #f7faf8;
}

.testimonial-proof-list {
  display: grid;
  gap: 10px;
}

.testimonial-proof-list span {
  display: block;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  font-weight: 800;
}

.teaser {
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #f7faf8;
}

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

.form-grid.relaxed {
  margin-top: 18px;
}

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

.field.wide,
.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 800;
  font-size: 14px;
}

.form-error {
  color: var(--color-danger);
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
}

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

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(24, 32, 38, 0.5);
}

.modal {
  width: min(780px, 100%);
  max-height: min(850px, 94vh);
  overflow: auto;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: start;
  padding: 24px 24px 14px;
}

.modal-head h2 {
  margin-bottom: 0;
  font-size: clamp(25px, 4vw, 36px);
}

.progress-status {
  padding: 0 24px 10px;
  color: var(--color-text-soft);
  font-size: 13px;
  font-weight: 800;
}

.progress-shell {
  height: 8px;
  background: #edf1f2;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: var(--color-secondary);
  transition: width var(--duration-base) var(--ease-standard);
}

.diagnostic-form {
  padding: 22px 24px 26px;
}

.question-header {
  display: grid;
  gap: 8px;
}

.question-kicker {
  margin: 0;
  color: var(--color-secondary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.question-copy {
  color: var(--color-text-muted);
}

.why-copy {
  padding: 12px 14px;
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--radius-sm);
  background: #f2f8f5;
  color: var(--color-text-muted);
  font-size: 14px;
}

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

.option {
  position: relative;
  min-height: 54px;
  padding: 13px 42px 13px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  font-weight: 740;
  transition:
    background var(--duration-fast) var(--ease-standard),
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-standard);
}

.option::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: #fff;
  transform: translateY(-50%);
}

.option.selected {
  border-color: var(--color-secondary);
  background: #eaf5f1;
  box-shadow: var(--shadow-xs);
  transform: translateY(-1px);
}

.option.selected::after {
  content: "✓";
  border-color: var(--color-secondary);
  background: var(--color-secondary);
  font-size: 13px;
  font-weight: 800;
}

.option.selected::after {
  content: "";
}

.option.selected::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 21px;
  z-index: 1;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-62%) rotate(45deg);
}

.diagnostic-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.diagnostic-actions.relaxed {
  margin-top: 22px;
}

.hidden {
  display: none !important;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: stretch;
}

.verdict {
  border-left: 5px solid var(--color-secondary);
}

.admin-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 20px;
}

.admin-list {
  max-height: 620px;
  overflow: auto;
}

.admin-item {
  width: 100%;
  padding: 12px;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.admin-item.active {
  background: #eaf3f1;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 130;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--color-text);
  color: #fff;
  box-shadow: var(--shadow-md);
}

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

.metric-card {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.metric-card span {
  display: block;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 760;
}

.metric-card strong {
  display: block;
  margin-top: 14px;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
  font-size: 34px;
  line-height: 1;
}

.breakdown-list {
  display: grid;
  gap: 10px;
}

.breakdown-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.breakdown-row span {
  color: var(--color-text-muted);
}

.report-table {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.report-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.report-toolbar label {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--color-text);
  font-weight: 800;
}

.report-toolbar select {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

.ops-note {
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 700;
}

.empty-state {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: #fbfaf6;
  text-align: left;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.compact-density .report-table th,
.compact-density .report-table td {
  padding: 9px 12px;
  font-size: 13px;
}

.compact-density .metric-card {
  min-height: 92px;
  padding: 14px;
}

@media (min-width: 720px) {
  .card-actions,
  .program-card .actions {
    grid-template-columns: auto auto 1fr;
    align-items: center;
  }

  .card-actions .ghost-button,
  .program-card .actions .ghost-button {
    order: 1;
  }

  .card-actions .save-action,
  .program-card .actions .save-action {
    order: 2;
  }

  .card-actions .primary-action,
  .program-card .actions .primary-action {
    order: 3;
    justify-self: end;
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: start;
  }

  .brand-wordmark {
    width: clamp(150px, 28vw, 220px);
  }

  .nav-links {
    display: none;
  }

  .hero,
  .split-band,
  .detail-hero,
  .decision-brief-layout,
  .admin-layout,
  .shortlist-layout,
  .decision-confidence,
  .compare-summary {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .decision-scorecard,
  .decision-brief-main {
    grid-template-columns: 1fr;
  }

  .decision-rail,
  .decision-brief-side {
    position: static;
  }

  .hero-metrics,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip-modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview-board,
  .decision-board {
    min-height: auto;
  }

  .grid-3,
  .program-grid,
  .feature-grid,
  .testimonial-grid,
  .grid-2,
  .report-metrics {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonial-empty {
    grid-template-columns: 1fr;
  }

  .ranked-program-primary {
    grid-row: span 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 12px 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark-logo {
    width: 38px;
    height: 34px;
  }

  .brand-wordmark {
    width: min(42vw, 180px);
    max-height: 34px;
  }

  .site-header .button {
    display: none;
  }

  .option-grid,
  .form-grid,
  .decision-facts,
  .decision-scorecard,
  .program-decision-facts,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-item,
  .bento-item.large,
  .bento-item.medium {
    grid-column: span 1;
    grid-row: span 1;
    min-height: auto;
  }

  h1 {
    font-size: 36px;
    line-height: 1.04;
  }

  .handwritten-hero-line {
    margin-top: -2px;
    font-size: 34px;
    transform: rotate(-1deg);
  }

  .handwritten-hero-line span {
    white-space: normal;
  }

  .hero {
    padding-right: 20px;
    padding-left: 20px;
    width: 100%;
    max-width: 100vw;
  }

  .hero-copy {
    max-width: calc(100vw - 40px);
  }

  .preview-board,
  .decision-board {
    padding: 16px;
  }

  .home-hero .decision-board {
    display: none;
  }

  .preview-panel,
  .decision-panel {
    padding: 16px;
  }

  .mini-row {
    grid-template-columns: 1fr;
  }

  .lede {
    max-width: min(100%, 330px);
    font-size: 17px;
  }

  .hero-proof-row span,
  .proof-strip-modern span {
    font-size: 12px;
  }

  .decision-panel-toolbar,
  .decision-board-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .compare-table {
    display: none;
  }

  .compare-mobile {
    display: grid;
  }

  .modal-backdrop {
    align-items: stretch;
    padding: 10px;
  }

  .modal {
    max-height: calc(100vh - 20px);
  }

  .diagnostic-form {
    padding-bottom: 0;
  }

  .diagnostic-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin-right: -24px;
    margin-left: -24px;
    padding: 14px 24px;
    border-top: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
