:root {
  --ink: #0F1923;
  --ink-2: #1a2534;
  --muted: #525252;
  --muted-2: #737373;
  --muted-3: #a3a3a3;
  --line: #e5e5e5;
  --line-2: #f0f0f0;
  --line-3: #f7f7f7;
  --paper: #ffffff;
  --paper-2: #fafafa;
  --paper-3: #f5f5f5;
  --accent: #B08D57;
  --accent-hover: #8F6F3E;
  --accent-soft: #F7F1E6;
  --accent-soft-2: #FBF7F0;
  --green: #2f7a4d;
  --green-soft: #f0f7f3;
  --green-on-dark: #3FA86A;
  --yellow: #B07D2A;
  --yellow-soft: #FBF3E3;
  --red: #c94a3e;
  --red-soft: #fbe9e7;
  --blue: #3b5ea5;
  --blue-soft: #eef2f8;
  /* SAP-side neutral — deliberately cool, not pejorative */
  --rival: #4a5568;
  --rival-soft: #f3f4f7;
  --rival-line: #d9dde3;

  --ff-body: 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --ff-mono: 'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --max-w: 1440px;
  --inner-pad: 32px;
  --ease-smooth: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 0.15s;
  --dur-base: 0.3s;
}

/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--ff-body); color: var(--ink); background: var(--paper);
  line-height: 1.5; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; line-height: 1.1; font-weight: 600; }
p { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding-left: var(--inner-pad); padding-right: var(--inner-pad); }
main > section { padding: 104px var(--inner-pad); border-bottom: 1px solid var(--line); }
.bg-paper-2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: #fff; }

