:root {
  --paper: #f2f1eb;
  --paper-bright: #fbfaf6;
  --ink: #161616;
  --muted: #62625e;
  --line: #cdccc4;
  --blue: #3155ff;
  --orange: #ff5c35;
  --acid: #b7f34a;
  --shadow: #d5d3ca;
  --header-height: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.45;
  letter-spacing: 0;
}

body.drawer-open { overflow: hidden; }

button, input, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 200;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  text-decoration: none;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.signal-bar {
  min-height: 30px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--ink);
  color: white;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: var(--header-height);
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(242, 241, 235, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  align-items: end;
}
.brand-mark i { display: block; border: 2px solid var(--ink); }
.brand-mark i:nth-child(1) { height: 12px; background: var(--blue); }
.brand-mark i:nth-child(2) { height: 20px; background: var(--acid); }
.brand-mark i:nth-child(3) { height: 15px; background: var(--orange); }

.primary-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  min-width: 300px;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}

.nav-tab {
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.nav-tab:last-child { border-right: 0; }
.nav-tab.is-active { background: var(--ink); color: white; }

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  justify-self: end;
  border: 0;
  background: var(--orange);
  cursor: pointer;
}
.icon-button svg { width: 19px; height: 19px; }
.icon-button--border { border: 1px solid var(--ink); background: var(--paper-bright); }
.icon-button:hover { transform: translateY(-2px); }

main { overflow: hidden; }

.hero {
  position: relative;
  min-height: min(640px, calc(100vh - 102px));
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-plate {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(52%, 760px);
  background: rgba(242, 241, 235, 0.93);
  border-right: 1px solid var(--ink);
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-height: inherit;
  width: min(50%, 720px);
  padding: clamp(70px, 9vw, 130px) clamp(28px, 6vw, 92px) 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.88;
  font-weight: 950;
}
.hero-lede {
  max-width: 490px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.22;
  font-weight: 700;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.command-button {
  min-height: 46px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.command-button svg { width: 17px; height: 17px; }
.command-button:hover { transform: translateY(-2px); box-shadow: 5px 5px 0 var(--shadow); }
.command-button--dark { background: var(--ink); color: white; }
.command-button--light { background: var(--paper-bright); color: var(--ink); }
.command-button--full { width: 100%; }

.hero-metrics {
  width: 100%;
  max-width: 580px;
  margin: auto 0 0;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.hero-metrics div { min-width: 0; padding-right: 14px; }
.hero-metrics dt { font-size: clamp(24px, 3vw, 42px); font-weight: 950; }
.hero-metrics dd { margin: 2px 0 0; color: var(--muted); font-size: 11px; font-weight: 700; }

.view-section {
  padding: clamp(54px, 7vw, 96px) clamp(20px, 5vw, 72px) 100px;
  background: var(--paper);
}
.view-section[hidden] { display: none; }
.view-section.is-active { animation: view-in 380ms ease both; }
@keyframes view-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.section-heading h2, .partner-band h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}
.result-count { margin: 0; color: var(--muted); font-size: 12px; font-weight: 800; }

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(160px, 190px);
  align-items: stretch;
  gap: 10px;
  margin-bottom: 30px;
}
.search-control, .select-control {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}
.search-control svg { width: 18px; flex: 0 0 auto; }
.search-control input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}
.select-control { justify-content: space-between; }
.select-control span { font-size: 11px; font-weight: 800; }
.select-control select { min-width: 0; border: 0; background: transparent; outline: 0; }

.segment-control {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(72px, 1fr);
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}
.segment-control button {
  min-height: 46px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}
.segment-control button:last-child { border-right: 0; }
.segment-control button.is-active { background: var(--blue); color: white; }
.segment-control--wide { grid-auto-columns: 1fr; }

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

.workflow-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 7px 7px 0 var(--shadow);
  animation: card-in 440ms ease both;
  animation-delay: var(--delay);
}
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.workflow-card:hover { transform: translateY(-4px); box-shadow: 9px 11px 0 var(--shadow); }
.card-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  cursor: pointer;
}
.card-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 280ms ease; }
.workflow-card:hover .card-visual img { transform: scale(1.025); }
.complexity-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 9px;
  border: 1px solid var(--ink);
  background: white;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}
.complexity-tag--starter { background: var(--acid); }
.complexity-tag--advanced { background: var(--orange); }

