@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --ink: #171717;          /* primary buttons */
  --on-ink: #ffffff;
  --accent: #6d28d9;       /* violet: 7.1:1 on white */
  --accent-strong: #5b21b6;
  --accent-tint: #f5f3ff;
  --field: #7e8a9c;        /* input edge, 3.5:1 */
  --radius: 12px;
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a; --surface: #141414; --text: #e5e5e5; --muted: #a3a3a3;
    --line: #262626; --ink: #ffffff; --on-ink: #0a0a0a;
    --accent: #a78bfa; --accent-strong: #c4b5fd; --accent-tint: #2e1065;
    --field: #64748b; --shadow: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; flex-direction: column; justify-content: center; min-height: 44px; line-height: 1; text-decoration: none; color: var(--text); }
.brand img { width: 150px; height: auto; max-height: 44px; object-fit: contain; }
.brand b { font-size: 22px; letter-spacing: -.02em; }
.brand span { font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-top: 2px; font-weight: 600; width: 150px; text-align: center; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.nav a:not(.btn):hover { color: var(--text); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { opacity: .88; color: var(--on-ink); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--field); color: var(--text); }
.btn { transition: background-color 160ms ease-out, color 160ms ease-out, border-color 160ms ease-out; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
::selection { background: var(--accent-tint); color: var(--accent-strong); }
input, textarea { caret-color: var(--accent); }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent-strong); background: var(--accent-tint);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
h1 { font-size: clamp(32px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -.03em; margin: 0 auto 18px; max-width: 18ch; text-wrap: balance; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 60ch; margin: 0 auto 28px; text-wrap: pretty; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.shot { margin: 48px auto 0; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }

/* Strip */
.strip { border-block: 1px solid var(--line); background: var(--surface); }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: center;
  font-size: 14px; color: var(--muted); }
.strip li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }

/* Sections */
section { padding: 80px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; text-wrap: balance; }
.sub { color: var(--muted); max-width: 62ch; margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-strong); margin-bottom: 14px; }
.ico svg { width: 18px; height: 18px; }

.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.split.rev { grid-template-columns: 1.25fr 1fr; }
.split.rev .split-text { order: 2; }
@media (max-width: 900px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev .split-text { order: 0; } }
.split img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent-tint); box-shadow: inset 0 0 0 5px var(--accent); }
.ticks b { color: var(--text); font-weight: 600; }

.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 20px; left: 24px; width: 28px; height: 28px;
  border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--ink); color: var(--on-ink); }

/* Offer */
.offer { background: var(--surface); border-block: 1px solid var(--line); }
.offer .grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.offer .card { background: var(--bg); }
.offer h3 { display: flex; align-items: center; gap: 8px; }

/* Form */
form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { form { grid-template-columns: 1fr; } }
.full { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--surface);
  border: 1px solid var(--field); border-radius: 10px; padding: 10px 12px; min-height: 44px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.check input { width: 18px; min-height: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -9999px; }
.status { margin: 0; font-size: 15px; }
.status.ok { color: #047857; } .status.err { color: #b91c1c; }
@media (prefers-color-scheme: dark) { .status.ok { color: #34d399; } .status.err { color: #f87171; } }
.formcard { padding: 32px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 10px 0 0; max-width: 70ch; }

footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

/* Long-form pages (privacy) */
main h3 { font-size: 18px; margin: 32px 0 8px; }
main section p:not(.sub):not(.eyebrow):not(.status) { color: var(--muted); max-width: 70ch; }

/* Small phones: keep the header on one line. */
.btn { white-space: nowrap; }
.brand span { white-space: nowrap; }
@media (max-width: 480px) {
  .top .btn { min-height: 40px; padding: 0 12px; font-size: 14px; }
  .brand span { font-size: 9px; letter-spacing: .12em; }
}

.clor-artwork { position: relative; display: block; }
.brand .clor-artwork { width: 150px; margin: 0; }
/* The light/dark logo swap is handled by the <picture> in the header
   (prefers-color-scheme), so no CSS mask/tint hack is needed. */

/* ── product cards (suite homepage) ───────────────────────────────── */
.card.app { display: flex; flex-direction: column; }
a.card.app { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card.app:hover { border-color: var(--accent); transform: translateY(-2px); }
.card.app h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.card.app .more { margin-top: auto; padding-top: 12px; color: var(--accent); font-weight: 600; font-size: 14px; }
.card.app.join { background: var(--accent-tint); border-color: transparent; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; line-height: 1; }
.badge.live { color: var(--accent-strong); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.badge.soon { color: var(--muted); background: color-mix(in srgb, var(--muted) 14%, transparent); }
