:root {
  --paper: #f7f6f3;
  --paper-deep: #f3f2ee;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --ink: #171717;
  --heading: #171717;
  --heading-soft: #3f3f3c;
  --muted: #706f6a;
  --steel: #5c564e;
  --line: #ddd9d2;
  --line-mid: #bdbbb4;
  --accent: #c9a962;
  --accent-mid: #d4b87a;
  --accent-deep: #a88748;
  --brand-gold: var(--accent-deep);
  --gold-bright: #c9a962;
  --accent-bright: #e8d4a8;
  --accent-light: #f5e6c3;
  --accent-soft: rgba(201, 169, 98, 0.14);
  --border-gold-subtle: rgba(168, 135, 72, 0.22);
  --border-gold-top: rgba(168, 135, 72, 0.42);
  --obsidian: #141210;
  --cream: #f4efe6;
  --teal: #2d5a47;
  --mint: #2d5a47;
  --amber: #8a6420;
  --amber-deep: #5c4212;
  --danger: #9b3b30;
  --shadow: 0 4px 18px rgba(23, 23, 23, 0.06), 0 1px 3px rgba(23, 23, 23, 0.04);
  --radius: 10px;
  --sans: "Sora", "Segoe UI", sans-serif;
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --display: var(--serif);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--paper);
}

a {
  color: var(--accent-deep);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--ink);
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  background: var(--paper-deep);
  padding: 2px 6px;
  border-radius: 4px;
}

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px clamp(20px, 4vw, 48px) 54px;
}

.page--standard > main {
  max-width: 1280px;
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.logo.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--obsidian);
  color: var(--cream);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.brand-word {
  color: var(--ink);
}

.brand-wise {
  color: var(--brand-gold);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a:not(.btn) {
  color: var(--steel);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.site-nav a:not(.btn):hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"]:not(.btn) {
  color: var(--amber);
  font-weight: 600;
}

.site-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 17px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 13px;
}

.btn-gold {
  background: var(--accent-deep);
  color: #fff;
  border-color: var(--accent-deep);
}

.btn-gold:hover {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}

.btn-primary {
  background: var(--obsidian);
  color: var(--cream);
  border-color: var(--obsidian);
  box-shadow: 0 8px 22px rgba(20, 18, 16, 0.18);
}

.btn-primary:hover {
  background: #1e1c18;
  color: var(--cream);
}

.btn-secondary {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
}

.btn-secondary:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line-mid);
}

.hero,
.hiw-hero,
.contact-hero {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 34px;
  align-items: start;
  padding: clamp(28px, 5vw, 58px);
  margin-bottom: 58px;
  overflow: hidden;
  color: var(--ink);
}

.hero-copy,
.governance-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow.dark {
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.hero h1 em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent-deep);
}

.hero h1,
.section h2,
.cta-band h2,
.contact-hero h1,
.hiw-hero h1,
.hiw-diagram-head h3,
.deck-questions h2,
.deck-shift-head h2,
.deck-shift-card h3,
.deck-stark h2,
.deck-pr-informed h3,
.deck-compound-loop h3,
.deck-step-card h3,
.role-panel h3,
.mcp-hero-copy h1 {
  font-family: var(--display);
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(1.95rem, 3.8vw, 3.1rem);
  line-height: 1.18;
}

.hero-tagline {
  max-width: 66ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.72;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

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

.email-note a {
  color: var(--accent-deep);
  font-weight: 600;
}

.governance-panel,
.hero-roles-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--obsidian);
  box-shadow: none;
  overflow: hidden;
  padding: 20px;
  color: var(--cream);
}

.hero-roles-panel .governance-metric {
  padding: 18px 0;
}

.panel-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.governance-metric {
  display: grid;
  gap: 6px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.governance-metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.governance-metric strong {
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 600;
}

.governance-metric span {
  color: rgba(244, 239, 230, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 58px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--line);
}

.proof-strip div {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: var(--surface);
}

.proof-strip strong {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--amber);
}

.proof-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  margin-bottom: 66px;
}

.section-head {
  max-width: 800px;
  margin-bottom: 20px;
}

.section h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.22;
  font-weight: 500;
}

.section-intro,
.page-intro {
  color: var(--muted);
  max-width: 65ch;
  margin: 14px 0 0;
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 400;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.role-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.role-panel,
.flow-card,
.mini-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.055);
}

.role-panel {
  padding: 22px;
}

.role-panel.featured {
  background: var(--paper-deep);
  color: var(--ink);
  border-color: var(--line-mid);
  transform: none;
}

.role-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured .role-kicker {
  color: var(--steel);
}

.role-panel h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--heading-soft);
}

.role-panel.featured h3 {
  color: var(--heading);
}

.role-panel p {
  margin: 0;
  color: var(--muted);
}

.role-panel.featured p {
  color: var(--muted);
}

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

.role-panel li {
  position: relative;
  padding-left: 18px;
  color: #344352;
  font-size: 14px;
}

.role-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
}

.role-panel.featured li {
  color: #ecf4f7;
}

.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 34px;
  align-items: start;
}

.comparison-table-wrap,
.table-section {
  min-width: 0;
}

.comparison-table,
.decision-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.055);
}

.comparison-table th,
.comparison-table td,
.decision-table th,
.decision-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
}

.comparison-table tr:last-child td,
.decision-table tr:last-child td {
  border-bottom: none;
}

.comparison-table th,
.decision-table th {
  color: var(--ink);
  background: #ebe4d7;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.comparison-table td,
.decision-table td {
  color: var(--muted);
  font-size: 14px;
}

.decision-table td strong {
  color: var(--ink);
}

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

.flow-card {
  padding: 18px;
  min-height: 205px;
}

.flow-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.flow-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--heading-soft);
}

.flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e5f0f7;
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.pill.warning {
  background: #f4ead7;
  color: var(--amber);
}

.pill.danger {
  background: #f3dfdc;
  color: var(--danger);
}

.quote-band {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 34px;
  align-items: end;
  padding: 34px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--ink);
}

.quote-band h2 {
  color: var(--heading);
}

.quote-band p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

.cta-band {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--obsidian);
  box-shadow: none;
  color: var(--cream);
}

.cta-band .eyebrow.dark {
  color: var(--accent);
}

.cta-band h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.22;
  font-weight: 500;
  color: #fff;
}

.cta-band p {
  max-width: 680px;
  margin: 0;
  color: rgba(244, 239, 230, 0.78);
}

.cta-band a:not(.btn) {
  color: var(--accent-bright);
  font-weight: 500;
}

.cta-band a:not(.btn):hover {
  color: var(--accent-light);
}

