/* ====================================================================
   Salesiphy — Enterprise AI Sales Intelligence
   Design system + components
   ==================================================================== */

/* ---------- Tokens ---------- */
:root {
  --indigo: #2456c5;
  --indigo-600: #1948ad;
  --cyan: #179c96;
  --violet: #4778d4;

  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f3f6fa;
  --ink: #14243b;
  --ink-2: #4d5e74;
  --ink-3: #718096;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(16,35,63,.04), 0 4px 12px rgba(16,35,63,.04);
  --shadow: 0 8px 24px rgba(16,35,63,.08);
  --shadow-lg: 0 18px 44px rgba(16,35,63,.12);
  --shadow-glow: 0 16px 42px rgba(36,86,197,.12);

  --grad: linear-gradient(120deg, var(--indigo) 0%, #326bd0 100%);
  --grad-soft: linear-gradient(120deg, rgba(36,86,197,.08), rgba(23,156,150,.06));

  --container: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --nav-h: 72px;
}

[data-theme="dark"] {
  --indigo: #91b4ff;
  --indigo-600: #a8c3ff;
  --cyan: #68d0c8;
  --violet: #91b4ff;
  --bg: #0c1728;
  --bg-alt: #101e32;
  --surface: #13233a;
  --surface-2: #192b43;
  --ink: #edf3fb;
  --ink-2: #bac8da;
  --ink-3: #91a2b9;
  --line: #263a53;
  --line-strong: #39506d;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 12px 36px rgba(0,0,0,.45);
  --shadow-lg: 0 36px 90px rgba(0,0,0,.6);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
h1,h2,h3,h4,h5 { font-family: "Sora", "Inter", sans-serif; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: .95rem; border-radius: 999px;
  padding: 12px 22px; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, opacity .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 9px 16px; font-size: .875rem; }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(99,102,241,.35); }
.btn--primary:hover { box-shadow: 0 14px 34px rgba(99,102,241,.5); }
.btn--ghost { background: var(--surface-2); color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--line-strong); }
.btn--glass {
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  color: var(--ink);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .4s, box-shadow .3s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Sora"; font-weight: 800; font-size: 1.24rem; }
.brand__mark { display: inline-grid; place-items: center; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(99,102,241,.45); }
.brand__name {
  letter-spacing: -.02em;
  background: linear-gradient(120deg, #4f46e5 0%, #8b5cf6 45%, #06b6d4 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 1px 10px rgba(99,102,241,.25));
  transition: filter .3s var(--ease);
}
.brand:hover .brand__name { filter: drop-shadow(0 2px 16px rgba(99,102,241,.45)); }
.footer .brand__name { background: linear-gradient(120deg, #818cf8 0%, #a78bfa 45%, #22d3ee 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-size: .92rem; font-weight: 500; color: var(--ink-2); position: relative; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav__burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 90px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 760px; z-index: 0;
  background:
    radial-gradient(50% 50% at 20% 20%, rgba(99,102,241,.22), transparent 70%),
    radial-gradient(45% 45% at 85% 10%, rgba(6,182,212,.20), transparent 70%),
    radial-gradient(40% 40% at 60% 60%, rgba(139,92,246,.16), transparent 70%);
  filter: blur(8px);
}
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600;
  padding: 7px 14px; border-radius: 999px; color: var(--indigo-600);
  background: var(--grad-soft); border: 1px solid var(--line);
}
[data-theme="dark"] .pill { color: #c7ccff; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 4px rgba(99,102,241,.2); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{ box-shadow:0 0 0 3px rgba(99,102,241,.25);} 50%{ box-shadow:0 0 0 7px rgba(99,102,241,0);} }

.hero__title { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 800; margin: 18px 0 18px; }
.hero__sub { font-size: 1.14rem; color: var(--ink-2); max-width: 540px; }
.hero__cta { display: flex; gap: 14px; margin: 30px 0 22px; flex-wrap: wrap; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--ink-3); font-size: .9rem; }
.hero__trust li { position: relative; padding-left: 18px; }
.hero__trust li::before { content: "✓"; position: absolute; left: 0; color: var(--indigo); font-weight: 700; }

/* ---------- Hero dashboard mockup ---------- */
.hero__visual { position: relative; }
.dash {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); position: relative;
  transform: perspective(1600px) rotateY(-12deg) rotateX(4deg);
  transition: transform .6s var(--ease);
  animation: floaty 7s ease-in-out infinite;
}
.hero__visual:hover .dash { transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); }
@keyframes floaty { 0%,100%{ transform: perspective(1600px) rotateY(-12deg) rotateX(4deg) translateY(0);} 50%{ transform: perspective(1600px) rotateY(-12deg) rotateX(4deg) translateY(-12px);} }

