: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;

  --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 + BASE ============== */
*, *::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: 96px var(--inner-pad); border-bottom: 1px solid var(--line); }

/* ============== TYPE ============== */
.eyebrow { font-size: 15px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 18px; line-height: 1.6; color: var(--muted); }
.h-display { font-size: clamp(48px, 5.2vw, 76px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.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); }

/* ============== 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-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; }

/* ============== HEADER ============== */
.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 { 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%; }

/* ============== HERO ============== */
.s-hero { padding-top: 88px; padding-bottom: 56px; }
.s-hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; }
.s-hero-left .eyebrow { display: inline-block; margin-bottom: 24px; }
.s-hero h1 { margin-bottom: 24px; }
.s-hero .lede { max-width: 620px; margin-bottom: 32px; }
.cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.s-hero .cta-row { display: flex; }

/* Hero side — pricing receipt */
.hero-receipt {
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex; flex-direction: column;
  position: relative;
}
.hero-receipt::before {
  content: ''; position: absolute; right: -1px; top: -1px; width: 22px; height: 22px;
  background: linear-gradient(135deg, transparent 50%, var(--line) 50%, var(--line) 52%, var(--paper-2) 52%);
}
.hero-receipt .hr-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--muted-2); letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-receipt .hr-head .acc { color: var(--accent); }
.hero-receipt .hr-row {
  display: grid; grid-template-columns: 1fr auto;
  padding: 11px 18px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--ff-mono); font-size: 14px;
  color: var(--muted);
  align-items: baseline;
}
.hero-receipt .hr-row .label { color: var(--ink); }
.hero-receipt .hr-row .val { color: var(--accent); }
.hero-receipt .hr-row .val.ok { color: var(--green); }
.hero-receipt .hr-row .val.mute { color: var(--muted-2); }
.hero-receipt .hr-total {
  display: grid; grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 16px 18px;
  background: var(--accent-soft-2);
  border-top: 1px solid var(--accent);
  border-bottom: 0;
}
.hero-receipt .hr-total .label {
  font-family: var(--ff-mono); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.hero-receipt .hr-total .val {
  font-family: var(--ff-mono); font-size: 24px; color: var(--ink); letter-spacing: -0.01em;
}
.hero-receipt .hr-foot {
  padding: 10px 18px;
  background: var(--paper-2);
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); letter-spacing: 0.06em;
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--line);
}
.hero-receipt .hr-foot .ok { color: var(--green); }

/* KPI strip */
.kpi-strip {
  max-width: var(--max-w); margin: 64px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.kpi-cell {
  padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
  border-right: 1px solid var(--line);
}
.kpi-cell:last-child { border-right: 0; }
.kpi-label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.kpi-val { font-family: var(--ff-mono); font-size: 22px; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.kpi-val .accent { color: var(--accent); }
.kpi-sub { font-family: var(--ff-mono); font-size: 13px; color: var(--muted-2); }

/* ============== TABLE CENTERPIECE ============== */
.s-table { background: var(--paper); padding-top: 88px; padding-bottom: 88px; }
.s-table .s-head { max-width: var(--max-w); margin: 0 auto 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.s-table .s-head h2 { max-width: 720px; margin: 14px 0 0; }
.s-table .s-head .lede { max-width: 480px; }

/* the pricing matrix */
.tier-wrap {
  max-width: var(--max-w); margin: 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
}
.tier-meta {
  display: grid; grid-template-columns: repeat(6, 1fr);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.tier-meta-cell {
  padding: 14px 20px;
  border-right: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-mono); font-size: 13px; color: var(--muted-2);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.tier-meta-cell:last-child { border-right: 0; }
.tier-meta-cell .stamp {
  font-family: var(--ff-mono); font-size: 12.5px;
  padding: 3px 7px;
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  color: var(--muted-2); background: var(--paper);
}
.tier-meta-cell.is-feat .stamp {
  color: var(--accent); border-color: rgba(176,141,87,0.4); background: var(--accent-soft);
}

.tier-head {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line);
}
.tier-th {
  padding: 24px 22px 26px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper);
}
.tier-th:last-child { border-right: 0; }
.tier-th .tag {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); letter-spacing: 0.12em; text-transform: uppercase;
}
.tier-th .name {
  font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.tier-th .price {
  display: flex; align-items: baseline; gap: 4px;
  margin-top: 2px;
}
.tier-th .price .amt {
  font-size: 32px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
  line-height: 1;
}
.tier-th .price .per {
  font-family: var(--ff-mono); font-size: 13.5px;
  color: var(--muted-2); letter-spacing: 0.04em;
}
.tier-th .for {
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--muted-2); letter-spacing: 0.04em;
}
.tier-th .vol {
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--ink); letter-spacing: -0.005em;
  padding-top: 8px; border-top: 1px dashed var(--line);
}
.tier-th .vol .acc { color: var(--accent); }
.tier-th.is-feat {
  background: var(--ink); color: #fff;
  position: relative;
}
.tier-th.is-feat::before {
  content: 'most chosen'; position: absolute; top: 0; right: 0;
  font-family: var(--ff-mono); font-size: 11.5px; letter-spacing: 0.10em;
  color: var(--accent); text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(176,141,87,0.10);
  border-left: 1px solid rgba(176,141,87,0.30);
  border-bottom: 1px solid rgba(176,141,87,0.30);
}
.tier-th.is-feat .tag { color: var(--accent); }
.tier-th.is-feat .name { color: #fff; }
.tier-th.is-feat .price .amt { color: #fff; }
.tier-th.is-feat .price .per { color: rgba(255,255,255,0.6); }
.tier-th.is-feat .for { color: rgba(255,255,255,0.65); }
.tier-th.is-feat .vol { color: rgba(255,255,255,0.85); border-top-color: rgba(255,255,255,0.15); }

/* section dividers + rows */
.tier-section {
  grid-column: 1 / -1;
  padding: 14px 22px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase;
}
.tier-section.is-feat-stripe {
  background: linear-gradient(to right,
    var(--paper-2) 0%, var(--paper-2) calc(100% / 6 * 4),
    rgba(15,25,35,0.04) calc(100% / 6 * 4), rgba(15,25,35,0.04) calc(100% / 6 * 5),
    var(--paper-2) calc(100% / 6 * 5), var(--paper-2) 100%);
}

.tier-body { display: grid; }
.tier-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--line-2);
}
.tier-row:last-of-type { border-bottom: 0; }
.tier-cell {
  padding: 16px 22px;
  border-right: 1px solid var(--line-2);
  font-size: 16px; color: var(--ink);
  display: flex; align-items: center;
  min-height: 56px;
}
.tier-cell:last-child { border-right: 0; }
.tier-cell.lbl {
  font-weight: 500; color: var(--ink); font-size: 16px;
  background: var(--paper);
}
.tier-cell.lbl .meta {
  display: block;
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--muted-2); font-weight: 400;
  letter-spacing: 0.02em; margin-top: 2px;
}
.tier-cell .val {
  font-family: var(--ff-mono); font-size: 15px;
  color: var(--ink); letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}
