:root {
  --bg: #FFFFFF;
  --mint-bg: #E4F3EC;
  --mint-bg-soft: #F0F8F4;
  --ink: #0F1820;
  --ink-2: #2A3540;
  --muted: #6B7681;
  --line: #DCE4DF;
  --line-2: #C8D4CD;
  --green: #0E8A6E;
  --green-2: #2BB088;
  --green-hover: #0A6E58;
  --green-light: #DEF0E5;
  --footer-green: #1B3A38;
  --coral: #E86A2C;
  --coral-soft: #FCE6D8;
  --gold: #F4C237;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.005em;
}
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* NAV */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
nav.top .row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 24px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 22px;
  letter-spacing: -0.03em; color: var(--ink); flex-shrink: 0;
}
.brand .mark {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--green-2);
  border-radius: 9px; font-weight: 800; font-size: 18px; letter-spacing: -0.04em;
}
.brand .mark::before { content: "W"; }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  flex: 1; justify-content: center;
  font-size: 15px; color: var(--ink); font-weight: 500;
}
.nav-links > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 4px; transition: color .15s;
  white-space: nowrap; cursor: pointer; color: var(--ink);
  background: transparent; border: 0; font: inherit;
}
.nav-links > a:hover, .nav-trigger:hover { color: var(--green); }
.nav-trigger .ch { font-size: 10px; opacity: 0.5; transition: transform .2s; }
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item:hover .nav-trigger .ch,
.nav-item.open .nav-trigger .ch { transform: rotate(180deg); }
.nav-cta { display: flex; gap: 14px; align-items: center; font-size: 15px; flex-shrink: 0; }
/* Language switcher */
.lang-switch { position: relative; }
.lang-switch .lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border: 1.5px solid var(--line);
  background: transparent; border-radius: var(--r-pill);
  color: var(--ink); font-family: var(--font); font-size: 13px;
  font-weight: 600; cursor: pointer; letter-spacing: 0.01em;
  transition: all .15s;
}
.lang-switch .lang-trigger:hover { border-color: var(--green-2); color: var(--green); }
.lang-switch .lang-trigger::before {
  content: ""; width: 14px; height: 14px;
  border-radius: 50%; border: 1.5px solid currentColor;
  background:
    radial-gradient(circle at 50% 30%, transparent 1.8px, currentColor 1.8px 2.2px, transparent 2.2px),
    radial-gradient(circle at 50% 70%, transparent 1.8px, currentColor 1.8px 2.2px, transparent 2.2px),
    radial-gradient(circle at 30% 50%, transparent 1.8px, currentColor 1.8px 2.2px, transparent 2.2px),
    radial-gradient(circle at 70% 50%, transparent 1.8px, currentColor 1.8px 2.2px, transparent 2.2px);
}
.lang-switch .lang-dd {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 16px 40px -12px rgba(15, 24, 32, 0.15);
  padding: 6px; min-width: 160px;
  display: none; opacity: 0; transform: translateY(-4px);
  transition: opacity .2s, transform .2s; z-index: 60;
}
.lang-switch.open .lang-dd { display: block; opacity: 1; transform: translateY(0); }
.lang-switch .lang-option {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 10px 14px;
  background: transparent; border: 0;
  font-family: inherit; font-size: 14px; font-weight: 500;
  color: var(--ink); cursor: pointer; border-radius: 8px;
  text-align: left; transition: background .15s;
}
.lang-switch .lang-option:hover { background: var(--mint-bg-soft); }
.lang-switch .lang-option.active { background: var(--mint-bg); color: var(--green); font-weight: 600; }
.lang-switch .lang-option .lang-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 20px; border-radius: 4px;
  background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
}
.lang-switch .lang-option.active .lang-flag { background: var(--green); }

/* Mobile language buttons */
.mobile-lang {
  display: flex; gap: 10px;
  margin-bottom: 28px;
}
.mobile-lang-top {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.mobile-lang .lang-option {
  flex: 1; padding: 14px;
  border: 1.5px solid var(--line); background: transparent;
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: var(--ink); cursor: pointer; border-radius: 10px;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.mobile-lang .lang-option:hover { border-color: var(--green-2); }
.mobile-lang .lang-option.active {
  border-color: var(--green); background: var(--mint-bg-soft); color: var(--green);
}
.mobile-lang .lang-option .lang-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 22px; border-radius: 5px;
  background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
}
.mobile-lang .lang-option.active .lang-flag { background: var(--green); }

/* Burger menu */
.nav-burger {
  display: none; background: transparent; border: 0;
  width: 40px; height: 40px; border-radius: 10px;
  align-items: center; justify-content: center; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 0; flex-shrink: 0;
}
.nav-burger:hover { background: var(--mint-bg-soft); }
.nav-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1180px) {
  .nav-links { gap: 18px; font-size: 14px; }
  .nav-cta { gap: 8px; }
  .btn { padding: 11px 16px; font-size: 14px; }
  .btn.primary { padding: 12px 20px; }
}
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-cta .btn.ghost { display: none; }
  .nav-burger { display: flex; }
  .nav-cta .btn.primary { padding: 11px 18px; font-size: 13.5px; }
  /* Compact language switch on mobile: keep it visible */
  .nav-cta .lang-switch .lang-trigger {
    padding: 7px 10px;
    font-size: 12px;
    gap: 4px;
  }
  .nav-cta .lang-switch .lang-trigger::before {
    width: 12px;
    height: 12px;
  }
}
@media (max-width: 480px) {
  nav.top .row { gap: 8px; padding: 12px 0; }
  .brand { font-size: 18px; gap: 8px; }
  .brand .mark { width: 28px; height: 28px; font-size: 15px; }
  .nav-cta { gap: 6px; }
  .nav-cta .lang-switch .lang-trigger { padding: 6px 9px; font-size: 11.5px; }
  /* Demo CTA moves to mobile menu below 480 — header stays uncluttered */
  .nav-cta .btn.primary { display: none; }
  .nav-burger { width: 36px; height: 36px; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 40;
  padding: 88px 24px 32px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .25s;
  -webkit-overflow-scrolling: touch;
  height: 100vh;
  height: 100dvh;
}
body.menu-open .mobile-menu { display: block; opacity: 1; }
.mobile-menu .grp { margin-bottom: 24px; }
.mobile-menu .grp > .hd {
  font-size: 12px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px;
}
.mobile-menu .grp .lk {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border-radius: 10px;
  color: var(--ink); font-weight: 500; font-size: 15px;
}
.mobile-menu .grp .lk:hover { background: var(--mint-bg-soft); }
.mobile-menu .grp .lk .desc {
  font-size: 12.5px; color: var(--muted);
  font-weight: 400; line-height: 1.4; margin-top: 2px;
}
.mobile-menu .cta-row {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line);
}
.mobile-menu .cta-row .btn { width: 100%; justify-content: center; padding: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; font-family: var(--font); font-size: 15px;
  font-weight: 600; border: 1.5px solid transparent;
  background: transparent; color: var(--ink);
  border-radius: var(--r-pill); transition: all .2s;
  letter-spacing: -0.005em;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--green); color: #fff; padding: 14px 26px; }