.cta-band .btn-gold {
  background: var(--accent);
  color: var(--obsidian);
  border-color: var(--accent);
}

.cta-band .btn-gold:hover {
  background: var(--accent-bright);
  color: var(--obsidian);
  border-color: var(--accent-bright);
}

.cta-band .btn-secondary {
  color: var(--cream);
  background: transparent;
  border-color: rgba(244, 239, 230, 0.42);
}

.cta-band .btn-secondary:hover {
  color: var(--obsidian);
  background: var(--cream);
  border-color: var(--cream);
}

.contact-hero {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.48fr);
  gap: 28px;
  align-items: start;
  padding: clamp(28px, 5vw, 52px);
  margin-bottom: 58px;
  color: var(--ink);
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.15;
  font-weight: 500;
}

.contact-hero .btn {
  margin-top: 24px;
}

.contact-card {
  padding: 22px;
  background: var(--paper-deep);
  color: var(--ink);
  border: 1px solid var(--line);
}

.contact-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-email {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-email a {
  color: var(--ink);
}

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

.mini-card {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.mini-card strong {
  font-size: 1rem;
}

.mini-card span,
.muted {
  color: var(--muted);
  font-size: 14px;
}

.contact-card .muted {
  color: var(--muted);
}

.flash-stack {
  margin-bottom: 16px;
}

.flash {
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.flash-success {
  color: var(--mint);
  background: #e0f2ec;
  border: 1px solid #b6ded2;
}

.flash-error {
  color: var(--danger);
  background: #f5e4e1;
  border: 1px solid #e6bfba;
}

.site-footer {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 6px 0;
}

.section-cta-row {
  margin: 22px 0 0;
}

/* How it works page */
.hiw-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hiw-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: start;
  padding: clamp(28px, 5vw, 52px);
  margin-bottom: 58px;
  color: var(--ink);
}

.hiw-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.hiw-hero-actions {
  margin-top: 24px;
}

.hiw-loop-card {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
  color: var(--ink);
  box-shadow: none;
}

.hiw-loop-kicker {
  color: var(--muted);
}

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

.hiw-loop-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.hiw-loop-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hiw-loop-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--heading);
  font-size: 1rem;
}

.hiw-loop-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hiw-split-section .section-head {
  margin-bottom: 24px;
}

.hiw-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.hiw-split-flow,
.hiw-split-diagram {
  min-width: 0;
}

.hiw-diagram-head {
  margin-bottom: 14px;
}

.hiw-diagram-head h3 {
  margin: 6px 0 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.08;
}

.hiw-diagram-intro {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 42ch;
}

.hiw-system-map {
  display: grid;
  gap: 0;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 244, 238, 0.9));
  box-shadow: var(--shadow);
}

.hiw-map-node {
  display: grid;
  justify-items: center;
  gap: 6px;
  text-align: center;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.hiw-map-node strong {
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--ink);
}

.hiw-map-node span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  max-width: 18ch;
}

.hiw-map-node .hiw-icon-wrap {
  width: 44px;
  height: 44px;
}

.hiw-map-node .hiw-icon {
  width: 26px;
  height: 26px;
}

.hiw-map-node-hub {
  border-color: rgba(18, 100, 163, 0.35);
  background: linear-gradient(180deg, #e4ebe8 0%, var(--surface) 100%);
  box-shadow: 0 8px 22px rgba(18, 100, 163, 0.12);
}

.hiw-map-node-hub strong {
  color: var(--obsidian);
}

.hiw-map-edge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 8px;
}

.hiw-map-edge-line {
  display: block;
  width: 2px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 100, 163, 0.15), var(--accent-deep), rgba(18, 100, 163, 0.15));
  opacity: 0.7;
}

.hiw-map-edge-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-deep);
  text-align: center;
  line-height: 1.35;
  max-width: 20ch;
}

.hiw-map-split {
  margin: 2px 0;
}

.hiw-map-split-three,
.hiw-map-split-two {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: start;
}

.hiw-map-split-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hiw-map-split-three > .hiw-map-edge .hiw-map-edge-label {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-map-col-stack {
  display: grid;
  gap: 0;
  min-width: 0;
}

.hiw-map-col-spacer {
  min-height: 0;
}

.hiw-map-split-three .hiw-map-node {
  padding: 10px 8px;
}

.hiw-map-split-three .hiw-map-node span {
  max-width: 15ch;
}

.hiw-map-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hiw-flow-track {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
}

.hiw-flow-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid var(--line);
}

.hiw-flow-step:last-child {
  border-bottom: none;
}

.hiw-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  color: var(--steel);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
}

.hiw-flow-step h3 {
  margin: 0 0 8px;
  font-size: 1.22rem;
  line-height: 1.15;
  color: var(--heading-soft);
}

.hiw-flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 72ch;
}

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

.hiw-component-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
  min-width: 0;
}

.hiw-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #e8f2f9;
  color: var(--accent-deep);
}

.hiw-icon {
  width: 30px;
  height: 30px;
}

.hiw-component-kicker {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.hiw-component-head h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.12;
}

.hiw-component-body {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hiw-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.hiw-tag-list li {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--steel);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.hiw-diagram {
  display: grid;
  justify-items: center;
  gap: 0;
  padding: 34px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, var(--surface-raised), var(--surface));
  box-shadow: var(--shadow);
}

.hiw-diagram-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  margin-top: 8px;
}

.hiw-diagram-node {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  padding: 18px 20px;
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.hiw-diagram-node-center {
  margin-bottom: 8px;
}

.hiw-diagram-node-wide {
  min-width: min(100%, 420px);
}

.hiw-diagram-node strong {
  font-size: 1rem;
}

.hiw-diagram-node span {
  color: var(--muted);
  font-size: 13px;
  max-width: 22ch;
}

.hiw-diagram-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-deep), transparent);
  opacity: 0.45;
}

.hiw-diagram-connector-vertical {
  width: 2px;
  height: 28px;
  margin: 10px 0;
  background: linear-gradient(180deg, transparent, var(--accent-deep), transparent);
}

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

.hiw-principle-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.88);
}

.hiw-principle-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  color: var(--heading-soft);
}

.hiw-principle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hiw-hero,
  .hiw-principle-grid,
  .hiw-split {
    grid-template-columns: 1fr;
  }

  .hero,
  .split-section,
  .quote-band,
  .contact-hero {
    grid-template-columns: 1fr;
  }

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

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

  .role-panel.featured {
    transform: none;
  }

  .decision-table {
    display: block;
    overflow-x: auto;
  }
}

