:root {
  --bg: #f7f7f8;
  --ink: #0b0b10;
  --ink-2: #4a4b55;
  --muted: #74757f;
  --line: #e4e4e8;
  --card: #ffffff;
  --dark: #0b0c12;
  --accent: #9b7bff;
  --accent-ink: #6c47ff;
  --accent-soft: #f0ebff;
  --green: #12a150;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { display: block; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }

/* ---------- Nav (floating pill) ---------- */
.nav-wrap { position: sticky; top: 14px; z-index: 50; padding: 0 22px; margin-bottom: -66px; }
.nav {
  width: min(1180px, 100%); margin: 14px auto 0; height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: 14px; padding: 0 8px 0 14px;
  box-shadow: 0 8px 30px rgba(11,11,16,.10);
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 7px 11px; border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: #f2f2f4; }
.nav-cta { display: flex; align-items: center; gap: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 15px;
  border-radius: 10px; border: 1px solid transparent; font: 600 14px/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-plain { background: transparent; color: var(--ink); }
.btn-plain:hover { background: #f2f2f4; }
.btn-white { background: #fff; color: var(--ink); }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.16); }
.btn-accent { background: var(--accent-ink); color: #fff; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }

/* ---------- Hero (dark inset card) ---------- */
.hero-shell { padding: 8px 8px 0; }
.hero {
  position: relative; overflow: hidden; border-radius: 22px; color: #fff; text-align: center;
  background: linear-gradient(180deg, #07080d 0%, #11131d 100%);
  padding: 150px 0 230px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 76px 76px; background-position: center top;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; left: 50%; top: 30%; width: 820px; height: 420px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(155,123,255,.18), transparent); pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); border-radius: 999px; padding: 5px 14px 5px 6px;
}
.kicker b { white-space: nowrap; background: var(--accent); color: #0b0c12; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.hero h1 { font-size: clamp(38px, 5.8vw, 68px); line-height: 1.06; font-weight: 600; letter-spacing: -.045em; margin: 22px auto 18px; max-width: 900px; }
.accent { color: var(--accent); background-image: radial-gradient(circle, var(--accent) 1.3px, transparent 1.6px); background-size: 9px 4px; background-repeat: repeat-x; background-position: 0 100%; padding-bottom: 6px; }
.hero .lead { font-size: 18px; color: rgba(255,255,255,.66); max-width: 600px; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.avatars { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.6); }
.avatars span { display: inline-flex; }
.avatars i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #11131d; margin-left: -8px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
.avatars i:first-child { margin-left: 0; }

/* ---------- Dashboard mock (overlaps hero) ---------- */
.dash-wrap { margin-top: -190px; position: relative; z-index: 2; }
.dash {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(11,11,16,.18), 0 2px 6px rgba(11,11,16,.06);
  display: grid; grid-template-columns: 210px 1fr 280px; min-height: 360px; font-size: 13px;
}
.dash-side { border-right: 1px solid var(--line); padding: 16px 12px; background: #fbfbfc; }
.dash-side .ws { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 16px; }
.dash-side a { display: flex; justify-content: space-between; align-items: center; padding: 7px 9px; border-radius: 8px; text-decoration: none; color: var(--ink-2); }
.dash-side a.on { background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.dash-side small { font-size: 11px; color: var(--muted); }
.dash-main { padding: 16px 18px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.dash-head b { font-size: 15px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg span { padding: 4px 10px; font-size: 12px; color: var(--muted); }
.seg span.on { background: var(--ink); color: #fff; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 6px; border-bottom: 1px solid #f0f0f2; color: var(--ink-2); }
.tbl td:first-child { color: var(--ink); font-weight: 600; }
.tbl tr:last-child td { border-bottom: 0; }
.ch { display: inline-flex; align-items: center; gap: 7px; }
.ch i { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; color: #fff; }
.up { color: var(--green); font-weight: 600; }
.dash-aside { border-left: 1px solid var(--line); padding: 16px; background: #fbfbfc; display: flex; flex-direction: column; gap: 12px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.mini small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.mini b { display: block; font-size: 24px; letter-spacing: -.03em; margin-top: 2px; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 44px; margin-top: 8px; }
.spark i { flex: 1; background: var(--accent); border-radius: 3px 3px 1px 1px; opacity: .85; }
.spark i:nth-child(odd) { opacity: .45; }
.note { font-size: 12px; color: var(--ink-2); background: var(--accent-soft); border-radius: 10px; padding: 10px 12px; }
.note b { color: var(--accent-ink); }

/* Platforms strip */
.strip { text-align: center; padding: 64px 0 20px; }
.strip p { font-size: 18px; font-weight: 600; margin: 0 0 26px; letter-spacing: -.01em; }
.logos { display: flex; justify-content: center; align-items: center; gap: 46px; flex-wrap: wrap; color: #8a8b94; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.logos span { display: inline-flex; align-items: center; gap: 8px; filter: grayscale(1); opacity: .85; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.04em; font-weight: 600; margin: 0 0 14px; }
.sub { color: var(--ink-2); font-size: 17px; max-width: 600px; margin: 0 0 18px; }
.link { font-size: 14px; font-weight: 600; text-decoration: none; }
.link:hover { color: var(--accent-ink); }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

/* Bento grid with shared borders */
.bento { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); gap: 1px; }
.cell { background: var(--card); padding: 28px; display: flex; flex-direction: column; min-height: 250px; }
.cell.wide { grid-column: span 2; }
.cell h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.02em; font-weight: 600; }
.cell p { margin: 0; color: var(--ink-2); font-size: 15px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; background: #fff; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

/* Funnel flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: auto; padding-top: 22px; position: relative; }
.flow div { text-align: center; position: relative; }
.flow div + div::before { content: ""; position: absolute; left: -50%; right: 50%; top: 20px; border-top: 2px dashed #d7cffd; z-index: 0; }
.flow .n { position: relative; z-index: 1; width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }
.flow small { font-size: 12.5px; color: var(--ink-2); font-weight: 500; }

.check-list { list-style: none; padding: 0; margin: auto 0 0; padding-top: 18px; display: grid; gap: 8px; }
.check-list li { font-size: 14px; color: var(--ink-2); display: flex; gap: 9px; align-items: flex-start; }
.check-list li::before { content: "✓"; color: var(--accent-ink); font-weight: 700; }

/* Proof card */
.proof { display: grid; grid-template-columns: 300px 1fr 260px; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.proof-visual { background: radial-gradient(circle at 30% 30%, rgba(155,123,255,.55), transparent 60%), linear-gradient(160deg, #11131d, #07080d); color: #fff; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; position: relative; overflow: hidden; }
.proof-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; }
.proof-visual > * { position: relative; }
.proof-visual b { font-size: 54px; letter-spacing: -.05em; line-height: 1; font-weight: 600; }
.proof-visual span { color: rgba(255,255,255,.7); font-size: 14px; }
.proof-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.proof-body h3 { font-size: 24px; line-height: 1.3; letter-spacing: -.025em; font-weight: 500; margin: 0 0 18px; }
.proof-body p { color: var(--ink-2); margin: 0; font-size: 15px; }
.proof-stats { border-left: 1px solid var(--line); display: grid; }
.proof-stats div { padding: 22px 26px; }
.proof-stats div + div { border-top: 1px solid var(--line); }
.proof-stats b { display: block; font-size: 34px; letter-spacing: -.04em; font-weight: 600; line-height: 1.1; }
.proof-stats span { color: var(--muted); font-size: 13px; }

/* Steps */
.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); gap: 1px; }
.step { background: #fff; padding: 26px; }
.step .n { font-size: 12px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 2px 8px; }
.step h3 { margin: 16px 0 6px; font-size: 18px; letter-spacing: -.02em; font-weight: 600; }
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* Compare */
.vs { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vs > div { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: #fff; }
.vs > div.us { background: var(--dark); color: #fff; border-color: var(--dark); }
.vs h3 { margin: 0 0 16px; font-size: 18px; font-weight: 600; }
.vs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.vs li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.vs li::before { content: "–"; color: var(--muted); }
.vs .us li { color: rgba(255,255,255,.85); }
.vs .us li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* FAQ */
.faq { margin-top: 32px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.faq details { padding: 20px 24px; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--ink-2); }

/* CTA */
.cta-band { position: relative; overflow: hidden; border-radius: 22px; color: #fff; text-align: center; padding: clamp(48px, 7vw, 88px) 24px; background: linear-gradient(180deg, #07080d, #141625); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); }
.cta-band > * { position: relative; }
.cta-band p { color: rgba(255,255,255,.66); font-size: 18px; margin: 0 auto 28px; max-width: 560px; }

/* ---------- Sub pages ---------- */
.page-hero { position: relative; overflow: hidden; border-radius: 22px; color: #fff; text-align: center; background: linear-gradient(180deg, #07080d, #11131d); padding: 130px 0 64px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.045em; font-weight: 600; margin: 0 0 10px; }
.page-hero p { color: rgba(255,255,255,.66); margin: 0; }
.legal { padding: 48px 0 90px; }
.letter { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px, 5vw, 56px); }
.legal .letter h2 { font-size: 22px; letter-spacing: -.02em; margin: 36px 0 8px; font-weight: 600; }
.legal .letter h2:first-of-type { margin-top: 0; }
.legal .letter h3 { font-size: 17px; margin: 22px 0 6px; }
.legal .letter p, .legal .letter li { font-size: 16px; color: var(--ink-2); }
.legal .letter ul { padding-left: 20px; }
.legal .letter li { margin: 6px 0; }
.legal a { color: var(--accent-ink); }
.toc { background: #f7f7f8; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 36px; }
.toc b { display: block; margin-bottom: 8px; font-size: 14px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 14px; }
.toc a { color: var(--ink-2); text-decoration: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.card h3 { margin: 16px 0 6px; font-size: 18px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.i-blue, .i-green, .i-purple { background: var(--accent-soft); color: var(--accent-ink); }
.info-card + .info-card { margin-top: 16px; }
.info-card a { color: var(--accent-ink); text-decoration: none; font-weight: 600; word-break: break-all; }
form label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 6px; }
.field { margin-bottom: 16px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea { width: 100%; font: 15px var(--font); color: var(--ink); background: #fff; border: 1px solid #dcdce2; border-radius: 10px; padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent-ink); box-shadow: 0 0 0 4px rgba(108,71,255,.13); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: auto; margin-top: 4px; }
.consent a { color: var(--accent-ink); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-ok { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: #e7f6ee; color: #128860; font-size: 14px; }

/* Footer */
footer { padding: 64px 0 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 12px; font-size: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 6px 0; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.foot a:hover { color: var(--accent-ink); }
.foot p { color: var(--muted); font-size: 14px; margin: 12px 0 0; max-width: 330px; }
.foot address { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.6; }
.copy { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 1000px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side, .dash-aside { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cell.wide { grid-column: span 2; }
  .proof { grid-template-columns: 1fr; }
  .proof-stats { border-left: 0; border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); }
  .proof-stats div + div { border-top: 0; border-left: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid, .vs { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .nav-wrap { padding: 0 12px; }
  .nav-cta .btn-plain { display: none; }
  .hero { padding: 120px 0 200px; }
  .bento, .steps, .row-2 { grid-template-columns: 1fr; }
  .cell.wide { grid-column: auto; }
  .proof-stats { grid-template-columns: 1fr; }
  .proof-stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .tbl .hide-s { display: none; }
  .foot > div:first-child { grid-column: 1 / -1; }
  .toc ol { columns: 1; }
  section { padding: 68px 0; }
  .logos { gap: 26px; font-size: 16px; }
  .flow small { font-size: 11px; }
}

/* Logo */
.logo { gap: 8px; color: var(--ink); }
.logo .wm { font-size: 17px; font-weight: 800; letter-spacing: -.035em; line-height: 1; display: inline-flex; gap: 5px; }
.logo .wm span { font-weight: 500; color: var(--ink-2); letter-spacing: -.03em; }
.logo-mark { flex: none; }
.dash-side .ws { color: var(--ink); }