.btn.primary:hover { background: var(--green-hover); }
.btn.outline { border-color: var(--ink); color: var(--ink); padding: 12px 24px; }
.btn.outline:hover { background: var(--ink); color: #fff; }
.btn.ghost { color: var(--ink); font-weight: 500; padding: 8px 4px; }
.btn.ghost:hover { color: var(--green); }
.btn .arr { display: inline-flex; align-items: center; transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

/* HERO */
header.hero {
  padding: 96px 0 120px;
  background: var(--mint-bg);
  position: relative; overflow: hidden;
}
header.hero svg.deco {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 1080px; margin: 0 auto; }
h1.hero-h {
  font-family: var(--font); font-weight: 800;
  font-size: clamp(32px, 9vw, 104px); line-height: 1.05;
  letter-spacing: -0.045em; color: var(--ink);
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
h1.hero-h .accent {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede {
  margin: 32px auto 0; font-size: 18.5px;
  color: var(--ink-2); max-width: 780px;
  line-height: 1.55; font-weight: 400;
}
.hero-cta { margin-top: 48px; display: flex; justify-content: center; gap: 14px; }
.hero-dot { position: absolute; border-radius: 50%; z-index: 0; }
.hero-dot.green { background: var(--green-2); width: 18px; height: 18px; left: 6%; top: 20%; }
.hero-dot.gold { background: var(--gold); width: 14px; height: 14px; right: 8%; top: 38%; }

/* Trust strip */
.trust {
  background: var(--bg); padding: 64px 0;
  border-bottom: 1px solid var(--line); overflow: hidden;
}
.trust .lbl {
  text-align: center; font-size: 14px;
  color: var(--muted); margin-bottom: 32px; font-weight: 500;
}
.trust .row {
  display: flex; align-items: center; justify-content: center;
  gap: 64px; flex-wrap: wrap; opacity: 0.75;
}
.trust .row span {
  font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em; color: var(--ink-2); white-space: nowrap;
}

/* Section headline */
section.module { padding: 120px 0; }
.sec-head { text-align: center; max-width: 960px; margin: 0 auto 80px; }
.sec-head h2 {
  font-family: var(--font); font-weight: 700;
  font-size: clamp(28px, 5.5vw, 64px); line-height: 1.1;
  letter-spacing: -0.04em; color: var(--ink); text-wrap: balance;
  overflow-wrap: anywhere;
}
.sec-head h2 .accent { color: var(--green); font-weight: 700; }

/* Feature sections */
.feat {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: center; padding: 48px 0;
}
.feat.flip { direction: rtl; }
.feat.flip > * { direction: ltr; }
.feat .copy h3 {
  font-family: var(--font); font-weight: 700;
  font-size: 42px; line-height: 1.1; letter-spacing: -0.035em;
  color: var(--ink); margin-bottom: 24px; max-width: 480px;
}
.feat .copy p {
  font-size: 17px; color: var(--ink-2);
  line-height: 1.6; max-width: 520px; margin-bottom: 32px; font-weight: 400;
}
.feat .copy .btn { padding: 14px 24px; }

.visual-card {
  background: var(--mint-bg-soft); border-radius: var(--r-md);
  padding: 40px; position: relative; overflow: hidden;
  min-height: 420px; display: flex; align-items: center; justify-content: center;
}
.visual-card .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14, 138, 110, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 138, 110, 0.08) 1px, transparent 1px);
  background-size: 36px 36px; pointer-events: none;
}

/* Discovery panel */
.panel-tool {
  position: relative; background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px -8px rgba(15, 24, 32, 0.12);
  overflow: hidden; width: 100%; max-width: 520px;
}
.panel-tool .head {
  background: var(--ink); color: #fff;
  padding: 12px 16px; display: flex;
  justify-content: space-between; align-items: center; font-size: 13px;
}
.panel-tool .head .dots { display: flex; gap: 5px; }
.panel-tool .head .dots span { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.panel-tool .body { padding: 24px; }
.panel-tool h4 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 4px; display: flex; align-items: center; gap: 6px;
}
.panel-tool .wave {
  display: inline-block;
  animation: wave 1.6s ease-in-out infinite;
  transform-origin: 70% 70%;
}
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}
.panel-tool table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 13px; }
.panel-tool table th {
  text-align: left; padding: 10px 6px;
  color: var(--muted); font-weight: 500; font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.panel-tool table th:first-child {
  color: var(--green); font-weight: 700;
  border-bottom: 2px solid var(--green);
}
.panel-tool table td {
  padding: 14px 6px; border-bottom: 1px solid var(--line); font-weight: 500;
}
.panel-tool table tr:last-child td { border-bottom: none; }
.panel-tool .vname { display: flex; align-items: center; gap: 8px; }
.panel-tool .vname .vi {
  width: 18px; height: 18px; border-radius: 5px;
  background: var(--green-2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.panel-tool .vname .vi.b { background: var(--coral); }
.panel-tool .vname .vi.c { background: var(--ink); }
.panel-tool .vname .vi.d { background: var(--gold); color: var(--ink); }
.panel-tool .vname .vi.e { background: var(--green); }
.panel-tool .ring {
  width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid var(--line); position: relative;
  display: inline-block; vertical-align: middle;
}
.panel-tool .ring::after {
  content: attr(data-pct); position: absolute;
  font-size: 9px; font-weight: 700; color: var(--ink);
  inset: 0; display: flex; align-items: center; justify-content: center;
}
.panel-tool .ring.r70 {
  border-color: var(--green);
  border-right-color: var(--line);
  border-bottom-color: var(--line);
  transform: rotate(72deg);
}
.panel-tool .ring.r70::after { transform: rotate(-72deg); }
.panel-tool .ring.r50 {
  border-color: var(--green);
  border-bottom-color: var(--line);
  border-right-color: var(--line);
  transform: rotate(45deg);
}
.panel-tool .ring.r50::after { transform: rotate(-45deg); }
.panel-tool .ring.r80 {
  border-color: var(--green);
  border-bottom-color: var(--line);
  transform: rotate(36deg);
}
.panel-tool .ring.r80::after { transform: rotate(-36deg); }
.panel-tool .ring.r30 {
  border-color: var(--gold);
  border-right-color: var(--line);
  border-bottom-color: var(--line);
  border-top-color: var(--line);
  transform: rotate(108deg);
}
.panel-tool .ring.r30::after { transform: rotate(-108deg); }
.panel-tool .ring.r40 {
  border-color: var(--gold);
  border-right-color: var(--line);
  border-bottom-color: var(--line);
  border-top-color: var(--line);
  transform: rotate(72deg);
}
.panel-tool .ring.r40::after { transform: rotate(-72deg); }

.visual-card .float-pill {
  position: absolute; background: #fff;
  border-radius: 50px; padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 28px -8px rgba(15, 24, 32, 0.18);
  font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.float-pill .ico {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--green-light);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--green); font-weight: 700;
}

/* Categories panel */
.cat-stack { display: flex; flex-direction: column; gap: 8px; width: 240px; flex-shrink: 0; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.cat-card .label {
  font-size: 11px; font-weight: 600; color: var(--ink);
  letter-spacing: 0.02em; margin-bottom: 8px;
}
.cat-card .row { display: flex; gap: 6px; align-items: center; }
.cat-card .ic {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--mint-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--green);
}
.cat-card .ic.b { background: #FFE5D7; color: var(--coral); }
.cat-card .ic.c { background: #FFF6E0; color: #9A7A00; }
.cat-card .ic.d { background: #E6E8EE; color: var(--ink-2); }
.cat-card .ic.plus { background: var(--green-light); color: var(--green); font-size: 10px; }

.discovery-wrap {
  display: flex; gap: 24px; align-items: flex-start;
  width: 100%; justify-content: center;
  position: relative; z-index: 1;
}

/* Benchmarking */
.bench-wrap { position: relative; z-index: 1; }
.bench-savings {
  position: absolute; top: 8%; left: 5%;
  background: #fff; border-radius: var(--r-md);
  padding: 18px 22px;
  box-shadow: 0 16px 40px -12px rgba(15, 24, 32, 0.15); z-index: 2;
}
.bench-savings .v {
  font-family: var(--font); font-weight: 700;
  font-size: 32px; letter-spacing: -0.03em;
  color: var(--green); line-height: 1;
}
.bench-savings .l { font-size: 13px; color: var(--ink); font-weight: 600; margin-top: 4px; }
.bench-chart {
  background: #fff; border-radius: 12px;
  padding: 22px 24px; width: 60%; margin-top: 80px;
  box-shadow: 0 8px 24px -8px rgba(15, 24, 32, 0.1);
}
.bench-chart .ttl { font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.bench-chart .bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; }
.bench-chart .bars .b { flex: 1; background: var(--green-2); border-radius: 4px 4px 0 0; }
.bench-chart .bars .b.l1 { background: var(--green-2); height: 88%; }
.bench-chart .bars .b.l2 { background: var(--green-2); opacity: 0.7; height: 62%; }
.bench-chart .bars .b.l3 { background: var(--green-2); opacity: 0.4; height: 46%; }
.bench-chart .bars .b.l4 { background: var(--green-2); opacity: 0.25; height: 28%; }
.bench-chart .axis {
  display: flex; gap: 10px; margin-top: 8px;
  font-size: 10px; color: var(--muted); opacity: 0.7;
}
.bench-chart .axis span { flex: 1; text-align: center; }
.bench-deal {
  position: absolute; background: #fff;
  border-radius: 12px; padding: 8px 12px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 12px 28px -8px rgba(15, 24, 32, 0.18); font-size: 12px;
}
.bench-deal .logo {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--ink-2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.bench-deal .pct {
  padding: 3px 8px; background: var(--green-light);
  color: var(--green); border-radius: 50px;
  font-weight: 700; font-size: 10px;
}
.bench-deal .price { font-weight: 600; color: var(--ink); }
.bench-deal .cta {
  margin-left: 6px; padding: 4px 12px;
  background: var(--green); color: #fff;
  border-radius: 50px; font-weight: 600; font-size: 11px;
}
.bench-deal .cta.dark { background: var(--ink); }
.bench-deal.d1 { top: 28%; right: 5%; }
.bench-deal.d2 { top: 48%; right: 0%; }
.bench-deal.d3 { top: 68%; right: 8%; }

/* Compliance */
.compliance-wrap {
  position: relative; width: 100%;
  display: flex; justify-content: center; align-items: center; z-index: 1;
}
.compliance-ring {
  position: relative; width: 200px; height: 200px;
  border: 3px dashed var(--green-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.compliance-shield {
  width: 90px; height: 108px;
  background: var(--green);
  border-radius: 18px 18px 50px 50px / 18px 18px 70px 70px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 42px; font-weight: 700;
  box-shadow: 0 12px 28px -8px rgba(14, 138, 110, 0.4);
}
.compliance-shield::before { content: "✓"; }
.compliance-orbit {
  position: absolute; width: 60px; height: 60px;
  border-radius: 50%; background: #fff;
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: var(--ink);
  text-align: center; line-height: 1.05; padding: 0 4px;
}
.compliance-orbit.iso { top: -10px; left: -30px; background: linear-gradient(135deg, #fff, #F7F9FB); }
.compliance-orbit.soc { bottom: -10px; left: -20px; background: #E5F0FF; color: #2B5BAF; }
.compliance-orbit.nis { top: -10px; right: -30px; background: #1E3A8A; color: #FFD700; font-size: 9px; }
.compliance-orbit.dora { bottom: -10px; right: -20px; background: #1E3A8A; color: #FFD700; font-size: 9px; }

/* Stats grid */
section.stats-quad { padding: 80px 0 120px; }
.stats-quad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stats-quad-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 48px 44px;
  transition: all .25s;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(15, 24, 32, 0.08);
}
.stat-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.stat-card .ico {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.stat-card .ico.green { color: var(--green); }
.stat-card .ico.gold { color: var(--gold); }
.stat-card .ico.coral { color: var(--coral); }
.stat-card .head-text { font-size: 18px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.stat-card .big {
  font-family: var(--font); font-weight: 700;
  font-size: 88px; line-height: 1; letter-spacing: -0.045em;
  color: var(--ink); margin-bottom: 24px;
  display: flex; align-items: flex-start; gap: 4px;
}
.stat-card .big .arr { font-size: 22px; color: var(--green); font-weight: 700; margin-top: 8px; }
.stat-card .big .arr.up::before { content: "↑"; }
.stat-card .big .arr.plus { color: var(--coral); }
.stat-card .big .arr.plus::before { content: "+"; }
.stat-card .big .arr.gold { color: var(--gold); }
.stat-card p { font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 440px; }

/* Savings header */
section.savings { padding: 120px 0; background: var(--bg); }
.savings h2 {
  text-align: center; font-family: var(--font);
  font-weight: 700; font-size: clamp(30px, 7vw, 88px); line-height: 1.08;
  letter-spacing: -0.04em; color: var(--ink);
  max-width: 1100px; margin: 0 auto;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.savings h2 .accent { color: var(--green); }

/* Mid CTA */
section.mid-cta { padding: 40px 0 120px; text-align: center; }
section.mid-cta .btn { font-size: 16px; padding: 16px 32px; }

/* Stories */
section.stories { padding: 120px 0; background: var(--mint-bg-soft); }
section.stories h2 {
  text-align: center; font-family: var(--font);
  font-weight: 700; font-size: clamp(28px, 5.5vw, 64px); line-height: 1.1;
  letter-spacing: -0.04em; color: var(--ink); margin-bottom: 48px;
  overflow-wrap: anywhere;
}
.tabs {
  display: flex; justify-content: center; gap: 6px;
  padding: 6px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  max-width: fit-content; margin: 0 auto 64px;
  box-shadow: 0 4px 16px -4px rgba(15, 24, 32, 0.06);
}
.tabs button {
  background: transparent; border: 0;
  padding: 14px 32px; font-family: inherit;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  border-radius: var(--r-pill); transition: all .25s; letter-spacing: -0.005em;
}
.tabs button.active { background: var(--green); color: #fff; }
.tabs button:hover:not(.active) { color: var(--ink); }

.story {
  display: grid; grid-template-columns: 0.6fr 1.4fr;
  gap: 64px; align-items: stretch;
  max-width: 1180px; margin: 0 auto;
}
.story .left { padding: 24px 0; }
.story .left .stat { padding: 28px 0; border-bottom: 1px solid var(--line); }
.story .left .stat:first-child { padding-top: 0; }
.story .left .stat:last-child { border-bottom: none; }
.story .left .stat .v {
  font-family: var(--font); font-weight: 700;
  font-size: 64px; line-height: 1; letter-spacing: -0.04em;
  color: var(--green); margin-bottom: 10px;
}
.story .left .stat .l { font-size: 15px; color: var(--ink-2); max-width: 240px; line-height: 1.45; }
.story .right {
  background: #fff; border-radius: var(--r-md);
  padding: 48px;
  box-shadow: 0 8px 32px -8px rgba(15, 24, 32, 0.08);
}
.story .right .mark {
  font-family: Georgia, serif; font-size: 64px;
  line-height: 0.5; color: var(--green); height: 32px; margin-bottom: 24px;
}
.story .right blockquote {
  font-family: var(--font); font-weight: 500;
  font-size: 26px; line-height: 1.4; letter-spacing: -0.015em; color: var(--ink);
}
.story .right .attr {
  display: flex; align-items: center; gap: 18px;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--line); justify-content: space-between;
}
.story .right .attr .who { display: flex; align-items: center; gap: 14px; }
.story .right .attr .av {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--gold));
}
.story .right .attr b { display: block; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.story .right .attr span { font-size: 14px; color: var(--muted); }
.story .right .attr .logo {
  font-weight: 700; font-size: 18px;
  color: var(--ink-2); opacity: 0.65; letter-spacing: -0.02em;
}
.stories .cta { text-align: center; margin-top: 56px; }

/* Footer */
footer { background: var(--footer-green); color: #fff; padding: 80px 0 40px; }
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.foot-grid .about .brand { color: #fff; font-size: 24px; margin-bottom: 24px; }
.foot-grid .about .brand .mark { background: #fff; color: var(--green); }
.foot-grid .about address { font-style: normal; font-size: 14px; color: rgba(255, 255, 255, 0.75); line-height: 1.7; }
.foot-grid .about .email { display: inline-block; margin-top: 24px; font-size: 14px; color: #fff; text-decoration: underline; }
.foot-grid h5 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; letter-spacing: -0.005em; }
.foot-grid ul { list-style: none; }
.foot-grid li { padding: 6px 0; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.foot-grid li a:hover { color: #fff; }
.foot-bar { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.foot-bar .legal { display: flex; gap: 24px; }

/* INTERACTIVE LAYER */
.nav-item .dd {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 24px 48px -16px rgba(15, 24, 32, 0.18);
  padding: 18px; min-width: 480px;
  display: none; opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 50; grid-template-columns: 1fr 1fr; gap: 6px; pointer-events: none;
}
.nav-item:hover .dd,
.nav-item.open .dd {
  display: grid; opacity: 1;
  transform: translateX(-50%) translateY(0); pointer-events: auto;
}
.nav-item .dd a.dd-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px; border-radius: 10px;
  font-weight: 500; font-size: 14px; color: var(--ink);
  transition: background .15s; cursor: pointer;
}
.nav-item .dd a.dd-item:hover { background: var(--mint-bg-soft); }
.nav-item .dd .desc { font-size: 12.5px; color: var(--muted); font-weight: 400; line-height: 1.4; margin-top: 2px; }
.nav-item::after {
  content: ""; position: absolute; top: 100%; left: 0; right: 0;
  height: 20px; z-index: 49;
}

/* Demo modal */
.modal-bg {
  position: fixed; inset: 0;
  background: rgba(15, 24, 32, 0.55); backdrop-filter: blur(6px);
  z-index: 200; display: none;
  align-items: center; justify-content: center;
  padding: 32px; opacity: 0; transition: opacity .25s;
}
.modal-bg.open { display: flex; opacity: 1; }
.modal {
  background: #fff; border-radius: var(--r-lg);
  max-width: 560px; width: 100%; max-height: 90vh;
  overflow: auto;
  box-shadow: 0 32px 80px -16px rgba(15, 24, 32, 0.4);
  transform: scale(0.96); transition: transform .25s; position: relative;
}
.modal-bg.open .modal { transform: scale(1); }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mint-bg-soft); border: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink); cursor: pointer;
  transition: background .15s; z-index: 2;
}
.modal-close:hover { background: var(--mint-bg); }
.modal-head { padding: 40px 40px 18px; border-bottom: 1px solid var(--line); }
.modal-head .eye {
  font-size: 13px; font-weight: 600;
  color: var(--green); letter-spacing: 0.04em;
  text-transform: uppercase; margin-bottom: 10px;
}
.modal-head h3 {
  font-family: var(--font); font-weight: 700;
  font-size: 28px; line-height: 1.15;
  letter-spacing: -0.025em; color: var(--ink);
}
.modal-head p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.modal-body { padding: 32px 40px 40px; }
.modal-progress { display: flex; align-items: center; gap: 6px; margin-bottom: 24px; }
.modal-progress .step {
  flex: 1; height: 4px;
  background: var(--line); border-radius: 4px;
  position: relative; overflow: hidden;
}
.modal-progress .step.done { background: var(--green); }
.modal-progress .step.active { background: linear-gradient(90deg, var(--green) 50%, var(--line) 50%); }
.modal-step { display: none; animation: fade .25s ease; }
.modal-step.active { display: block; }
@keyframes fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-field { margin-bottom: 18px; }
.form-field label {
  font-size: 13px; font-weight: 600;
  color: var(--ink); display: block; margin-bottom: 8px;
}
.form-field input, .form-field select {
  width: 100%; padding: 14px 16px;
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 10px; outline: none; transition: all .15s;
}
.form-field input:focus, .form-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-light);
}
.form-field .err { margin-top: 6px; font-size: 12.5px; color: var(--coral); display: none; }
.form-field.has-error input { border-color: var(--coral); }
.form-field.has-error .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.modal-foot .fine { font-size: 12px; color: var(--muted); max-width: 260px; line-height: 1.5; }
.chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.chip-grid label {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: 10px; cursor: pointer;
  transition: all .15s; font-size: 14px; font-weight: 500;
}
.chip-grid label:hover { border-color: var(--green-2); background: var(--mint-bg-soft); }
.chip-grid input[type=radio] { accent-color: var(--green); width: 16px; height: 16px; flex-shrink: 0; }
.chip-grid input[type=radio]:checked + span { color: var(--green); }
.chip-grid label:has(input:checked) { border-color: var(--green); background: var(--mint-bg-soft); color: var(--green); }

.modal-confirm { text-align: center; padding: 24px 0; }
.modal-confirm .ico-big {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--green); font-size: 40px; font-weight: 700;
  animation: pop .4s ease;
}
@keyframes pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.modal-confirm h4 { font-family: var(--font); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.modal-confirm p { font-size: 15px; color: var(--ink-2); line-height: 1.55; max-width: 380px; margin: 0 auto 24px; }

/* Vendor drawer */
.drawer-bg {
  position: fixed; inset: 0;
  background: rgba(15, 24, 32, 0.4); backdrop-filter: blur(4px);
  z-index: 180; display: none; opacity: 0; transition: opacity .25s;
}
.drawer-bg.open { display: block; opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 540px; max-width: 90vw; background: #fff;
  z-index: 190; transform: translateX(100%);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
  overflow: auto;
  box-shadow: -24px 0 48px -16px rgba(15, 24, 32, 0.25);
}
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 32px 40px 24px; border-bottom: 1px solid var(--line); position: relative; }
.drawer-close {
  position: absolute; top: 24px; right: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--mint-bg-soft); border: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink); cursor: pointer;
}
.drawer-close:hover { background: var(--mint-bg); }
.drawer-head .vbadge { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.drawer-head .vbadge .av {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--green-2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.drawer-head h3 { font-family: var(--font); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.drawer-head .verdict {
  display: inline-block; padding: 5px 14px;
  border-radius: 50px; background: var(--green-light);
  color: var(--green); font-size: 12.5px;
  font-weight: 700; letter-spacing: 0.01em; margin-top: 10px;
}
.drawer-head .verdict.cut { background: var(--coral-soft); color: var(--coral); }
.drawer-body { padding: 24px 40px 40px; }
.drawer-body h5 {
  font-size: 12px; font-weight: 600;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.08em; margin: 24px 0 12px;
}
.drawer-body h5:first-child { margin-top: 0; }
.scorelist { display: flex; flex-direction: column; gap: 8px; }
.scorelist .item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: var(--mint-bg-soft); border-radius: 10px;
}
.scorelist .item .label { font-size: 14px; font-weight: 500; color: var(--ink); }
.scorelist .item .right { display: flex; align-items: center; gap: 12px; }
.scorelist .item .bar { width: 100px; height: 6px; background: var(--line); border-radius: 50px; overflow: hidden; }
.scorelist .item .bar i { display: block; height: 100%; background: var(--green); border-radius: 50px; }
.scorelist .item .n {
  font-weight: 700; color: var(--ink);
  min-width: 32px; text-align: right; font-variant-numeric: tabular-nums;
}
.kvlist {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--line); border-radius: 10px; overflow: hidden;
}
.kvlist .row { display: flex; justify-content: space-between; padding: 14px 16px; background: #fff; font-size: 14px; }
.kvlist .row .k { color: var(--muted); }
.kvlist .row .v { font-weight: 600; color: var(--ink); }
.kvlist .row .v.cut { color: var(--coral); }
.reason {
  padding: 16px; background: var(--coral-soft);
  border-radius: 10px; font-size: 14px;
  color: var(--ink); line-height: 1.5;
}
.reason b { color: var(--coral); }

/* Stories modal */
.modal.wide { max-width: 980px; }
.story-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 24px; }
.story-card {
  background: var(--mint-bg-soft); border-radius: 14px;
  padding: 24px; cursor: pointer; transition: all .2s;
}
.story-card:hover {
  transform: translateY(-3px); background: var(--mint-bg);
  box-shadow: 0 12px 28px -8px rgba(15, 24, 32, 0.1);
}
.story-card .stat-big {
  font-family: var(--font); font-weight: 700;
  font-size: 36px; letter-spacing: -0.035em;
  color: var(--green); margin-bottom: 4px; line-height: 1;
}
.story-card .stat-l { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.story-card .preview {
  font-size: 14px; line-height: 1.5;
  color: var(--ink); font-weight: 500; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.story-card .who { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.story-card .who .av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), var(--gold)); }
.story-card .who b { font-size: 13px; font-weight: 600; letter-spacing: -0.005em; display: block; }
.story-card .who span { font-size: 11.5px; color: var(--muted); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff;
  padding: 14px 22px; border-radius: 50px;
  font-size: 14px; font-weight: 500;
  display: none; opacity: 0; transition: all .25s;
  z-index: 300;
  box-shadow: 0 12px 32px -8px rgba(15, 24, 32, 0.4);
}
.toast.show { display: block; opacity: 1; transform: translateX(-50%) translateY(0); }

/* Vendor rows clickable */
.panel-tool table tbody tr { cursor: pointer; transition: background .15s; }
.panel-tool table tbody tr:hover { background: var(--mint-bg-soft); }
.panel-tool table tbody tr.cut { opacity: 0.55; }

/* ============ SUB-PAGE LAYOUTS ============ */

/* Page hero (smaller than landing hero) */
.page-hero {
  background: var(--mint-bg);
  padding: 120px 0 96px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero .eyebrow {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(14, 138, 110, 0.1);
  color: var(--green);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.page-hero h1 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(28px, 7.5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--ink);
  max-width: 900px;
  margin: 0 auto;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
.page-hero h1 .accent {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .lede {
  margin: 24px auto 0;
  font-size: 18px;
  color: var(--ink-2);
  max-width: 720px;
  line-height: 1.55;
}
.page-hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

/* Generic content section */
.section {
  padding: 96px 0;
}
.section.tight { padding: 64px 0; }
.section.mint { background: var(--mint-bg-soft); }
.section.ink { background: var(--ink); color: #fff; }
.section.ink h2, .section.ink h3 { color: #fff; }
.section h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
}
.section h2 .accent { color: var(--green); }
.section > .wrap > .intro {
  max-width: 720px;
  margin-bottom: 56px;
}
.section > .wrap > .intro p {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
}
.section.center { text-align: center; }
.section.center > .wrap > .intro {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

/* Building blocks (numbered steps) */
.blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.block {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.block:first-child { border-top: none; padding-top: 0; }
.block .num {
  font-family: var(--font);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.04em;
}
.block .num .lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  white-space: nowrap;
}
.block h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.block p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.block ul {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}
.block ul li {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  padding: 6px 0 6px 22px;
  position: relative;
}
.block ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.block .detail {
  background: var(--mint-bg-soft);
  border-radius: var(--r-md);
  padding: 28px;
}
.block .detail h5 {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: all .25s;
}
.pricing-card.featured {
  border-color: var(--green);
  background: linear-gradient(180deg, #fff 0%, var(--mint-bg-soft) 100%);
  box-shadow: 0 16px 40px -16px rgba(14, 138, 110, 0.15);
  position: relative;
}
.featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  letter-spacing: 0.02em;
}
.pricing-card .tier-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.pricing-card .tier-tag {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
  min-height: 38px;
}
.pricing-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}
.pricing-card .price .amount {
  font-family: var(--font);
  font-weight: 800;
  font-size: 56px;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.pricing-card .price .unit {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
}
.pricing-card .price-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  min-height: 20px;
}
.pricing-card .btn {
  margin-bottom: 28px;
  justify-content: center;
  width: 100%;
}
.pricing-card .feat-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.005em;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  flex: 1;
}
.pricing-card ul li {
  font-size: 14.5px;
  line-height: 1.5;
  padding: 8px 0 8px 28px;
  color: var(--ink-2);
  position: relative;
}
.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.pricing-card ul li.dim { color: var(--muted); }
.pricing-card ul li.dim::before {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--muted);
  content: "—";
}

/* Vendor pricing strip */
.vendor-pricing {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 56px 48px;
}
.vendor-pricing h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: #fff;
}
.vendor-pricing p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.vendor-pricing .v-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vendor-pricing .v-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: 24px;
}
.vendor-pricing .v-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.vendor-pricing .v-card .v-price {
  font-family: var(--font);
  font-weight: 700;
  font-size: 22px;
  color: var(--green-2);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.vendor-pricing .v-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
  max-width: none;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 880px;
  margin: 0 auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  transition: all .15s;
}
.faq details[open] {
  border-color: var(--green-2);
  background: var(--mint-bg-soft);
}
.faq summary {
  padding: 22px 28px;
  font-weight: 600;
  font-size: 16.5px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--green);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* Persona cards */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.persona-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px 44px;
  scroll-margin-top: 100px;
}
.persona-card .role-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--mint-bg);
  color: var(--green);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}
.persona-card.b .role-tag { background: var(--coral-soft); color: var(--coral); }
.persona-card.c .role-tag { background: #FFF6E0; color: #9A7A00; }
.persona-card.d .role-tag { background: #E5F0FF; color: #2B5BAF; }
.persona-card h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 16px;
}
.persona-card .pain {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.persona-card .pain b { color: var(--ink); }
.persona-card .winners {
  list-style: none;
  padding: 24px 0 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.persona-card .winners li {
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
  padding: 8px 0 8px 28px;
  position: relative;
}
.persona-card .winners li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--green-light);
}
.persona-card .winners li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--green);
}

/* Customer stories grid */
.cs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.cs-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: all .25s;
}
.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(15, 24, 32, 0.1);
  border-color: var(--green-2);
}
.cs-card .industry {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cs-card h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  flex: 1;
}
.cs-card .results {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  margin: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-card .results .r .v {
  font-family: var(--font);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}
.cs-card .results .r .l {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.cs-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
}
.cs-card .who .av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral), var(--gold));
  flex-shrink: 0;
}
.cs-card .who b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.cs-card .who span {
  font-size: 12.5px;
  color: var(--muted);
}

/* Resource / article cards */
.article-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all .2s;
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--green-2);
  box-shadow: 0 12px 32px -12px rgba(15, 24, 32, 0.08);
}
.article-card .meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--muted);
}
.article-card .meta .tag {
  background: var(--mint-bg);
  color: var(--green);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 11px;
}
.article-card h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 12px;
  flex: 1;
}
.article-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-bottom: 20px;
}
.article-card .read {
  color: var(--green);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Method flow */
.method-flow {
  position: relative;
}
.method-flow::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(180deg, var(--green-2), var(--line));
}
.method-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  padding: 32px 0;
  position: relative;
}
.method-step .dot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--mint-bg);
  border: 2px solid var(--green);
  color: var(--green);
  font-family: var(--font);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.method-step .body h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.method-step .body p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 12px;
}
.method-step .body .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.method-step .body .tag {
  padding: 6px 12px;
  background: var(--mint-bg-soft);
  color: var(--green);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
}