.card-body { flex: 1; padding: 18px; display: flex; flex-direction: column; }
.card-kicker { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.card-body h3 { margin: 14px 0 8px; font-size: 20px; line-height: 1.05; }
.card-body > p { margin: 0; color: var(--muted); font-size: 13px; }
.card-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0 16px; }
.card-stats div { padding-top: 11px; border-top: 1px solid var(--line); }
.card-stats dt { font-size: 18px; font-weight: 950; }
.card-stats dd { margin: 1px 0 0; color: var(--muted); font-size: 9px; font-weight: 700; }
.card-command {
  width: 100%;
  min-height: 39px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.card-command svg { width: 16px; }

.empty-state { padding: 80px 20px; text-align: center; border: 1px solid var(--line); }
.empty-state svg { width: 32px; height: 32px; }

.builder-section { background: var(--ink); color: white; }
.builder-section .eyebrow, .builder-section .result-count { color: #b8b8b2; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; }
.live-badge i { width: 10px; height: 10px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 5px rgba(183, 243, 74, 0.14); }

.builder-layout, .calculator-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.45fr);
  border: 1px solid currentColor;
}
.builder-controls, .roi-controls { padding: 28px; border-right: 1px solid currentColor; }
.builder-controls label, .roi-controls label, .builder-controls fieldset { display: grid; gap: 9px; margin: 0 0 22px; color: #c9c9c2; font-size: 11px; font-weight: 800; }
.builder-controls select, .roi-controls input {
  width: 100%;
  min-height: 47px;
  padding: 0 12px;
  border: 1px solid #62625e;
  background: #262626;
  color: white;
  outline: 0;
}
.builder-controls fieldset { padding: 0; border: 0; }
.builder-controls legend { margin-bottom: 9px; }
.builder-controls .segment-control { background: #262626; border-color: #62625e; }
.builder-controls .segment-control button { color: white; border-color: #62625e; }
.builder-controls .segment-control button.is-active { color: white; background: var(--blue); }
.range-row { display: grid; grid-template-columns: 1fr 64px; align-items: center; gap: 12px; }
.range-row input { accent-color: var(--acid); }
.range-row output { min-height: 42px; display: grid; place-items: center; border: 1px solid #62625e; background: #262626; color: white; }

.blueprint-output { min-width: 0; padding: clamp(26px, 4vw, 52px); background: var(--paper); color: var(--ink); }
.output-header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.output-header h3 { margin: 0; font-size: clamp(28px, 4vw, 48px); line-height: 1; }
.risk-badge { padding: 8px 10px; border: 1px solid var(--ink); font-size: 10px; font-weight: 900; white-space: nowrap; }
.risk-badge--medium { background: var(--orange); }
.risk-badge--low { background: var(--acid); }
.risk-badge--high { background: var(--blue); color: white; }
.node-map { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin: 54px 0; }
.node-map::before { content: ""; position: absolute; left: 5%; right: 5%; top: 50%; height: 4px; background: var(--ink); transform: translateY(-50%); }
.generated-node {
  position: relative;
  z-index: 2;
  min-height: 120px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--ink);
  background: var(--paper-bright);
  box-shadow: 7px 7px 0 var(--shadow);
}
.generated-node:nth-child(2) { background: var(--acid); }
.generated-node:nth-child(4) { background: var(--orange); }
.generated-node span { color: var(--muted); font-size: 10px; font-weight: 900; }
.generated-node strong { font-size: 16px; }
.output-metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); }
.output-metrics div { min-height: 96px; padding: 15px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--ink); }
.output-metrics div:last-child { border-right: 0; }
.output-metrics span { color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.output-metrics strong { font-size: 13px; }
.output-actions { display: flex; gap: 10px; margin-top: 24px; }

.calculator-section { background: var(--blue); color: white; }
.calculator-section .eyebrow, .calculator-section .result-count { color: #d9dfff; }
.calculator-layout { background: var(--paper-bright); color: var(--ink); }
.roi-controls { border-color: var(--ink); }
.roi-controls label { color: var(--muted); }
.roi-controls input { background: white; color: var(--ink); border-color: var(--ink); }
.roi-board { padding: clamp(28px, 5vw, 62px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.roi-primary { grid-column: 1 / -1; padding-bottom: 38px; display: flex; flex-direction: column; border-bottom: 1px solid var(--ink); }
.roi-primary span, .roi-stat span { color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.roi-primary strong { margin-top: 8px; font-size: clamp(52px, 8vw, 110px); line-height: 0.9; }
.roi-primary small { margin-top: 12px; font-size: 14px; font-weight: 800; }
.roi-stat { min-height: 120px; padding: 24px 18px 18px 0; display: flex; flex-direction: column; justify-content: space-between; border-bottom: 1px solid var(--ink); }
.roi-stat + .roi-stat { padding-left: 18px; border-left: 1px solid var(--ink); }
.roi-stat strong { font-size: 28px; }
.roi-meter { grid-column: 1 / -1; height: 16px; margin-top: 32px; border: 1px solid var(--ink); background: var(--paper); }
.roi-meter i { display: block; height: 100%; width: 50%; background: var(--orange); transition: width 280ms ease; }
.roi-note { grid-column: 1 / -1; margin: 16px 0 0; color: var(--muted); font-size: 10px; }

.partner-band {
  padding: 48px clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: end;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--acid);
}

.field-guides {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--ink);
  background: var(--paper-bright);
}
.guide-link-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--ink); }
.guide-link-grid a { min-width: 0; min-height: 220px; padding: 20px; display: flex; flex-direction: column; border-right: 1px solid var(--ink); background: var(--paper); text-decoration: none; }
.guide-link-grid a:last-child { border-right: 0; }
.guide-link-grid a:nth-child(2) { background: var(--acid); }
.guide-link-grid a:nth-child(4) { background: var(--orange); }
.guide-link-grid a:hover { background: var(--ink); color: white; }
.guide-link-grid span { font-size: 9px; font-weight: 900; text-transform: uppercase; }
.guide-link-grid strong { margin-top: auto; font-size: 19px; line-height: 1.08; }
.guide-link-grid i { margin-top: 10px; font-size: 10px; font-style: normal; opacity: .7; }
.partner-band h2 { font-size: clamp(28px, 4vw, 52px); }
.partner-links { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--ink); }
.partner-links a { min-width: 0; min-height: 68px; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-right: 1px solid var(--ink); background: var(--paper-bright); text-decoration: none; font-size: 11px; font-weight: 900; }
.partner-links a:last-child { border-right: 0; }
.partner-links a:hover { background: var(--ink); color: white; }
.partner-links svg { width: 15px; flex: 0 0 auto; }