/* ============== TYPE ============== */
.eyebrow { font-size: 15px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.eyebrow .div { color: var(--muted-3); margin: 0 8px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); }
.h-display { font-size: clamp(48px, 5.4vw, 80px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.03; }
.h-section { font-size: clamp(40px, 4.2vw, 60px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
.h-section-sm { font-size: clamp(36px, 3.8vw, 52px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.h-section-xs { font-size: clamp(32px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
.h-card { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.h-sub { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.mono { font-family: var(--ff-mono); }
.num { font-variant-numeric: tabular-nums; }
em.acc { font-style: normal; color: var(--accent); }
strong.ink { color: var(--ink); font-weight: 600; }

/* ============== BUTTONS ============== */
.btn {
  font-family: inherit; font-size: 16px; font-weight: 500;
  padding: 13px 22px; border: 1px solid transparent; border-radius: 0;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; white-space: nowrap; text-decoration: none;
  transition: background var(--dur-fast) var(--ease-smooth),
              color var(--dur-fast) var(--ease-smooth),
              border-color var(--dur-fast) var(--ease-smooth),
              transform var(--dur-fast) var(--ease-smooth),
              box-shadow var(--dur-base) var(--ease-smooth);
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: 0s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 10px 28px -10px rgba(176, 141, 87, 0.55); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); box-shadow: 0 10px 28px -10px rgba(15, 25, 35, 0.5); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-ghost-inv { background: transparent; color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost-inv:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.04); }
.btn-soft { background: var(--accent-soft); color: var(--accent-hover); border-color: rgba(176,141,87,0.25); }
.btn-soft:hover { background: var(--accent-soft-2); border-color: var(--accent); }
.btn-lg { padding: 16px 26px; font-size: 17px; font-weight: 600; }
.link-arrow {
  font-size: 16px; font-weight: 500; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--dur-fast) var(--ease-smooth); text-decoration: none;
}
.link-arrow:hover { gap: 10px; }

/* TBD flag */
.tbd { font-family: var(--ff-mono); font-size: 0.85em; padding: 0 5px; background: rgba(184, 127, 42, 0.12); color: var(--yellow); border: 1px dashed rgba(184, 127, 42, 0.55); letter-spacing: 0.02em; white-space: nowrap; }

/* ============== HEADER (shared) ============== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line); }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; flex: none; }
.site-nav { background: var(--paper); }
.site-nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 14px var(--inner-pad); display: flex; align-items: center; justify-content: space-between; }
.site-nav-left { display: flex; align-items: center; gap: 44px; }
.site-nav-right { display: flex; align-items: center; gap: 10px; }
.nav-list { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.nav-link { font-size: 16.5px; font-weight: 500; color: var(--ink); padding: 8px 4px; transition: color var(--dur-fast); }
.nav-link:hover { color: var(--accent); }
.nav-link.is-active, .nav-link.is-current { color: var(--accent); }
.nav-signin { font-size: 16px; padding: 8px 12px; color: var(--ink); }
.nav-signin:hover { color: var(--accent); }
.nav-cta { padding: 10px 18px; }
.nav-hamburger { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; background: none; border: 0; cursor: pointer; }
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); }
.edma-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.edma-logo .phoenix { height: 34px; width: auto; display: block; max-width: 100%; }
.edma-wordmark { font-family: var(--ff-body); }

/* Subnav for the comparison */
.compare-bar { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.compare-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 16px var(--inner-pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.compare-pair {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--ff-mono); font-size: 14px;
  color: var(--muted-2); letter-spacing: 0.06em;
}
.compare-pair .side {
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; letter-spacing: 0.04em; text-transform: uppercase;
}
.compare-pair .side.us { border-color: var(--accent); color: var(--accent-hover); background: var(--accent-soft-2); }
.compare-pair .side.us::before {
  content: ""; width: 7px; height: 7px; background: var(--accent); display: inline-block;
}
.compare-pair .side.them { color: var(--rival); }
.compare-pair .side.them::before {
  content: ""; width: 7px; height: 7px; background: var(--rival); display: inline-block; border-radius: 50%;
}
.compare-pair .vs { color: var(--muted-3); letter-spacing: 0.18em; }
.compare-jump {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--ff-mono); font-size: 13.5px;
  color: var(--muted-2); letter-spacing: 0.04em;
}
.compare-jump a { color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; transition: color var(--dur-fast), border-color var(--dur-fast); }
.compare-jump a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.compare-jump .sep { color: var(--muted-3); }

/* ============== § 1 · HERO ============== */
.s-hero { padding: 88px var(--inner-pad) 0; border-bottom: 0; }
.s-hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 80px; align-items: end;
}
.s-hero-left .eyebrow-row {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
}
.s-hero-left .stamp {
  font-family: var(--ff-mono); font-size: 12.5px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 4px 8px;
  background: var(--accent); color: #fff;
}
.s-hero h1 { margin-bottom: 24px; }
.s-hero h1 em.acc { color: var(--accent); }
.s-hero .lede { max-width: 680px; margin-bottom: 36px; font-size: 19px; }
.s-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Hero spec card — right side */
.spec-card {
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column;
  position: relative;
}
.spec-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
}
.spec-head {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--ff-mono); font-size: 12.5px;
  color: rgba(255,255,255,0.55); letter-spacing: 0.14em; text-transform: uppercase;
}
.spec-head .doc { color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.spec-head .doc .sq { width: 8px; height: 8px; background: var(--accent); }
.spec-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px dashed rgba(255,255,255,0.10);
  align-items: stretch;
}
.spec-row:last-of-type { border-bottom: 0; }
.spec-row.is-header {
  background: rgba(255,255,255,0.03);
  font-family: var(--ff-mono); font-size: 12.5px;
  color: rgba(255,255,255,0.55); letter-spacing: 0.12em; text-transform: uppercase;
}
.spec-cell { padding: 14px 16px; border-right: 1px dashed rgba(255,255,255,0.10); }
.spec-cell:last-child { border-right: 0; }
.spec-cell.label {
  font-family: var(--ff-mono); font-size: 13px;
  color: rgba(255,255,255,0.55); letter-spacing: 0.06em;
  display: flex; align-items: center;
}
.spec-cell.us {
  font-family: var(--ff-mono); font-size: 15px;
  color: var(--accent); font-weight: 500;
  display: flex; flex-direction: column; gap: 2px; justify-content: center;
}
.spec-cell.them {
  font-family: var(--ff-mono); font-size: 15px;
  color: rgba(255,255,255,0.75);
  display: flex; flex-direction: column; gap: 2px; justify-content: center;
}
.spec-cell .sub { font-size: 12.5px; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }
.spec-foot {
  padding: 12px 22px;
  background: rgba(255,255,255,0.03);
  font-family: var(--ff-mono); font-size: 12.5px;
  color: rgba(255,255,255,0.45); letter-spacing: 0.06em;
  display: flex; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.spec-foot .acc { color: var(--accent); }

/* KPI ribbon */
.kpi-ribbon {
  max-width: var(--max-w); margin: 80px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.kpi-cell {
  padding: 24px 24px;
  display: flex; flex-direction: column; gap: 8px;
  border-right: 1px solid var(--line);
}
.kpi-cell:last-child { border-right: 0; }
.kpi-label { font-family: var(--ff-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.kpi-vs-line {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 10px; align-items: baseline;
  font-family: var(--ff-mono);
}
.kpi-vs-us { font-size: 21px; color: var(--accent); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.kpi-vs-sep { font-size: 13px; color: var(--muted-3); letter-spacing: 0.18em; text-align: center; padding-top: 4px; }
.kpi-vs-them { font-size: 17px; color: var(--muted); text-align: right; line-height: 1.3; }
.kpi-sub { font-family: var(--ff-mono); font-size: 12.5px; color: var(--muted-3); letter-spacing: 0.04em; }
.kpi-sub .l { color: var(--accent); }
.kpi-sub .r { color: var(--muted-2); }

/* ============== § 2 · HONEST FRAMING ============== */
.s-honest .s-head { max-width: var(--max-w); margin: 0 auto 56px; }
.s-honest .s-head h2 { max-width: 880px; margin-bottom: 16px; }
.s-honest .s-head .lede { max-width: 720px; }
.honest-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line);
}
.honest-col {
  padding: 36px 36px 32px;
  background: var(--paper);
  display: flex; flex-direction: column;
}
.honest-col.them {
  background: var(--rival-soft);
  border-right: 1px solid var(--rival-line);
}
.honest-col.us {
  position: relative;
}
.honest-col.us::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
}
.honest-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.honest-col.them .honest-head { border-color: var(--rival-line); }
.honest-tag {
  font-family: var(--ff-mono); font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.honest-col.them .honest-tag { color: var(--rival); }
.honest-col.us .honest-tag { color: var(--accent); }
.honest-head h3 {
  font-size: 23px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.2; color: var(--ink);
}
.honest-stamp {
  font-family: var(--ff-mono); font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid currentColor;
}
.honest-col.them .honest-stamp { color: var(--rival); }
.honest-col.us .honest-stamp { color: var(--accent); border-color: var(--accent); }
.honest-list { display: flex; flex-direction: column; gap: 14px; }
.honest-row {
  display: grid; grid-template-columns: 22px 1fr;
  gap: 14px; align-items: start;
  font-size: 16.5px; line-height: 1.55; color: var(--muted);
}
.honest-row .mk {
  width: 22px; height: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 14px;
  flex: none; margin-top: 2px;
}
.honest-col.them .honest-row .mk { color: var(--rival); border-color: var(--rival-line); background: rgba(255,255,255,0.6); }
.honest-col.us .honest-row .mk { color: var(--accent); border-color: rgba(176,141,87,0.4); background: var(--accent-soft-2); }
.honest-row .mk .x {
  width: 11px; height: 11px;
  position: relative;
}
.honest-row strong { color: var(--ink); font-weight: 600; }

.honest-foot {
  margin-top: auto;
  padding-top: 22px; margin-top: 28px;
  border-top: 1px dashed var(--line);
  font-family: var(--ff-mono); font-size: 13.5px;
  color: var(--muted); letter-spacing: 0.02em;
  display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: baseline;
}
.honest-col.them .honest-foot { border-top-color: var(--rival-line); }
.honest-foot .k { color: var(--muted-3); text-transform: uppercase; font-size: 12px; letter-spacing: 0.12em; }
.honest-foot .v { color: var(--ink); }
.honest-col.us .honest-foot .v { color: var(--accent); }

/* ============== § 3 · COMPARISON TABLE ============== */
.s-compare {
  background: var(--paper);
}
.s-compare .s-head-bar {
  max-width: var(--max-w); margin: 0 auto 48px;
  display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.s-compare .s-head { max-width: 760px; margin-bottom: 0; }
.s-compare .s-head h2 { margin-bottom: 16px; margin-top: 12px; }
.s-compare .s-head .lede { max-width: 680px; }
.compare-meta {
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--muted-2); letter-spacing: 0.08em; text-transform: uppercase;
  padding-bottom: 6px;
  text-align: right;
}
.compare-meta .acc { color: var(--accent); }

.cmp-table {
  max-width: var(--max-w); margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
}
.cmp-table-head {
  display: grid; grid-template-columns: minmax(280px, 1.4fr) 1.3fr 1.3fr;
  position: sticky; top: 0; z-index: 5;
  background: var(--ink); color: #fff;
}
.cmp-th {
  padding: 18px 22px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 6px;
}
.cmp-th:last-child { border-right: 0; }
.cmp-th .lbl {
  font-family: var(--ff-mono); font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.cmp-th .nm {
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
  color: #fff; display: inline-flex; align-items: center; gap: 10px;
}
.cmp-th.us .nm::before {
  content: ""; width: 9px; height: 9px; background: var(--accent);
}
.cmp-th.them .nm::before {
  content: ""; width: 9px; height: 9px; background: rgba(255,255,255,0.7); border-radius: 50%;
}
.cmp-th .sub {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: rgba(255,255,255,0.5); letter-spacing: 0.04em;
}
.cmp-th.us .sub { color: var(--accent); }

.cmp-group-head {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) 1.3fr 1.3fr;
  background: var(--accent-soft-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cmp-group-head .gh {
  padding: 14px 22px;
  font-family: var(--ff-mono); font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 14px;
}
.cmp-group-head .gh .gn {
  background: var(--accent); color: #fff;
  padding: 2px 8px; font-size: 12.5px; letter-spacing: 0.12em;
}
.cmp-group-head .gh .gc {
  margin-left: auto;
  color: var(--muted-2); font-size: 12.5px; letter-spacing: 0.06em;
}
.cmp-group-head .gh-spacer {
  padding: 14px 22px;
  border-left: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); letter-spacing: 0.06em;
}

.cmp-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) 1.3fr 1.3fr;
  border-bottom: 1px solid var(--line-2);
  transition: background var(--dur-fast);
}
.cmp-row:hover { background: var(--paper-2); }
.cmp-row:last-of-type { border-bottom: 0; }
.cmp-row .cell {
  padding: 18px 22px;
  border-right: 1px solid var(--line-2);
  font-size: 16px;
  line-height: 1.5;
  display: flex; align-items: flex-start; gap: 10px;
}
.cmp-row .cell:last-child { border-right: 0; }
.cmp-row .cell.label {
  font-family: var(--ff-mono); font-size: 14.5px;
  color: var(--ink); letter-spacing: 0.01em;
  background: var(--paper-2);
  align-items: center;
}
.cmp-row .cell.us {
  color: var(--ink); background: rgba(176, 141, 87, 0.035);
  border-left: 2px solid var(--accent);
  margin-left: -1px;
}
.cmp-row .cell.us strong { color: var(--accent-hover); font-weight: 600; }
.cmp-row .cell.them {
  color: var(--muted);
}
.cmp-row .cell.them strong { color: var(--ink); font-weight: 500; }

.cmp-pip {
  width: 14px; height: 14px; flex: none; margin-top: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono); font-size: 13px;
}
.cmp-pip.yes { color: var(--accent); }
.cmp-pip.partial { color: var(--yellow); }
.cmp-pip.no { color: var(--rival); }
.cmp-pip.add { color: var(--rival); }

.cmp-row.is-total {
  background: var(--ink); color: #fff;
}
.cmp-row.is-total:hover { background: var(--ink); }
.cmp-row.is-total .cell.label {
  background: transparent; color: #fff;
  font-family: var(--ff-body); font-size: 17px; font-weight: 600;
}
.cmp-row.is-total .cell.us {
  background: transparent; color: var(--accent);
  font-family: var(--ff-mono); font-size: 22px; font-weight: 500;
  border-left: 2px solid var(--accent);
}
.cmp-row.is-total .cell.us strong { color: var(--accent); }
.cmp-row.is-total .cell.them {
  color: rgba(255,255,255,0.85);
  font-family: var(--ff-mono); font-size: 19px;
}
.cmp-row.is-total .cell { border-right-color: rgba(255,255,255,0.08); }

.cmp-foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 14px 22px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--muted-2); letter-spacing: 0.04em;
}
.cmp-foot .legend { display: flex; gap: 20px; flex-wrap: wrap; }
.cmp-foot .legend .l { display: inline-flex; align-items: center; gap: 6px; }
.cmp-foot .legend .l .d { width: 8px; height: 8px; }
.cmp-foot .legend .l.us .d { background: var(--accent); }
.cmp-foot .legend .l.them .d { background: var(--rival); border-radius: 50%; }
.cmp-foot .legend .l.partial .d { background: var(--yellow); }
.cmp-foot .source { color: var(--muted-3); }

/* ============== § 4 + § 5 · WHEN-X-IS-RIGHT pair sections ============== */
.s-when .s-head { max-width: var(--max-w); margin: 0 auto 56px; }
.s-when .s-head h2 { max-width: 880px; margin-bottom: 16px; }
.s-when .s-head .lede { max-width: 720px; }

.when-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.when-card {
  background: var(--paper);
  padding: 32px 30px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.when-card .num {
  font-family: var(--ff-mono); font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.when-card h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.22;
}
.when-card p { font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.when-card .tag-row {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex; gap: 8px; flex-wrap: wrap;
}
.when-card .tag {
  font-family: var(--ff-mono); font-size: 12.5px;
  padding: 4px 9px; letter-spacing: 0.06em;
  background: var(--paper-2); color: var(--muted);
  border: 1px solid var(--line);
}

/* SAP-is-right: muted neutral */
.s-when-sap .when-card { background: var(--paper); }
.s-when-sap .when-card .num { color: var(--rival); }
.s-when-sap .when-card .tag.is-strong { background: var(--rival-soft); color: var(--rival); border-color: var(--rival-line); }

/* TradeOS-is-right: accented */
.s-when-us { background: var(--accent-soft-2); }
.s-when-us .when-grid { border-color: rgba(176,141,87,0.18); }
.s-when-us .when-card { background: var(--paper); border-color: rgba(176,141,87,0.18); }
.s-when-us .when-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
}
.s-when-us .when-card .num { color: var(--accent); }
.s-when-us .when-card .tag.is-strong { background: var(--accent-soft); color: var(--accent-hover); border-color: rgba(176,141,87,0.4); }

/* ============== § 6 · MIGRATION ============== */
.s-mig .s-head-bar {
  max-width: var(--max-w); margin: 0 auto 48px;
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.s-mig .s-head { max-width: 820px; margin-bottom: 0; }
.s-mig .s-head h2 { margin-top: 12px; margin-bottom: 16px; }
.s-mig .s-head .lede { max-width: 720px; }
.s-mig .s-head-bar-aside {
  font-family: var(--ff-mono); font-size: 13px; color: var(--muted-2);
  letter-spacing: 0.08em; text-transform: uppercase; padding-bottom: 8px;
}
.s-mig .s-head-bar-aside .acc { color: var(--accent); }

.mig-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.mig-col {
  padding: 32px 30px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.mig-col:last-child { border-right: 0; }
.mig-col .mh {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.mig-col .mh .lbl {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase;
}
.mig-col .mh .num {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-3); letter-spacing: 0.06em;
}
.mig-col h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
}
.mig-list { display: flex; flex-direction: column; gap: 10px; }
.mig-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  font-size: 16px; line-height: 1.55; color: var(--muted);
}
.mig-list li .mk {
  width: 22px; height: 22px;
  border: 1px solid var(--line); background: var(--paper-2);
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--accent); font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  flex: none; margin-top: 1px;
}
.mig-col.is-mid { background: var(--paper-2); }
.mig-col.is-mid h3 { color: var(--ink); }

/* Timeline visual in middle column */
.mig-timeline {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 0; margin: 6px 0 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--ff-mono);
}
.mig-tl-cell {
  border-right: 1px solid var(--line-2);
  padding: 10px 8px 8px;
  display: flex; flex-direction: column; gap: 4px;
  min-height: 78px;
}
.mig-tl-cell:last-child { border-right: 0; }
.mig-tl-cell .wk { font-size: 11.5px; color: var(--muted-3); letter-spacing: 0.06em; }
.mig-tl-cell .lb { font-size: 12px; color: var(--ink); line-height: 1.3; font-weight: 500; }
.mig-tl-cell[data-phase="discover"] { background: rgba(176,141,87,0.06); }
.mig-tl-cell[data-phase="parallel"] { background: rgba(176,141,87,0.13); }
.mig-tl-cell[data-phase="cutover"] { background: rgba(176,141,87,0.22); }
.mig-tl-cell[data-phase="final"]    { background: var(--ink); color: #fff; }
.mig-tl-cell[data-phase="final"] .wk { color: rgba(255,255,255,0.5); }
.mig-tl-cell[data-phase="final"] .lb { color: #fff; }
.mig-tl-cell[data-phase="discover"] .wk { color: var(--accent); }
.mig-tl-legend {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); letter-spacing: 0.04em;
}
.mig-tl-legend .l { display: inline-flex; align-items: center; gap: 6px; }
.mig-tl-legend .l .d { width: 8px; height: 8px; display: inline-block; }
.mig-tl-legend .l[data-phase="discover"] .d { background: rgba(176,141,87,0.45); }
.mig-tl-legend .l[data-phase="parallel"] .d { background: rgba(176,141,87,0.75); }
.mig-tl-legend .l[data-phase="cutover"] .d { background: var(--accent); }
.mig-tl-legend .l[data-phase="final"] .d { background: var(--ink); }

.mig-quote {
  margin-top: 6px;
  padding: 20px 22px;
  background: var(--ink); color: rgba(255,255,255,0.85);
  font-size: 17px; line-height: 1.6;
  position: relative;
}
.mig-quote::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--accent);
}
.mig-quote .src {
  margin-top: 12px;
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase;
}

/* ============== § 7 · CUSTOMER SCENARIOS ============== */
.s-scen { background: var(--paper-2); }
.s-scen .s-head { max-width: var(--max-w); margin: 0 auto 48px; }
.s-scen .s-head h2 { max-width: 880px; margin-bottom: 16px; }
.s-scen .s-head .lede { max-width: 720px; }
.scen-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.scen-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0;
  display: flex; flex-direction: column;
}
.scen-head {
  padding: 16px 24px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); letter-spacing: 0.12em; text-transform: uppercase;
}
.scen-head .id { color: var(--accent); }
.scen-head .tag { padding: 3px 8px; background: var(--paper); border: 1px solid var(--line); }
.scen-body {
  padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 16px;
  flex: 1;
}
.scen-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line-2);
}
.scen-stats .st {
  padding: 12px 12px;
  border-right: 1px solid var(--line-2);
  display: flex; flex-direction: column; gap: 4px;
}
.scen-stats .st:last-child { border-right: 0; }
.scen-stats .st .k {
  font-family: var(--ff-mono); font-size: 11.5px;
  color: var(--muted-3); letter-spacing: 0.1em; text-transform: uppercase;
}
.scen-stats .st .v {
  font-family: var(--ff-mono); font-size: 17px;
  color: var(--ink); letter-spacing: -0.01em; line-height: 1.15;
}
.scen-stats .st .v.acc { color: var(--accent); }
.scen-stats .st .v.red { color: var(--red); }
.scen-card h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25;
}
.scen-card p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.scen-foot {
  margin-top: auto;
  padding: 14px 24px;
  background: var(--paper-2);
  border-top: 1px dashed var(--line);
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); letter-spacing: 0.06em;
}
.scen-foot .pl { color: var(--accent); text-transform: uppercase; letter-spacing: 0.12em; }
.scen-foot .pr { color: var(--muted-3); }