/* Legal pages */
.legal-page {
  padding: 96px 0 120px;
}
.legal-page .legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-page h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 16px;
}
.legal-page .updated {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.legal-page .lang-notice {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  background: var(--mint-bg-soft);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 32px;
}
.legal-page h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 48px 0 16px;
}
.legal-page h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
}
.legal-page p, .legal-page li {
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-page ul, .legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-page li { margin-bottom: 6px; }
.legal-page address {
  font-style: normal;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.7;
  padding: 20px 24px;
  background: var(--mint-bg-soft);
  border-radius: var(--r-md);
  margin: 16px 0;
}

/* Big CTA strip */
.cta-strip {
  background: var(--ink);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-strip h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
  text-wrap: balance;
}
.cta-strip h2 .accent {
  background: linear-gradient(180deg, var(--green-2) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-strip p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip .btn.outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.cta-strip .btn.outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* Responsive sub-page tweaks */
@media (max-width: 1024px) {
  .feat { grid-template-columns: 1fr; gap: 48px; }
  .feat.flip { direction: ltr; }
  .stats-quad-grid { grid-template-columns: 1fr 1fr; }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  h1.hero-h { font-size: 72px; }
  .savings h2 { font-size: 56px; }
  .sec-head h2 { font-size: 48px; }
  .stat-card .big { font-size: 64px; }
}

@media (max-width: 900px) {
  .page-hero h1 { font-size: 48px; }
  .page-hero { padding: 80px 0 64px; }
  .page-hero .lede { font-size: 16.5px; }
  .section { padding: 64px 0; }
  .section h2 { font-size: 32px; }
  .pricing-grid, .vendor-pricing .v-grid, .cs-grid, .article-grid, .persona-grid { grid-template-columns: 1fr; }
  .block { grid-template-columns: 1fr; gap: 16px; }
  .block .detail { margin-top: 8px; }
  .block .num { font-size: 36px; }
  .method-flow::before { left: 24px; }
  .method-step { grid-template-columns: 56px 1fr; gap: 20px; }
  .method-step .dot { width: 56px; height: 56px; font-size: 18px; }
  .method-step .body h3 { font-size: 22px; }
  .vendor-pricing { padding: 32px 24px; }
  .vendor-pricing h3 { font-size: 24px; }
  .legal-page h1 { font-size: 36px; }
  .legal-page { padding: 64px 0 80px; }
  .cta-strip { padding: 56px 0; }
  .cta-strip h2 { font-size: 32px; }
  .stats-quad-grid { grid-template-columns: 1fr; }
  .stat-card { padding: 32px 28px; }
  .stat-card .big { font-size: 56px; }
  .pricing-card { padding: 32px 28px; }
  .pricing-card .price .amount { font-size: 44px; }
}

@media (max-width: 768px) {
  .wrap { padding: 0 20px; }
  .stats-quad-grid.cols-3 { grid-template-columns: 1fr; }

  /* Hero */
  header.hero { padding: 64px 0 80px; }
  h1.hero-h { font-size: 44px; line-height: 1.08; letter-spacing: -0.03em; }
  .hero-lede { font-size: 16px; margin-top: 20px; }
  .hero-cta { margin-top: 32px; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-dot { display: none; }
  header.hero svg.deco { opacity: 0.5; }

  /* Trust strip */
  .trust { padding: 40px 0; }
  .trust .row { gap: 24px; }
  .trust .row span { font-size: 16px; }

  /* Modules */
  section.module { padding: 64px 0; }
  .sec-head { margin-bottom: 48px; }
  .sec-head h2 { font-size: 32px; line-height: 1.15; }
  .feat { gap: 32px; padding: 24px 0; }
  .feat .copy h3 { font-size: 28px; line-height: 1.18; }
  .feat .copy p { font-size: 15.5px; }
  .visual-card { padding: 24px; min-height: 340px; }
  .visual-card .grid-bg { background-size: 24px 24px; }
  .discovery-wrap { flex-direction: column; align-items: stretch; gap: 16px; }
  .cat-stack { width: 100%; }
  .cat-stack { flex-direction: row; flex-wrap: wrap; }
  .cat-stack .cat-card { flex: 1 1 calc(50% - 4px); min-width: 130px; }
  .panel-tool { max-width: none; }
  .panel-tool .body { padding: 16px; }
  .panel-tool h4 { font-size: 18px; }
  .panel-tool table { font-size: 12px; }
  .panel-tool table td, .panel-tool table th { padding: 10px 4px; }

  /* Bench wrap */
  .bench-wrap { min-height: 480px; }
  .bench-savings { position: relative; top: auto; left: auto; padding: 14px 18px; }
  .bench-savings .v { font-size: 26px; }
  .bench-chart { width: 100%; margin-top: 16px; padding: 16px; }
  .bench-chart .bars { height: 100px; }
  .bench-deal { position: relative; width: 100%; flex-wrap: wrap; margin-top: 8px; }
  .bench-deal.d1, .bench-deal.d2, .bench-deal.d3 { top: auto; right: auto; left: auto; }

  /* Compliance */
  .compliance-ring { width: 170px; height: 170px; }
  .compliance-shield { width: 70px; height: 88px; font-size: 32px; }
  .compliance-orbit { width: 52px; height: 52px; font-size: 9px; }

  /* Savings & stats */
  section.savings { padding: 80px 0; }
  .savings h2 { font-size: 36px; line-height: 1.1; }
  section.stats-quad { padding: 56px 0 80px; }
  .stat-card { padding: 28px 24px; }
  .stat-card .head { gap: 12px; margin-bottom: 24px; }
  .stat-card .head-text { font-size: 16px; }
  .stat-card .big { font-size: 48px; }
  .stat-card p { font-size: 14.5px; }

  /* Stories */
  section.stories { padding: 64px 0; }
  section.stories h2 { font-size: 36px; }
  .tabs { margin-bottom: 32px; }
  .tabs button { padding: 10px 18px; font-size: 13.5px; }
  .story .right { padding: 28px 24px; }
  .story .right blockquote { font-size: 19px; line-height: 1.45; }
  .story .right .mark { font-size: 48px; }
  .story .left .stat .v { font-size: 44px; }
  .story .right .attr { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Footer */
  footer { padding: 56px 0 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-grid .about { grid-column: 1 / -1; }
  .foot-bar { flex-direction: column; gap: 12px; align-items: flex-start; }
  .foot-bar .legal { flex-wrap: wrap; gap: 14px; }

  /* Sub-pages */
  .page-hero h1 { font-size: 38px; }
  .page-hero .cta-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .page-hero .cta-row .btn { width: 100%; justify-content: center; }
  .section.tight { padding: 40px 0; }
  .cta-strip h2 { font-size: 28px; }
  .cta-strip p { font-size: 15.5px; }
  .cta-strip { padding: 48px 0; }

  /* Pricing */
  .pricing-card .price .amount { font-size: 40px; }
  .featured-badge { right: 20px; font-size: 11px; padding: 5px 12px; }
  .vendor-pricing h3 { font-size: 22px; }
  .vendor-pricing .v-card { padding: 20px; }
  .vendor-pricing .v-card .v-price { font-size: 18px; }

  /* Persona cards */
  .persona-card { padding: 32px 24px; }
  .persona-card h3 { font-size: 24px; }
  .persona-card .pain { font-size: 14.5px; }

  /* Case study cards */
  .cs-card { padding: 28px 24px; }
  .cs-card h3 { font-size: 19px; }
  .cs-card .results { gap: 16px; }
  .cs-card .results .r .v { font-size: 24px; }

  /* Article cards */
  .article-card { padding: 24px; }
  .article-card h3 { font-size: 17px; }

  /* Demo modal */
  .modal { max-height: 100vh; border-radius: var(--r-md); }
  .modal-head { padding: 28px 24px 14px; }
  .modal-head h3 { font-size: 22px; }
  .modal-body { padding: 20px 24px 28px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .chip-grid { grid-template-columns: 1fr; }
  .modal-foot { flex-direction: column; gap: 12px; align-items: stretch; }
  .modal-foot .btn { width: 100%; justify-content: center; }
  .modal-foot .fine { text-align: center; max-width: none; }
  .modal-bg { padding: 16px; align-items: flex-start; padding-top: 80px; }

  /* Drawer */
  .drawer { width: 100vw; }
  .drawer-head { padding: 24px 24px 16px; }
  .drawer-body { padding: 16px 24px 32px; }

  /* Method flow */
  .method-flow::before { left: 20px; top: 20px; bottom: 20px; }
  .method-step { padding: 24px 0; }
  .method-step .dot { width: 44px; height: 44px; font-size: 16px; }
  .method-step { grid-template-columns: 44px 1fr; gap: 16px; }
  .method-step .body h3 { font-size: 20px; }
  .method-step .body p { font-size: 15px; }
  .method-step .body .tag { font-size: 11.5px; padding: 5px 10px; }
}

@media (max-width: 480px) {
  h1.hero-h { font-size: 38px; }
  .sec-head h2 { font-size: 28px; }
  .savings h2 { font-size: 30px; }
  .section h2 { font-size: 28px; }
  .page-hero h1 { font-size: 32px; }
  .feat .copy h3 { font-size: 24px; }
  .stat-card .big { font-size: 40px; }
  .stat-card .big .arr { font-size: 18px; }
  .panel-tool .body { padding: 14px; }
  .cat-stack .cat-card { flex: 1 1 100%; }
  .footer-bar .legal { gap: 10px; }
}

/* ============ HERO CATEGORY CHIPS ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 40px auto 32px;
}
.category-chip {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all .15s;
  min-height: 44px;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.category-chip:hover {
  border-color: var(--green-2);
  color: var(--green);
  transform: translateY(-1px);
}
.category-chip:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.category-chip:active { transform: translateY(0); }

@media (max-width: 768px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .category-chip { font-size: 13.5px; padding: 12px 14px; }
}
@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; max-width: 100%; margin: 28px auto 24px; }
  .category-chip { font-size: 12.5px; padding: 11px 10px; white-space: normal; line-height: 1.25; }
}

/* ============ PROCESS FLOW (landing) ============ */
.process-flow { position: relative; }
.process-flow-wrap { position: relative; }
.process-flow-sticky {
  position: sticky;
  top: 88px;
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 20px;
  z-index: 1;
}
.process-flow-heading {
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 auto 32px;
  max-width: 720px;
  letter-spacing: -0.02em;
}
.process-flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}
.process-col .col-header {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.process-col.trad .col-header { color: var(--ink-2); }
.process-col.winner .col-header { color: var(--green); }
.phase-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 14px 16px;
  margin-bottom: 12px;
  opacity: 1;
  transform: scale(0.98);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.phase-card.seen { transform: scale(0.98); }
.phase-card.active { transform: scale(1); }
.process-col.trad .phase-card { background: #F5F5F5; }
.process-col.trad .phase-card.active { border-color: var(--ink-2); box-shadow: 0 4px 14px rgba(0,0,0,0.06); }
.process-col.winner .phase-card { background: var(--mint-bg); border-color: var(--green-2); }
.process-col.winner .phase-card.active { border-color: var(--green); box-shadow: 0 4px 18px rgba(14,138,110,0.22); }
.phase-label { font-weight: 600; font-size: 15px; }
.phase-duration {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.phase-duration .ic { flex-shrink: 0; display: block; }
.trad-dur { background: #ECECEC; color: var(--ink-2); }
.winner-dur { background: #fff; color: var(--green); }
.process-flow-total {
  text-align: center;
  margin: 48px auto 0;
  opacity: 0;
  transition: opacity .5s ease;
  max-width: 720px;
}
.process-flow-total.active { opacity: 1; }
.total-row {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  display: inline-flex;
  gap: 16px;
  align-items: baseline;
  letter-spacing: -0.02em;
}
.total-trad { color: var(--ink-2); text-decoration: line-through; }
.total-arr { color: var(--ink-2); font-weight: 400; }
.total-winner { color: var(--green); }
.total-closer { max-width: 640px; margin: 16px auto 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.phase-sentinels {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  pointer-events: none;
}
.sentinel { display: block; height: 80vh; }

@media (max-width: 768px) {
  .process-flow-sticky { position: static; min-height: 0; padding: 24px 16px; z-index: auto; }
  .process-flow-grid { grid-template-columns: 1fr; gap: 12px; }
  .process-col.winner { margin-top: 8px; }
  .sentinel { height: 60vh; }
  .phase-card { opacity: 1; transform: none; }
  .phase-card.active { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .phase-card { opacity: 1; transform: none; transition: none; }
  .process-flow-total { opacity: 1; transition: none; }
}

/* ============ PLATFORM TREE ============ */
.platform-tree-section { padding: 60px 0 80px; }
.platform-tree-section .tree-heading {
  text-align: center;
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
  margin: 0 auto 32px;
}
.tree-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.tree-col {
  position: relative;
  min-height: 620px;
}
.tree-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.tree-nodes {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  padding-left: 56px;
}
.tree-nodes::before {
  content: '';
  position: absolute;
  left: 86px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  background: var(--line);
  z-index: 0;
}
.tree-nodes > .tree-node:not(.atlas) { position: relative; z-index: 1; }
.tree-nodes > .tree-node.atlas {
  z-index: 2;
}
.tree-node {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--mint-bg);
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
  transition: all .15s ease;
}
.tree-node:hover {
  border-color: var(--green-2);
  transform: translateY(-1px);
}
.tree-node.selected {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(14,138,110,0.25);
}
.tree-node:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.tree-node .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  font-size: 12px;
  font-weight: 700;
}
.tree-node.selected .num {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.tree-node.atlas {
  background: #FFF6E0;
  border-color: var(--gold);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.tree-node.atlas::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  width: 180px;
  height: 0;
  border-top: 1.5px dashed var(--gold);
  margin-top: -1px;
  z-index: -1;
  pointer-events: none;
}
.tree-node.atlas:hover { transform: translateY(calc(-50% - 1px)); }
.tree-node.atlas.selected {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(204,160,0,0.25);
}
.tree-atlas-note {
  position: absolute;
  right: 0;
  top: calc(50% + 30px);
  font-size: 12px;
  color: var(--ink-2);
  font-style: italic;
  max-width: 140px;
  text-align: right;
}
.tree-detail {
  position: sticky;
  top: 120px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 36px 36px 32px;
  transition: opacity .2s ease;
  min-height: 400px;
  align-self: start;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.tree-detail h3 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--ink);
}
.tree-detail > p,
.tree-detail .block-p {
  color: var(--ink-2);
  line-height: 1.65;
  font-size: 15.5px;
  margin: 0 0 20px;
  text-align: left;
}
.tree-detail ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: var(--ink);
  text-align: left;
}
.tree-detail ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  line-height: 1.55;
  font-size: 14.5px;
  color: var(--ink-2);
}
.tree-detail ul li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.tree-detail .detail {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--mint-bg);
  border-radius: var(--r-card);
  border-left: 3px solid var(--green);
  text-align: left;
}
.tree-detail .detail h5 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green);
}
.tree-detail .detail p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .tree-layout { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; }
  .tree-col { min-height: 0; }
  .tree-svg { display: none; }
  .tree-nodes { padding-left: 0; align-items: stretch; gap: 10px; }
  .tree-node { justify-content: flex-start; }
  .tree-node.atlas {
    position: static;
    transform: none;
    right: auto;
    top: auto;
  }
  .tree-node.atlas:hover { transform: translateY(-1px); }
  .tree-atlas-note {
    position: static;
    margin-top: 4px;
    text-align: left;
    max-width: none;
  }
  .tree-detail { position: static; padding: 20px; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tree-detail, .tree-node { transition: none; }
}
