:root {
  --bg: #d9e3dd;
  --bg-soft: #e8efea;
  --surface: #ffffff;
  --surface-2: #f6faf7;
  --text: #132a23;
  --muted: #4f6660;
  --line: #dbe6df;
  --green: #04a66b;
  --green-600: #038a59;
  --green-700: #046b46;
  --green-bright: #1ccf86;
  --green-tint: #e6f7ee;
  --red: #e0344a;
  --red-tint: #fdecee;
  --dark: #0b2a1f;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(19,42,35,.06), 0 8px 24px -12px rgba(19,42,35,.18);
  --shadow-lg: 0 24px 60px -24px rgba(19,42,35,.35);
  --font: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

[data-theme="dark"] {
  --bg: #0b1612;
  --bg-soft: #0f1d18;
  --surface: #13241e;
  --surface-2: #172b24;
  --text: #e5f0ea;
  --muted: #9bb3aa;
  --line: #24392f;
  --green-tint: #123527;
  --red-tint: #3a1a1f;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

.container { width: min(1140px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); }
.center { text-align: center; justify-content: center; }
.g { color: var(--green-bright); }
.r { color: var(--red); }

/* Nav */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 12px 16px 0; }
.nav {
  max-width: 1140px; margin: 0 auto;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 20px;
  padding: 8px 10px 8px 16px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 19px; letter-spacing: -.3px; }
.brand b { font-weight: 800; color: var(--green); }
.nav-links { display: flex; gap: 4px; margin-left: 4px; }
.nav-links a { display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); display: inline-block; margin-left: 3px; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 6px 10px; font-size: 13px; font-weight: 700; }
.globe { width: 16px; height: 16px; border-radius: 5px; background: var(--green); }
.theme-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.nav-login { font-size: 14px; font-weight: 600; padding: 8px 10px; color: var(--muted); }
.nav-login:hover { color: var(--text); }
.nav-mobile-only { display: none; }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; border-radius: 10px; padding: 0 20px; height: 44px;
  border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 56px; padding: 0 26px; }