.site-footer {
  padding: 54px clamp(20px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 36px;
  align-items: start;
  background: var(--ink);
  color: white;
}
.brand--footer { color: white; }
.brand--footer .brand-mark i { border-color: white; }
.site-footer p { max-width: 420px; margin: 13px 0 0; color: #a9a9a4; font-size: 11px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 12px; font-weight: 850; text-decoration: none; }
.disclosure { justify-self: end; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(22, 22, 22, 0.58); }
.workflow-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 110;
  width: min(620px, 100%);
  height: 100%;
  padding: 72px 36px 46px;
  overflow-y: auto;
  background: var(--paper);
  border-left: 1px solid var(--ink);
  transform: translateX(0);
  transition: transform 220ms ease;
}
.workflow-drawer[aria-hidden="true"] { transform: translateX(100%); }
.drawer-close { position: absolute; top: 18px; right: 18px; background: var(--paper-bright); border: 1px solid var(--ink); }
.drawer-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--ink); }
.workflow-drawer .eyebrow { margin-top: 30px; }
.workflow-drawer h2 { margin: 0; font-size: clamp(34px, 7vw, 58px); line-height: 0.98; }
.drawer-outcome { color: var(--muted); font-size: 16px; }
.drawer-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0; border: 1px solid var(--ink); }
.drawer-metrics div { min-height: 90px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--ink); }
.drawer-metrics div:last-child { border-right: 0; }
.drawer-metrics span, .drawer-stack > span { color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.drawer-metrics strong { font-size: 12px; }
.drawer-steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.drawer-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.drawer-steps li > span { color: var(--blue); font-size: 11px; font-weight: 900; }
.drawer-steps strong { font-size: 14px; }
.drawer-steps p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.drawer-stack { margin-top: 26px; }
.drawer-stack > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.drawer-stack a { min-height: 38px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink); background: var(--paper-bright); text-decoration: none; font-size: 11px; font-weight: 850; }
.drawer-stack svg { width: 14px; }
.drawer-actions { display: flex; gap: 10px; margin-top: 28px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 160;
  padding: 12px 18px;
  border: 1px solid white;
  background: var(--ink);
  color: white;
  font-size: 12px;
  font-weight: 850;
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: 180ms ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1180px) {
  .workflow-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-bar { grid-template-columns: 1fr; }
  .segment-control { overflow-x: auto; }
  .partner-band { grid-template-columns: 1fr; }
  .guide-link-grid { grid-template-columns: repeat(3, 1fr); }
  .guide-link-grid a { border-bottom: 1px solid var(--ink); }
  .guide-link-grid a:nth-child(3) { border-right: 0; }
}