/* Human story */
.human-story-section {
  margin-bottom: 56px;
}

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

.human-story-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px 18px 20px;
}

.human-story-card.featured {
  background: var(--paper-deep);
  border-color: var(--line-mid);
  color: var(--ink);
}

.human-story-card.featured h3,
.human-story-card.featured .human-story-label {
  color: var(--steel);
}

.human-story-card.featured p {
  color: var(--muted);
}

.human-story-label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.human-story-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--heading);
}

.human-story-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--steel);
}

.human-story-card .btn {
  margin-top: 14px;
}

.role-cta {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
}

/* MCP guides */
.mcp-hero {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 42px);
  margin-bottom: 22px;
}

.mcp-hero-compact {
  margin-bottom: 18px;
}

.mcp-hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  color: var(--heading);
}

.mcp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.mcp-endpoint-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--steel);
}

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

.mcp-ide-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px;
}

.mcp-ide-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.mcp-ide-card h3 a {
  color: var(--heading);
  text-decoration: none;
}

.mcp-ide-card h3 a:hover {
  color: var(--accent-deep);
}

.mcp-ide-card p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--steel);
  min-height: 3.1em;
}

.mcp-ide-card-secondary {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
}

.mcp-ide-card-secondary:hover {
  text-decoration: underline;
}

.mcp-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.mcp-subhead {
  margin-top: 28px;
}

.mcp-path-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mcp-path-table th,
.mcp-path-table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mcp-path-table th {
  width: 34%;
  background: var(--paper-deep);
  font-weight: 700;
  color: var(--heading-soft);
}

.mcp-steps {
  margin: 0;
  padding-left: 20px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.55;
}

.mcp-steps li + li {
  margin-top: 8px;
}

.mcp-tips {
  margin-top: 20px;
  padding: 14px;
  border-radius: 10px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.mcp-tips h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.mcp-tips ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--steel);
}

.mcp-config-panel {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 12px;
}

.mcp-config-block {
  display: grid;
  gap: 6px;
}

.mcp-config-label {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.mcp-config-pre {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  background: #111827;
  color: #e5e7eb;
  overflow: auto;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.45;
}

.mcp-config-pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  white-space: pre;
}

.mcp-checklist {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px;
}

.mcp-checklist h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.mcp-checklist ul {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--steel);
}

.mcp-checklist li + li {
  margin-top: 6px;
}

.mcp-debug-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.mcp-debug-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mcp-debug-table th,
.mcp-debug-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mcp-debug-table th {
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.mcp-debug-table tr:last-child td {
  border-bottom: 0;
}

.mcp-ide-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mcp-ide-links a {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.mcp-ide-link-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.65;
}

.mcp-ide-link-list a {
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
}

.mcp-ide-link-list a:hover {
  text-decoration: underline;
}

.loop-step .mcp-ide-link-list,
.role-panel .mcp-ide-link-list {
  margin-top: 10px;
}

.mcp-shared-checks {
  margin-bottom: 48px;
}

@media (max-width: 980px) {
  .human-story-grid,
  .mcp-ide-grid,
  .mcp-two-col {
    grid-template-columns: 1fr;
  }

  .mcp-config-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .page {
    padding: 16px 16px 38px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding: 26px 20px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 16vw, 3.4rem);
  }

  .role-grid,
  .proof-strip,
  .flow-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    margin-bottom: 42px;
  }

  .section {
    margin-bottom: 48px;
  }

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  .quote-band,
  .cta-band,
  .contact-hero,
  .hiw-hero {
    padding: 24px 20px;
  }

  .hiw-flow-step {
    grid-template-columns: 52px minmax(0, 1fr);
    padding: 18px 16px;
  }

  .hiw-map-split-three,
  .hiw-map-split-two {
    grid-template-columns: 1fr;
  }

  .hiw-map-col-spacer {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .site-nav .btn,
  .hiw-hero-actions .btn {
    width: auto;
  }
}

/* --- pickwise-intelligence-web: friction + USP sections --- */

.friction-strip {
  margin: 28px 0 8px;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.friction-strip-head {
  max-width: 72ch;
  margin-bottom: 22px;
}

.friction-strip-head h2 {
  margin: 8px 0 0;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
}

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

.friction-card {
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.friction-card.featured {
  grid-column: 1 / -1;
  background: var(--paper-deep);
  border-color: var(--line-mid);
  color: var(--ink);
}

.friction-card.featured h3,
.friction-card.featured .friction-stat {
  color: var(--steel);
}

.friction-card.featured p {
  color: var(--muted);
}

.friction-stat {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.friction-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--heading);
}

.friction-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
}

.usp-band {
  padding-top: 8px;
  padding-bottom: 8px;
}

.usp-band-inner {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-deep);
  color: var(--ink);
  box-shadow: none;
}

.usp-band-inner .eyebrow {
  color: var(--muted);
}

.usp-band-inner h2 {
  margin: 10px 0 14px;
  max-width: 28ch;
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.usp-band-inner p {
  margin: 0;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.58;
  color: var(--muted);
}

@media (max-width: 980px) {
  .friction-grid {
    grid-template-columns: 1fr;
  }

  .friction-card.featured {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .friction-strip {
    padding: 22px 18px 24px;
  }

  .usp-band-inner {
    padding: 24px 20px;
  }
}

/* Stories */
.stories-hero {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 100, 163, 0.07), transparent 55%), var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 28px;
}

.stories-hero--detail {
  margin-bottom: 22px;
}

.stories-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--heading);
}

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

.story-breadcrumb a {
  text-decoration: none;
}

.story-breadcrumb a:hover {
  text-decoration: underline;
}

.story-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.story-read-time {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.story-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-tag-list li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--steel);
}

.story-tag-list--inline {
  margin: 0;
}

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

.story-link {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.35;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.story-link:hover {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
}

.story-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.story-hub-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.story-hub-tile:hover {
  border-color: var(--line-mid, #cccac2);
  box-shadow: var(--shadow);
}

.story-hub-tile h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--heading);
}

.story-hub-tile p {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--steel);
}

.story-hub-tile .story-read-time {
  margin-top: 4px;
}

.story-intro-section {
  margin-bottom: 36px;
}

.story-intro-lead {
  margin: 0 0 16px;
  max-width: 72ch;
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--heading-soft);
}

.story-cast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.story-cast-card {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
}

.story-cast-card strong {
  color: var(--heading);
}

.story-cast-card span {
  color: var(--muted);
  line-height: 1.45;
}

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

.story-timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.story-timeline-day {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.story-timeline-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--steel);
}

.pitfall-list {
  display: grid;
  gap: 14px;
}

