/* ─── COMMEET Solution Pages — Shared CSS ─── */
/* Covers: expense-visibility, payment-control, vendor-payment, travel-expense, budget-overrun */
/* Hero background per page via CSS var: --hero-img (set as inline style on .hero element in DOM) */

/* ─── DESIGN SYSTEM: BRAND BLUE-GRAY ─── */
:root {
  --bg: #f5f7fb;
  --surface: #FFFFFF;
  --surface-2: #EBF0F4;
  --surface-3: #DDE6EC;
  --ink: #1a2730;
  --ink-2: #2e3d4a;
  --muted: #5c7080;
  --muted-2: #8aafc0;
  --line: #ccd8e2;
  --p1: #5e7b8d;
  --p2: #6b9dba;
  --p-dark: #425563;
  --p-darker: #2e3d4a;
  --grad: linear-gradient(135deg, #ba5a17 0%, #ef7a00 55%, #f0bb87 100%);
  --grad-dark: linear-gradient(135deg, #425563 0%, #426883 55%, #155c8e 100%);
  --grad-soft: linear-gradient(135deg, rgba(46, 61, 74, 0.09) 0%, rgba(94, 123, 141, 0.09) 100%);
  --orange: #ef7a00;
  --green: #00b894;
  --green-soft: rgba(0, 184, 148, 0.1);
  --amber: #e09d00;
  --amber-soft: rgba(224, 157, 0, 0.1);
  --red: #e05252;
  --shadow-sm: 0 2px 12px rgba(94, 123, 141, 0.09);
  --shadow-md: 0 8px 32px rgba(94, 123, 141, 0.13);
  --shadow-lg: 0 20px 60px rgba(94, 123, 141, 0.17);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.7;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  color: var(--ink);
}

h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 860;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 19px;
  font-weight: 820;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ─── TOPBAR ─── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: auto;
  height: 32px;
}

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

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

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.nav-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-item:hover .nav-trigger,
.nav-item:focus-within .nav-trigger {
  color: var(--p1);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 60;
  width: 310px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu.wide {
  width: 520px;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.dropdown-section-title {
  margin: 4px 8px 8px;
  color: var(--p1);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.35;
  transition: background 0.12s;
}

.dropdown-link span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.dropdown-link:hover {
  background: var(--surface-2);
  color: var(--p1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 820;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: #ef7a00;
  box-shadow: 0 14px 28px rgba(239, 122, 0, 0.22);
}

.btn-secondary {
  color: #ef7a00;
  background: #fff;
  border-color: #ef7a00;
}

.btn-secondary:hover {
  background: var(--surface-2);
  border-color: #ef7a00;
}

.btn-grad {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 24px rgba(94, 123, 141, 0.3);
}

.btn-grad:hover {
  box-shadow: 0 14px 36px rgba(94, 123, 141, 0.42);
}

.btn-white {
  color: var(--p1);
  background: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.btn-outline-white {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
}

.cta-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-text:hover {
  color: var(--p1);
}

.hero-followup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 760;
}

.hero-followup a {
  color: var(--p-dark);
  font-size: 16px;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  padding: 112px 0 104px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  background-repeat: no-repeat, no-repeat;
  background-position: left center, center right;
  background-size: auto, cover;
}

/* Per-page hero background images — body class added by commeet-page-assets.php */
.solution-page-expense-visibility .hero {
  background-image:
    linear-gradient(90deg, rgba(245, 247, 251, 0.99) 0%, rgba(245, 247, 251, 0.94) 42%, rgba(245, 247, 251, 0.42) 68%, rgba(245, 247, 251, 0.08) 100%),
    url("https://www.commeet.co/wp-content/uploads/2026/05/solution-expense-visibility-hero-scaled.webp");
}

.solution-page-payment-control .hero {
  background-image:
    linear-gradient(90deg, rgba(245, 247, 251, 0.99) 0%, rgba(245, 247, 251, 0.94) 42%, rgba(245, 247, 251, 0.42) 68%, rgba(245, 247, 251, 0.08) 100%),
    url("https://www.commeet.co/wp-content/uploads/2026/05/solution-payment-control-hero-scaled.webp");
}

.solution-page-vendor-payment .hero {
  background-image:
    linear-gradient(90deg, rgba(245, 247, 251, 0.99) 0%, rgba(245, 247, 251, 0.94) 42%, rgba(245, 247, 251, 0.42) 68%, rgba(245, 247, 251, 0.08) 100%),
    url("https://www.commeet.co/wp-content/uploads/2026/05/solution-vendor-payment-hero-scaled.webp");
}

.solution-page-travel-expense .hero {
  background-image:
    linear-gradient(90deg, rgba(245, 247, 251, 0.99) 0%, rgba(245, 247, 251, 0.94) 42%, rgba(245, 247, 251, 0.42) 68%, rgba(245, 247, 251, 0.08) 100%),
    url("https://www.commeet.co/wp-content/uploads/2026/05/solution-travel-expense-hero-scaled.webp");
}

.solution-page-budget-overrun .hero {
  background-image:
    linear-gradient(90deg, rgba(245, 247, 251, 0.99) 0%, rgba(245, 247, 251, 0.94) 42%, rgba(245, 247, 251, 0.42) 68%, rgba(245, 247, 251, 0.08) 100%),
    url("https://www.commeet.co/wp-content/uploads/2026/05/solution-budget-overrun-hero-scaled.webp");
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(94, 123, 141, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at -10% 80%, rgba(107, 157, 186, 0.07) 0%, transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 640px);
  min-height: 430px;
  gap: 0;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--grad-soft);
  border: 1px solid rgba(94, 123, 141, 0.2);
  border-radius: 999px;
  color: var(--p1);
  font-size: 12px;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}

.hero h1 {
  margin-top: 20px;
  letter-spacing: 1px;
}

.hero h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.76;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  backdrop-filter: blur(10px);
}

@media (max-width: 860px) {
  .hero {
    padding: 72px 0 64px;
    background-image: none !important;
    background-color: var(--bg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.trust-item::before {
  content: "✓";
  font-size: 11px;
  font-weight: 900;
  color: var(--p1);
}

/* ─── HERO VISUAL CARD ─── */
.command-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.command-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(94, 123, 141, 0.06), rgba(107, 157, 186, 0.06));
  border-bottom: 1px solid var(--line);
}

.command-card-title {
  font-size: 14px;
  font-weight: 820;
  color: var(--ink);
}

.command-card-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--grad);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 820;
  color: #fff;
}

.command-card-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.command-card-body {
  padding: 18px 22px;
  display: grid;
  gap: 10px;
}

.cmd-flow-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.cmd-flow-step.active {
  border-color: rgba(94, 123, 141, 0.35);
  background: rgba(94, 123, 141, 0.04);
  box-shadow: 0 2px 12px rgba(94, 123, 141, 0.08);
}

.cmd-flow-step.done {
  border-color: rgba(0, 184, 148, 0.3);
  background: rgba(0, 184, 148, 0.04);
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 900;
}

.step-icon.grad {
  background: var(--grad);
  color: #fff;
}

.step-icon.green {
  background: var(--green);
  color: #fff;
}

.step-icon.amber {
  background: var(--amber);
  color: #fff;
}

.step-icon.orange {
  background: var(--orange);
  color: #fff;
}

.step-text {
  flex: 1;
  min-width: 0;
}

.step-text strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  font-weight: 780;
}