.scen-note {
  max-width: var(--max-w); margin: 36px auto 0;
  padding: 16px 22px;
  border: 1px dashed var(--line);
  background: var(--paper);
  font-family: var(--ff-mono); font-size: 13.5px;
  color: var(--muted-2); letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 12px;
}
.scen-note .lbl { color: var(--yellow); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12.5px; }

/* ============== § 8 · FAQ ============== */
.s-faq .s-head-bar {
  max-width: var(--max-w); margin: 0 auto 40px;
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.s-faq .s-head { max-width: 760px; margin-bottom: 0; }
.s-faq .s-head h2 { margin-top: 12px; }
.s-faq .s-head .lede { max-width: 680px; }
.faq-aside {
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--muted-2); letter-spacing: 0.06em;
  padding-bottom: 8px;
}
.faq-aside .acc { color: var(--accent); }

.faq-list {
  max-width: var(--max-w); margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: grid; grid-template-columns: 48px 1fr 28px; gap: 18px;
  align-items: center;
  transition: background var(--dur-fast);
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-summary:hover { background: var(--paper-2); }
.faq-summary .n {
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--accent); letter-spacing: 0.08em;
}
.faq-summary .q {
  font-size: 18px; font-weight: 500; letter-spacing: -0.005em; color: var(--ink);
  line-height: 1.35;
}
.faq-summary .ind {
  width: 22px; height: 22px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.faq-summary .ind::before,
.faq-summary .ind::after {
  content: ""; position: absolute; background: var(--ink); transition: transform var(--dur-base) var(--ease-smooth);
}
.faq-summary .ind::before { width: 10px; height: 1.5px; }
.faq-summary .ind::after  { width: 1.5px; height: 10px; }
.faq-item[open] .faq-summary { background: var(--paper-2); }
.faq-item[open] .faq-summary .ind::after { transform: scaleY(0); }
.faq-body {
  padding: 0 28px 26px 94px;
  font-size: 17px; line-height: 1.65; color: var(--muted);
  max-width: 920px;
}
.faq-body p + p { margin-top: 10px; }
.faq-body strong { color: var(--ink); font-weight: 500; }

/* ============== § 9 · ASSESSMENT ============== */
.s-asmt { background: var(--paper-2); }
.s-asmt .s-head { max-width: var(--max-w); margin: 0 auto 48px; }
.s-asmt .s-head h2 { max-width: 820px; margin-bottom: 16px; }
.s-asmt .s-head .lede { max-width: 680px; }
.asmt-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.asmt-card {
  padding: 32px 30px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px;
}
.asmt-card:last-child { border-right: 0; }
.asmt-card .ah {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px dashed var(--line);
}
.asmt-card .ah .lbl {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase;
}
.asmt-card .ah .tag {
  font-family: var(--ff-mono); font-size: 11.5px;
  padding: 3px 8px; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--muted-2);
}
.asmt-card h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.22;
}
.asmt-card p { font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.asmt-includes { display: flex; flex-direction: column; gap: 8px; }
.asmt-includes .d {
  font-family: var(--ff-mono); font-size: 13.5px;
  color: var(--muted); letter-spacing: 0.02em;
  display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: baseline;
}
.asmt-includes .d::before { content: "+"; color: var(--accent); }
.asmt-card .btn { margin-top: auto; align-self: flex-start; }

.asmt-card.is-mid { background: rgba(176,141,87,0.04); position: relative; }
.asmt-card.is-mid::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent);
}
.asmt-card.is-mid .ah .tag { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============== § 10 · FINAL CTA ============== */
.s-final { background: var(--ink); color: #fff; }
.s-final .s-head { max-width: var(--max-w); margin: 0 auto 48px; }
.s-final .s-head .eyebrow { color: var(--accent); }
.s-final .s-head h2 { color: #fff; max-width: 880px; margin: 12px 0 16px; }
.s-final .s-head .lede { color: rgba(255,255,255,0.65); max-width: 720px; }
.final-tracks {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,0.08);
}
.final-track {
  padding: 30px 28px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.final-track:last-child { border-right: 0; }
.final-track.is-primary { background: rgba(176,141,87,0.07); }
.final-track.is-primary::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
}
.final-track .th {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.final-track .th .n {
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase;
}
.final-track .th .tag {
  font-family: var(--ff-mono); font-size: 11.5px;
  padding: 3px 8px; letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.1);
}
.final-track.is-primary .th .tag {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.final-track h3 { font-size: 22px; font-weight: 600; color: #fff; letter-spacing: -0.01em; line-height: 1.2; }
.final-track p { color: rgba(255,255,255,0.65); font-size: 16.5px; line-height: 1.6; }
.final-track .meta {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: rgba(255,255,255,0.45); letter-spacing: 0.08em;
}
.final-track .btn { margin-top: auto; align-self: flex-start; }

/* ============== FOOTER (shared) ============== */
.site-footer { background: var(--ink); color: #fff; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-top { border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-top-inner { max-width: var(--max-w); margin: 0 auto; padding: 48px var(--inner-pad); display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.edma-logo--footer .phoenix { height: 40px; }
.edma-logo--footer .edma-wordmark { font-size: 26px; color: #fff; }
.edma-logo--footer { color: #fff; }
.footer-brand-tag { color: rgba(255,255,255,0.55); font-size: 16px; line-height: 1.55; margin-top: 14px; max-width: 480px; }
.footer-newsletter-title { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.footer-newsletter-sub { color: rgba(255,255,255,0.55); font-size: 15px; margin-bottom: 14px; }
.footer-newsletter { display: flex; gap: 8px; }
.footer-newsletter input { flex: 1; padding: 12px 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); color: #fff; font-family: inherit; font-size: 15px; outline: none; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.35); }
.footer-newsletter input:focus { border-color: var(--accent); }
.footer-newsletter button { padding: 12px 18px; background: var(--accent); color: #fff; font-family: inherit; font-size: 15px; font-weight: 500; border: 0; cursor: pointer; }
.footer-newsletter button:hover { background: var(--accent-hover); }
.footer-links { max-width: var(--max-w); margin: 0 auto; padding: 56px var(--inner-pad); display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col-title { font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.footer-link-list li { padding: 4px 0; }
.footer-link-list a { font-size: 15px; color: rgba(255,255,255,0.65); transition: color var(--dur-fast); }
.footer-link-list a:hover { color: #fff; }
.footer-region { border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-region-inner { max-width: var(--max-w); margin: 0 auto; padding: 22px var(--inner-pad); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-region-left, .footer-social { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14.5px; color: rgba(255,255,255,0.7); }
.footer-region-left .label, .footer-social .label { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); text-transform: uppercase; }
.footer-region-left a:hover { color: #fff; }
.footer-region-divider { color: rgba(255,255,255,0.2); }
.footer-region-left a.is-muted { color: rgba(255,255,255,0.4); }
.footer-social-icon { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,0.15); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.footer-social-icon:hover { border-color: var(--accent); color: var(--accent); }
.footer-legal-inner { max-width: var(--max-w); margin: 0 auto; padding: 22px var(--inner-pad); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 14.5px; color: rgba(255,255,255,0.5); }
.footer-legal-inner .links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-legal-inner .status-ok { color: var(--green-on-dark); }

/* ============== § 4 (NetSuite) · HIDDEN INTEGRATION TAX ============== */
.s-tax { background: var(--paper); }
.s-tax .s-head { max-width: var(--max-w); margin: 0 auto 56px; }
.s-tax .s-head h2 { max-width: 880px; margin-bottom: 16px; }
.s-tax .s-head .lede { max-width: 720px; }

.tax-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.45fr 1fr; gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.tax-col { display: flex; flex-direction: column; }
.tax-col.them {
  background: var(--rival-soft);
  border-right: 1px solid var(--rival-line);
}
.tax-col.us {
  background: var(--ink); color: #fff;
  position: relative;
}
.tax-col.us::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
}
.tax-head {
  padding: 22px 28px;
  border-bottom: 1px solid var(--rival-line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.tax-col.us .tax-head { border-bottom: 1px solid rgba(255,255,255,0.08); }
.tax-head .tag {
  font-family: var(--ff-mono); font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rival);
}
.tax-col.us .tax-head .tag { color: var(--accent); }
.tax-head .stamp {
  font-family: var(--ff-mono); font-size: 11.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid currentColor;
}
.tax-col.them .tax-head .stamp { color: var(--rival); }
.tax-col.us .tax-head .stamp { color: var(--accent); }
.tax-head h3 {
  font-size: 22px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.22; color: var(--ink); margin-top: 6px;
}
.tax-col.us .tax-head h3 { color: #fff; }
.tax-head .col-head-inner { display: flex; flex-direction: column; gap: 4px; }

.tax-ledger {
  display: flex; flex-direction: column;
  font-family: var(--ff-mono);
  border-bottom: 1px dashed var(--rival-line);
}
.tax-col.us .tax-ledger { border-bottom-color: rgba(255,255,255,0.10); }
.tax-line {
  display: grid; grid-template-columns: 22px 1fr auto;
  align-items: center; gap: 14px;
  padding: 11px 28px;
  font-size: 14.5px;
  border-bottom: 1px dashed rgba(74,85,104,0.18);
  color: var(--ink);
}
.tax-col.us .tax-line {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.06);
}
.tax-line:last-child { border-bottom: 0; }
.tax-line .ln-i {
  font-size: 12px; color: var(--muted-3); letter-spacing: 0.04em;
}
.tax-col.us .tax-line .ln-i { color: rgba(255,255,255,0.4); }
.tax-line .ln-name {
  font-family: var(--ff-body); font-size: 16px; letter-spacing: -0.005em;
  color: var(--ink); font-weight: 500;
  display: flex; flex-direction: column; gap: 2px;
}
.tax-col.us .tax-line .ln-name { color: #fff; }
.tax-line .ln-name .ln-sub {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); letter-spacing: 0.02em; font-weight: 400;
}
.tax-col.us .tax-line .ln-name .ln-sub { color: rgba(255,255,255,0.5); }
.tax-line .ln-cost {
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ink); white-space: nowrap;
}
.tax-col.us .tax-line .ln-cost { color: rgba(255,255,255,0.85); }
.tax-line.is-sub {
  background: rgba(74,85,104,0.06);
}
.tax-col.us .tax-line.is-sub { background: rgba(255,255,255,0.03); }
.tax-line.is-sub .ln-name { font-weight: 600; }
.tax-line.is-sub .ln-cost { font-weight: 600; }

.tax-section-head {
  padding: 13px 28px;
  background: rgba(74,85,104,0.10);
  font-family: var(--ff-mono); font-size: 12.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--rival);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border-bottom: 1px dashed var(--rival-line);
}
.tax-col.us .tax-section-head {
  background: rgba(176,141,87,0.10);
  color: var(--accent);
  border-bottom-color: rgba(176,141,87,0.25);
}
.tax-section-head .cnt {
  font-size: 12px; color: var(--muted-2); letter-spacing: 0.06em;
}
.tax-col.us .tax-section-head .cnt { color: rgba(176,141,87,0.7); }

.tax-total {
  margin-top: auto;
  padding: 22px 28px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: end;
  background: var(--ink); color: #fff;
  border-top: 3px solid var(--accent);
}
.tax-col.them .tax-total { background: var(--ink); }
.tax-col.us .tax-total {
  background: var(--accent); color: #fff;
  border-top: 0; border-bottom: 0;
}
.tax-total .tot-k {
  font-family: var(--ff-mono); font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  grid-column: 1;
}
.tax-col.us .tax-total .tot-k { color: rgba(255,255,255,0.75); }
.tax-total .tot-v {
  font-family: var(--ff-mono); font-size: 28px;
  letter-spacing: -0.01em; color: var(--accent);
  grid-column: 2; grid-row: 1 / span 2;
  align-self: center; line-height: 1.1; text-align: right;
}
.tax-col.us .tax-total .tot-v { color: #fff; font-weight: 600; font-size: 32px; }
.tax-total .tot-sub {
  font-family: var(--ff-mono); font-size: 13px;
  letter-spacing: 0.04em; color: rgba(255,255,255,0.7);
  grid-column: 1;
}
.tax-col.us .tax-total .tot-sub { color: rgba(255,255,255,0.9); }

.tax-us-body {
  padding: 26px 28px 0;
  display: flex; flex-direction: column; gap: 16px;
  flex: 1;
}
.tax-us-body .lede-line {
  font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.85);
}
.tax-us-body .lede-line strong { color: var(--accent); font-weight: 600; }
.tax-us-body .savings-card {
  margin-top: auto;
  padding: 18px 0 22px;
  border-top: 1px dashed rgba(255,255,255,0.10);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.tax-us-body .savings-card .s-k {
  font-family: var(--ff-mono); font-size: 12.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.tax-us-body .savings-card .s-v {
  font-family: var(--ff-mono); font-size: 18px;
  color: var(--accent); margin-top: 4px;
}
.tax-us-body .savings-card .col {
  display: flex; flex-direction: column; gap: 2px;
}
.tax-us-body .savings-card .col p { margin: 0; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1180px) {
  .s-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .kpi-ribbon { grid-template-columns: repeat(2, 1fr); }
  .kpi-cell:nth-child(2n) { border-right: 0; }
  .kpi-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .when-grid { grid-template-columns: 1fr; }
  .when-card { border-right: 0; }
  .mig-grid { grid-template-columns: 1fr; }
  .mig-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .mig-col:last-child { border-bottom: 0; }
  .scen-grid { grid-template-columns: 1fr; }
  .asmt-grid { grid-template-columns: 1fr; }
  .asmt-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .asmt-card:last-child { border-bottom: 0; }
  .final-tracks { grid-template-columns: 1fr; }
  .final-track { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .final-track:last-child { border-bottom: 0; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .footer-top-inner { grid-template-columns: 1fr; gap: 32px; }
  .tax-grid { grid-template-columns: 1fr; }
  .tax-col.them { border-right: 0; border-bottom: 1px solid var(--rival-line); }
}
@media (max-width: 920px) {
  .honest-grid { grid-template-columns: 1fr; }
  .honest-col.them { border-right: 0; border-bottom: 1px solid var(--rival-line); }
  .cmp-table-head, .cmp-group-head, .cmp-row { grid-template-columns: 1.4fr 1fr 1fr; }
  .cmp-table-head .cmp-th { padding: 14px 14px; }
  .cmp-row .cell { padding: 14px 14px; font-size: 15px; }
}
@media (max-width: 720px) {
  main > section { padding: 72px 20px; }
  .nav-list { display: none; }
  .nav-hamburger { display: flex; }
  .compare-bar-inner { gap: 12px; }
  .compare-jump { display: none; }
  .kpi-ribbon { grid-template-columns: 1fr; }
  .kpi-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .kpi-cell:last-child { border-bottom: 0; }
  .cmp-table-head, .cmp-group-head, .cmp-row { grid-template-columns: 1fr; }
  .cmp-th, .cmp-row .cell, .cmp-group-head .gh, .cmp-group-head .gh-spacer { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .cmp-row .cell.us { border-left: 2px solid var(--accent); }
  .cmp-row.is-total .cell.us, .cmp-row.is-total .cell.them { font-size: 17px; }
  .faq-summary { grid-template-columns: 40px 1fr 24px; padding: 18px 18px; }
  .faq-body { padding: 0 18px 22px 64px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}