.btn-primary {
  background: linear-gradient(180deg, #08b877, var(--green-600));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 6px 16px -6px rgba(4,166,107,.7);
}
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 24px -8px rgba(4,166,107,.85); }
.btn-soft { background: var(--green-tint); color: var(--green-700); border-color: #9fe0c0; box-shadow: inset 0 4px 4px rgba(4,190,116,.1); }
.btn-soft:hover { background: #d4f2e3; }
[data-theme="dark"] .btn-soft { color: #8ff0c2; border-color: #1f6b4a; }
.btn-white { background: #fff; color: var(--text); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* Pills & eyebrow */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(4,166,107,.18);
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #b8f5d8; }
.pill-dark { background: var(--green-700); }
.pill-light { background: rgba(255,255,255,.15); box-shadow: none; }
.eyebrow { text-align: center; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow.left { text-align: left; }

/* Hero */
.hero { position: relative; padding: 52px 0 34px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -10% -10% auto; height: 700px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(28,207,134,.25), transparent 70%),
    radial-gradient(35% 45% at 85% 20%, rgba(120,210,230,.35), transparent 70%),
    radial-gradient(30% 40% at 50% 60%, rgba(190,170,240,.2), transparent 70%);
  filter: blur(10px);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; opacity: .35;
  mask-image: radial-gradient(60% 60% at 50% 40%, #000, transparent);
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 760px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -1.6px; margin: 22px 0 22px; }
.hero h1 .g, .hero h1 .r { display: block; }
.hero h1 .g { color: var(--green-bright); }
.lead { font-size: 18px; color: var(--muted); max-width: 600px; margin: 0 auto; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero .cta-row { justify-content: center; }
.demo-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.demo-link span { color: var(--muted); font-weight: 400; text-decoration: none; margin-left: 4px; }
.demo-link.light, .demo-link.light span { color: rgba(255,255,255,.85); }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--muted); }
.ci { color: var(--green); font-size: 12px; }

.float-card {
  position: absolute; z-index: 1; width: 196px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px; font-size: 11px; box-shadow: var(--shadow-lg);
  animation: bob 6s ease-in-out infinite;
}
.float-card::after { content: "\2713"; position: absolute; top: -7px; right: -7px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 10px; display: grid; place-items: center; }
.fc-1 { left: calc(50% - 630px); top: 110px; transform: rotate(-3deg); }
.fc-2 { left: calc(50% - 610px); top: 340px; transform: rotate(2deg); animation-delay: -2s; }
.fc-3 { right: calc(50% - 630px); top: 130px; transform: rotate(3deg); animation-delay: -1s; }
.fc-4 { right: calc(50% - 610px); top: 365px; transform: rotate(-2deg); animation-delay: -3s; }
@keyframes bob { 50% { translate: 0 -8px; } }
.fc-head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.fc-head small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fc-head b { font-size: 12px; }
.fc-ico { width: 22px; height: 22px; border-radius: 6px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 11px; }
.fc-row { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.fc-row .ok { color: var(--green); }
.fc-lbl { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.fc-sub { padding: 3px 0 3px 10px; border-left: 2px solid var(--line); }
.fc-sub b { display: block; font-size: 11px; }
.fc-sub small { color: var(--muted); font-size: 10px; }
.tag { display: inline-block; background: var(--green-tint); color: var(--green-600); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 6px; font-style: normal; white-space: nowrap; }
.tag.muted { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }

/* Sections */
.section { padding: 90px 0; }
.band { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section-head h2, .video-grid h2, .final h2 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -.88px; margin-top: 16px; }
.section-head h2 .g { display: inline; }
.sub { color: var(--muted); font-size: 17px; margin: 16px auto 0; max-width: 620px; }
.sub.left { margin-left: 0; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Stat card */
.script-note { text-align: center; font-family: "Segoe Script", "Bradley Hand", cursive; color: var(--green-600); font-size: 18px; margin-bottom: 10px; transform: rotate(-2deg); }
.stat-card { padding: 18px; }
.stat-card-head b { display: block; font-size: 14px; }
.stat-card-head small { color: var(--muted); font-size: 12px; }
.stat-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.stat { border-radius: 12px; padding: 14px; border: 1px solid; }
.stat small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stat strong { display: block; font-size: 36px; line-height: 1.1; margin: 4px 0; }
.stat span { font-size: 12px; color: var(--muted); }
.stat.bad { background: var(--red-tint); border-color: #f6c4cb; }
.stat.bad small { color: var(--red); }
.stat.good { background: var(--green-tint); border-color: #a7e5c6; }
.stat.good small { color: var(--green-600); }
.recover { display: flex; align-items: center; gap: 14px; margin: 10px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); font-size: 12px; color: var(--muted); }
.bar { flex: 1; height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: var(--green-bright); border-radius: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.mini-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.mini-table th { text-align: left; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 10px 14px; font-weight: 700; }
.mini-table th.r { color: var(--red); text-align: right; }
.mini-table td { padding: 10px 14px; border-top: 1px solid var(--line); }
.mini-table td:last-child { text-align: right; }
.mini-table td:nth-child(2), .mini-table td:nth-child(3), .mini-table th:nth-child(2), .mini-table th:nth-child(3) { text-align: right; }
.red { color: var(--red); }
.green { color: var(--green-600); font-weight: 700; }
.ev { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--green-tint); color: var(--green); font-size: 10px; margin-right: 8px; }
.miss { background: var(--red-tint); color: var(--red); font-weight: 700; font-size: 11px; padding: 2px 6px; border-radius: 5px; }
.footnote { margin-top: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); font-size: 12px; color: var(--muted); }

/* Definition */
.definition { max-width: 720px; margin: 0 auto 30px; text-align: center; background: var(--green-tint); border: 1px solid #a7e5c6; border-radius: 20px; padding: 26px 34px 32px; }
.definition p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.definition b { color: var(--text); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini { padding: 22px; }
.mini .num { font-family: var(--mono); font-size: 12px; color: var(--green); font-weight: 500; }
.mini h3 { font-size: 17px; margin: 10px 0 8px; }
.mini p, .benefit p, .feat p, .step p, .integ p { font-size: 14px; color: var(--muted); }

/* Problems */
.problem-card { padding: 22px; max-width: 860px; margin: 0 auto; }
.problems { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.problems li { display: flex; gap: 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.problems p { font-size: 13.5px; color: var(--muted); }
.problems b { color: var(--text); }
.x { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-size: 13px; font-weight: 700; margin-top: 2px; }
.problem-sum { text-align: center; color: var(--muted); font-size: 17px; max-width: 520px; margin: 22px auto 6px; }
.problem-sum b { color: var(--text); }

/* Video */
.video-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.video-meta { margin-top: 18px; font-size: 14px; color: var(--muted); }
.video-meta a { color: var(--green-600); font-weight: 700; }
.video { border: 0; padding: 0; border-radius: 20px; overflow: hidden; background: #071a13; aspect-ratio: 16/9; width: 100%; box-shadow: var(--shadow-lg); }
.video-inner { position: relative; height: 100%; display: grid; place-items: center;
  background: radial-gradient(60% 70% at 30% 30%, rgba(28,207,134,.35), transparent), radial-gradient(50% 60% at 80% 80%, rgba(110,200,230,.3), transparent), #071a13; }
.video-title { position: absolute; left: 22px; top: 18px; color: #fff; font-weight: 800; font-size: 20px; }
.video-time { position: absolute; right: 18px; bottom: 14px; color: #fff; font-size: 12px; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 6px; }
.play { width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--green-700); display: grid; place-items: center; transition: transform .2s; padding-left: 4px; }
.video:hover .play { transform: scale(1.08); }

.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: var(--green-tint); color: var(--green-700); border: 1px solid #a7e5c6; flex: none; }

/* Flow */
.flow {
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 0; align-items: center;
  background: linear-gradient(180deg, var(--green-tint), var(--surface-2));
  border: 1px solid #a7e5c6; border-radius: 22px; padding: 22px; max-width: 900px; margin: 0 auto;
}
.flow-col { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.node { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); }
.ni { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; flex: none; }
.ni.meta { background: #0866ff; } .ni.gads { background: #fbbc04; color: #1a73e8; } .ni.li { background: #0a66c2; font-size: 11px; } .ni.ms { background: #00809d; } .ni.web, .ni.out { background: var(--green); }
.flow-hub { position: relative; height: 320px; display: grid; place-items: center; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-lines path { fill: none; stroke: var(--green); stroke-opacity: .45; stroke-width: 1.4; stroke-dasharray: 4 6; animation: dash 1.6s linear infinite; }
.flow-lines path.out { stroke-dasharray: none; stroke-opacity: .35; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.hub { position: relative; width: 150px; height: 150px; border-radius: 50%; background: var(--surface); border: 1px solid #a7e5c6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: 0 0 0 14px rgba(4,166,107,.08), 0 0 0 28px rgba(4,166,107,.05), var(--shadow-lg); }
.hub b { font-size: 13px; margin-top: 6px; }
.hub small { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green); max-width: 110px; line-height: 1.3; }
.hub-note { position: absolute; bottom: -4px; display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 11px; max-width: 260px; box-shadow: var(--shadow); }
.crm-note { font-size: 11px; color: var(--muted); }
.flow + .cta-row { margin-top: 34px; }

/* Integrations */
.integ-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.integ { padding: 24px; }
.integ h3 { font-size: 18px; margin-bottom: 6px; }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tiles li { font-size: 13px; font-weight: 700; border: 1px solid var(--line); background: var(--surface-2); padding: 7px 12px; border-radius: 10px; transition: .2s; cursor: default; }
.tiles li:hover { border-color: var(--green); background: var(--green-tint); transform: translateY(-2px); }
.tiles em { font-style: normal; font-size: 10px; font-weight: 800; background: #fff4d6; color: #8a6200; padding: 1px 6px; border-radius: 5px; margin-left: 4px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 14px 14px 22px; }
.feat h3 { font-size: 19px; margin: 18px 8px 10px; }
.feat p { margin: 0 8px; }
.feat a { color: var(--green-600); font-weight: 700; }
.mock { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-height: 120px; font-size: 12px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.mock.code { font-family: var(--mono); color: var(--muted); font-size: 11px; word-break: break-all; }
.dom { display: flex; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.dom span { font-family: var(--mono); font-size: 11px; }
.dom em { font-style: normal; font-size: 10px; font-weight: 800; color: var(--green-600); background: var(--green-tint); padding: 1px 6px; border-radius: 5px; }
.mock.bars { flex-direction: row; align-items: flex-end; justify-content: space-around; height: 120px; }
.bars span { width: 34px; height: var(--h); background: linear-gradient(180deg, var(--green-bright), var(--green)); border-radius: 6px 6px 2px 2px; color: #fff; font-size: 10px; font-weight: 800; text-align: center; padding-top: 3px; }
.log div { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.log code { font-family: var(--mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log em, .crm em { font-style: normal; font-size: 10px; font-weight: 800; color: var(--green-600); background: var(--green-tint); padding: 1px 6px; border-radius: 5px; }
.log em.blk { color: var(--red); background: var(--red-tint); }
.meter div { display: grid; grid-template-columns: 70px 1fr 34px; align-items: center; gap: 8px; }
.meter i { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--green) var(--w), var(--line) var(--w)); }
.meter b { font-size: 11px; text-align: right; }
.crm div { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.crm em { background: none; padding: 0; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 8px 0; }
.badges span { font-size: 11px; font-weight: 700; border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; background: var(--surface-2); }
.badges.big { justify-content: center; min-height: 80px; align-items: center; margin: 0; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.consent { display: flex; gap: 20px; align-items: flex-start; padding: 26px; margin-top: 16px; }
.consent .eyebrow { margin-bottom: 6px; color: var(--green-600); }
.consent h3 { font-size: clamp(20px, 2.6vw, 28px); letter-spacing: -.4px; max-width: 560px; }
.consent p { color: var(--muted); font-size: 14.5px; margin-top: 12px; max-width: 620px; }
.shield { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--green); display: grid; place-items: center; font-size: 20px; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; margin-bottom: 80px; }
.showcase:last-child { margin-bottom: 0; }
.showcase.rev .app { order: 2; }
.app { padding: 18px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); }
.app-ws { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.app-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.app-head small { color: var(--muted); font-size: 12px; }
.live { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--green-600); display: inline-flex; align-items: center; gap: 6px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.score { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.score strong { font-size: 48px; color: var(--green-600); line-height: 1; }
.score strong span { font-size: 20px; color: var(--muted); }
.score small { color: var(--muted); font-size: 13px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.checks li, .ticks li { position: relative; padding-left: 24px; font-size: 13px; }
.checks li { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 7px 8px 7px 30px; }
.checks li::before, .ticks li::before { content: "\2713"; position: absolute; left: 8px; top: 50%; translate: 0 -50%; width: 15px; height: 15px; border-radius: 50%; background: var(--green); color: #fff; font-size: 9px; display: grid; place-items: center; }
.ticks li::before { left: 0; top: 4px; translate: none; }
.ticks { display: grid; gap: 10px; margin-top: 18px; }
.show-text h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.4px; }
.show-text > p { color: var(--muted); margin-top: 12px; }
.log-rows { display: grid; gap: 8px; }
.log-rows li { display: grid; grid-template-columns: 96px 1fr auto; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 13px; }
.log-rows span { color: var(--muted); font-size: 12px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.kpis div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.kpis strong { font-size: 24px; display: block; line-height: 1.1; }
.kpis small { font-size: 11px; color: var(--muted); }
.states { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 12px; }
.states td:last-child, .states th:last-child, .states td:nth-child(2), .states th:nth-child(2) { text-align: left; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: none; }
.step { position: relative; padding: 18px 18px 24px; }
.step-n { position: absolute; top: -14px; left: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--bg-soft); }
.eta { display: block; text-align: right; font-size: 11px; font-weight: 700; color: var(--green-600); margin-bottom: 10px; }
.step h3 { font-size: 18px; margin: 18px 0 8px; }
.map { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px; min-height: 80px; display: grid; gap: 6px; font-size: 12px; font-weight: 700; }
.map span { color: var(--green-600); font-weight: 600; }

/* Compare */
.compare { padding: 0; overflow: hidden; }
.compare .table-wrap { border: 0; border-radius: 0; }
.compare table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 13.5px; }
.compare th { text-align: left; padding: 18px 16px; font-size: 13px; font-weight: 800; border-bottom: 1px solid var(--line); }
.compare th img { display: inline-block; vertical-align: -4px; margin-right: 4px; }
.compare td { padding: 16px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: middle; }
.compare td:first-child { color: var(--text); font-weight: 700; width: 24%; }
.compare tr:last-child td { border-bottom: 0; }
.compare .hl { background: var(--green-tint); color: var(--text); font-weight: 600; border-inline: 2px solid #8fdcb6; }
.compare thead .hl { border-top: 2px solid #8fdcb6; border-radius: 12px 12px 0 0; }
.compare i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-style: normal; font-size: 10px; margin-right: 8px; vertical-align: -3px; }
.compare i.yes { background: var(--green-tint); color: var(--green-600); }
.compare i.yes::before { content: "\2713"; }
.compare .hl i.yes { background: var(--green); color: #fff; }
.compare i.no { background: var(--red-tint); color: var(--red); }
.compare i.no::before { content: "\00d7"; font-size: 13px; }
.compare i.part { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.compare i.part::before { content: "\2013"; }

/* Benefits */
.benefit { padding: 24px; transition: transform .2s, box-shadow .2s; }
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.b-ico { width: 40px; height: 40px; border-radius: 11px; background: var(--green-tint); color: var(--green-600); display: grid; place-items: center; font-size: 18px; font-weight: 800; border: 1px solid #a7e5c6; }
.benefit h3 { font-size: 18px; margin: 16px 0 8px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 16px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 50%; background: var(--green-tint); color: var(--green-600); display: grid; place-items: center; font-size: 18px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* Final CTA */
.final {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: radial-gradient(70% 90% at 0% 0%, #0fc580, transparent 60%), linear-gradient(135deg, var(--green-600), var(--green-700));
  border-radius: 24px; padding: 54px; color: #fff; overflow: hidden; box-shadow: var(--shadow-lg);
}
.final::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 40px 40px; pointer-events: none; }
.final > * { position: relative; z-index: 1; }
.final h2 span { display: block; }
.final-text p { margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.85); }
.timeline { padding: 16px; color: var(--text); }
.tl-head b { display: block; font-size: 14px; }
.tl-head small { color: var(--muted); font-size: 12px; }
.tl-person { display: flex; align-items: center; gap: 10px; margin: 12px 0; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.tl-person small { display: block; color: var(--muted); font-size: 11px; }
.tl-person .tag { margin-left: auto; }
.tl { display: grid; gap: 4px; }
.tl li { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: baseline; font-size: 12px; padding: 6px 4px 6px 20px; position: relative; }
.tl li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--green); }
.tl li span { color: var(--muted); }
.tl time { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.tl-done { display: flex; justify-content: space-between; margin-top: 10px; padding: 10px 12px; background: var(--green-tint); border: 1px solid #a7e5c6; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--green-700); }
.tl-foot { margin-top: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; color: var(--muted); background: var(--surface-2); }

/* Footer */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 60px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 14px 0; max-width: 260px; }
.mail { font-size: 14px; font-weight: 700; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer ul { display: grid; gap: 9px; }
.footer ul a { font-size: 14px; color: var(--muted); }
.footer ul a:hover { color: var(--green-600); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.wordmark { font-size: clamp(60px, 16vw, 220px); font-weight: 800; letter-spacing: -.04em; text-align: center; line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line); background: linear-gradient(180deg, var(--line), transparent); -webkit-background-clip: text; background-clip: text; user-select: none; white-space: nowrap; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Large tablet: hide floating hero cards before they collide with the headline */
@media (max-width: 1300px) {
  .float-card { display: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px; box-shadow: var(--shadow-lg); margin: 0; }
  .nav { position: relative; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; font-size: 15px; }
  .nav-mobile-only { display: block; }
  .burger { display: flex; }
  .nav-login, .lang { display: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .bento, .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .video-grid, .showcase, .final { grid-template-columns: 1fr; gap: 32px; }
  .showcase.rev .app { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .final { padding: 40px; }
}

/* Mobile */
@media (max-width: 767px) {
  .container, .narrow { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .hero { padding-top: 36px; }
  .hero h1 { letter-spacing: -1px; }
  .lead { font-size: 16px; }
  .cta-row .btn { flex: 1 1 100%; }
  .nav-actions .btn-sm { display: none; }
  .theme-toggle { width: 38px; height: 38px; }
  .grid-4, .grid-3, .bento, .steps, .integ-grid, .problems, .stat-split { grid-template-columns: 1fr; }
  .definition { padding: 22px 18px; }
  .definition p { font-size: 16px; }
  .flow { grid-template-columns: 1fr; gap: 20px; padding: 18px; }
  .flow-hub { height: auto; padding: 12px 0 70px; }
  .flow-lines { display: none; }
  .hub-note { left: 0; right: 0; margin: auto; }
  .checks { grid-template-columns: 1fr; }
  .log-rows li { grid-template-columns: 1fr auto; }
  .log-rows li span { grid-column: 1 / -1; grid-row: 2; }
  .steps { gap: 28px; }
  .final { padding: 28px 20px; border-radius: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .consent { flex-direction: column; }
  .tl li { grid-template-columns: 1fr; }
  .tl time { display: none; }
}