.pitfall-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.pitfall-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.pitfall-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.pitfall-card-head h3 {
  margin: 2px 0 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--heading);
}

.pitfall-grid {
  margin: 0;
  display: grid;
}

.pitfall-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}

.pitfall-row:last-child {
  border-bottom: 0;
}

.pitfall-row dt {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.pitfall-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--steel);
}

.pitfall-row--warn dt {
  color: var(--danger);
}

.pitfall-row--insight dt {
  color: var(--amber);
}

.pitfall-row--pack {
  background: linear-gradient(90deg, rgba(15, 139, 111, 0.06), transparent);
}

.pitfall-row--pack dt {
  color: var(--mint);
}

.pitfall-row--pack dd q {
  font-style: normal;
  color: var(--heading-soft);
}

.story-closing-card {
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-deep);
  color: var(--ink);
  box-shadow: none;
}

.story-closing-card .eyebrow {
  color: var(--muted);
}

.story-closing-card h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
}

.story-closing-card p {
  margin: 0;
  max-width: 68ch;
  font-size: 1.02rem;
  line-height: 1.58;
  color: var(--muted);
}

.story-closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.story-teaser-section {
  margin-bottom: 48px;
}

.story-teaser-card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(183, 121, 31, 0.08), transparent 50%), var(--surface);
  box-shadow: var(--shadow);
}

.story-teaser-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
}

.story-teaser-copy p {
  margin: 0;
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.58;
  color: var(--steel);
}

.story-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.story-back-link {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 720px) {
  .story-timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .pitfall-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* --- Deck-inspired problem / solution sections --- */

.deck-questions {
  margin: 28px 0 8px;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.deck-questions h2 {
  margin: 8px 0 18px;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
}

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

.deck-q-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.deck-q-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.deck-q-text {
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
}

.deck-q-text strong {
  color: var(--heading);
  font-style: normal;
  font-weight: 600;
}

.deck-q-lead {
  margin: 0;
  max-width: 62ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.deck-q-lead strong {
  color: var(--heading);
}

.deck-shift {
  margin: 18px 0 8px;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.deck-shift-head h2 {
  margin: 8px 0 20px;
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--heading);
}

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

.deck-shift-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.deck-shift-card--warn {
  border-color: #d4c4a8;
  background: var(--paper-deep);
}

.deck-shift-label {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.deck-shift-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
}

.deck-shift-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.deck-shift-card li {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  padding-left: 14px;
  position: relative;
}

.deck-shift-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--line);
}

.deck-shift-lead {
  margin: 0;
  max-width: 68ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.deck-shift-lead strong {
  color: var(--heading);
}

.deck-stark {
  margin: 18px 0 28px;
  padding: 32px 34px;
  border-radius: 14px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  color: var(--ink);
}

.deck-stark .eyebrow {
  color: var(--muted);
  margin-bottom: 12px;
}

.deck-stark h2 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--heading);
  max-width: 28ch;
}

.deck-stark p {
  margin: 0;
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
}

.deck-stark strong {
  color: var(--heading-soft);
  font-weight: 500;
}

.deck-contrast-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}

.deck-contrast-kicker {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.deck-contrast-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deck-scatter-list,
.deck-struct-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.deck-scatter-list li,
.deck-struct-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.deck-scatter-list li {
  opacity: 0.88;
  border-style: dashed;
}

.deck-struct-list li {
  position: relative;
  padding-left: 16px;
}

.deck-struct-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.deck-scatter-tag,
.deck-struct-tag {
  flex-shrink: 0;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
}

.deck-scatter-list p,
.deck-struct-list p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}

.deck-scatter-list strong,
.deck-struct-list strong {
  color: var(--heading);
}

.deck-vs-skills-section .section-intro {
  max-width: 52rem;
}

.deck-vs-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.deck-vs-head,
.deck-vs-row {
  display: grid;
  grid-template-columns: minmax(9.5rem, 0.9fr) 1fr 1fr;
  gap: 0;
}

.deck-vs-head {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.deck-vs-head > span {
  padding: 12px 16px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.deck-vs-head-new {
  color: var(--heading-soft);
  border-left: 1px solid var(--line);
}

.deck-vs-head-old {
  border-left: 1px solid var(--line);
}

.deck-vs-head-old small {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--steel);
  line-height: 1.4;
}

.deck-vs-row + .deck-vs-row {
  border-top: 1px solid var(--line);
}

.deck-vs-topic {
  padding: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--heading-soft);
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.deck-vs-old,
.deck-vs-new {
  margin: 0;
  padding: 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.deck-vs-old {
  border-right: 1px solid var(--line);
  background: rgba(20, 18, 16, 0.02);
}

.deck-vs-new {
  background: var(--surface);
}

.deck-vs-new strong {
  color: var(--heading);
  font-weight: 600;
}

.deck-vs-loop {
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.deck-vs-loop-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--heading-soft);
}

.deck-vs-loop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.deck-vs-loop-col {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.deck-vs-loop-col--old {
  border-style: dashed;
  opacity: 0.92;
}

.deck-vs-loop-col--new {
  position: relative;
}

.deck-vs-loop-col--new::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.deck-vs-loop-kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.deck-vs-loop-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: deck-vs-loop;
}

.deck-vs-loop-steps li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 10px;
  align-items: start;
  padding: 0 0 14px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
  position: relative;
}

.deck-vs-loop-steps li:last-child {
  padding-bottom: 0;
}

.deck-vs-loop-steps li > span {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-top: 2px;
}

.deck-vs-loop-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 22px;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: var(--line);
}

.deck-vs-loop-steps li::before {
  counter-increment: deck-vs-loop;
  content: counter(deck-vs-loop);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--steel);
  grid-column: 1;
  grid-row: 1;
}

.deck-vs-loop-steps strong {
  color: var(--heading-soft);
  font-weight: 500;
}

.deck-vs-loop-foot {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.deck-compound-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}

.deck-pr-informed,
.deck-compound-loop {
  padding: 22px 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.deck-pr-informed h3,
.deck-compound-loop h3 {
  margin: 0 0 14px;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--heading-soft);
}

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

.deck-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}

.deck-ck {
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 9px;
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
}

.deck-ck.done {
  color: var(--heading);
  background: var(--paper);
}

.deck-checklist strong {
  color: var(--heading-soft);
  font-weight: 500;
}

.deck-loop-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: deck-loop;
}

.deck-loop-steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  padding: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  position: relative;
}

.deck-loop-steps li:last-child {
  padding-bottom: 0;
}

.deck-loop-steps li > span {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding-top: 3px;
}