.tier-cell .val.acc { color: var(--accent); }
.tier-cell .val.mute { color: var(--muted-2); }
.tier-cell .check { color: var(--accent); font-size: 17px; line-height: 1; }
.tier-cell .dash { color: var(--muted-3); font-family: var(--ff-mono); font-size: 15px; }
.tier-cell.is-feat {
  background: rgba(15,25,35,0.035);
  border-left: 1px solid rgba(15,25,35,0.08);
  border-right: 1px solid rgba(15,25,35,0.08);
}
.tier-cell.is-feat .val { color: var(--ink); font-weight: 500; }
.tier-cell.is-feat .check { color: var(--accent); }

/* CTA row at bottom of table */
.tier-cta-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}
.tier-cta-row .lbl {
  padding: 22px;
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--muted-2); letter-spacing: 0.10em; text-transform: uppercase;
  border-right: 1px solid var(--line);
  display: flex; align-items: center;
}
.tier-cta-row .cell {
  padding: 18px 18px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
  background: var(--paper-2);
}
.tier-cta-row .cell:last-child { border-right: 0; }
.tier-cta-row .cell.is-feat { background: rgba(15,25,35,0.035); }
.tier-cta-row .cell .btn-mini {
  font-family: inherit; font-size: 15px; font-weight: 500;
  padding: 10px 14px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  display: block;
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.tier-cta-row .cell .btn-mini:hover { border-color: var(--ink); }
.tier-cta-row .cell .btn-mini.is-primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.tier-cta-row .cell .btn-mini.is-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.tier-cta-row .cell .btn-mini.is-ink {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.tier-cta-row .cell .btn-mini.is-ink:hover { background: var(--ink-2); border-color: var(--ink-2); }
.tier-cta-row .cell .alt {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); letter-spacing: 0.04em;
  text-align: center; padding-top: 2px;
}

.table-foot-cta {
  max-width: var(--max-w); margin: 32px auto 0;
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.table-fine {
  max-width: 920px; margin: 24px auto 0;
  text-align: center;
  font-family: var(--ff-mono); font-size: 13.5px;
  color: var(--muted-2);
}
.table-fine .acc { color: var(--accent); }

@media (max-width: 1180px) {
  .tier-meta, .tier-head, .tier-row, .tier-cta-row { grid-template-columns: 220px repeat(5, 1fr); }
  .s-table .s-head { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .tier-wrap { overflow-x: auto; }
  .tier-meta, .tier-head, .tier-row, .tier-cta-row { min-width: 1000px; }
}

/* ============== INTEGRATION TAX ============== */
.s-tax { background: var(--paper-2); }
.s-tax .s-head { max-width: var(--max-w); margin: 0 auto 48px; }
.s-tax .s-head h2 { max-width: 880px; margin-bottom: 14px; }
.s-tax .s-head .lede { max-width: 760px; }

.tax-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.25fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.tax-col {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.tax-col + .tax-col { border-left: 0; }
.tax-col .head {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  background: var(--paper-2);
}
.tax-col .head .tag {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); letter-spacing: 0.14em; text-transform: uppercase;
}
.tax-col .head .name {
  font-size: 19px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.tax-col .head .sub {
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--muted-2); letter-spacing: 0.02em;
}

/* stack rows */
.tax-stack { display: flex; flex-direction: column; flex: 1; }
.tax-row {
  display: grid; grid-template-columns: 28px 1fr auto auto;
  align-items: center; gap: 12px;
  padding: 12px 22px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--ff-mono); font-size: 14px;
}
.tax-row:last-of-type { border-bottom: 0; }
.tax-row .ix {
  font-size: 12px; color: var(--muted-3);
  letter-spacing: 0.06em;
}
.tax-row .what {
  font-family: var(--ff-body); font-size: 15.5px; font-weight: 500;
  color: var(--ink); line-height: 1.3;
}
.tax-row .what .sub {
  display: block;
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); font-weight: 400;
  letter-spacing: 0.02em; margin-top: 2px;
}
.tax-row .bar {
  width: 80px; height: 4px;
  background: var(--line);
  position: relative;
}
.tax-row .bar i {
  display: block; height: 100%;
  background: var(--accent);
  width: var(--w, 30%);
}
.tax-row .cost {
  font-family: var(--ff-mono); font-size: 15px;
  color: var(--ink); letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.tax-row .cost .per { color: var(--muted-2); font-size: 12.5px; }

.tax-total {
  display: grid; grid-template-columns: 1fr auto;
  align-items: baseline; gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid var(--ink);
  background: rgba(15,25,35,0.04);
}
.tax-total .lbl {
  font-family: var(--ff-mono); font-size: 13.5px;
  color: var(--ink); letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500;
}
.tax-total .lbl .meta {
  display: block; font-size: 12.5px; color: var(--muted-2);
  letter-spacing: 0.04em; text-transform: none; margin-top: 3px;
  font-weight: 400;
}
.tax-total .val {
  font-family: var(--ff-mono); font-size: 28px;
  color: var(--ink); font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.tax-total .val .per {
  font-size: 14px; color: var(--muted-2); letter-spacing: 0.04em;
}

/* arrow column */
.tax-arrow {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 24px;
  gap: 14px;
}
.tax-arrow .label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase;
}
.tax-arrow .glyph {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-family: var(--ff-mono); font-size: 24px;
  font-weight: 500;
  border: 1px solid var(--accent);
}

/* edma side */
.tax-col.is-edma { background: var(--ink); color: #fff; border-color: var(--ink); }
.tax-col.is-edma .head { background: rgba(255,255,255,0.04); border-bottom-color: rgba(255,255,255,0.1); }
.tax-col.is-edma .head .tag { color: var(--accent); }
.tax-col.is-edma .head .name { color: #fff; }
.tax-col.is-edma .head .sub { color: rgba(255,255,255,0.5); }
.tax-edma-body {
  flex: 1; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 20px;
}
.tax-edma-body .pill {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 9px; background: rgba(176,141,87,0.10);
  border: 1px solid rgba(176,141,87,0.30);
  width: max-content;
}
.tax-edma-body .name {
  font-size: 22px; font-weight: 600; color: #fff; letter-spacing: -0.01em;
}
.tax-edma-body .price {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--ff-mono);
  margin-top: 4px;
}
.tax-edma-body .price .amt { font-size: 48px; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.tax-edma-body .price .per { font-size: 14px; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }
.tax-edma-body .desc {
  font-family: var(--ff-mono); font-size: 14px;
  color: rgba(255,255,255,0.7); line-height: 1.6;
  padding-top: 16px; border-top: 1px dashed rgba(255,255,255,0.15);
}
.tax-edma-body .desc strong { color: #fff; font-weight: 500; }
.tax-edma-cap {
  padding: 20px 24px;
  background: rgba(0,0,0,0.20);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  font-family: var(--ff-mono); font-size: 13px;
  color: rgba(255,255,255,0.6); letter-spacing: 0.06em;
}
.tax-edma-cap .acc { color: var(--accent); }

.tax-headline {
  max-width: 920px; margin: 48px auto 0;
  text-align: center;
}
.tax-headline h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink);
}
.tax-headline h3 em { font-style: normal; color: var(--accent); }
.tax-headline p {
  margin-top: 14px;
  font-family: var(--ff-mono); font-size: 14.5px;
  color: var(--muted-2); letter-spacing: 0.02em;
}

@media (max-width: 1080px) {
  .tax-grid { grid-template-columns: 1fr; }
  .tax-col + .tax-col { border-left: 1px solid var(--line); border-top: 0; }
  .tax-arrow { padding: 24px 0; flex-direction: row; }
  .tax-arrow .label { writing-mode: horizontal-tb; transform: none; }
}

/* ============== INCLUDED ============== */
.s-incl { background: var(--paper); }
.s-incl .s-head { max-width: var(--max-w); margin: 0 auto 48px; }
.s-incl .s-head h2 { max-width: 880px; margin-bottom: 14px; }
.s-incl .s-head .lede { max-width: 760px; }
.incl-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.incl-cell {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper);
}
.incl-cell:nth-child(4n) { border-right: 0; }
.incl-cell:nth-last-child(-n+2) { border-bottom: 0; }
.incl-cell .id {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--accent); letter-spacing: 0.12em;
}
.incl-cell h3 {
  font-size: 17px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em;
}
.incl-cell p {
  font-family: var(--ff-mono); font-size: 13.5px;
  color: var(--muted); line-height: 1.55;
}
.incl-cell .tail {
  margin-top: auto; padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--muted-2); letter-spacing: 0.04em;
}
.incl-cell .tail .acc { color: var(--accent); }
@media (max-width: 1080px) {
  .incl-grid { grid-template-columns: repeat(2, 1fr); }
  .incl-cell { border-right: 1px solid var(--line); }
  .incl-cell:nth-child(2n) { border-right: 0; }
  .incl-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .incl-cell:nth-last-child(-n+2):nth-child(n+9) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .incl-grid { grid-template-columns: 1fr; }
  .incl-cell { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .incl-cell:last-child { border-bottom: 0 !important; }
}

/* ============== PROFILE PICKER ============== */
.s-profile { background: var(--paper-2); }
.s-profile .s-head { max-width: var(--max-w); margin: 0 auto 48px; }
.s-profile .s-head h2 { max-width: 760px; margin-bottom: 14px; }
.s-profile .s-head .lede { max-width: 640px; }
.pf-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.pf-card {
  padding: 28px 24px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  background: var(--paper);
}
.pf-card:last-child { border-right: 0; }
.pf-card .quote {
  font-size: 19px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.35;
}
.pf-card .quote::before {
  content: '“'; color: var(--accent); margin-right: 1px;
}
.pf-card .quote::after { content: '”'; color: var(--accent); }
.pf-card .arrow {
  font-family: var(--ff-mono); font-size: 13px;
  color: var(--muted-2); letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.pf-card .arrow::before { content: '→'; color: var(--accent); }
.pf-card .pick {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 16px;
  background: var(--accent-soft-2);
  border: 1px solid rgba(176,141,87,0.25);
}
.pf-card .pick .tier {
  font-size: 21px; font-weight: 600; color: var(--accent);
  letter-spacing: -0.01em;
}
.pf-card .pick .price {
  font-family: var(--ff-mono); font-size: 14px;
  color: var(--ink); letter-spacing: 0.04em;
}
.pf-card .pick .price .per { color: var(--muted-2); }
.pf-card .rat {
  font-family: var(--ff-mono); font-size: 13.5px;
  color: var(--muted); line-height: 1.55;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.pf-card .rat strong { color: var(--ink); font-weight: 500; }
@media (max-width: 1080px) {
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-card:nth-child(2n) { border-right: 0; }
  .pf-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-card { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .pf-card:last-child { border-bottom: 0 !important; }
}

/* ============== FAQ ============== */
.s-faq { background: var(--paper); }
.s-faq .s-head { max-width: var(--max-w); margin: 0 auto 48px; }
.s-faq .s-head h2 { max-width: 760px; margin-bottom: 14px; }
.s-faq .s-head .lede { max-width: 640px; }
.faq-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border: 1px solid var(--line);
}
.faq-cell {
  padding: 32px 32px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  background: var(--paper);
}
.faq-cell:nth-child(2n) { border-right: 0; }
.faq-cell:nth-last-child(-n+2) { border-bottom: 0; }
.faq-cell .id {
  font-family: var(--ff-mono); font-size: 12.5px;
  color: var(--accent); letter-spacing: 0.14em;
}
.faq-cell h3 {
  font-size: 20px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em; line-height: 1.3;
}
.faq-cell p {
  font-size: 16.5px; line-height: 1.65; color: var(--muted);
}
.faq-cell p strong { color: var(--ink); font-weight: 600; }
.faq-cell p a { color: var(--accent); border-bottom: 1px solid rgba(176,141,87,0.35); }
@media (max-width: 880px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-cell { border-right: 0 !important; }
  .faq-cell:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-cell:last-child { border-bottom: 0; }
}

/* ============== CTA ============== */
.s-cta { background: var(--ink); color: #fff; border-bottom: 0; }
.s-cta-inner { max-width: 920px; margin: 0 auto; text-align: center; }
.s-cta h2 { color: #fff; margin-bottom: 18px; }
.s-cta p { color: rgba(255,255,255,0.7); font-size: 18px; line-height: 1.6; margin-bottom: 32px; }
.s-cta .cta-row { justify-content: center; }

/* ============== RELATED ============== */
.s-related-inner { max-width: var(--max-w); margin: 0 auto; }
.s-related h3 { margin-bottom: 32px; font-size: 15px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { background: var(--paper); border: 1px solid var(--line); padding: 28px; transition: border-color var(--dur-base) var(--ease-smooth), transform var(--dur-base) var(--ease-smooth); display: flex; flex-direction: column; gap: 12px; }
.related-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.related-card-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.related-card-title { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.related-card-desc { font-size: 16px; color: var(--muted); line-height: 1.55; }
.related-card-link { color: var(--accent); font-size: 15.5px; font-weight: 500; margin-top: auto; padding-top: 8px; }

/* ============== FOOTER ============== */
.site-footer { background: var(--ink); color: #fff; }
.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-legal-inner { max-width: var(--max-w); margin: 0 auto; padding: 18px var(--inner-pad); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 14px; color: rgba(255,255,255,0.45); }
.footer-legal-inner .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal-inner .links a:hover { color: #fff; }
.footer-legal-inner .status-ok { color: var(--green-on-dark); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1180px) {
  .s-hero-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 980px) {
  .related-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .footer-top-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --inner-pad: 20px; }
  main > section { padding: 56px 20px; }
  .nav-list, .nav-signin, .nav-link-pricing { display: none; }
  .nav-cta { display: inline-flex; font-size: 14px; padding: 8px 14px; }
  .nav-hamburger { display: flex; }
  .kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .kpi-cell:nth-child(2n) { border-right: 0; }
  .kpi-cell { border-bottom: 1px solid var(--line); }
  .h-display { font-size: 38px; }
  .h-section { font-size: 32px; }
  .h-section-sm { font-size: 28px; }
  .h-section-xs { font-size: 24px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}
/* ════════════════════════════════════════════════════════════════════
   v7 PRICING — identity-first tier cards + tier-finder + matrix
   Appended to existing pricing.css; reuses brand tokens from globals.css
   ════════════════════════════════════════════════════════════════════ */

/* ───── HERO ───── */
.pr-hero {
  background: var(--paper, #fff);
  padding: 96px var(--inner-pad, 32px) 64px;
  border-bottom: 1px solid var(--line);
}
.pr-hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.pr-hero .eyebrow { margin-bottom: 20px; }
.pr-hero .h-display { margin-bottom: 24px; }
.pr-hero .lede { font-size: 19px; line-height: 1.65; max-width: 800px; margin: 0 auto 48px; }
.pr-hero .lede strong { color: var(--text, #0F1923); font-weight: 700; }
.pr-hero-finder { margin-top: 12px; }

/* ───── TIER CARDS ───── */
.pr-cards {
  background: var(--paper-2, #fafafa);
  padding: 80px var(--inner-pad, 32px);
}
.pr-cards-inner {
  max-width: var(--max-w, 1440px);
  margin: 0 auto;
}
.pr-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pr-cards-grid > * { min-width: 0; }
.pr-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d4d4d4);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.15s, transform 0.15s;
}
.pr-card.is-recommended {
  border: 2px solid var(--accent, #B08D57);
  padding: 27px 23px 23px;  /* compensate for thicker border */
  transform: scale(1.02);
  box-shadow: 0 12px 32px -16px rgba(176, 141, 87, 0.3);
}
.pr-card-flag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pr-card-flag--rec {
  background: var(--accent, #B08D57);
  color: #fff;
}
.pr-card-flag--dog {
  background: var(--text, #0F1923);
  color: #fff;
}
.pr-card-head {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider, #ececec);
}
.pr-card-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text, #0F1923);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.pr-card-identity {
  font-size: 15px;
  font-style: italic;
  color: var(--text2, #444);
  margin: 0;
  line-height: 1.4;
}
.pr-card-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text2, #444);
  margin: 0 0 18px;
  flex-grow: 0;
}
.pr-card-price {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--divider, #ececec);
}
.pr-card-price-annual {
  font-feature-settings: 'tnum';
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.pr-card-price-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--text, #0F1923);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pr-card-price-per {
  font-size: 16px;
  color: var(--text3, #6b6b6b);
  font-weight: 500;
}
.pr-card-price-meta {
  font-size: 13px;
  color: var(--text3, #6b6b6b);
  margin: 0;
  font-feature-settings: 'tnum';
}
.pr-card-unlocks {
  flex-grow: 1;
  margin-bottom: 16px;
}
.pr-card-unlocks-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text3, #6b6b6b);
  margin: 0 0 10px;
}
.pr-card-unlocks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.pr-card-unlocks-list li {
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text2, #444);
  padding-left: 16px;
  position: relative;
}
.pr-card-unlocks-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent, #B08D57);
  font-size: 12px;
}
.pr-card-meta {
  background: var(--paper-3, #f5f5f5);
  padding: 12px 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pr-card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text3, #6b6b6b);
}
.pr-card-meta-row strong {
  color: var(--text, #0F1923);
  font-weight: 700;
  font-feature-settings: 'tnum';
  font-size: 14px;
}
.pr-card-cta {
  width: 100%;
  text-align: center;
  padding: 10px 14px;
  font-size: 14.5px;
}
.pr-cards-foot {
  text-align: center;
  font-size: 15px;
  color: var(--text3, #6b6b6b);
  margin: 32px 0 0;
}
.pr-cards-foot a { color: var(--accent, #B08D57); }

/* ───── UPGRADE PHILOSOPHY ───── */
.pr-philosophy {
  background: var(--paper, #fff);
  padding: 96px var(--inner-pad, 32px);
  border-top: 1px solid var(--line);
}
.pr-philosophy-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.pr-philosophy .eyebrow { margin-bottom: 16px; }
.pr-philosophy .display { margin-bottom: 16px; }
.pr-philosophy .lede { max-width: 760px; margin-bottom: 56px; }
.pr-philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pr-philosophy-grid > * { min-width: 0; }
.pr-philosophy-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d4d4d4);
  padding: 24px 26px;
}
.pr-philosophy-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent, #B08D57);
  margin: 0 0 8px;
  font-feature-settings: 'tnum';
  letter-spacing: -0.02em;
}
.pr-philosophy-h {
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #0F1923);
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.pr-philosophy-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text2, #444);
  margin: 0;
}
.pr-philosophy-body strong { color: var(--text, #0F1923); font-weight: 700; }

/* ───── COMPARISON MATRIX ───── */
.pr-matrix {
  background: var(--paper-2, #fafafa);
  padding: 64px var(--inner-pad, 32px);
  border-top: 1px solid var(--line);
}
.pr-matrix-inner {
  max-width: var(--max-w, 1440px);
  margin: 0 auto;
}
.pr-matrix-toggle {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  padding: 24px 28px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d4d4d4);
  transition: border-color 0.15s;
}
.pr-matrix-toggle:hover { border-color: var(--accent, #B08D57); }
.pr-matrix-toggle-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pr-matrix-toggle-sub {
  font-size: 15px;
  color: var(--text3, #6b6b6b);
}
.pr-matrix-content {
  margin-top: 24px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d4d4d4);
  overflow: hidden;
}
.pr-matrix-scroll { overflow-x: auto; }
.pr-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.pr-matrix-table th,
.pr-matrix-table td {
  padding: 11px 16px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--divider, #ececec);
}
.pr-matrix-th-feat { width: 32%; }
.pr-matrix-th-tier {
  width: 13.6%;
  text-align: center;
  background: var(--paper-3, #f5f5f5);
  border-bottom: 2px solid var(--border, #d4d4d4);
}
.pr-matrix-tier-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #0F1923);
  letter-spacing: -0.005em;
}
.pr-matrix-group th {
  background: var(--text, #0F1923);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.pr-matrix-row-label {
  color: var(--text2, #444);
  font-weight: 500;
}
.pr-matrix-cell {
  text-align: center;
  font-feature-settings: 'tnum';
  color: var(--text, #0F1923);
  font-weight: 500;
}

/* ───── FAQ ───── */

/* ───── btn-ink variant for Business/Enterprise CTAs ───── */
.btn-ink {
  background: var(--text, #0F1923);
  color: #fff;
  border: 1px solid var(--text, #0F1923);
}
.btn-ink:hover { background: #000; }

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1280px) {
  .pr-cards-grid { grid-template-columns: repeat(3, 1fr); }
  .pr-cards-grid > article:nth-child(4),
  .pr-cards-grid > article:nth-child(5) { grid-column: span 1; }
  .pr-philosophy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pr-cards-grid { grid-template-columns: 1fr; }
  .pr-card.is-recommended { transform: none; }
  .pr-philosophy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pr-hero { padding: 64px 20px 40px; }
  .pr-cards { padding: 56px 20px; }
  .pr-card { padding: 24px 22px 22px; }
  .pr-philosophy { padding: 64px 20px; }
  .pr-matrix { padding: 48px 20px; }
  .pr-matrix-toggle { padding: 20px 22px; }
}

/* ════════════════════════════════════════════════════════════════════
   v8 — 6-tier additions: currency switcher, audience line, replaces
   block, Implementation Services, Multi-year ladder, matrix updates
   ════════════════════════════════════════════════════════════════════ */

/* ───── CURRENCY SWITCHER ───── */
.pr-cards-currency {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.pr-cards-currency-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text3, #6b6b6b);
}
.pr-cards-currency-options {
  display: flex;
  gap: 4px;
  border: 1px solid var(--border, #d4d4d4);
  background: var(--surface, #fff);
  padding: 3px;
}
.pr-cards-currency-opt {
  padding: 6px 12px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text2, #444);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.pr-cards-currency-opt:hover { background: var(--paper-3, #f5f5f5); }
.pr-cards-currency-opt.is-on {
  background: var(--text, #0F1923);
  color: #fff;
}

/* ───── TIER CARD v8 additions ───── */
.pr-cards-grid {
  grid-template-columns: repeat(5, 1fr);  /* 5 tiers */
}
.pr-card-audience {
  font-size: 13px;
  color: var(--text3, #6b6b6b);
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider, #ececec);
  line-height: 1.45;
}
.pr-card-price-prefix {
  font-size: 16px;
  font-weight: 500;
  color: var(--text3, #6b6b6b);
  margin-right: 4px;
}
.pr-card-replaces {
  background: var(--paper-3, #f5f5f5);
  padding: 10px 12px;
  margin-bottom: 14px;
  border-left: 2px solid var(--accent, #B08D57);
}
.pr-card-replaces-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent, #B08D57);
  margin: 0 0 4px;
}
.pr-card-replaces-body {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text2, #444);
  margin: 0;
  font-style: italic;
}
.pr-card-trial {
  font-size: 12.5px;
  color: var(--text3, #6b6b6b);
  margin: 8px 0 0;
  text-align: center;
  font-style: italic;
}
.pr-card.is-pioneer .pr-card-name {
  color: var(--accent, #B08D57);
}
.pr-card.is-enterprise {
  background: var(--text, #0F1923);
  color: #fff;
}
.pr-card.is-enterprise .pr-card-name,
.pr-card.is-enterprise .pr-card-price-num {
  color: #fff;
}
.pr-card.is-enterprise .pr-card-identity,
.pr-card.is-enterprise .pr-card-audience,
.pr-card.is-enterprise .pr-card-price-meta,
.pr-card.is-enterprise .pr-card-unlocks-head,
.pr-card.is-enterprise .pr-card-replaces-head {
  color: rgba(255,255,255,0.7);
}
.pr-card.is-enterprise .pr-card-replaces {
  background: rgba(255,255,255,0.06);
}
.pr-card.is-enterprise .pr-card-replaces-body,
.pr-card.is-enterprise .pr-card-unlocks-list li {
  color: rgba(255,255,255,0.85);
}
.pr-card.is-enterprise .pr-card-meta {
  background: rgba(255,255,255,0.06);
}
.pr-card.is-enterprise .pr-card-meta-row,
.pr-card.is-enterprise .pr-card-meta-row strong {
  color: rgba(255,255,255,0.9);
}
.pr-card.is-enterprise .pr-card-head {
  border-bottom-color: rgba(255,255,255,0.15);
}
.pr-card.is-enterprise .pr-card-audience,
.pr-card.is-enterprise .pr-card-price {
  border-bottom-color: rgba(255,255,255,0.15);
}

/* ───── IMPLEMENTATION SERVICES ───── */
.pr-impl {
  background: var(--paper, #fff);
  padding: 96px var(--inner-pad, 32px);
  border-top: 1px solid var(--line);
}
.pr-impl-inner {
  max-width: var(--max-w, 1440px);
  margin: 0 auto;
}
.pr-impl .eyebrow { margin-bottom: 16px; }
.pr-impl .display { margin-bottom: 16px; }
.pr-impl .lede { max-width: 800px; margin-bottom: 56px; }
.pr-impl-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pr-impl-grid > * { min-width: 0; }
.pr-impl-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d4d4d4);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}
.pr-impl-card-head {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--divider, #ececec);
}
.pr-impl-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #0F1923);
  margin: 0 0 4px;
  letter-spacing: -0.005em;
}
.pr-impl-tiers {
  font-size: 13px;
  color: var(--text3, #6b6b6b);
  margin: 0;
  font-style: italic;
}
.pr-impl-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  font-feature-settings: 'tnum';
}
.pr-impl-price-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent, #B08D57);
  letter-spacing: -0.015em;
}
.pr-impl-price-once {
  font-size: 13px;
  color: var(--text3, #6b6b6b);
  font-weight: 500;
}
.pr-impl-duration {
  font-size: 13px;
  color: var(--text3, #6b6b6b);
  margin: 0 0 14px;
}
.pr-impl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}
.pr-impl-list li {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text2, #444);
  padding-left: 14px;
  position: relative;
}
.pr-impl-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent, #B08D57);
  font-size: 11px;
}
.pr-impl-foot {
  margin-top: 32px;
  font-size: 15px;
  color: var(--text3, #6b6b6b);
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ───── MULTI-YEAR LADDER ───── */
.pr-multiyear {
  background: var(--paper-2, #fafafa);
  padding: 80px var(--inner-pad, 32px);
  border-top: 1px solid var(--line);
}
.pr-multiyear-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.pr-multiyear .eyebrow { margin-bottom: 16px; }
.pr-multiyear .display { margin-bottom: 16px; }
.pr-multiyear .lede { max-width: 760px; margin-bottom: 48px; }
.pr-multiyear-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pr-multiyear-grid > * { min-width: 0; }
.pr-multiyear-card {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d4d4d4);
  padding: 22px 22px 24px;
  position: relative;
}
.pr-multiyear-card.is-default {
  border-color: var(--text, #0F1923);
  border-width: 2px;
  padding: 21px 21px 23px;
}
.pr-multiyear-card.is-highlight {
  border-color: var(--accent, #B08D57);
  border-width: 2px;
  padding: 21px 21px 23px;
  background: var(--paper-3, #fdf9f3);
}
.pr-multiyear-flag {
  position: absolute;
  top: -10px;
  left: 18px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pr-multiyear-card.is-default .pr-multiyear-flag {
  background: var(--text, #0F1923);
  color: #fff;
}
.pr-multiyear-card.is-highlight .pr-multiyear-flag {
  background: var(--accent, #B08D57);
  color: #fff;
}
.pr-multiyear-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #0F1923);
  margin: 0 0 4px;
}
.pr-multiyear-discount {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent, #B08D57);
  margin: 0 0 14px;
  font-feature-settings: 'tnum';
}
.pr-multiyear-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pr-multiyear-list li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text2, #444);
  padding-left: 14px;
  position: relative;
}
.pr-multiyear-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--text3, #6b6b6b);
  font-weight: 700;
}

/* ───── MATRIX — update for 6 tier columns ───── */
.pr-matrix-th-feat { width: 28%; }
.pr-matrix-th-tier { width: 14.4%; }
.pr-matrix-yes { color: var(--accent, #B08D57); font-weight: 700; font-size: 17px; }
.pr-matrix-no { color: var(--text3, #6b6b6b); }

/* ════════════ v8 RESPONSIVE ════════════ */
@media (max-width: 1400px) {
  .pr-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pr-impl-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1000px) {
  .pr-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pr-impl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pr-multiyear-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .pr-cards-grid {
    grid-template-columns: 1fr;
  }
  .pr-impl-grid {
    grid-template-columns: 1fr;
  }
  .pr-multiyear-grid {
    grid-template-columns: 1fr;
  }
  .pr-cards-currency-options {
    flex-wrap: wrap;
  }
}

/* ───── v8 — Enterprise "Custom" rendering ───── */
.pr-card-price-annual--custom {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pr-card-price-annual--custom .pr-card-price-num {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pr-card.is-enterprise .pr-card-price-annual--custom .pr-card-price-num {
  color: #fff;
}

/* ════════════════════════════════════════════════════════════════════
   PlatformInEveryTier — replaces IntegrationTax section
   Declarative, multi-party visible, no competitor comparison
   ════════════════════════════════════════════════════════════════════ */
.pr-platform {
  background: var(--paper-2, #fafafa);
  padding: 96px var(--inner-pad, 32px);
  border-top: 1px solid var(--line);
}
.pr-platform-inner {
  max-width: var(--max-w, 1440px);
  margin: 0 auto;
}
.pr-platform .eyebrow { margin-bottom: 16px; }
.pr-platform .display { margin-bottom: 16px; }
.pr-platform .lede { max-width: 880px; margin-bottom: 56px; }

.pr-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pr-platform-grid > * { min-width: 0; }

.pr-platform-block {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #d4d4d4);
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pr-platform-block-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider, #ececec);
}
.pr-platform-block-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent, #B08D57);
  margin: 0 0 4px;
  font-family: var(--font-mono, ui-monospace);
}
.pr-platform-block-h {
  font-size: 17px;
  font-weight: 700;
  color: var(--text, #0F1923);
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.pr-platform-block-body {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text2, #444);
  margin: 0;
}
.pr-platform-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px dashed var(--divider, #ececec);
  padding-top: 14px;
}
.pr-platform-block-list li {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text2, #444);
  padding-left: 14px;
  position: relative;
  font-weight: 500;
}
.pr-platform-block-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--accent, #B08D57);
  font-size: 11px;
}
.pr-platform-foot {
  margin-top: 40px;
  max-width: 880px;
  font-size: 16px;
  color: var(--text2, #444);
  font-style: italic;
  padding-top: 28px;
  border-top: 1px solid var(--divider, #ececec);
}

@media (max-width: 1100px) {
  .pr-platform-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .pr-platform-grid { grid-template-columns: 1fr; }
  .pr-platform { padding: 64px var(--inner-pad, 24px); }
}