@media (max-width: 860px) {
  :root { --header-height: 64px; }
  .signal-bar { padding: 0 14px; }
  .signal-bar span:last-child { display: none; }
  .site-header { grid-template-columns: 1fr auto; padding: 0 14px; }
  .site-header { backdrop-filter: none; }
  .primary-nav { position: fixed; top: auto; left: 12px; right: 12px; bottom: 12px; z-index: 90; min-width: 0; box-shadow: 0 8px 30px rgba(0,0,0,.24); }
  .site-header > .icon-button { display: none; }
  .hero { min-height: 640px; }
  .hero-plate { width: 72%; }
  .hero-copy { width: 70%; padding: 72px 26px 34px; }
  .hero h1 { font-size: clamp(54px, 12vw, 86px); }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .builder-layout, .calculator-layout { grid-template-columns: 1fr; }
  .builder-controls, .roi-controls { border-right: 0; border-bottom: 1px solid currentColor; }
  .node-map { grid-template-columns: 1fr; margin: 38px 0; }
  .node-map::before { left: 50%; right: auto; top: 5%; bottom: 5%; width: 4px; height: auto; transform: translateX(-50%); }
  .generated-node { min-height: 92px; }
  .output-metrics { grid-template-columns: repeat(2, 1fr); }
  .output-metrics div:nth-child(2) { border-right: 0; }
  .output-metrics div:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .partner-links { grid-template-columns: repeat(3, 1fr); }
  .partner-links a:nth-child(3) { border-right: 0; }
  .partner-links a:nth-child(-n+3) { border-bottom: 1px solid var(--ink); }
  .guide-link-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-link-grid a:nth-child(odd) { border-right: 1px solid var(--ink); }
  .guide-link-grid a:nth-child(even) { border-right: 0; }
  .site-footer { grid-template-columns: 1fr 1fr; padding-bottom: 100px; }
  .disclosure { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 560px) {
  .brand { font-size: 13px; }
  .signal-bar { font-size: 9px; }
  .hero { min-height: 620px; }
  .hero > img { object-position: 61% center; }
  .hero-plate { width: 88%; background: rgba(242, 241, 235, 0.94); }
  .hero-copy { width: 86%; padding: 62px 20px 28px; }
  .hero h1 { font-size: 58px; }
  .hero-lede { font-size: 18px; }
  .hero-actions { display: grid; width: 100%; }
  .hero-actions .command-button { width: 100%; }
  .hero-metrics { gap: 8px; }
  .hero-metrics dt { font-size: 25px; }
  .hero-metrics dd { font-size: 9px; }
  .view-section { padding-left: 14px; padding-right: 14px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2 { font-size: 39px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card { box-shadow: 5px 5px 0 var(--shadow); }
  .filter-bar { margin-left: -14px; margin-right: -14px; }
  .search-control, .select-control { border-left: 0; border-right: 0; }
  .segment-control { border-left: 0; border-right: 0; }
  .builder-controls, .blueprint-output, .roi-controls, .roi-board { padding: 22px 16px; }
  .output-header { align-items: flex-start; flex-direction: column; }
  .output-metrics { grid-template-columns: 1fr; }
  .output-metrics div { border-right: 0; border-bottom: 1px solid var(--ink); }
  .output-metrics div:last-child { border-bottom: 0; }
  .roi-board { grid-template-columns: 1fr; }
  .roi-primary { grid-column: 1; }
  .roi-primary strong { font-size: 54px; }
  .roi-stat { border-left: 0 !important; padding-left: 0 !important; }
  .roi-meter, .roi-note { grid-column: 1; }
  .partner-band { padding-left: 14px; padding-right: 14px; }
  .partner-links { grid-template-columns: 1fr; }
  .partner-links a { border-right: 0; border-bottom: 1px solid var(--ink); }
  .partner-links a:last-child { border-bottom: 0; }
  .guide-link-grid { grid-template-columns: 1fr; }
  .guide-link-grid a { min-height: 150px; border-right: 0 !important; }
  .site-footer { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .workflow-drawer { padding: 68px 18px 36px; }
  .drawer-metrics { grid-template-columns: 1fr; }
  .drawer-metrics div { min-height: 68px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .drawer-metrics div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media print {
  .signal-bar, .site-header, .hero, .filter-bar, .partner-band, .site-footer, .drawer-close, .drawer-actions, .primary-nav { display: none !important; }
  body { background: white; }
  .workflow-drawer { position: static; width: 100%; height: auto; overflow: visible; border: 0; transform: none; }
  .drawer-backdrop { display: none !important; }
  .view-section { padding: 20px; }
}