.deck-loop-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 24px;
  bottom: 0;
  width: 1px;
  transform: translateX(-50%);
  background: var(--line);
}

.deck-loop-steps li::before {
  counter-increment: deck-loop;
  content: counter(deck-loop);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  line-height: 1;
  color: var(--steel);
  grid-column: 1;
  grid-row: 1;
}

.deck-loop-steps strong {
  color: var(--heading-soft);
  font-weight: 500;
}

.deck-loop-foot {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
  font-style: italic;
}

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

.deck-outcome-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.deck-outcome-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
}

.deck-outcome-card span {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

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

.deck-step-card {
  padding: 18px 20px;
  border: 1px solid var(--border-gold-subtle);
  border-top: 2px solid var(--border-gold-top);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.deck-step-num {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.deck-step-card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
}

.deck-step-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 980px) {
  .deck-shift-grid,
  .deck-compound-grid {
    grid-template-columns: 1fr;
  }

  .deck-contrast-wrap {
    grid-template-columns: 1fr;
  }

  .deck-contrast-divider {
    padding: 0;
  }

  .deck-vs-head,
  .deck-vs-row {
    grid-template-columns: 1fr;
  }

  .deck-vs-head-topic {
    display: none;
  }

  .deck-vs-head-old,
  .deck-vs-head-new {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .deck-vs-topic {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .deck-vs-old {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .deck-vs-loop-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 680px) {
  .deck-questions,
  .deck-shift {
    padding: 22px 18px 24px;
  }

  .deck-stark {
    padding: 24px 20px;
  }

  .deck-outcome-grid,
  .deck-four-steps {
    grid-template-columns: 1fr;
  }
}

.roles-giveback-section .role-grid--compact .role-panel ul {
  display: none;
}

.roles-giveback-section .role-panel p:last-child {
  margin-bottom: 0;
}

/* --- Obsidian theme: hero pills, loop, handoff --- */

.loop-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.loop-step {
  display: grid;
  gap: 10px;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: none;
  min-height: 100%;
}

.loop-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(92, 66, 18, 0.12);
  border: 1px solid rgba(92, 66, 18, 0.32);
  color: var(--amber-deep);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.loop-step h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--heading-soft);
}

.loop-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.loop-mcp-strip {
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-deep);
}

.loop-mcp-strip-lead {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--steel);
}

.loop-mcp-strip-lead a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}

.loop-mcp-strip-lead a:hover {
  text-decoration: underline;
}

.get-started-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 0 48px;
}

.get-started-hero {
  margin-bottom: 36px;
}

.get-started-hero h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--heading);
}

.get-started-hero .page-intro {
  max-width: 36em;
  margin: 0 0 22px;
}

.get-started-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.get-started-step {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.get-started-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(92, 66, 18, 0.12);
  border: 1px solid rgba(92, 66, 18, 0.32);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-deep);
}

.get-started-step h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading-soft);
}

.get-started-step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.get-started-step a {
  color: var(--amber);
  font-weight: 600;
  text-decoration: none;
}

.get-started-step a:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

.get-started-footnote {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--steel);
  text-align: center;
}

.get-started-footnote a {
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
}

.get-started-footnote a:hover {
  text-decoration: underline;
}

.get-started-urls {
  display: grid;
  gap: 10px;
}

.get-started-url-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: baseline;
  font-size: 0.88rem;
  line-height: 1.45;
}

.get-started-url-label {
  font-weight: 600;
  color: var(--heading-soft);
}

.get-started-url-value a,
.get-started-url-value code {
  font-family: var(--mono);
  font-size: 0.82rem;
}

.get-started-url-value code {
  color: var(--heading);
  word-break: break-all;
}

.get-started-url-value a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}

.get-started-url-value a:hover {
  text-decoration: underline;
}

.get-started-url-desc {
  grid-column: 2;
  color: var(--steel);
  font-size: 0.82rem;
}

.get-started-steps {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.get-started-steps a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}

.get-started-steps a:hover {
  text-decoration: underline;
}

.get-started-actions {
  margin-top: 20px;
}

@media (max-width: 768px) {
  .get-started-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .get-started-url-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .get-started-url-desc {
    grid-column: 1;
    margin-bottom: 6px;
  }
}

.mcp-other-ides-note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--steel);
}

.gs-mcp-setup-note {
  margin: 0;
  line-height: 1.6;
}

.inline-cta {
  margin: 12px 0 0;
}

.inline-cta a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
}

.inline-cta a:hover {
  text-decoration: underline;
}

.handoff-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  gap: 28px;
  align-items: start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(45, 90, 71, 0.05), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow);
}

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

.handoff-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--muted);
}

.handoff-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-mid);
}

.handoff-list strong {
  color: var(--heading);
}

.handoff-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-deep);
  padding: 20px;
  color: var(--ink);
}

.handoff-kind {
  display: grid;
  gap: 6px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.handoff-kind:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.handoff-kind p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.handoff-kind-tag {
  display: inline-block;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--steel);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 1100px) {
  .loop-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .handoff-grid {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

@media (max-width: 680px) {
  .loop-track {
    grid-template-columns: 1fr;
  }
}

/* ── Documentation pages ─────────────────────────────────────────────────── */

.docs-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin: 0 0 24px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.docs-subnav-item {
  display: inline-block;
  padding: 0 0 11px;
  margin-bottom: -1px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--steel);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.docs-subnav-item:hover {
  color: var(--ink);
}

.docs-subnav-item.active,
.docs-subnav-item[aria-current="page"] {
  color: var(--amber);
  font-weight: 600;
  border-bottom-color: var(--accent-deep);
}

.docs-card,
.docs-tool {
  margin-bottom: 18px;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.docs-section-title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.docs-eyebrow,
.docs-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.docs-note,
.docs-lead,
.docs-footnote {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.docs-checklist {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 15px;
  line-height: 1.65;
}

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

.docs-tile {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-gold-subtle);
  border-top: 2px solid var(--border-gold-top);
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.docs-tile h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 18px;
}

.docs-tile h2 a {
  color: var(--amber);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(138, 100, 32, 0.45);
  text-underline-offset: 3px;
}

.docs-tile h2 a:hover {
  color: var(--accent-deep);
  text-decoration-color: rgba(168, 135, 72, 0.65);
}

.docs-tile p {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}

.docs-hub-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.docs-hub-body .docs-tile-grid {
  grid-column: 1;
}

.docs-tile-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.docs-tile-points {
  margin: 0 0 14px;
  padding-left: 1.1rem;
  font-size: 13px;
  line-height: 1.55;
  color: var(--steel);
}

.docs-tile-points li + li {
  margin-top: 4px;
}

.docs-tile-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
}

.docs-tile-link:hover {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-hub-aside {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.docs-hub-aside h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--heading);
}

.docs-split-list {
  margin: 0;
}

.docs-split-list > div + div {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.docs-split-list dt {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
}

.docs-split-list dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--steel);
}

.docs-hub-aside-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.docs-hub-aside-note a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: none;
}