.step-text span {
  font-size: 11px;
  color: var(--muted-2);
}

.step-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 820;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.step-badge.ok {
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid rgba(0, 184, 148, 0.25);
}

.step-badge.active {
  background: var(--grad-soft);
  color: var(--p1);
  border: 1px solid rgba(94, 123, 141, 0.25);
}

.step-badge.pending {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid rgba(224, 157, 0, 0.25);
}

.cmd-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 2px;
}

.cmd-metric {
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.cmd-metric strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cmd-metric span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* ─── GENERIC SECTION ─── */
.section {
  padding: 88px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.section-alt {
  background: var(--surface);
}

.section-light {
  background: var(--surface-2);
}

.section-tight {
  padding: 72px 0;
}

/* ─── KICKER ─── */
.kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(94, 123, 141, 0.18);
  border-radius: 999px;
  color: var(--p1);
  font-size: 12px;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 52px;
  text-align: center;
}

.section-desc {
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.76;
  color: var(--muted);
  padding-top: 0;
}

/* ─── NARRATIVE ─── */
#narrative {
  background: #fff;
}

.narrative-grid {
  display: grid;
  gap: 66px;
  align-items: center;
}

.narrative-statement {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.narrative-statement h2 {
  color: #0b1f3d;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.16;
  letter-spacing: 0;
}

.narrative-statement p {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.72;
}

.question-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 380px) 160px minmax(320px, 380px);
  grid-template-areas:
    "q1 hub q2"
    "q3 hub q4";
  gap: 70px;
  justify-content: center;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.question-card {
  position: relative;
  min-height: 148px;
  padding: 62px 28px 26px;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 10px;
  box-shadow: 0 18px 36px rgba(11, 31, 61, 0.12);
  transition: all 0.22s;
}

