/* Layout: dark sales-floor header + hero with a live product mockup, alternating product rows, dark CTA band and full footer. */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --ink: #0d1626;
  --muted: #5a6478;
  --line: #e2e6ee;
  --night: #0b1830;
  --night-2: #132544;
  --night-ink: #eef2fa;
  --night-muted: #9fb0cc;
  --accent: #ff6a2b;
  --accent-ink: #ffffff;
  --mint: #22c08b;
  --soft: #fff1ea;
  --radius: 16px;
  --max: 1160px;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a111e; --surface: #111b2d; --ink: #e9eef7; --muted: #9aa8c0; --line: #22304a;
    --soft: #2a1a12; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a111e; --surface: #111b2d; --ink: #e9eef7; --muted: #9aa8c0; --line: #22304a;
  --soft: #2a1a12; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16.5px; line-height: 1.6; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--night); }
a { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink) !important; }
.btn-accent:hover { background: #ff7d45; }
.btn-line { border-color: rgba(238,242,250,.28); color: var(--night-ink) !important; }
.btn-line:hover { background: rgba(238,242,250,.08); }
.btn-ink { border-color: var(--line); color: var(--ink) !important; background: var(--surface); }

/* Header */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.07); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--night-ink); text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.logo-mark::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--night); }
.logo b { color: var(--accent); font-weight: 800; }
nav.main { display: flex; gap: 26px; align-items: center; font-size: 15px; font-weight: 600; }
nav.main a:not(.btn) { color: var(--night-muted); text-decoration: none; }
nav.main a:not(.btn):hover { color: var(--night-ink); }
nav.main .btn { padding: 9px 18px; }
@media (max-width: 760px) { nav.main a:not(.btn) { display: none; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, var(--night-2), var(--night) 60%); color: var(--night-ink); padding-block: 72px 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .hero .wrap { grid-template-columns: 1fr; gap: 48px; } .hero { padding-block: 48px 64px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 13.5px; font-weight: 600; color: var(--night-muted); margin-bottom: 22px; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(34,192,139,.18); margin-left: 6px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: .98; letter-spacing: -0.045em; margin: 0 0 22px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(17px, 2vw, 19.5px); color: var(--night-muted); max-width: 52ch; margin: 0 0 32px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; font-size: 14px; color: var(--night-muted); }
.hero .chips span::before { content: "✓"; color: var(--mint); font-weight: 800; margin-right: 7px; }

/* Mockup */
.stage { position: relative; min-width: 0; }
.window { background: #fbfcfe; color: #0d1626; border-radius: 18px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.window .bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #eef1f6; border-bottom: 1px solid #e2e6ee; font-size: 12.5px; color: #5a6478; font-weight: 600; }
.window .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d9e3; }
.window .bar span { margin-left: 10px; }
.inbox { display: grid; grid-template-columns: 150px 1fr; min-height: 330px; }
.inbox .list { border-right: 1px solid #e2e6ee; padding: 8px; display: flex; flex-direction: column; gap: 4px; background: #f6f8fb; }
.inbox .who { padding: 9px 10px; border-radius: 10px; font-size: 12.5px; line-height: 1.3; }
.inbox .who b { display: block; font-size: 13px; }
.inbox .who small { color: #5a6478; }
.inbox .who.on { background: #ffffff; box-shadow: 0 1px 0 #e2e6ee; }
.chat { padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.45; background: #fbfcfe; }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 14px; }
.msg.in { background: #eef1f6; border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: #e6f7f0; border-top-right-radius: 4px; }
.msg .tag-ai { display: inline-block; font-size: 10.5px; font-weight: 800; color: #0f8a62; letter-spacing: .04em; margin-bottom: 2px; }
.typing { display: flex; gap: 4px; padding: 10px 12px; background: #eef1f6; border-radius: 14px; width: 58px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa6ba; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.float { position: absolute; background: #ffffff; color: #0d1626; border-radius: 14px; padding: 12px 14px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); font-size: 13px; line-height: 1.35; display: flex; gap: 10px; align-items: center; }
.float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float .dot svg { width: 18px; height: 18px; }
.float b { display: block; font-size: 13.5px; }
.float small { color: #5a6478; }
.float.lead { right: -18px; top: -26px; }
.float.lead .dot { background: #fff1ea; color: #ff6a2b; }
.float.call { left: -26px; bottom: -30px; }
.float.call .dot { background: #e6f7f0; color: #0f8a62; }
@media (max-width: 520px) { .inbox { grid-template-columns: 1fr; } .inbox .list { display: none; } .float.lead { right: 6px; top: -30px; } .float.call { left: 6px; bottom: -34px; } }

/* Sections */
section.block { padding-block: 96px; }
@media (max-width: 720px) { section.block { padding-block: 64px; } }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.head { max-width: 720px; margin-bottom: 52px; }
.head h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 14px; font-weight: 800; }
.head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--display); font-weight: 800; font-size: 15px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--accent); margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--muted); }

/* Product rows */
.products { display: flex; flex-direction: column; gap: 28px; }
.prod { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 44px; }
.prod:nth-child(even) .visual { order: -1; }
@media (max-width: 860px) { .prod { grid-template-columns: 1fr; gap: 28px; padding: 28px; } .prod:nth-child(even) .visual { order: 0; } }
.prod .name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.prod h3 { font-size: clamp(28px, 3.4vw, 38px); margin: 0; letter-spacing: -0.035em; font-weight: 800; }
.badge { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #e6f7f0; color: #0f7a57; letter-spacing: .02em; }
.prod .what { font-size: 15px; font-weight: 700; color: var(--accent); margin: 0 0 12px; }
.prod p.desc { color: var(--muted); margin: 0 0 18px; font-size: 17px; }
.prod ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.prod li { padding-left: 26px; position: relative; }
.prod li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--soft); box-shadow: inset 0 0 0 4px var(--accent); }
.visual { min-width: 0; background: var(--night); border-radius: 18px; padding: 26px; color: var(--night-ink); }
.vcard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; }
.vrow { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.vrow small { color: var(--night-muted); }
.vstack { display: grid; gap: 10px; }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; font-size: 12.5px; }
.kanban h5 { margin: 0 0 8px; font-family: var(--body); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); }
.kanban .vcard { padding: 9px 10px; margin-bottom: 8px; font-size: 12.5px; }
.kanban .vcard b { display: block; font-size: 12.5px; }
.chip { display: inline-block; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
.chip.hot { background: rgba(255,106,43,.18); color: #ff9b6e; }
.chip.ok { background: rgba(34,192,139,.18); color: #5fe0b3; }
.wave { display: flex; align-items: center; gap: 3px; height: 46px; margin: 8px 0 4px; }
.wave i { flex: 1; background: var(--accent); border-radius: 3px; opacity: .85; }

.soon { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
@media (max-width: 760px) { .soon { grid-template-columns: 1fr; } }
.soon article { border: 1.5px dashed var(--line); border-radius: 18px; padding: 28px; }
.soon h3 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.03em; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.soon .badge { background: var(--soft); color: var(--accent); }
.soon p { margin: 0; color: var(--muted); }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; gap: 24px; } }
.trust h4 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.02em; }
.trust p { margin: 0; color: var(--muted); }
.trust .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.trust .ico svg { width: 22px; height: 22px; }

/* CTA band */
.cta { background: var(--accent); color: #fff; border-radius: 26px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; padding: 36px 28px; } }
.cta h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 10px; font-weight: 800; }
.cta p { margin: 0; font-size: 18px; opacity: .92; }
.cta .mails { display: grid; gap: 12px; }
.cta .mail { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 14px 18px; }
.cta .mail small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.cta .mail a { color: #fff; font-weight: 800; font-size: 18px; text-decoration: none; word-break: break-word; }

/* Footer */
footer.site { background: var(--night); color: var(--night-muted); padding-block: 64px 40px; margin-top: 96px; font-size: 14.5px; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 820px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h5 { font-family: var(--body); color: var(--night-ink); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer.site a { color: var(--night-muted); text-decoration: none; }
footer.site a:hover { color: var(--night-ink); }
footer.site .about p { margin: 14px 0 0; max-width: 34ch; }
footer.site .legalline { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13.5px; }

/* Legal pages */
.page-head { background: var(--night); color: var(--night-ink); padding-block: 56px 60px; }
.page-head .wrap { max-width: 860px; }
.page-head h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.04em; margin: 0 0 8px; line-height: 1.02; font-weight: 800; }
.page-head p { margin: 0; color: var(--night-muted); }
.legal { padding-block: 56px 0; }
.legal .wrap { max-width: 860px; }
.legal .doc { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 5vw, 52px); min-width: 0; }
.legal .doc > p:first-child { margin-top: 0; }
.legal h2 { font-size: 23px; margin: 40px 0 10px; letter-spacing: -0.02em; scroll-margin-top: 90px; }
.legal h3 { font-size: 18px; margin: 24px 0 6px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 5px 0; }
.legal .box { background: var(--soft); border-radius: 14px; padding: 18px 22px; margin: 18px 0; }
.legal .box p { margin: 6px 0; }
.legal .tablewrap { overflow-x: auto; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; min-width: 480px; }
.legal th, .legal td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 700; }
.toc { font-size: 15px; columns: 2; column-gap: 28px; padding-left: 20px; background: var(--bg); border-radius: 14px; padding: 18px 18px 18px 38px; }
@media (max-width: 600px) { .toc { columns: 1; } }