.docs-hub-aside-note a:hover {
  text-decoration: underline;
}

.docs-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.docs-table-wrap {
  margin-top: 14px;
  overflow-x: auto;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.docs-table th,
.docs-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.docs-table thead th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.docs-ref-id {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.docs-ref-when {
  color: var(--muted);
  font-size: 13px;
}

.docs-tool-title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 22px;
}

.docs-tool-id {
  margin: 0 0 12px;
  color: var(--muted);
}

.docs-when {
  color: var(--muted);
}

.docs-ask {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.docs-ask-text {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
}

.docs-returns ul,
.docs-overview {
  margin: 8px 0 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}

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

.docs-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.docs-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(92, 66, 18, 0.12);
  border: 1px solid rgba(92, 66, 18, 0.32);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber-deep);
}

.docs-step-detail,
.docs-step-tools,
.docs-step-action {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.docs-steps-closeouts .docs-step + .docs-step {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.docs-steps-closeouts .docs-label {
  margin-top: 12px;
}

.docs-steps-closeouts .docs-prompt-wrap {
  margin-top: 4px;
}

.docs-closeout-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.docs-closeout-footer .docs-checklist {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.icon-copy {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.icon-copy:hover {
  background: var(--paper-deep);
  color: var(--ink);
}

.icon-copy svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.docs-code-wrap {
  position: relative;
}

.docs-code-wrap .docs-code {
  padding-right: 40px;
}

.docs-code-wrap .icon-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  background: rgba(23, 23, 23, 0.72);
  color: #e8e8e8;
}

.docs-code-wrap .icon-copy:hover {
  background: rgba(23, 23, 23, 0.92);
  color: #fff;
}

.pickwise-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  transform: translateX(-50%) translateY(8px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(23, 23, 23, 0.92);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.pickwise-copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.docs-code {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper-deep);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-x: auto;
}

@media (max-width: 900px) {
  .docs-tile-grid {
    grid-template-columns: 1fr;
  }

  .docs-hub-body {
    grid-template-columns: 1fr;
  }
}

/* Pricing page */
.pricing-page {
  padding-top: 8px;
}

.pricing-shell {
  max-width: 640px;
}

.pricing-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 48px;
}

.pricing-head.section-head {
  max-width: none;
  margin-bottom: 0;
}

.pricing-head h1 {
  margin: 0;
  max-width: none;
  font-family: var(--display);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading);
  text-wrap: balance;
}

.pricing-head .section-intro {
  max-width: 36em;
  margin-top: 14px;
  font-size: clamp(1.02rem, 1.15vw, 1.1rem);
  line-height: 1.55;
}

.pricing-plans-grid--single {
  width: 100%;
  max-width: 420px;
  margin: 0;
}

/* Compare page — PickWise vs local instruction files */
.page--compare {
  max-width: none;
  padding: 0 0 54px;
}

.page--compare > .site-header,
.page--compare > .site-footer {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
  width: 100%;
  box-sizing: border-box;
}

.page--compare > .site-header {
  margin-bottom: 0;
  padding-top: clamp(14px, 2vw, 18px);
  padding-bottom: clamp(14px, 2vw, 18px);
}

.compare-hero-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 4vh, 48px) clamp(20px, 4vw, 48px) clamp(24px, 3vh, 36px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
}

.compare-hero-inner {
  max-width: 800px;
}

.compare-hero-eyebrow {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.compare-hero-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em 0.42em;
  margin: 0;
  max-width: none;
  font-family: var(--display);
  font-size: clamp(2.15rem, 4.2vw, 3.5rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--heading);
}

.compare-hero-main {
  color: var(--accent-deep);
  white-space: nowrap;
}

.compare-hero-vs {
  color: var(--muted);
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  white-space: nowrap;
}

.compare-hero-accent {
  color: var(--heading);
  white-space: nowrap;
}

.compare-hero-lead {
  max-width: 52ch;
  margin: clamp(16px, 2.5vh, 22px) 0 0;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.55;
  color: var(--muted);
}

.compare-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: clamp(20px, 3vh, 28px) 0 0;
  padding: 0;
  list-style: none;
}

.compare-file-list code {
  display: inline-block;
  padding: 6px 11px;
  border: 1px solid var(--border-gold-subtle);
  border-radius: 6px;
  background: var(--accent-soft);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber-deep);
}

.compare-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(28px, 4vh, 44px) clamp(20px, 4vw, 48px) 0;
}

.compare-section {
  margin-bottom: clamp(32px, 5vh, 48px);
}

