:root {
  --bg: #0b0b0d; --surface: #141417; --surface-2: #1c1c21; --text: #ffffff; --muted: #a6a6b3; --line: #2a2a31;
  --violet: #7c3aed; --indigo: #4f46e5; --blue: #3b82f6; --magenta: #c026d3; --pink: #db2777; --accent: #a78bfa;
  --grad: linear-gradient(135deg, #6d28d9 0%, #4f46e5 35%, #7c3aed 60%, #c026d3 85%, #db2777 100%);
  --grad-soft: linear-gradient(160deg, #3b1f8f 0%, #5b21b6 45%, #86198f 100%);
  --radius: 28px;
  /* Semantic tokens – dark is the default, light below. Gradient blocks (.stage, .feature, .cta-band) stay white-on-colour in both. */
  --text-2: #d4d4de; --nav-bg: rgba(11, 11, 13, .82); --btn-bg: #fff; --btn-fg: #0e0e0e;
  --win: #17171b; --bubble: #26262c; --card: #202026; --card-line: #2f2f37; --chip: #2a2a31; --warn: #e0b452;
  --ok-bg: #14321f; --ok-line: #1f6b3a; --err-bg: #3a1518; --err-line: #8a2a31; --shadow: none;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f7f6fb; --surface: #ffffff; --surface-2: #efedf6; --text: #17141f; --muted: #625d73; --line: #e2dfeb; --accent: #6d28d9;
  --text-2: #3b3748; --nav-bg: rgba(247, 246, 251, .85); --btn-bg: #17141f; --btn-fg: #ffffff;
  --win: #ffffff; --bubble: #efedf6; --card: #ffffff; --card-line: #e2dfeb; --chip: #f1eff7; --warn: #9a6700;
  --ok-bg: #e7f6ec; --ok-line: #9fd8b1; --err-bg: #fdecee; --err-line: #f2a7b0; --shadow: 0 1px 2px rgba(23, 20, 31, .06), 0 8px 24px rgba(23, 20, 31, .06);
  color-scheme: light;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #f7f6fb; --surface: #ffffff; --surface-2: #efedf6; --text: #17141f; --muted: #625d73; --line: #e2dfeb; --accent: #6d28d9;
    --text-2: #3b3748; --nav-bg: rgba(247, 246, 251, .85); --btn-bg: #17141f; --btn-fg: #ffffff;
    --win: #ffffff; --bubble: #efedf6; --card: #ffffff; --card-line: #e2dfeb; --chip: #f1eff7; --warn: #9a6700;
    --ok-bg: #e7f6ec; --ok-line: #9fd8b1; --err-bg: #fdecee; --err-line: #f2a7b0; --shadow: 0 1px 2px rgba(23, 20, 31, .06), 0 8px 24px rgba(23, 20, 31, .06);
    color-scheme: light;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--nav-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; text-decoration: none; }
.logo i { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); display: grid; place-items: center; }
.logo i::after { content: ""; width: 13px; height: 10px; border: 2.5px solid #fff; border-radius: 3px; }
.links { display: flex; gap: 30px; font-size: 15px; }
.links a { text-decoration: none; color: var(--text-2); }
.links a:hover { color: var(--text); }
.actions { display: flex; gap: 10px; align-items: center; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 10px; border-radius: 9999px; padding: 12px 18px 12px 24px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; }
.pill:hover { transform: translateY(-1px); }
.pill.white { background: var(--btn-bg); color: var(--btn-fg); }
.pill.ghost { border-color: var(--text); color: var(--text); padding: 12px 24px; }
/* On the gradient blocks buttons and text stay white in both themes. */
.stage, .feature, .cta-band { color: #fff; }
:is(.stage, .feature, .cta-band) .pill.white { background: #fff; color: #0e0e0e; }
:is(.stage, .feature, .cta-band) .pill.ghost { border-color: #fff; color: #fff; }
.pill.big { font-size: 17px; padding: 16px 22px 16px 30px; }
.pill .chev { font-size: 18px; letter-spacing: -3px; margin-top: -2px; }

/* hero */
.hero { position: relative; text-align: center; padding: 70px 0 40px; }
.badges { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.badge { border: 1px solid var(--line); background: var(--surface); border-radius: 9999px; padding: 6px 14px; font-size: 13px; color: var(--text-2); }
.badge b { color: var(--text); }
h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1.06; font-weight: 800; letter-spacing: -.025em; margin: 0 auto 26px; max-width: 13.5ch; }
.slot { display: inline-grid; vertical-align: bottom; text-align: left; }
.slot > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .17em; white-space: nowrap; opacity: 0; animation: slot 15s infinite; }
.slot img { width: .93em; height: .93em; border-radius: 27%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); flex: none; }
/* Six names, 2.5 s each; negative delays keep exactly one visible at any moment. */
.slot > span:nth-child(2) { animation-delay: -12.5s; }
.slot > span:nth-child(3) { animation-delay: -10s; }
.slot > span:nth-child(4) { animation-delay: -7.5s; }
.slot > span:nth-child(5) { animation-delay: -5s; }
.slot > span:nth-child(6) { animation-delay: -2.5s; }
@keyframes slot { 0% { opacity: 0; transform: translateY(.35em); } 2.5%, 15% { opacity: 1; transform: none; } 17.5%, 100% { opacity: 0; transform: translateY(-.35em); } }
@media (prefers-reduced-motion: reduce) { .slot > span { animation: none; } .slot > span:first-child { opacity: 1; } }
.badge { display: inline-flex; align-items: center; gap: 7px; }
.badge img, .feature .art img { width: 16px; height: 16px; border-radius: 4px; }
.feature .art span { display: inline-flex; align-items: center; gap: 6px; }
.sub { color: var(--text-2); font-size: 19px; max-width: 640px; margin: 0 auto 34px; }
.doodle { position: absolute; pointer-events: none; opacity: .9; color: var(--text); }
.doodle.l { left: -40px; top: 230px; width: 230px; }
.doodle.r { right: -10px; top: 40px; width: 140px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 820px; margin: 44px auto 0; }
.chips span { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 7px 13px; font-size: 14px; color: var(--text-2); }

/* gradient stage with chat mock */
.stage { background: var(--grad); border-radius: var(--radius); padding: 48px clamp(16px, 5vw, 64px) 0; margin: 50px 0 20px; position: relative; overflow: hidden; }
.stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 20% 0%, rgba(255,255,255,.25), transparent 60%); pointer-events: none; }
.window { position: relative; background: var(--win); color: var(--text); border: 6px solid rgba(255,255,255,.22); border-bottom: 0; border-radius: 22px 22px 0 0; min-height: 420px; padding: 26px clamp(14px, 4vw, 40px) 30px; text-align: left; }
.window .bar { display: flex; gap: 7px; margin-bottom: 26px; }
.window .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.q { margin-left: auto; max-width: 560px; background: var(--bubble); border-radius: 18px 18px 4px 18px; padding: 14px 18px; font-size: 16px; }
.a { color: var(--muted); font-size: 15px; margin: 20px 0 14px; }
.a b { color: var(--text); }
.mock { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pc { background: var(--card); border: 1px solid var(--card-line); box-shadow: var(--shadow); border-radius: 16px; overflow: hidden; }
.pc .sw { aspect-ratio: 16 / 10; }
.pc .sw.s1 { background: linear-gradient(120deg, #e8e4dc 0 48%, #d5d9dc 48%); }
.pc .sw.s2 { background: repeating-linear-gradient(90deg, #6f7f74 0 14px, #788a7e 14px 22px); }
.pc .sw.s3 { background: linear-gradient(160deg, #f1f0ec, #d9d6cf 60%, #c4bfb5); }
.pc .in { padding: 12px 14px 14px; }
.pc small { color: var(--muted); font-size: 12px; display: flex; gap: 6px; align-items: center; }
.pc small em { font-style: normal; color: var(--warn); border: 1px solid var(--line); border-radius: 99px; padding: 0 7px; font-size: 11px; }
.pc h4 { margin: 4px 0 8px; font-size: 15px; line-height: 1.3; }
.pc .k { display: flex; flex-wrap: wrap; gap: 4px; }
.pc .k span { background: var(--chip); border-radius: 6px; padding: 2px 7px; font-size: 12px; color: var(--text-2); }
.pc .btn { margin-top: 12px; display: inline-block; background: var(--btn-bg); color: var(--btn-fg); border-radius: 99px; padding: 6px 14px; font-size: 13px; font-weight: 700; }

/* sections */
section { padding: 90px 0; }
h2 { text-align: center; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; margin: 0 auto 18px; max-width: 18ch; }
.lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 54px; font-size: 18px; }
.who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.who svg { width: 64px; height: 64px; margin: 0 auto 22px; }
.who h3 { font-size: 27px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.01em; }
.who p { margin: 0; color: var(--text-2); font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature { border-radius: var(--radius); padding: 36px; background: var(--grad-soft); position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.feature.b { background: linear-gradient(160deg, #1e3a8a 0%, #4338ca 50%, #6d28d9 100%); }
.feature.c { background: linear-gradient(160deg, #701a75 0%, #a21caf 50%, #db2777 100%); }
.feature.d { background: linear-gradient(160deg, #312e81 0%, #6d28d9 55%, #a21caf 100%); }
.feature .label { align-self: flex-start; background: rgba(255,255,255,.16); border-radius: 10px; padding: 5px 12px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.feature h3 { font-size: 32px; font-weight: 800; margin: 0 0 10px; line-height: 1.15; letter-spacing: -.01em; }
.feature p { margin: 0; color: #ece9ff; font-size: 17px; max-width: 46ch; }
.feature .art { position: absolute; top: 28px; right: 28px; left: 28px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.feature .art span { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 6px 11px; font-size: 13px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 22px; padding: 30px; text-align: center; }
.stat b { display: block; font-size: 46px; font-weight: 800; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 22px; padding: 30px; counter-increment: s; }
.step::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); }

.connect { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.box h3 { margin: 0 0 18px; font-size: 26px; font-weight: 800; }
.box ol { margin: 0; padding-left: 20px; color: var(--text-2); }
.box li { margin-bottom: 10px; }
.url { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 6px 14px; margin: 18px 0 6px; font: 15px ui-monospace, "SF Mono", Menlo, monospace; }
.url code { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url button { font: 600 13px "Plus Jakarta Sans", sans-serif; border: 0; border-radius: 9px; padding: 8px 12px; background: var(--btn-bg); color: var(--btn-fg); cursor: pointer; }
.fine { color: var(--muted); font-size: 14px; }

.cta-band { background: var(--grad); border-radius: var(--radius); padding: 64px 28px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: #f1eeff; max-width: 620px; margin: 0 auto 30px; }
.cta-band .row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
.faq summary { cursor: pointer; font-size: 19px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--text-2); margin: 12px 0 0; }

footer { border-top: 1px solid var(--line); padding: 44px 0 60px; margin-top: 40px; }
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--text); }
footer p { color: var(--muted); font-size: 13px; max-width: 520px; margin: 14px 0 0; }

/* legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 40px 0 80px; }
.legal h1 { text-align: left; font-size: clamp(34px, 5vw, 48px); max-width: none; margin-bottom: 8px; }
.legal h2 { text-align: left; font-size: 22px; max-width: none; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--text-2); }
.legal a { color: var(--accent); }
.todo { background: #4a3a00; color: #ffe08a; padding: 1px 6px; border-radius: 4px; }

@media (max-width: 900px) {
  .links { display: none; }
  .who, .features, .stats, .steps, .connect { grid-template-columns: 1fr; }
  .mock { grid-template-columns: 1fr; }
  .mock .pc:nth-child(n+2) { display: none; }
  .doodle { display: none; }
  .actions .ghost { display: none; }
  section { padding: 64px 0; }
  .feature { min-height: 260px; padding: 28px; }
  .feature .art { position: static; justify-content: flex-start; margin-bottom: 18px; }
}

/* Manufacturer page */
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 24px 0; }
.options .box { padding: 24px; }
.options h3 { margin: 0 0 6px; }
.options p { margin: 0; color: var(--muted); font-size: 15px; }
.form { display: grid; gap: 16px; max-width: 640px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; box-sizing: border-box; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form .kinds { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.form .kinds legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.form .kinds label { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.form .kinds input { width: auto; }
.form button { justify-self: start; cursor: pointer; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 12px; padding: 12px 16px; }
.notice.ok { background: var(--ok-bg); border: 1px solid var(--ok-line); }
.notice.err { background: var(--err-bg); border: 1px solid var(--err-line); }

/* Theme switch (sun/moon), shared by site and dashboard */
.theme { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; }
.theme svg { width: 18px; height: 18px; }
.theme .sun { display: none; }
:root[data-theme="light"] .theme .sun { display: block; }
:root[data-theme="light"] .theme .moon { display: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Language switcher in the footer */
footer .langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; font-size: 13px; max-width: 420px; }
footer .langs a { color: var(--muted); text-decoration: none; }
footer .langs a:hover, footer .langs a[aria-current="true"] { color: var(--text); }
footer .langs a[aria-current="true"] { font-weight: 700; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal .notice { margin-bottom: 24px; }