.dash__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.dash__dot { width: 11px; height: 11px; border-radius: 50%; }
.dash__dot--r{background:#ff5f57;} .dash__dot--y{background:#febc2e;} .dash__dot--g{background:#28c840;}
.dash__title { margin-left: 10px; font-size: .8rem; color: var(--ink-3); font-weight: 500; }
.dash__body { display: grid; grid-template-columns: 46px 1fr; min-height: 360px; }

.dash__side { background: var(--surface-2); border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; }
.dash__logo { margin-bottom: 8px; }
.dash__navitem { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 1rem; color: var(--ink-3); transition: .2s; }
.dash__navitem.is-active, .dash__navitem:hover { background: var(--grad-soft); color: var(--indigo); }

.dash__main { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.kpi { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px; }
.kpi__label { display: block; font-size: .68rem; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.kpi__val { display: block; font-family: "Sora"; font-weight: 700; font-size: 1.3rem; margin-top: 2px; }
.kpi__trend { font-size: .72rem; font-weight: 600; }
.kpi__trend.up { color: #16a34a; }

.dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.widget { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; }
.widget__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.widget__head h4 { font-size: .82rem; font-family: "Inter"; font-weight: 600; }
.badge { font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.badge--good { background: rgba(22,163,74,.14); color: #16a34a; border-color: transparent; }
.spark { width: 100%; height: 70px; }

.opp { display: flex; flex-direction: column; gap: 8px; }
.opp li { display: flex; align-items: center; justify-content: space-between; font-size: .76rem; padding: 6px 8px; border-radius: 8px; background: var(--surface); }
.opp__score { font-family: "Sora"; font-weight: 700; font-size: .72rem; padding: 2px 8px; border-radius: 6px; }
.opp__score.good { background: rgba(22,163,74,.15); color: #16a34a; }
.opp__score.warn { background: rgba(245,158,11,.18); color: #d97706; }

.chat { display: flex; flex-direction: column; gap: 8px; }
.chat__msg { font-size: .72rem; padding: 8px 10px; border-radius: 10px; max-width: 92%; }
.chat__msg--user { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 2px; }
.chat__msg--ai { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 2px; color: var(--ink-2); }
.chat__msg--ai b { color: var(--ink); }
.cite { color: var(--indigo); font-weight: 600; }

.matrix { display: flex; flex-direction: column; gap: 7px; }
.matrix__row { display: flex; align-items: center; justify-content: space-between; font-size: .74rem; }
.m { width: 16px; height: 16px; border-radius: 5px; display: inline-block; }
.m--ok { background: #16a34a; }
.m--partial { background: #f59e0b; }
.m--miss { background: #ef4444; }

.dash__float {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 12px; padding: 9px 13px; font-size: .8rem; font-weight: 600;
}
.float-1 { top: 18px; right: -22px; animation: floaty2 6s ease-in-out infinite; }
.float-2 { bottom: 26px; left: -26px; animation: floaty2 6s ease-in-out infinite .8s; }
@keyframes floaty2 { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }

/* ---------- Logos ---------- */
.logos { padding: 40px 0 10px; border-top: 1px solid var(--line); }
.logos__label { text-align: center; color: var(--ink-3); font-size: .9rem; margin-bottom: 22px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 38px; }
.logos__row span { font-family: "Sora"; font-weight: 700; font-size: 1.02rem; color: var(--ink-3); opacity: .8; transition: .25s; }
.logos__row span:hover { opacity: 1; color: var(--ink); }

/* ---------- Section shell ---------- */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); margin-bottom: 14px; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section__lead { color: var(--ink-2); font-size: 1.08rem; margin-top: 16px; }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.module {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  position: relative; overflow: hidden;
}
.module::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .3s;
}
.module:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.module:hover::before { opacity: 1; }
.module > * { position: relative; }
.module__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; box-shadow: var(--shadow); }
.module__icon svg { width: 26px; height: 26px; }
.module h3 { font-size: 1.18rem; margin-bottom: 8px; }
.module p { color: var(--ink-2); font-size: .95rem; }
.i1{background:linear-gradient(135deg,#6366f1,#8b5cf6);}
.i2{background:linear-gradient(135deg,#06b6d4,#3b82f6);}
.i3{background:linear-gradient(135deg,#8b5cf6,#ec4899);}
.i4{background:linear-gradient(135deg,#10b981,#06b6d4);}
.i5{background:linear-gradient(135deg,#f59e0b,#ef4444);}
.i6{background:linear-gradient(135deg,#6366f1,#06b6d4);}
.i7{background:linear-gradient(135deg,#3b82f6,#6366f1);}
.i8{background:linear-gradient(135deg,#ef4444,#f59e0b);}
.i9{background:linear-gradient(135deg,#8b5cf6,#6366f1);}
.i10{background:linear-gradient(135deg,#06b6d4,#10b981);}

/* ---------- Dashboard section ---------- */
.dashboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dashboard__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.dashboard__panel--wide { grid-column: span 2; }
.dashboard__panelhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dashboard__panelhead h3 { font-size: 1.05rem; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg__btn { font-size: .76rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; color: var(--ink-3); }
.seg__btn.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

.bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; }
.bar { flex: 1; height: var(--h); background: var(--grad); border-radius: 8px 8px 4px 4px; position: relative; display: flex; align-items: flex-end; justify-content: center; }
.bar span { position: absolute; bottom: -22px; font-size: .72rem; color: var(--ink-3); }

.donut { position: relative; width: 150px; margin: 6px auto 14px; }
.donut svg { transform: rotate(-90deg); width: 100%; }
.donut__bg { fill: none; stroke: var(--surface-2); stroke-width: 12; }
.donut__fg { fill: none; stroke: url(#logoGrad); stroke-width: 12; stroke-linecap: round;
  stroke-dasharray: 314; stroke-dashoffset: 314; transition: stroke-dashoffset 1.6s var(--ease); }
.donut__fg.is-filled { stroke-dashoffset: calc(314 - (314 * var(--p) / 100)); }
.donut__label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__label strong { font-family: "Sora"; font-size: 1.6rem; }
.donut__label span { font-size: .72rem; color: var(--ink-3); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; font-size: .78rem; color: var(--ink-2); }
.lg { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 5px; }
.lg--ok{background:#16a34a;} .lg--part{background:#f59e0b;} .lg--miss{background:#ef4444;}

.dtable { width: 100%; border-collapse: collapse; font-size: .9rem; }
.dtable th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.dtable td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.dtable tbody tr:hover { background: var(--surface-2); }
.tag { font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tag--low{background:rgba(22,163,74,.14);color:#16a34a;}
.tag--mid{background:rgba(245,158,11,.18);color:#d97706;}
.tag--high{background:rgba(239,68,68,.16);color:#ef4444;}
.tag--go{background:rgba(99,102,241,.16);color:var(--indigo);}
.tag--rev{background:rgba(139,92,246,.16);color:#8b5cf6;}
.tag--hold{background:var(--surface-2);color:var(--ink-3);}

.agents { display: flex; flex-direction: column; gap: 12px; }
.agents li { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.agents__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--indigo); }
.agents__state { margin-left: auto; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.agents__state.ok { background: rgba(22,163,74,.14); color: #16a34a; }
.agents__state.run { background: rgba(6,182,212,.16); color: #0891b2; }

/* ---------- Workflow ---------- */
.flow { display: flex; align-items: stretch; gap: 4px; overflow-x: auto; padding-bottom: 14px; }
.flow__step { flex: 1 0 150px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; box-shadow: var(--shadow-sm); position: relative; }
.flow__num { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; font-family: "Sora"; font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; }
.flow__step h4 { font-size: 1rem; margin-bottom: 6px; }
.flow__step p { font-size: .85rem; color: var(--ink-2); }
.flow__arrow { align-self: center; color: var(--ink-3); font-size: 1.4rem; flex: 0 0 auto; }
.flow__step--win { background: var(--grad); border-color: transparent; }
.flow__step--win h4, .flow__step--win p { color: #fff; }

/* ---------- Industries ---------- */
.industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 880px; margin-inline: auto; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; font-weight: 600; font-size: .92rem; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: .25s; }
.chip:hover { color: var(--ink); border-color: var(--indigo); transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 22px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.benefit__num { display: block; font-family: "Sora"; font-weight: 800; font-size: 2.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.benefit__num--text { font-size: 1.7rem; }
.benefit p { color: var(--ink-2); font-size: .96rem; margin-top: 8px; }

/* ---------- Security ---------- */
.security { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.security__list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.security__list li { display: flex; gap: 12px; font-size: 1rem; color: var(--ink-2); }
.tick { color: var(--indigo); font-weight: 700; flex: 0 0 auto; }
.security__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sec-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.sec-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.sec-card__ic { font-size: 1.6rem; margin-bottom: 12px; }
.sec-card h4 { font-size: 1rem; margin-bottom: 6px; }
.sec-card p { font-size: .85rem; color: var(--ink-2); }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.compare__col { border-radius: var(--radius-lg); padding: 34px 30px; border: 1px solid var(--line); }
.compare__col--old { background: var(--surface); }
.compare__col--new { position: relative; background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }
.compare__col h3 { font-size: 1.3rem; margin-bottom: 20px; }
.compare__col ul { display: flex; flex-direction: column; gap: 14px; }
.compare__col li { display: flex; gap: 12px; font-size: .98rem; align-items: flex-start; }
.compare__col--old li { color: var(--ink-2); }
.x, .v { flex: 0 0 auto; font-weight: 700; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }
.x { background: rgba(239,68,68,.15); color: #ef4444; }
.compare__col--new .v { background: rgba(255,255,255,.25); color: #fff; }
.compare__badge { position: absolute; top: -14px; left: 30px; background: #fff; color: var(--indigo); font-weight: 700; font-size: .8rem; padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow); }

/* ---------- Testimonials ---------- */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.testi__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi__card blockquote { font-size: 1rem; color: var(--ink); line-height: 1.65; }
.testi__card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi__av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; display: grid; place-items: center; font-family: "Sora"; }
.testi__card figcaption strong { display: block; font-size: .92rem; }
.testi__card figcaption span { font-size: .82rem; color: var(--ink-3); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative; }
.plan--featured { border-color: transparent; box-shadow: var(--shadow-glow); background: var(--surface); overflow: hidden; }
.plan--featured::before { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: var(--radius-lg); background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__flag { position: absolute; top: 18px; right: 18px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; }
.plan__for { color: var(--ink-3); font-size: .9rem; margin: 6px 0 18px; }
.plan__price { font-family: "Sora"; font-weight: 800; font-size: 2.4rem; margin-bottom: 20px; }
.plan__cur { font-size: 1.3rem; vertical-align: super; color: var(--ink-2); }
.plan__per { font-size: .95rem; font-weight: 500; color: var(--ink-3); }
.plan ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan ul li { font-size: .94rem; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 1.02rem; font-weight: 600; text-align: left; color: var(--ink); }
.acc__ic { font-size: 1.4rem; color: var(--indigo); flex: 0 0 auto; transition: transform .3s; }
.acc__item.open .acc__ic { transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__a p { padding: 0 24px 22px; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 100px 0; text-align: center; overflow: hidden; }
.cta__glow { position: absolute; inset: 0; background: var(--grad); opacity: .12; }
.cta__inner { position: relative; z-index: 1; max-width: 720px; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta p { color: var(--ink-2); font-size: 1.1rem; margin: 16px 0 30px; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; }
.footer__brand p { color: var(--ink-3); font-size: .92rem; margin: 16px 0 18px; max-width: 320px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; font-size: .8rem; font-weight: 700; color: var(--ink-2); transition: .2s; }
.footer__social a:hover { color: var(--ink); border-color: var(--indigo); transform: translateY(-2px); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__cols h5 { font-size: .95rem; margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--ink-3); font-size: .9rem; padding: 5px 0; transition: color .2s; }
.footer__cols a:hover { color: var(--indigo); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; flex-wrap: wrap; gap: 12px; }
.footer__legal a { margin-left: 18px; }
.footer__legal a:hover { color: var(--indigo); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(7,11,22,.55); backdrop-filter: blur(6px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal__card { position: relative; z-index: 1; width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal__close { position: absolute; top: 16px; right: 18px; font-size: 1.6rem; color: var(--ink-3); line-height: 1; }
.modal__close:hover { color: var(--ink); }
.modal__brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Sora"; font-weight: 700; margin-bottom: 6px; }
.modal__card h3 { font-size: 1.6rem; }
.modal__sub { color: var(--ink-2); font-size: .95rem; margin: 8px 0 22px; }
.modal__form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.modal__success { text-align: center; padding: 14px 0; }
.modal__check { width: 64px; height: 64px; border-radius: 50%; background: rgba(22,163,74,.15); color: #16a34a; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 16px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { max-width: 560px; margin-inline: auto; }
  .dashboard { grid-template-columns: repeat(2, 1fr); }
  .dashboard__panel--wide { grid-column: span 2; }
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .testi, .pricing, .modules { grid-template-columns: repeat(2, 1fr); }
  .security { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px; box-shadow: var(--shadow);
  }
  .nav__burger { display: flex; }
  .nav__actions .btn--ghost { display: none; }
  .section { padding: 64px 0; }
  .modules, .testi, .pricing, .benefits { grid-template-columns: 1fr; }
  .dashboard { grid-template-columns: 1fr; }
  .dashboard__panel--wide { grid-column: span 1; }
  .compare { grid-template-columns: 1fr; }
  .security__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .flow { flex-wrap: nowrap; }
  .dash { transform: none; animation: none; }
  .float-1, .float-2 { display: none; }
}
@media (max-width: 440px) {
  .security__grid, .footer__cols { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Enterprise refinement ---------- */
.btn { border-radius: 10px; will-change: auto; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { box-shadow: 0 5px 14px rgba(36,86,197,.18); }
.btn--primary:hover { box-shadow: 0 8px 18px rgba(36,86,197,.24); }

.brand__mark { box-shadow: 0 4px 12px rgba(36,86,197,.2); }
.brand__name {
  background: none;
  color: #1948ad;
  -webkit-text-fill-color: #1948ad;
  filter: none;
}
.brand:hover .brand__name { filter: none; }
.footer .brand__name {
  color: #8eafff;
  -webkit-text-fill-color: #8eafff;
}
[data-theme="dark"] .brand__name {
  color: #a8c3ff;
  -webkit-text-fill-color: #a8c3ff;
}
.btn--primary { background: linear-gradient(120deg, #1948ad 0%, #2456c5 100%); }
.grad-text {
  background: linear-gradient(120deg, #1948ad 0%, #2456c5 70%, #147d78 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .grad-text {
  background: linear-gradient(120deg, #a8c3ff 0%, #91b4ff 68%, #68d0c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero { padding: 88px 0 78px; }
.hero__glow {
  inset: 0 0 auto;
  height: 640px;
  background:
    radial-gradient(45% 58% at 12% 8%, rgba(36,86,197,.09), transparent 72%),
    radial-gradient(38% 48% at 88% 2%, rgba(23,156,150,.07), transparent 72%);
  filter: none;
}
.hero__inner { gap: 44px; }
.hero__title { max-width: 640px; font-size: clamp(2.55rem, 4.7vw, 3.7rem); }
.hero__sub { max-width: 570px; }
.hero__trust { gap: 8px 18px; }
.hero__trust li::before { color: var(--cyan); }

.dash {
  transform: none;
  animation: none;
  box-shadow: var(--shadow-lg);
}
.hero__visual:hover .dash { transform: none; }
.dash__sample { color: var(--ink-3); font-size: .72rem; }
.dash__main { gap: 10px; }
.dash__kpis { gap: 8px; }
.kpi { padding: 9px 10px; }
.kpi__val { font-size: 1rem; }
.kpi__trend { color: var(--ink-3); font-size: .65rem; }
.dash__float { box-shadow: var(--shadow); border-radius: 9px; }
.float-1, .float-2 { animation: none; }

.module::before { display: none; }
.module { box-shadow: var(--shadow-sm); }
.module:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.module__icon { color: var(--indigo); background: #edf2ff; box-shadow: none; }
.i1, .i2, .i3, .i4, .i5, .i6, .i7, .i8, .i9, .i10 { background: #edf2ff; }
.i2, .i4, .i10 { color: #147d78; background: #e8f6f4; }
.i5, .i8 { color: #a24b25; background: #fff2e9; }

.section__head { margin-bottom: 44px; }
.benefit { text-align: left; padding: 25px 22px; }
.benefit__num--text {
  min-height: 2.7em;
  display: flex;
  align-items: flex-end;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--indigo);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.benefit p { margin-top: 10px; }
.security__grid { grid-template-columns: repeat(2, 1fr); }
.sec-card__ic { color: var(--indigo); font-family: "Sora"; font-size: .9rem; font-weight: 700; }

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  overflow: visible;
}
.flow__arrow { display: none; }
.flow__step { min-width: 0; }
.flow__num { border-radius: 10px; background: #edf2ff; color: var(--indigo); }
.flow__step--win { background: var(--indigo); }
.flow__step--win .flow__num { background: rgba(255,255,255,.18); color: #fff; }

.compare__col--new {
  background: var(--surface);
  color: var(--ink);
  border-color: rgba(36,86,197,.35);
  box-shadow: var(--shadow-sm);
}
.compare__col--new li { color: var(--ink-2); }
.compare__col--new .v { background: #e8f6f4; color: #147d78; }
.compare__badge { background: var(--indigo); color: #fff; box-shadow: none; }
.testi__card { box-shadow: var(--shadow-sm); }
.testi__card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.testi__av { border-radius: 10px; background: #edf2ff; color: var(--indigo); font-size: .88rem; }
.plan { box-shadow: var(--shadow-sm); }
.plan--featured { border: 1px solid rgba(36,86,197,.5); box-shadow: var(--shadow); }
.plan--featured::before { display: none; }
.plan__price { font-size: 1.35rem; line-height: 1.35; }
.plan__flag { background: #edf2ff; color: var(--indigo); }

.cta { background: #10233f; color: #fff; }
.cta__glow { display: none; }
.cta p { color: rgba(255,255,255,.76); }
.cta .btn--ghost, .cta .btn--glass {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.cta .btn--ghost:hover, .cta .btn--glass:hover { border-color: rgba(255,255,255,.7); }

.modal__error {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #f1c8c1;
  border-radius: 10px;
  background: #fff5f2;
  color: #8e3022;
  font-size: .9rem;
}
.modal__error a { font-weight: 700; text-decoration: underline; }
.btn:disabled { cursor: wait; opacity: .7; transform: none; }
.acc__q:focus-visible, .btn:focus-visible, a:focus-visible, .nav__burger:focus-visible {
  outline: 3px solid rgba(36,86,197,.38);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .nav__inner { gap: 14px; }
  .nav__links { gap: 12px; }
  .nav__links a { font-size: .82rem; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero { padding: 64px 0; }
  .hero__inner { gap: 36px; }
  .flow { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 440px) {
  .benefits, .security__grid, .footer__cols { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.4rem; }
  .dash__body { grid-template-columns: 34px 1fr; }
  .dash__navitem { width: 30px; height: 30px; }
  .dash__main { padding: 10px; }
  .kpi { padding: 8px 6px; }
  .kpi__val { font-size: .82rem; }
  .kpi__label { font-size: .58rem; }
}

/* ---------- Multi-page layouts ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
}
.skip-link:focus { transform: translateY(0); }
.nav__links a[aria-current="page"], .nav__links a[aria-current="location"] { color: var(--ink); }
.nav__links a[aria-current="page"]::after, .nav__links a[aria-current="location"]::after { width: 100%; }
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    radial-gradient(48% 72% at 95% 5%, rgba(23,156,150,.08), transparent 75%),
    radial-gradient(44% 72% at 5% 10%, rgba(36,86,197,.08), transparent 75%),
    var(--bg-alt);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}
.page-hero__copy { max-width: 730px; }
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px;
  color: var(--ink-3);
  font-size: .88rem;
}
.breadcrumbs a:hover { color: var(--indigo); }
.page-hero__copy .eyebrow { margin-bottom: 12px; }
.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5vw, 4.2rem);
  text-wrap: balance;
}
.page-hero__lead {
  max-width: 62ch;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.65;
  text-wrap: pretty;
}
.page-hero .hero__cta { margin-bottom: 0; }
.page-hero__note {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.note-label {
  color: var(--ink-3);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.outcome-list { display: grid; gap: 0; margin-top: 16px; }
.outcome-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.outcome-list li:last-child { border-bottom: 0; padding-bottom: 4px; }
.outcome-list li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: #edf2ff;
  color: var(--indigo);
  font-size: .75rem;
  font-weight: 800;
}
.outcome-list strong, .outcome-list small { display: block; }
.outcome-list strong { font-size: .98rem; }
.outcome-list small { margin-top: 3px; color: var(--ink-2); font-size: .86rem; line-height: 1.45; }
.sample-note { margin-top: 20px; color: var(--ink-3); font-size: .78rem; line-height: 1.55; }
.sample-note--wide { max-width: 72ch; }
.section__head--left { max-width: 760px; margin-left: 0; text-align: left; }
.section__head--left .section__lead { max-width: 65ch; }

.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.detail-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 270px;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.detail-card__index {
  margin-bottom: 26px;
  color: var(--indigo);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.detail-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.detail-card p { color: var(--ink-2); font-size: .95rem; line-height: 1.65; }
.detail-card > a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  color: var(--indigo);
  font-size: .9rem;
  font-weight: 700;
}
.detail-card > a:hover, .text-link:hover { color: var(--cyan); }
.check-list { display: grid; gap: 8px; margin-top: 18px; color: var(--ink-2); font-size: .87rem; }
.check-list li { position: relative; padding-left: 18px; }
.check-list li::before { position: absolute; left: 0; color: var(--cyan); content: "✓"; font-weight: 800; }

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: center;
}
.split-panel > div:first-child .section__title { max-width: 600px; }
.split-panel .section__lead { margin-bottom: 22px; }
.text-link { color: var(--indigo); font-weight: 700; }
.review-stack {
  padding: 10px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.review-stack > div {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.review-stack > div:last-child { border-bottom: 0; }
.review-stack__check {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: #e8f6f4;
  color: #147d78;
  font-size: .82rem;
  font-weight: 800;
}
.review-stack p strong, .review-stack p small { display: block; }
.review-stack p strong { font-size: .92rem; }
.review-stack p small { margin-top: 3px; color: var(--ink-2); font-size: .84rem; }

.steps-list { border-top: 1px solid var(--line); }
.step-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) minmax(170px, .38fr);
  gap: 22px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.step-row__number { color: var(--indigo); font-family: "Sora"; font-size: 1.1rem; font-weight: 700; }
.step-row h3 { margin-bottom: 7px; font-size: 1.16rem; }
.step-row p { max-width: 68ch; color: var(--ink-2); font-size: .95rem; }
.step-row aside strong, .step-row aside span { display: block; }
.step-row aside strong { margin-bottom: 4px; color: var(--ink-3); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.step-row aside span { color: var(--ink); font-size: .9rem; font-weight: 600; }

.audience-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.audience-tags span { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: .9rem; }
.outcome-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.outcome-strip > div { padding: 24px; border-right: 1px solid var(--line); }
.outcome-strip > div:last-child { border-right: 0; }
.outcome-strip strong, .outcome-strip span { display: block; }
.outcome-strip strong { margin-bottom: 8px; color: var(--indigo); font-family: "Sora"; font-size: 1.02rem; }
.outcome-strip span { color: var(--ink-2); font-size: .9rem; }

.price-factors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; border-top: 1px solid var(--line); }
.price-factors article { display: grid; grid-template-columns: 46px 1fr; gap: 15px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.price-factors article > span { color: var(--indigo); font-family: "Sora"; font-weight: 700; }
.price-factors h3 { margin-bottom: 6px; font-size: 1.02rem; }
.price-factors p { color: var(--ink-2); font-size: .9rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr); gap: clamp(35px, 7vw, 90px); align-items: start; }
.contact-copy .section__title { max-width: 520px; }
.contact-copy .section__lead { margin-bottom: 28px; }
.contact-note { margin: 26px 0; padding: 20px; border-left: 3px solid var(--cyan); background: var(--surface); }
.contact-note strong { font-size: .95rem; }
.contact-note p { margin: 6px 0 12px; color: var(--ink-2); font-size: .9rem; }
.contact-form-card { padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.contact-form-card .modal__form { gap: 16px; }
.contact-form-card .field input, .contact-form-card .field select { min-height: 48px; }
.contact-form-card .modal__success { text-align: left; }
.contact-form-card .modal__check { margin: 0 0 18px; }
.contact-form-card .modal__error { margin-top: 18px; }
.not-found { display: grid; min-height: 100vh; align-items: center; }
.not-found .container { max-width: 760px; padding-block: 80px; }
.not-found h1 { margin-top: 12px; font-size: clamp(2.6rem, 7vw, 5rem); }
.not-found .page-hero__lead { margin-bottom: 28px; }

@media (max-width: 1024px) {
  .page-hero__grid, .split-panel { grid-template-columns: 1fr; }
  .page-hero__note { max-width: 680px; }
  .detail-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .page-hero { padding: 54px 0; }
  .detail-grid, .detail-grid--three, .price-factors { grid-template-columns: 1fr; }
  .detail-card { min-height: 0; }
  .step-row { grid-template-columns: 38px 1fr; gap: 10px 16px; }
  .step-row aside { grid-column: 2; }
  .outcome-strip { grid-template-columns: 1fr; }
  .outcome-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .outcome-strip > div:last-child { border-bottom: 0; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .page-hero h1 { font-size: 2.35rem; }
  .breadcrumbs { margin-bottom: 22px; }
  .page-hero .hero__cta .btn { width: 100%; }
  .nav__inner { gap: 8px; }
  .nav__actions { gap: 6px; }
  .nav__actions .btn--sm { padding: 9px 10px; font-size: .8rem; }
}