.compare-section-title {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.compare-page .deck-vs-table,
.page--compare .deck-vs-table {
  border-radius: 14px;
  border-color: var(--line-mid);
  box-shadow: var(--shadow);
}

.page--compare .deck-vs-head {
  background: var(--obsidian);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.page--compare .deck-vs-head > span {
  padding: 14px 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.page--compare .deck-vs-head-old {
  color: rgba(244, 239, 230, 0.78);
  border-left-color: rgba(255, 255, 255, 0.1);
}

.page--compare .deck-vs-head-old small {
  color: rgba(244, 239, 230, 0.68);
}

.page--compare .deck-vs-head-new {
  color: var(--accent-bright);
  background: rgba(168, 135, 72, 0.18);
  border-left-color: rgba(232, 212, 168, 0.2);
}

.page--compare .deck-vs-topic {
  padding: 18px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--heading);
  background: var(--paper-deep);
}

.page--compare .deck-vs-old,
.page--compare .deck-vs-new {
  padding: 18px;
  font-size: 0.94rem;
  line-height: 1.58;
}

.page--compare .deck-vs-old {
  background: rgba(20, 18, 16, 0.03);
  color: var(--steel);
}

.page--compare .deck-vs-new {
  background: linear-gradient(165deg, #fdfbf7 0%, var(--surface) 100%);
  color: var(--heading-soft);
  border-left: 3px solid var(--accent-deep);
}

.page--compare .deck-vs-new strong {
  color: var(--accent-deep);
  font-weight: 700;
}

.page--compare .deck-vs-loop {
  margin-top: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-mid);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.page--compare .deck-vs-loop-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--heading);
}

.page--compare .deck-vs-loop-col--new {
  border-color: rgba(168, 135, 72, 0.4);
  background: linear-gradient(165deg, #fdfbf7 0%, var(--surface) 100%);
}

.page--compare .deck-vs-loop-col--new .deck-vs-loop-kicker {
  color: var(--accent-deep);
}

.page--compare .deck-vs-loop-foot {
  font-size: 1rem;
  color: var(--heading-soft);
}

.compare-when-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compare-when-card {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.compare-when-card--pw {
  border: 2px solid var(--accent-deep);
  background: linear-gradient(165deg, #fdfbf7 0%, #fff 100%);
  box-shadow: 0 4px 20px rgba(168, 135, 72, 0.12);
}

.compare-when-card h3 {
  margin: 0 0 14px;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--heading);
}

.compare-when-card--pw h3 {
  color: var(--accent-deep);
}

.compare-when-card ul {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.compare-when-card li + li {
  margin-top: 10px;
}

.compare-cta-band {
  margin-top: 8px;
  padding: clamp(28px, 4vh, 40px) clamp(22px, 3vw, 32px);
  border-radius: 14px;
  background: var(--obsidian);
  color: var(--cream);
  text-align: center;
}

.compare-cta-eyebrow {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.compare-cta-headline {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--cream);
  text-wrap: balance;
}

.compare-cta-actions {
  justify-content: center;
  margin-top: 22px;
}

.compare-cta-secondary {
  color: var(--cream);
  background: transparent;
  border-color: rgba(244, 239, 230, 0.35);
}

.compare-cta-secondary:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 239, 230, 0.5);
}

.compare-cta-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(244, 239, 230, 0.6);
}

.compare-cta-note a {
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 500;
}

.compare-cta-note a:hover {
  text-decoration: underline;
}

.home-vs-link-wrap {
  margin: 14px 0 0;
}

.home-vs-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-deep);
  text-decoration: none;
}

.home-vs-link:hover {
  color: var(--amber);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .compare-hero-title {
    font-size: clamp(1.85rem, 7vw, 2.65rem);
  }

  .compare-hero-main,
  .compare-hero-vs,
  .compare-hero-accent {
    white-space: normal;
  }
}

@media (max-width: 760px) {
  .compare-when-grid {
    grid-template-columns: 1fr;
  }

  .page--compare .deck-vs-head,
  .page--compare .deck-vs-row {
    grid-template-columns: 1fr;
  }

  .page--compare .deck-vs-topic {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .page--compare .deck-vs-old {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .page--compare .deck-vs-new {
    border-left: 0;
    border-top: 3px solid var(--accent-deep);
  }
}

.pricing-head-actions {
  margin-top: 20px;
}

.pricing-note {
  font-size: 0.95rem;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 24px;
}

.pricing-note strong {
  color: var(--ink);
}

.pricing-billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 24px;
}

.pricing-period-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
}

.pricing-period-btn.is-active {
  background: var(--obsidian);
  color: var(--cream);
}

.pricing-save {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  margin-left: 4px;
}

.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
  align-items: stretch;
}

.pricing-plans-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.pricing-plans-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 900px) {
  .pricing-shell {
    max-width: none;
  }

  .pricing-plans-grid--single {
    max-width: 100%;
  }
}

.pricing-compare--single th:last-child,
.pricing-compare--single td:last-child {
  width: 40%;
}

.legal-page {
  max-width: 720px;
}

.legal-body {
  display: grid;
  gap: 28px;
}

.legal-section h2 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.legal-section p {
  margin: 0;
  color: var(--steel);
  line-height: 1.65;
}

.pricing-plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--surface);
  border: 1px solid var(--border-gold-subtle);
  border-top: 2px solid var(--border-gold-top);
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), var(--shadow);
}

.pricing-plan-card.is-featured {
  border-color: var(--border-gold-subtle);
  border-top-color: var(--border-gold-top);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 18px rgba(168, 135, 72, 0.1);
}

.pricing-plan-tag {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.pricing-plan-name {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.15;
}

.pricing-plan-devs {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--muted);
}

.pricing-plan-price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}

.pricing-plan-price span {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-plan-note {
  min-height: 32px;
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--muted);
}

.pricing-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex: 1 1 auto;
  font-size: 14px;
}

.pricing-plan-features li {
  padding: 5px 0;
  border-bottom: 1px solid #f0eeea;
}

.pricing-plan-features li:last-child {
  border-bottom: 0;
}

.pricing-plan-features li.is-muted {
  color: var(--muted);
}

.pricing-plan-cta {
  margin-top: auto;
  width: 100%;
  text-align: center;
  text-decoration: none;
}

.pricing-compare-section h2 {
  font-family: var(--serif);
  margin: 0 0 16px;
}

.pricing-compare-wrap {
  overflow-x: auto;
}

.pricing-compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.pricing-compare th,
.pricing-compare td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.pricing-compare thead th {
  background: #faf9f7;
  font-weight: 600;
}

.pricing-compare tbody tr:last-child th,
.pricing-compare tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-footnote {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .pricing-plans-grid,
  .pricing-plans-grid--two {
    grid-template-columns: 1fr;
  }
}

/* --- Homepage (2026 refresh) --- */

.page--home {
  max-width: none;
  padding: 0 0 54px;
}

.page--home > .site-header,
.page--home > .site-footer {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
  width: 100%;
  box-sizing: border-box;
}

.page--home > .site-header {
  margin-bottom: 0;
  padding-top: clamp(14px, 2vw, 18px);
  padding-bottom: clamp(14px, 2vw, 18px);
}

.home-hero-shell {
  --hero-pad-x: clamp(16px, 2.5vw, 36px);
  --hero-pad-y: clamp(12px, 2vh, 28px);
  --hero-gap: clamp(36px, 5.5vw, 80px);
  --hero-title-size: clamp(2.35rem, 3.6vw + 0.55rem, 3.85rem);
  --hero-sub-size: clamp(1.42rem, 2.2vw + 0.25rem, 2.12rem);
  --hero-lead-size: clamp(1.04rem, 0.95vw + 0.55rem, 1.26rem);
  --hero-item-pad: clamp(14px, 2vh, 22px);
  width: 100%;
  min-height: calc(100svh - 4.5rem);
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-sizing: border-box;
}

.home-hero-inner {
  width: 100%;
  max-width: min(1480px, 94vw);
  margin: 0 auto;
  padding: var(--hero-pad-y) var(--hero-pad-x);
  min-height: calc(100svh - 4.5rem);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.page--home .home-hero {
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding: 0;
  gap: var(--hero-gap);
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: stretch;
  width: 100%;
  min-height: calc(100svh - 4.5rem - (var(--hero-pad-y) * 2));
}

.page--home .home-problem-band {
  width: 100%;
  margin-bottom: 48px;
  border-radius: 0;
}

.page--home .home-problem-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 48px);
}

