/* Bulany — software voor installatiebedrijven */

/* ── VARIABLES ── */
:root {
  --ink: #0d1424;
  --text: #283247;
  --muted: #5d677c;
  --faint: #8b93a5;
  --line: #e4e8f0;
  --bg: #ffffff;
  --soft: #f4f6fb;
  --soft-2: #eaf0ff;
  --brand: #1e4fd8;
  --brand-d: #1438a8;
  --brand-rgb: 30, 79, 216;
  --accent: #ff7a1a;
  --accent-d: #e5600a;
  --ok: #16a34a;
  --night: #0b1222;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 20, 36, .06), 0 1px 3px rgba(13, 20, 36, .05);
  --shadow: 0 10px 30px -12px rgba(13, 20, 36, .18), 0 2px 6px rgba(13, 20, 36, .05);
  --shadow-lg: 0 30px 70px -25px rgba(13, 30, 80, .35), 0 8px 20px -10px rgba(13, 20, 36, .12);
  --font: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(var(--brand-rgb), .45); outline-offset: 2px; border-radius: 6px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section { padding: 104px 0; }
.section.soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(var(--brand-rgb), .7); }
.btn-primary:hover { background: var(--brand-d); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(255, 122, 26, .7); }
.btn-accent:hover { background: var(--accent-d); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .92rem; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── NAVBAR ── */
.topbar { background: var(--night); color: #c8d0e0; font-size: .85rem; text-align: center; padding: 9px 16px; }
.topbar b { color: #fff; }
.topbar a { color: #ffb37a; font-weight: 700; margin-left: 6px; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(13,20,36,.4); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 1.5rem; letter-spacing: -.04em; }
.logo:hover { color: var(--ink); }
.logo img { width: 36px; height: 36px; }
.nav-panel { display: flex; align-items: center; flex: 1; gap: 20px; }
.nav-links { display: flex; gap: 4px; margin: 0 0 0 12px; padding: 0; list-style: none; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: .97rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ── HERO ── */
.hero { position: relative; padding: 76px 0 96px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto auto; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(var(--brand-rgb), .14), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -200px; bottom: -300px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(255, 122, 26, .10), transparent 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .16em; background: rgba(255, 122, 26, .35); border-radius: 4px; z-index: -1; }
.hero .lead { margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-size: .93rem; color: var(--muted); font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--ok); flex: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: 22px; }
.pill b { background: var(--soft-2); color: var(--brand); padding: 3px 9px; border-radius: 99px; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }

/* Mockup: planbord */
.mock { position: relative; }
.browser { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f7f8fb; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe3ea; }
.browser-bar i:nth-child(1) { background: #ff6159; } .browser-bar i:nth-child(2) { background: #ffbd2e; } .browser-bar i:nth-child(3) { background: #28c941; }
.browser-bar span { margin-left: 12px; flex: 1; max-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: .72rem; color: var(--faint); padding: 3px 10px; }
.app { display: grid; grid-template-columns: 54px 1fr; min-height: 380px; }
.app-side { background: var(--night); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.app-side b { width: 28px; height: 28px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: .8rem; }
.app-side i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.12); }
.app-side i.on { background: rgba(255,255,255,.4); }
.app-main { padding: 16px 18px; font-size: .72rem; }
.app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.app-head strong { font-size: .95rem; color: var(--ink); }
.app-head span { display: flex; gap: 6px; }
.app-head span em { font-style: normal; padding: 4px 9px; border-radius: 6px; background: var(--soft); color: var(--muted); font-weight: 600; }
.app-head span em.on { background: var(--ink); color: #fff; }
.board { display: grid; grid-template-columns: 74px repeat(5, 1fr); gap: 5px; }
.board .h { color: var(--faint); font-weight: 700; text-align: center; padding-bottom: 3px; }
.board .who { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); height: 46px; }
.board .who i { width: 20px; height: 20px; border-radius: 50%; flex: none; }
.board .cell { background: var(--soft); border-radius: 7px; height: 46px; position: relative; }
.job { position: absolute; inset: 4px; border-radius: 6px; padding: 4px 6px; color: #fff; font-weight: 700; line-height: 1.25; overflow: hidden; font-size: .64rem; }
.job small { display: block; font-weight: 500; opacity: .85; }
.job.w2 { right: calc(-100% - 1px); z-index: 1; }
.c1 { background: #1e4fd8; } .c2 { background: #ff7a1a; } .c3 { background: #0ea5a4; } .c4 { background: #7c3aed; } .c5 { background: #e11d48; }
.job.drag { box-shadow: 0 10px 24px -6px rgba(13,20,36,.45); transform: rotate(-2deg) scale(1.04); outline: 2px solid #fff; }
.mock-phone { z-index: 5; position: absolute; right: -18px; bottom: -46px; width: 196px; background: var(--night); border-radius: 30px; padding: 9px; box-shadow: var(--shadow-lg); }
.mock-phone .screen { background: #fff; border-radius: 22px; overflow: hidden; font-size: .68rem; }
.ph-top { background: var(--brand); color: #fff; padding: 16px 14px 14px; }
.ph-top small { opacity: .8; display: block; }
.ph-top strong { font-size: .9rem; display: block; margin-top: 2px; }
.ph-body { padding: 12px 12px 14px; }
.ph-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--text); font-weight: 600; }
.ph-row:last-of-type { border: 0; }
.ph-row i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--line); flex: none; display: grid; place-items: center; }
.ph-row i.ok { background: var(--ok); border-color: var(--ok); }
.ph-row i.ok::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.ph-sign { margin-top: 10px; height: 44px; border: 1.5px dashed var(--line); border-radius: 9px; display: grid; place-items: center; color: var(--faint); }
.ph-sign svg { color: var(--ink); }
.ph-btn { margin-top: 10px; background: var(--ok); color: #fff; text-align: center; padding: 8px; border-radius: 9px; font-weight: 700; }
.mock-toast { z-index: 5; position: absolute; left: -30px; top: 62%; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 11px 14px; display: flex; gap: 10px; align-items: center; font-size: .8rem; border: 1px solid var(--line); max-width: 250px; }
.mock-toast i { width: 32px; height: 32px; border-radius: 10px; background: #dcfce7; color: var(--ok); display: grid; place-items: center; flex: none; }
.mock-toast b { display: block; color: var(--ink); }
.mock-toast span { color: var(--muted); }

/* ── TRADES STRIP ── */
.trades { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; background: #fff; }
.trades-in { display: flex; align-items: center; gap: 18px 34px; flex-wrap: wrap; justify-content: center; }
.trades p { margin: 0; font-size: .88rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.trades ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; justify-content: center; }
.trades li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: var(--soft); font-weight: 600; font-size: .93rem; color: var(--ink); }
.trades li svg { color: var(--brand); }

/* ── PAINS ── */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.pain .from { display: flex; align-items: center; gap: 10px; color: #b42318; font-weight: 700; font-size: .92rem; margin-bottom: 10px; text-decoration: line-through; text-decoration-color: rgba(180,35,24,.5); }
.pain .to { display: flex; align-items: center; gap: 10px; color: var(--ok); font-weight: 700; font-size: .92rem; margin-top: 16px; }
.pain h3 { margin-bottom: 8px; }
.pain p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ── FEATURES ── */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--soft-2); color: var(--brand); margin-bottom: 18px; }
.icon.o { background: #fff1e6; color: var(--accent-d); }
.icon.g { background: #dcfce7; color: var(--ok); }
.icon.p { background: #f1e9ff; color: #7c3aed; }
.icon.t { background: #d9f7f6; color: #0e8584; }
.icon.r { background: #ffe4ea; color: #e11d48; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.feature .tag { position: absolute; top: 22px; right: 22px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 9px; border-radius: 99px; background: var(--soft); color: var(--muted); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 34px; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-n { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); color: var(--brand); display: grid; place-items: center; margin: 0 auto 20px; font-weight: 800; font-size: 1.2rem; position: relative; box-shadow: 0 0 0 8px var(--soft); }
.step:last-child .step-n { background: var(--brand); color: #fff; }
.step p { color: var(--muted); font-size: .96rem; }

/* ── SPLIT ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.rev > :first-child { order: 2; }
.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li > i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: #dcfce7; color: var(--ok); display: grid; place-items: center; margin-top: 1px; }
.checks b { color: var(--ink); display: block; }
.checks span { color: var(--muted); font-size: .97rem; }

.phone-big { width: 290px; margin: 0 auto; background: var(--night); border-radius: 42px; padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.phone-big .screen { background: #fff; border-radius: 32px; overflow: hidden; font-size: .82rem; min-height: 520px; }
.phone-big .ph-top { padding: 26px 20px 20px; }
.phone-big .ph-top strong { font-size: 1.1rem; }
.phone-big .ph-body { padding: 16px 18px 20px; }
.ph-chip { display: inline-block; margin-top: 10px; background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 99px; font-weight: 600; font-size: .72rem; }
.ph-sec { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); margin: 14px 0 4px; }
.ph-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.ph-photos i { aspect-ratio: 1; border-radius: 9px; background: linear-gradient(135deg, #cfd8e8, #eef2f8); position: relative; }
.ph-photos i:nth-child(2) { background: linear-gradient(135deg, #f6d2b5, #fdeee2); }
.ph-photos i:last-child { background: var(--soft); border: 1.5px dashed var(--line); display: grid; place-items: center; color: var(--faint); font-style: normal; font-size: 1.2rem; }
.glow { position: relative; }
.glow::before { content: ""; position: absolute; inset: 8% 4%; background: radial-gradient(closest-side, rgba(var(--brand-rgb), .22), transparent 75%); filter: blur(10px); }

/* ── INTEGRATIONS ── */
.integrations { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 10px; }
.integ { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 12px; text-align: center; font-weight: 700; color: var(--ink); font-size: .95rem; }
.integ i { width: 40px; height: 40px; border-radius: 12px; margin: 0 auto 10px; display: grid; place-items: center; font-style: normal; color: #fff; font-weight: 800; }
.integ small { display: block; font-weight: 600; color: var(--faint); font-size: .75rem; margin-top: 2px; }

/* ── CTA BAND ── */
.cta-band { background: var(--night); color: #c8d0e0; border-radius: 28px; padding: 64px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(var(--brand-rgb), .55), transparent 70%); }
.cta-band::after { content: ""; position: absolute; left: 30%; bottom: -260px; width: 460px; height: 460px; background: radial-gradient(closest-side, rgba(255,122,26,.25), transparent 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: #9db6ff; }
.cta-band p { color: #aab4c8; font-size: 1.08rem; }
.perks { list-style: none; margin: 0; padding: 26px; display: grid; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; color: #e6ebf5; font-weight: 600; }
.perks li svg { color: #ffb37a; flex: none; margin-top: 3px; }

/* ── FAQ ── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; color: var(--ink); position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* ── PAGE HERO (subpages) ── */
.page-hero { padding: 80px 0 64px; background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); max-width: 820px; }
.page-hero.center h1 { margin-left: auto; margin-right: auto; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.subnav a { padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--text); }
.subnav a:hover { border-color: var(--brand); color: var(--brand); }

/* Feature detail */
.fdetail { padding: 88px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.fdetail:last-of-type { border-bottom: 0; }
.fcard { background: var(--soft); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); }
.fcard-title { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--ink); margin-bottom: 14px; font-size: .95rem; }
.fcard-title span { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: #fff; color: var(--muted); border: 1px solid var(--line); }
.rows { display: grid; gap: 8px; }
.r { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 12px 14px; border: 1px solid var(--line); font-size: .9rem; }
.r b { color: var(--ink); display: block; font-size: .92rem; }
.r small { color: var(--faint); }
.r .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .78rem; }
.st { font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 99px; white-space: nowrap; }
.st.blue { background: var(--soft-2); color: var(--brand); }
.st.orange { background: #fff1e6; color: var(--accent-d); }
.st.green { background: #dcfce7; color: #15803d; }
.st.gray { background: var(--soft); color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kpi small { color: var(--faint); font-weight: 600; font-size: .75rem; }
.kpi b { display: block; font-size: 1.4rem; color: var(--ink); letter-spacing: -.02em; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.bars i { flex: 1; background: linear-gradient(180deg, var(--brand), #5b82ee); border-radius: 6px 6px 3px 3px; }
.bars i:nth-child(odd) { opacity: .75; }

/* ── PRICING ── */
.ea { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--brand) 0%, #2d63f0 55%, #4a7af5 100%); color: #dbe5ff; border-radius: 28px; padding: 52px; position: relative; overflow: hidden; margin-top: -40px; box-shadow: var(--shadow-lg); }
.ea::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.08); }
.ea h2 { color: #fff; }
.ea .badge { display: inline-block; background: var(--accent); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; margin-bottom: 16px; }
.ea ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.ea li { display: flex; gap: 12px; color: #fff; font-weight: 600; }
.ea li svg { flex: none; margin-top: 3px; color: #ffc89e; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.plan.pop { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 99px; }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .for { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.plan .price { font-size: 1rem; color: var(--muted); padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.plan .price b { display: block; font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.plan ul { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 11px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .97rem; }
.plan li svg { flex: none; color: var(--ok); margin-top: 4px; }
.plan .btn { width: 100%; }
.note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 26px; }

/* ── CONTACT / FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field label small { color: var(--faint); font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; transition: border-color .15s, box-shadow .15s; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.field .chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 14px; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; color: var(--text); transition: all .15s; }
.chips input:checked + span { background: var(--soft-2); border-color: var(--brand); color: var(--brand); }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .2); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form-foot small { color: var(--faint); max-width: 340px; }
.form-msg { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: #fef3f2; color: #b42318; font-weight: 600; font-size: .93rem; }
.form-msg.show { display: block; }
.contact-info { display: grid; gap: 14px; margin-top: 32px; }
.ci { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--soft); }
.ci b { display: block; color: var(--ink); }
.ci span { color: var(--muted); font-size: .95rem; }
.thanks { max-width: 640px; margin: 0 auto; text-align: center; padding: 120px 24px; }
.thanks .big { width: 76px; height: 76px; border-radius: 50%; background: #dcfce7; color: var(--ok); display: grid; place-items: center; margin: 0 auto 26px; }

/* ── FOOTER ── */
.footer { background: var(--night); color: #98a3b8; padding: 72px 0 32px; margin-top: 0; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .logo { color: #fff; }
.footer p { margin-top: 14px; max-width: 300px; }
.footer h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #98a3b8; }
.footer a:hover { color: #fff; }
.footer-bot { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; font-size: .87rem; flex-wrap: wrap; }

/* ── REVEAL ── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.float { animation: floaty 6s ease-in-out infinite; }
.float.slow { animation-duration: 8s; animation-delay: -2s; }

.btn-row.mt { margin-top: 28px; }
.btn-row.c { justify-content: center; }

/* ── RESPONSIVE ── */
@media (max-width: 1060px) {
  .hero-in { grid-template-columns: 1fr; gap: 72px; }
  .mock { max-width: 640px; margin: 0 auto; width: 100%; }
  .features, .pains { grid-template-columns: repeat(2, 1fr); }
  .integrations { grid-template-columns: repeat(3, 1fr); }
  .cta-band, .ea { grid-template-columns: 1fr; padding: 44px; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .nav-panel { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-panel { display: flex; flex-direction: column; align-items: stretch; gap: 8px; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 10px 16px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(13,20,36,.3); }
  .nav.open .nav-links { flex-direction: column; margin: 0; }
  .nav.open .nav-links a { padding: 14px 12px; font-size: 1.05rem; }
  .nav.open .nav-cta { margin: 6px 0 0; }
  .nav.open .nav-cta .btn { flex: 1; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 48px; }
  .split.rev > :first-child { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .features, .pains, .kpis { grid-template-columns: 1fr; }
  .integrations { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .cta-band, .ea { padding: 32px 24px; border-radius: 22px; }
  .hero { padding: 48px 0 80px; }
  .mock-phone { width: 150px; right: -6px; bottom: -40px; }
  .mock-toast { display: none; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .board { grid-template-columns: 56px repeat(3, 1fr); }
  .board .x { display: none; }
  .job.w2 { right: 4px; }
  .app-head span { display: none; }
  .board .who { font-size: .62rem; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .topbar { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
