/* ============ Fonts (self-hosted, SIL Open Font License; no third-party requests) ============ */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ============ Tokens ============ */
:root {
  --bg: #FBFAF7;
  --bg-alt: #F4F2EC;
  --surface: #FFFFFF;
  --ink: #0E1116;
  --ink-2: #363C47;
  --muted: #6A707C;
  --faint: #9AA0AA;
  --line: #E6E3DB;
  --line-2: #EFEDE7;

  --accent: #E2552B;        /* ember */
  --accent-strong: #C4441D;
  --accent-soft: #FCEDE6;
  --green: #137A57;
  --green-soft: #E4F3EC;
  --blue-soft: #EAF0FB;
  --blue: #2F5BB7;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(14,17,22,.05);
  --shadow: 0 1px 2px rgba(14,17,22,.04), 0 8px 24px -8px rgba(14,17,22,.10);
  --shadow-lg: 0 1px 2px rgba(14,17,22,.04), 0 24px 60px -20px rgba(14,17,22,.22);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -0.035em; }
h3 { font-size: 1.06rem; letter-spacing: -0.012em; line-height: 1.3; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 500; font-size: .95rem; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .ic { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 36px; padding: 0 14px; font-size: .88rem; border-radius: 9px; }
.btn--lg { height: 50px; padding: 0 22px; font-size: 1rem; border-radius: 11px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 1px 2px rgba(14,17,22,.2); }
.btn--primary:hover { background: #262B34; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 6px 20px -6px rgba(226,85,43,.6); }
.btn--accent:hover { background: var(--accent-strong); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: #CFCBC0; }

.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* ============ Small UI ============ */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; color: var(--ink-2); box-shadow: var(--shadow-sm);
}
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-size: .72rem; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.tag--muted { background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; font-size: .78rem; font-weight: 500; background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line); }
.chip--accent { background: var(--accent-soft); color: var(--accent-strong); border-color: #F6D4C6; }
.eyebrow { font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-strong); margin-bottom: 16px; }
.eyebrow--light { color: #FF9C7A; }
.sub { font-size: 1.1rem; color: var(--ink-2); max-width: 600px; margin-top: 18px; line-height: 1.6; }
.sub--light { color: #B9BEC8; }
.caption { margin-top: 14px; font-size: .8rem; color: var(--faint); }
.caption--center { text-align: center; margin-top: 28px; }
.fine { font-size: .82rem; color: var(--muted); line-height: 1.55; }
.fine--center { text-align: center; margin-top: 12px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #F6D9CB, #EFC3AE); color: #7A2E14; font-weight: 600; font-size: .8rem; flex: none; }
.avatar--sm { width: 32px; height: 32px; font-size: .72rem; background: linear-gradient(135deg, #DCE6F7, #C5D5F2); color: #1F3F82; }

/* ============ Nav ============ */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.78); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(251,250,247,.9); }
.nav__inner { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.12rem; letter-spacing: -0.03em; }
.logo__mark svg { width: 28px; height: 28px; }
.logo__mark rect { fill: var(--ink); }
.logo__mark path { fill: none; stroke: #F26A3D; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.logo--sm .logo__mark svg { width: 24px; height: 24px; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 12px; border-radius: 8px; font-size: .92rem; color: var(--ink-2); transition: color .2s, background .2s; }
.nav__links a:hover { color: var(--ink); background: rgba(14,17,22,.04); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); padding: 12px 16px 20px; display: grid; gap: 2px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { padding: 12px 8px; font-size: 1.02rem; border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { margin-top: 14px; }

/* ============ Hero ============ */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 22px; }
.hl { color: var(--accent); }
.lede { margin-top: 22px; font-size: 1.18rem; color: var(--ink-2); max-width: 540px; line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.hero__points li { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.hero__points .ic { width: 16px; height: 16px; color: var(--green); stroke-width: 2.2; }

/* Dashboard */
.dash { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.dash__bar { display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line-2); background: #FDFCFA; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #E3E0D8; }
.dash__title { font-size: .84rem; font-weight: 500; color: var(--ink-2); margin-right: auto; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-2); }
.kpi { padding: 14px 16px; display: grid; gap: 4px; }
.kpi + .kpi { border-left: 1px solid var(--line-2); }
.kpi__label { font-size: .72rem; color: var(--muted); white-space: nowrap; }
.kpi__val { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; transition: color .4s; }
.kpi__val--accent { color: var(--green); }
.kpi__val.is-bumped { animation: bump .7s var(--ease); }
@keyframes bump { 40% { transform: translateY(-3px); color: var(--accent); } }
.dash__body { padding: 18px; background: linear-gradient(#FDFCFA, #FFFFFF); }
.opp { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 16px; box-shadow: var(--shadow-sm); }
.opp__head { display: flex; align-items: center; gap: 12px; }
.opp__name { font-weight: 600; font-size: .93rem; letter-spacing: -0.01em; }
.opp__meta { font-size: .8rem; color: var(--muted); margin-top: 1px; }
.status { margin-left: auto; height: 24px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 6px; font-size: .74rem; font-weight: 500; white-space: nowrap; background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); transition: all .35s var(--ease); }
.status[data-s="1"] { background: var(--blue-soft); color: var(--blue); border-color: #D3DEF4; }
.status[data-s="2"] { background: var(--accent-soft); color: var(--accent-strong); border-color: #F6D4C6; }
.status[data-s="3"] { background: var(--green-soft); color: var(--green); border-color: #C7E6D7; }

.stages { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stage { width: 100%; background: none; border: 0; padding: 4px 2px; display: grid; justify-items: start; gap: 8px; cursor: pointer; text-align: left; }
.stage__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #D6D2C8; background: var(--surface); transition: all .35s var(--ease); }
.stage__label { font-size: .74rem; line-height: 1.25; color: var(--faint); transition: color .3s; }
.stage.is-done .stage__dot { background: var(--ink); border-color: var(--ink); }
.stage.is-done .stage__label { color: var(--ink-2); }
.stage.is-active .stage__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.stage.is-active .stage__label { color: var(--ink); font-weight: 500; }
.stage:hover .stage__label { color: var(--ink); }
.stages__track { height: 2px; background: var(--line-2); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.stages__track span { display: block; height: 100%; width: 25%; background: var(--accent); border-radius: 2px; transition: width .6s var(--ease); }

.feed { margin-top: 16px; min-height: 176px; display: grid; gap: 8px; align-content: start; }
.event { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: #FAF9F6; border: 1px solid var(--line-2); font-size: .83rem; color: var(--ink-2); animation: rise .45s var(--ease) both; }
.event .ic { width: 16px; height: 16px; margin-top: 1px; color: var(--muted); }
.event b { color: var(--ink); font-weight: 600; }
.event__time { margin-left: auto; font-family: var(--mono); font-size: .7rem; color: var(--faint); white-space: nowrap; padding-left: 8px; }
.event--mail { background: var(--surface); border-color: var(--line); display: block; }
.event--mail .mail__head { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--muted); margin-bottom: 6px; }
.event--mail .mail__head .ic { color: var(--blue); }
.event--mail p { color: var(--ink); line-height: 1.5; }
.event--reply { background: var(--accent-soft); border-color: #F6D4C6; }
.event--reply .ic { color: var(--accent-strong); }
.event--win { background: var(--green-soft); border-color: #C7E6D7; }
.event--win .ic { color: var(--green); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============ Sections ============ */
.section { padding: 112px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section__head--split .sub { margin-top: 0; }

/* Problem */
.problem { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: start; }
.problem__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pcard { display: flex; gap: 14px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.pcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pcard > .ic { width: 20px; height: 20px; color: var(--accent); margin-top: 1px; }
.pcard p { margin-top: 5px; font-size: .9rem; color: var(--muted); }

.leak { margin: 0; padding: 26px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: sticky; top: 96px; }
.leak figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.leak__title { font-weight: 600; letter-spacing: -0.01em; }
.leak .tag--muted { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #A8AEB9; }
.leak__rows { display: grid; gap: 16px; }
.leak__row { display: grid; grid-template-columns: 1fr 34px; grid-template-areas: "label num" "bar bar"; gap: 8px; align-items: center; }
.leak__label { grid-area: label; font-size: .86rem; color: #C6CAD2; }
.leak__num { grid-area: num; text-align: right; font-family: var(--mono); font-size: .86rem; }
.leak__bar { grid-area: bar; height: 10px; background: rgba(255,255,255,.07); border-radius: 6px; overflow: hidden; }
.leak__bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #F2865F, var(--accent)); transition: width 1.2s var(--ease); }
.leak.is-visible .leak__bar i { width: var(--w); }
.w-100 { --w: 100%; } .w-58 { --w: 58%; } .w-24 { --w: 24%; } .w-5 { --w: 5%; }
.leak__row:nth-child(2) i { transition-delay: .12s; }
.leak__row:nth-child(3) i { transition-delay: .24s; }
.leak__row:nth-child(4) i { transition-delay: .36s; }
.leak__foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .93rem; color: #C6CAD2; line-height: 1.55; }
.leak__foot strong { color: #fff; }
.leak__note { margin-top: 12px; font-size: .74rem; color: #7E8592; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step__num { font-family: var(--mono); font-size: .78rem; color: var(--accent-strong); }
.step__art { margin: 16px 0 22px; height: 118px; border-radius: 12px; background: #F8F7F3; border: 1px solid var(--line-2); padding: 14px; display: grid; align-content: center; gap: 8px; background-image: radial-gradient(#E4E1D8 1px, transparent 1px); background-size: 14px 14px; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--muted); }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); font-size: .78rem; }
.mini--file { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-family: var(--mono); font-size: .74rem; }
.mini--file .ic { width: 16px; height: 16px; color: var(--muted); }
.mini__ok { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.mini__ok .ic { width: 11px; height: 11px; stroke-width: 2.6; }
.mini--row { background: none; border: 0; box-shadow: none; display: flex; gap: 6px; flex-wrap: wrap; }
.mini--mail { padding: 10px 11px; display: grid; gap: 4px; }
.mini__line { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini__line b { color: var(--muted); font-weight: 500; }
.mini__sched { display: flex; align-items: center; gap: 5px; color: var(--blue); font-size: .72rem; margin-top: 2px; }
.mini__sched .ic { width: 12px; height: 12px; }
.mini--call { display: flex; align-items: center; gap: 10px; padding: 11px; }
.mini__strong { font-weight: 600; color: var(--ink); }
.mini__muted { color: var(--muted); font-size: .74rem; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; color: var(--green); font-weight: 500; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(19,122,87,.45); } 70% { box-shadow: 0 0 0 7px rgba(19,122,87,0); } 100% { box-shadow: 0 0 0 0 rgba(19,122,87,0); } }
.mini--stat { padding: 11px 12px; position: relative; overflow: hidden; }
.mini__big { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.spark { position: absolute; right: 10px; bottom: 10px; width: 46%; height: 30px; }
.spark path { fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Solutions */
.solutions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sol { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.sol:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #DAD6CC; }
.sol__icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 22px; transition: background .3s, color .3s; }
.sol:hover .sol__icon { background: var(--accent); color: #fff; }
.sol__icon .ic { width: 21px; height: 21px; }
.sol h3 { font-size: 1.12rem; margin-bottom: 8px; }
.sol p { font-size: .93rem; color: var(--muted); }
.sol__ex { margin-top: auto; padding-top: 22px; font-size: .86rem; color: var(--ink-2); font-style: italic; line-height: 1.5; }
.sol__exlabel { display: block; font-style: normal; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); margin-bottom: 6px; padding-top: 16px; border-top: 1px dashed var(--line); }

/* Why / bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bcard { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.bcard--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 40px; align-items: center; padding: 32px; }
.bcard__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); margin-bottom: 20px; }
.bcard h3 { margin-bottom: 8px; }
.bcard--wide h3 { font-size: 1.5rem; letter-spacing: -0.03em; }
.bcard p { font-size: .93rem; color: var(--muted); }
.bcard--wide p { font-size: 1.02rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split__col { border-radius: var(--radius); padding: 18px; background: var(--blue-soft); border: 1px solid #D9E3F5; }
.split__col--human { background: var(--accent-soft); border-color: #F6D4C6; }
.split__head { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.split__col--human .split__head { color: var(--accent-strong); }
.split__head .ic { width: 15px; height: 15px; }
.split ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.split li { font-size: .9rem; color: var(--ink-2); padding: 9px 11px; background: rgba(255,255,255,.75); border-radius: 8px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.terms { margin-top: 32px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.terms__head { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.terms ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.terms li { display: flex; gap: 10px; font-size: .94rem; color: var(--ink-2); }
.terms li b { color: var(--ink); font-weight: 600; }
.terms .ic { width: 17px; height: 17px; color: var(--green); stroke-width: 2.2; margin-top: 2px; }
.pricing .fine { margin-top: 18px; max-width: 520px; }

.calc { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow-lg); }
.calc__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-weight: 600; }
.field { display: block; margin-bottom: 22px; }
.field__row { display: flex; justify-content: space-between; font-size: .9rem; color: var(--ink-2); margin-bottom: 10px; }
.field output { font-family: var(--mono); color: var(--ink); font-weight: 500; }
.field--check { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.field--check input { width: 17px; height: 17px; accent-color: var(--ink); margin: 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line) var(--p, 50%)); outline-offset: 6px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid #CFCBC0; box-shadow: 0 2px 6px rgba(14,17,22,.18); transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid #CFCBC0; box-shadow: 0 2px 6px rgba(14,17,22,.18); }
.calc__result { margin: 26px 0 22px; border-radius: var(--radius); background: #F8F7F3; border: 1px solid var(--line-2); overflow: hidden; }
.calc__line { display: flex; justify-content: space-between; padding: 14px 18px; font-size: .94rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.calc__line + .calc__line { border-top: 1px solid var(--line-2); }
.calc__line span:last-child { font-family: var(--mono); color: var(--ink); }
.calc__fee { color: var(--accent-strong) !important; font-weight: 500; }
.calc__line--keep { background: var(--surface); font-weight: 600; color: var(--ink); }
.calc__line--keep span:last-child { font-size: 1.15rem; color: var(--green); }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq__intro { position: sticky; top: 104px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 500; font-size: 1.04rem; letter-spacing: -0.01em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1116' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-strong); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); font-size: .98rem; line-height: 1.65; }
.faq details[open] p { animation: rise .35s var(--ease); }

/* CTA */
.cta { background: var(--ink); color: #fff; padding: 112px 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 60% 70% at 20% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 60% 70% at 20% 40%, #000, transparent 75%); }
.cta__inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.cta__list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.cta__list li { display: flex; align-items: center; gap: 10px; color: #D5D8DE; font-size: .96rem; }
.cta__list .ic { color: #FF9C7A; width: 17px; height: 17px; stroke-width: 2.2; }
.form { background: #171B22; border: 1px solid rgba(255,255,255,.09); border-radius: 22px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.input { display: grid; gap: 7px; font-size: .83rem; color: #AEB4BF; }
.input em { font-style: normal; color: #737A87; }
.input input, .input select, .input textarea { width: 100%; font: inherit; font-size: .95rem; color: #fff; background: #0F1217; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 11px 12px; transition: border-color .2s, box-shadow .2s; }
.input select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AEB4BF' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; padding-right: 34px; }
.input textarea { resize: vertical; min-height: 84px; }
.input input::placeholder, .input textarea::placeholder { color: #5D6470; }
.input input:focus, .input select:focus, .input textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226,85,43,.22); }
.input.is-invalid input { border-color: #E5484D; }
.form .btn { margin-top: 6px; }
.form__note { font-size: .8rem; color: #7E8592; text-align: center; }
.form__note.is-error { color: #FF8F8F; }
.form__note.is-ok { color: #7FD6AE; }

/* Footer */
.footer { padding: 56px 0 32px; background: var(--bg); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer__brand p { margin-top: 12px; font-size: .9rem; color: var(--muted); max-width: 320px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; align-content: flex-start; }
.footer__links a { font-size: .9rem; color: var(--ink-2); }
.footer__links a:hover { color: var(--accent-strong); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .8rem; color: var(--faint); }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { max-width: 680px; }
  .steps, .solutions { grid-template-columns: repeat(2, 1fr); }
  .problem { grid-template-columns: 1fr; }
  .leak { position: static; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bcard--wide { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .section { padding: 84px 0; }
  .section__head--split, .pricing, .faq, .cta__inner { grid-template-columns: 1fr; gap: 40px; }
  .faq__intro { position: static; }
  .cta { padding: 84px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav__actions .btn { display: none; }
  .hero { padding: 44px 0 72px; }
  .lede { font-size: 1.06rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .dash__kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(3) { border-left: 0; }
  .kpi:nth-child(n+3) { border-top: 1px solid var(--line-2); }
  .dash__body { padding: 12px; }
  .opp { padding: 13px; }
  .opp__meta { font-size: .75rem; }
  .stage__label { font-size: .68rem; }
  .feed { min-height: 200px; }
  .problem__list, .steps, .solutions, .bento, .split, .form__row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
  .sub { font-size: 1.02rem; }
  .bcard--wide { padding: 24px; }
  .calc, .form { padding: 20px; }
  .faq details p { padding-right: 0; }
  .footer__base { flex-direction: column; }
}
@media (max-width: 400px) {
  .opp__head { flex-wrap: wrap; }
  .status { margin-left: 50px; }
}

/* compact call card */
.mini--call > div:nth-child(2) { min-width: 0; }
.mini--call .mini__strong, .mini--call .mini__muted { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* sprite container (kept out of inline styles so the CSP needs no 'unsafe-inline') */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* honeypot: hidden from people, visible to naive bots */
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* form states */
.form__privacy { font-size: .78rem; color: #7E8592; line-height: 1.5; }
.form .btn[disabled] { opacity: .65; cursor: progress; }
.form__done { display: grid; gap: 10px; text-align: center; padding: 36px 8px; }
.form__done h3 { font-size: 1.3rem; color: #fff; }
.form__done p { color: #B9BEC8; font-size: .95rem; }
.form__done[hidden], .form[hidden] { display: none; }
.done__icon { width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 6px; display: grid; place-items: center; background: rgba(127,214,174,.12); color: #7FD6AE; }
.done__icon .ic { width: 22px; height: 22px; stroke-width: 2.2; }