.page--home main > .section,
.page--home main > .cta-band {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  box-sizing: border-box;
}

.home-hero {
  align-items: stretch;
  gap: var(--hero-gap, clamp(36px, 5.5vw, 80px));
  padding: 0;
  margin-bottom: 0;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}

.home-hero .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero.home-hero .hero-title {
  margin: 0;
  font-family: var(--display);
  color: var(--heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: var(--hero-title-size, clamp(2.35rem, 3.6vw + 0.55rem, 3.85rem));
  line-height: 1.08;
}

.hero.home-hero .hero-subline {
  margin: clamp(10px, 1.6vh, 18px) 0 0;
  max-width: 42ch;
  font-family: var(--display);
  font-size: var(--hero-sub-size, clamp(1.42rem, 2.2vw + 0.25rem, 2.12rem));
  line-height: 1.32;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
}

.home-hero .hero-lead {
  max-width: 40em;
  margin: clamp(14px, 2.2vh, 24px) 0 0;
  color: var(--heading-soft);
  font-size: var(--hero-lead-size, clamp(1.04rem, 0.95vw + 0.55rem, 1.26rem));
  line-height: 1.62;
}

.home-hero .eyebrow.dark {
  margin-bottom: clamp(10px, 1.4vh, 16px);
  font-size: clamp(11px, 0.72vw, 13px);
}

.home-hero .hero-actions {
  margin-top: clamp(18px, 2.8vh, 30px);
  gap: 12px;
}

.home-hero .hero-actions .btn {
  min-height: clamp(44px, 5.2vh, 52px);
  padding: 12px clamp(18px, 2vw, 24px);
  font-size: clamp(0.95rem, 0.85vw + 0.35rem, 1.06rem);
}

.home-hero .hero-microcopy {
  margin-top: clamp(10px, 1.4vh, 14px);
  font-size: clamp(12px, 0.75vw + 0.35rem, 13px);
}

.home-hero .home-proof-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3.2vh, 40px) clamp(22px, 2.5vw, 32px);
  border: 1px solid var(--border-gold-subtle);
  border-top: 2px solid var(--border-gold-top);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.home-hero .panel-kicker {
  margin-bottom: clamp(14px, 2vh, 22px);
  font-size: clamp(11px, 0.72vw, 13px);
}

.home-hero .home-proof-item {
  display: flex;
  align-items: flex-start;
  gap: clamp(12px, 1.1vw, 16px);
  padding: var(--hero-item-pad, clamp(14px, 2vh, 22px)) 0;
}

.home-hero .home-proof-tick {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(22px, 2vw, 26px);
  height: clamp(22px, 2vw, 26px);
  margin-top: 2px;
  border: 1.5px solid #3d9b62;
  border-radius: 50%;
  background: #fff;
  color: #2f8a52;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 700;
  line-height: 1;
}

.home-hero .home-proof-copy {
  min-width: 0;
}

.home-hero .home-proof-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1rem, 0.9vw + 0.55rem, 1.14rem);
}

.home-hero .home-proof-copy span {
  display: block;
  font-size: clamp(0.92rem, 0.75vw + 0.5rem, 1.04rem);
  line-height: 1.55;
  color: var(--muted);
}

.hero-microcopy {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.home-proof-panel {
  border: 1px solid var(--border-gold-subtle);
  border-top: 2px solid var(--border-gold-top);
  border-radius: 14px;
  background: linear-gradient(165deg, var(--paper-deep) 0%, var(--surface) 100%);
  padding: 22px 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.home-proof-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.home-proof-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-proof-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: var(--heading);
}

.home-proof-item span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.home-problem-band {
  margin-bottom: 58px;
  border-radius: 16px;
  background: var(--obsidian);
  color: var(--cream);
  overflow: hidden;
}

.home-problem-inner {
  padding: clamp(28px, 4vw, 44px);
}

.home-problem-copy {
  max-width: 46em;
  margin-bottom: 28px;
}

.home-problem-copy .eyebrow {
  color: var(--accent-bright);
}

.home-problem-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.28;
  font-weight: 600;
  color: var(--cream);
}

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

.home-problem-card {
  padding: 18px 16px;
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.home-problem-card h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--cream);
}

.home-problem-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(244, 239, 230, 0.78);
}

.home-how-section {
  margin-bottom: 58px;
}

.home-how-foot {
  margin: 18px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.home-how-foot a {
  font-weight: 600;
}

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

.home-pillar-card {
  padding: 22px 20px;
  border: 1px solid var(--border-gold-subtle);
  border-top: 2px solid var(--border-gold-top);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.home-pillar-card h3 {
  margin: 0 0 8px;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--heading);
}

.home-pillar-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--muted);
}

.home-vs-section {
  margin-bottom: 58px;
}

.home-audiences-section {
  margin-bottom: 58px;
}

.home-cta-band .cta-lead {
  max-width: 42em;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .home-hero-shell {
    --hero-gap: clamp(28px, 4vh, 40px);
    --hero-title-size: clamp(2rem, 6.5vw, 2.75rem);
    --hero-sub-size: clamp(1.2rem, 4.2vw, 1.55rem);
    --hero-lead-size: clamp(1rem, 2.8vw, 1.12rem);
    min-height: calc(100svh - 4rem);
    align-items: stretch;
  }

  .home-hero-inner {
    min-height: calc(100svh - 4rem);
  }

  .page--home .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: var(--hero-gap);
  }

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

@media (max-width: 680px) {
  .home-hero-shell {
    --hero-pad-x: clamp(16px, 4vw, 24px);
    --hero-title-size: clamp(1.75rem, 7.5vw, 2.15rem);
    --hero-sub-size: clamp(1.08rem, 4.8vw, 1.35rem);
    min-height: calc(100svh - 3.75rem);
  }

  .home-hero-inner {
    min-height: calc(100svh - 3.75rem);
    padding: 16px var(--hero-pad-x);
  }

  .page--home .home-hero,
  .home-hero {
    padding: 0;
    min-height: auto;
  }

  .hero.home-hero .hero-subline {
    max-width: none;
  }

  .home-hero .hero-lead {
    margin-top: 14px;
    line-height: 1.58;
  }
}

@media (max-width: 980px) {
  .home-problem-grid,
  .home-pillar-grid {
    grid-template-columns: 1fr;
  }
}