.q-one   { grid-area: q1; }
.q-two   { grid-area: q2; }
.q-three { grid-area: q3; }
.q-four  { grid-area: q4; }

.question-card:hover {
  border-color: rgba(239, 122, 0, 0.28);
  box-shadow: 0 24px 48px rgba(11, 31, 61, 0.16);
  transform: translateY(-2px);
}

.question-card strong {
  position: absolute;
  top: 22px;
  left: 26px;
  width: 126px;
  height: 8px;
  color: transparent;
  background: #e7ebf1;
  border-radius: 999px;
}

.question-card strong::after {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 92px;
  height: 7px;
  background: #dfe4eb;
  border-radius: 999px;
}

.question-card h3 {
  color: #0b1f3d;
  font-size: 22px;
  line-height: 1.35;
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: 0;
}

.question-card h3::before { content: "「"; }
.question-card h3::after  { content: "」"; }

.question-card p {
  color: #6f7782;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

.question-card p::before { content: "("; }
.question-card p::after  { content: ")"; }

.question-card::after {
  position: absolute;
  top: 18px;
  right: 24px;
  color: #d66816;
  font-weight: 850;
}

.q-one::after   { content: "10%"; font-size: 14px; }
.q-one strong::after { top: 18px; width: 42px; background: #ef7a00; }

.q-two::after {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 30px;
  color: #fff;
  background: #f3b58f;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  padding-top: 7px;
  font-size: 18px;
}

.q-three::after {
  content: "";
  width: 52px;
  height: 34px;
  background:
    linear-gradient(#d8dde7, #d8dde7) 0 14px / 8px 18px no-repeat,
    linear-gradient(#cfd6e2, #cfd6e2) 14px 8px / 8px 24px no-repeat,
    linear-gradient(#ef7a00, #ef7a00) 28px 2px / 8px 30px no-repeat,
    linear-gradient(#d8dde7, #d8dde7) 42px 0 / 8px 32px no-repeat;
}

.q-four::after {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: #f3a16b;
  border-radius: 7px;
  font-size: 20px;
}

.q-four::before {
  content: "?";
  position: absolute;
  top: 42px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: #ef7a00;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  z-index: 1;
}

.narrative-hub {
  grid-area: hub;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  isolation: isolate;
}

.hub-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  color: #fff;
  background: #0b1f3d;
  border-radius: 28px;
  box-shadow: 0 16px 28px rgba(11, 31, 61, 0.16);
}

.hub-icon::before {
  content: "";
  width: 40px;
  height: 40px;
  border: 7px solid #fff;
  border-radius: 50%;
  transform: translate(-4px, -4px);
}

.hub-icon::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 8px;
  background: #fff;
  border-radius: 999px;
  transform: translate(24px, 24px) rotate(45deg);
}

.hub-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  border-top: 2px dashed #d8dee8;
  transform-origin: left center;
  z-index: 1;
}

.hub-line.tl { transform: rotate(218deg); }
.hub-line.tr { transform: rotate(-38deg); }
.hub-line.bl { transform: rotate(142deg); }
.hub-line.br { transform: rotate(38deg); }

@media (max-width: 980px) {
  .question-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "hub" "q1" "q2" "q3" "q4";
    gap: 18px;
  }

  .narrative-hub {
    min-height: 116px;
  }

  .hub-line {
    display: none;
  }

  .question-card {
    min-height: 136px;
  }
}

/* ─── CARDS & GRIDS ─── */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

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

.card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s;
}

.card:hover {
  border-color: rgba(94, 123, 141, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 16px;
  margin: 14px 0 9px;
}

.card p {
  font-size: 14px;
  line-height: 1.65;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: var(--grad);
}

.icon.teal   { background: var(--green); }
.icon.amber  { background: linear-gradient(135deg, var(--amber), #f5af19); }
.icon.red    { background: linear-gradient(135deg, var(--red), #ff6b6b); }

/* ─── SOLUTION PANEL ─── */
.solution-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.statement p {
  font-size: 17px;
  line-height: 1.78;
  margin-top: 0;
}

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

.capability {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s;
}

.capability:hover {
  border-color: rgba(94, 123, 141, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.capability h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.capability p {
  font-size: 14px;
  line-height: 1.65;
}

/* ─── PROOF ─── */
.proof {
  background: linear-gradient(160deg, #e8f0f5 0%, #dde8ef 100%);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.proof-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.proof-card strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-weight: 820;
  margin-bottom: 10px;
}

.proof-card p {
  font-size: 14px;
  line-height: 1.65;
}

.quote-block {
  position: relative;
  padding: 40px 48px;
  background: #fff;
  border: 1px solid rgba(94, 123, 141, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.quote-block::before {
  content: "\201C";
  position: absolute;
  top: -24px;
  left: 36px;
  font-size: 160px;
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.18;
}

.quote-block .quote-text {
  position: relative;
  font-size: 18px;
  line-height: 1.72;
  font-weight: 680;
  color: var(--ink-2);
}

.quote-attr {
  margin-top: 18px;
  font-size: 13px;
}

/* ─── RELATED CARDS ─── */
.related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s;
}

.related-card:hover {
  border-color: rgba(94, 123, 141, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.related-card h3 {
  font-size: 18px;
  margin: 14px 0 8px;
}

.related-card > div > p {
  font-size: 14px;
  line-height: 1.65;
}

.related-card > strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 820;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.related-card > strong::after {
  content: " →";
}

/* ─── ROLE COLLAB ─── */
.role-collab {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 410px) 220px minmax(300px, 410px);
  grid-template-areas:
    "tl hub tr"
    "bl hub br";
  gap: 54px 78px;
  align-items: center;
  justify-content: center;
  max-width: 1160px;
  margin: 0 auto;
  isolation: isolate;
}

.role-card {
  grid-area: var(--role-area);
  position: relative;
  min-height: 166px;
  padding: 38px 34px 30px;
  overflow: hidden;
  border: 1px solid #dfe6ee;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(11, 31, 61, 0.12);
  background: #fff;
  z-index: 3;
}

.role-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 58px;
  width: 152px;
  height: 22px;
  background: linear-gradient(90deg, #ef7a00, #f6b37a);
  border-radius: 0 999px 999px 0;
  opacity: 0.78;
}

.role-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: #0b1f3d;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 0;
}

.role-card p {
  position: relative;
  z-index: 1;
  color: #0b1f3d;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 650;
}

.role-top-left    { --role-area: tl; }
.role-top-right   { --role-area: tr; }
.role-bottom-left { --role-area: bl; }
.role-bottom-right{ --role-area: br; }

.role-hub {
  grid-area: hub;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  isolation: isolate;
  pointer-events: none;
  z-index: 1;
}

.role-hub::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 3px solid #d7dee8;
  border-radius: 50%;
  box-shadow: inset 0 0 0 8px rgba(239, 122, 0, 0.12);
  z-index: 0;
}

.role-hub-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 176px;
  color: #fff;
  text-align: center;
  background: #fff;
  border: 7px solid #f7f9fb;
  border-radius: 50%;
  box-shadow: 0 20px 44px rgba(11, 31, 61, 0.2);
}

.role-hub-core strong {
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.role-hub-core span {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 850;
}

.role-line {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 270px;
  border-top: 2px solid #dbe2ea;
  transform-origin: left center;
  z-index: 0;
}

.role-line.tl { transform: rotate(210deg); }
.role-line.tr { transform: rotate(-30deg); }
.role-line.bl { transform: rotate(150deg); }
.role-line.br { transform: rotate(30deg); }

@media (max-width: 980px) {
  .role-collab {
    grid-template-columns: 1fr;
    grid-template-areas: "hub" "tl" "tr" "bl" "br";
    gap: 18px;
  }

  .role-hub {
    min-height: 210px;
  }

  .role-line {
    display: none;
  }

  .role-card {
    min-height: auto;
  }
}

/* ─── SOLUTION MAP ─── */
.solution-map-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.solution-map-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s;
}

.solution-map-card:hover {
  border-color: rgba(94, 123, 141, 0.32);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.solution-map-card.is-active {
  background: var(--grad-soft);
  border-color: rgba(94, 123, 141, 0.4);
  box-shadow: 0 0 0 3px rgba(94, 123, 141, 0.1), var(--shadow-md);
}

.solution-map-card span {
  font-size: 11px;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.solution-map-card h3 {
  font-size: 14px;
  font-weight: 820;
  line-height: 1.35;
}

.solution-map-card p {
  font-size: 12px;
  line-height: 1.55;
  flex: 1;
}

.solution-map-card > strong {
  font-size: 12px;
  color: var(--muted-2);
}

.solution-map-card.is-active > strong {
  color: var(--p1);
  font-weight: 820;
}

/* ─── FAQ ─── */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-list details[open] {
  border-color: rgba(94, 123, 141, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 26px;
  cursor: pointer;
  font-weight: 820;
  font-size: 16px;
  color: var(--ink);
  list-style: none;
  transition: color 0.15s;
  user-select: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--p1);
  border-bottom: 2px solid var(--p1);
  transform: rotate(45deg);
  transition: transform 0.22s;
  flex-shrink: 0;
}

.faq-list details[open] > summary {
  color: var(--p1);
}

.faq-list details[open] > summary::after {
  transform: rotate(-135deg);
}

.faq-list details > p {
  padding: 0 26px 22px;
  font-size: 15px;
  line-height: 1.72;
}

/* ─── CTA BAND ─── */
.cta-band {
  position: relative;
  padding: 72px 64px;
  background: var(--grad-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.cta-band-text {
  text-align: left;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.cta-band .kicker {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.cta-band h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: #fff;
  margin: 8px 0 16px;
}

.cta-band-text p {
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.82);
}

.demo-form {
  margin: 0;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
}

.demo-form ._form-label,
.demo-form label {
  color: #fff !important;
}

.cta-followup {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.cta-followup a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--ink);
  padding: 56px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer p {
  font-size: 14px;
  line-height: 1.72;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.footer h3 {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 16px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.15s;
}

.footer a:hover {
  color: #fff;
}

.footer .brand-logo {
  filter: brightness(0) invert(1);
}

/* ═══════════════════════════════════════════════════════
   PAGE-SPECIFIC SECTIONS
   ═══════════════════════════════════════════════════════ */

/* ─── PAYMENT STAGES (payment-control) ─── */
.payment-stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
  position: relative;
}

.stage-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 28px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}

.stage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
}

.stage-card:not(.is-active):hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stage-card.is-active {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 20px 56px rgba(239, 122, 0, 0.3);
}

.stage-card.is-active::before {
  display: none;
}

.stage-time {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}

.stage-card.is-active .stage-time {
  color: #fff;
}

.stage-subtitle {
  font-size: 16px;
  font-weight: 820;
  color: var(--p1);
  margin-bottom: 16px;
}

.stage-card.is-active .stage-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.stage-card > p {
  font-size: 13px;
  line-height: 1.72;
  color: var(--muted);
  text-align: left;
  flex: 1;
  margin-bottom: 28px;
}

.stage-card.is-active > p {
  color: rgba(255, 255, 255, 0.78);
}

.stage-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--p1);
  flex-shrink: 0;
}

.stage-card.is-active .stage-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.stages-caption {
  margin-top: 32px;
  padding: 16px 32px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  font-size: 20px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

/* ─── SHIFT PANEL (payment-control) ─── */
.shift-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.shift-card {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.shift-card.legacy {
  background: #f5f7fb;
}

.shift-card.modern {
  background: #fff5ea;
  border-color: #ef7a00;
  box-shadow: var(--shadow-md);
}

.shift-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.shift-card > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 18px;
}

.shift-list {
  display: grid;
  gap: 8px;
}

.shift-list > div {
  padding: 10px 14px;
  background: rgba(94, 123, 141, 0.06);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--muted);
}

.shift-card.modern .shift-list > div {
  background: #ffddba;
  color: var(--ink);
}

/* ─── TESTIMONIAL (payment-control) ─── */
.testimonial-block {
  margin-top: 28px;
  padding: 36px 44px;
  background: #fff;
  border: 1px solid rgba(94, 123, 141, 0.15);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.testimonial-block::before {
  content: "\201C";
  position: absolute;
  top: -20px;
  left: 32px;
  font-size: 160px;
  line-height: 1;
  font-family: Georgia, serif;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.15;
  pointer-events: none;
}

.testimonial-block blockquote {
  margin: 0;
  position: relative;
  font-size: 17px;
  line-height: 1.75;
  font-weight: 620;
  color: var(--ink-2);
  font-style: normal;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-person strong {
  display: block;
  font-size: 14px;
  font-weight: 820;
  color: var(--ink);
  margin-bottom: 3px;
}

.testimonial-person span {
  font-size: 12px;
  color: var(--muted);
}

/* ─── CONTROL MATRIX (vendor-payment) ─── */
.control-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.matrix-card {
  padding: 28px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--p1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s;
}

.matrix-card:hover {
  border-color: rgba(94, 123, 141, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.matrix-card:first-child {
  border-top-color: var(--orange);
}

.matrix-card .icon {
  margin-bottom: 16px;
}

.matrix-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.matrix-card > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 18px;
}

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

.matrix-list > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  gap: 12px;
}

.matrix-list span {
  font-size: 13px;
  color: var(--muted);
  flex-shrink: 0;
}

.matrix-list strong {
  font-size: 12px;
  font-weight: 820;
  color: var(--p1);
  text-align: right;
}

/* ─── AP PIPELINE (vendor-payment) ─── */
.ap-pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}

.ap-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ap-step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ap-step-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.ap-step-node {
  position: relative;
  width: 100%;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ap-step:not(:first-child) .ap-step-node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 50%;
  height: 6px;
  background: var(--orange);
  transform: translateY(-50%);
  z-index: 0;
}

.ap-step:not(:last-child) .ap-step-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 50%;
  height: 6px;
  background: var(--orange);
  transform: translateY(-50%);
  z-index: 0;
}

.ap-dot {
  width: 22px;
  height: 22px;
  background: var(--ink);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px #fff;
}

.ap-step-body h3 {
  font-size: 15px;
  font-weight: 820;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}

.ap-step-body p {
  padding: 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* ─── JOURNEY TIMELINE (travel-expense) ─── */
.journey-timeline {
  display: grid;
  gap: 16px;
}

.journey-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: stretch;
}

.journey-phase {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  background: var(--grad);
  border-radius: var(--radius-lg);
  text-align: center;
  gap: 6px;
}

.journey-phase span {
  font-size: 11px;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.journey-phase strong {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
}

.journey-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.journey-detail > div {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s;
}

.journey-detail > div:hover {
  border-color: rgba(94, 123, 141, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.journey-detail h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.journey-detail p {
  font-size: 13px;
  line-height: 1.65;
}

/* ─── PROCESS STEPS (travel-expense) ─── */
.process {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.step {
  padding: 20px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.22s;
}

.step:hover {
  border-color: rgba(94, 123, 141, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  margin: 0 auto 12px;
}

.step h3 {
  font-size: 13px;
  font-weight: 820;
  margin-bottom: 8px;
}

.step p {
  font-size: 12px;
  line-height: 1.6;
}

/* ─── BUDGET SECTIONS (budget-overrun) ─── */
.budget-command-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.budget-layer-card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--p1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s;
}

.budget-layer-card:hover {
  border-color: rgba(94, 123, 141, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.budget-layer-card.primary {
  border-top-color: var(--orange);
}

.budget-layer-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.budget-layer-card > p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 16px;
}

.budget-layer-list {
  display: grid;
  gap: 8px;
}

.budget-layer-list > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
}

.budget-layer-list span {
  color: var(--muted);
}

.budget-layer-list strong {
  font-size: 11px;
  font-weight: 860;
  color: var(--p1);
  background: var(--grad-soft);
  border: 1px solid rgba(94, 123, 141, 0.18);
  border-radius: 999px;
  padding: 3px 9px;
}

.budget-state-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.state-card {
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.22s;
}

.state-card:hover {
  border-color: rgba(94, 123, 141, 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.state-card span {
  display: inline-block;
  font-size: 11px;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(94, 123, 141, 0.18);
  color: var(--p1);
  margin-bottom: 10px;
}

.state-card h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.state-card p {
  font-size: 13px;
  line-height: 1.65;
}

.budget-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.compare-card {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.compare-card.legacy {
  background: #f5f7fb;
}

.compare-card.active {
  background: #fff5ea;
  border-color: #ef7a00;
  box-shadow: var(--shadow-md);
}

.compare-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.compare-card > p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
  color: var(--muted);
}

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

.compare-list > div {
  padding: 10px 14px;
  background: rgba(94, 123, 141, 0.06);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--muted);
}

.compare-card.active .compare-list > div {
  background: #ffddba;
  color: var(--ink);
}

.execution-strip {
  display: flex;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(186, 90, 23, 0.2);
}

.execution-strip > div {
  flex: 1;
  padding: 18px 12px;
  background: var(--grad);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 820;
  position: relative;
}

.execution-strip > div:nth-child(even) {
  background: rgba(239, 122, 0, 0.88);
}

.execution-strip > div:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
}
