:root {
  color-scheme: dark;
  --bg: #0b1220;
  --bg-soft: #0f1729;
  --bg-deep: #070c17;
  --surface: #131d33;
  --surface-2: #1b2640;
  --line: #1f2b45;
  --line-strong: #2b3a5c;
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --muted: #94a3b8;
  --accent: #f97316;
  --accent-hover: #fb923c;
  --accent-text: #fb923c;
  --on-accent: #1a0b02;
  --accent-soft: rgb(249 115 22 / 14%);
  --ok: #34d399;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 18px 44px -18px rgb(0 0 0 / 70%);
  --wrap: 1160px;
  --gutter: 24px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink-2);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); }
body { margin: 0; background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgb(249 115 22 / 35%); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.8em 1.4em; border-radius: 10px; border: 2px solid var(--accent);
  background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgb(255 255 255 / 6%); border-color: var(--muted); }
.btn-sm { padding: 0.5em 1em; font-size: 0.92rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgb(7 12 23 / 85%); backdrop-filter: saturate(1.4) blur(10px);
  color: var(--ink); border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; height: 32px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink-2); font-size: 0.95rem; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgb(249 115 22 / 20%), transparent 60%),
    radial-gradient(900px 600px at 0% 0%, rgb(79 70 229 / 24%), transparent 60%),
    var(--bg-deep);
  padding: 88px 0 0; overflow: hidden;
}
.hero h1 .eyebrow { display: block; line-height: 1.4; margin-bottom: 1.1rem; }
.hero h1 .h1-text { display: block; max-width: 14ch; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: var(--ink-2); max-width: 60ch; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 700; color: var(--accent-text); margin-bottom: 0.9em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.proof { color: var(--muted); font-size: 0.95rem; }

/* Screenshot frames */
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--line); }
.shot figcaption { padding: 12px 16px; font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--line); }
.chrome { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.chrome i { width: 10px; height: 10px; border-radius: 50%; background: #334160; }
.chrome span { margin-left: 12px; font-size: 0.78rem; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-hero { margin-top: 48px; border-color: var(--line-strong); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -10px 60px -10px rgb(0 0 0 / 60%); }

/* Highlights strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; padding-top: 22px; padding-bottom: 22px; font-weight: 600; color: var(--ink-2); font-size: 0.97rem; }
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.strip svg { width: 18px; height: 18px; fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip + .section { border-top: 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: rgb(249 115 22 / 55%); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--accent-soft); stroke: var(--accent-text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

/* Spotlights */
.spotlight { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.spotlight.reverse { grid-template-columns: 7fr 5fr; }
.spotlight.reverse .spot-text { order: 2; }
.spot-text > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fb923c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.shot-card { max-width: 420px; width: 100%; justify-self: center; border-radius: 22px; }
.kiosk-pair { display: grid; gap: 16px; }
.kiosk-pair .shot { border: 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Architecture */
.arch { display: flex; align-items: center; gap: 0; margin-bottom: 48px; }
.node { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.node strong { font-size: 1rem; color: var(--ink); }
.node span { color: var(--muted); font-size: 0.9rem; }
.node-main { flex: 0 0 300px; border: 2px solid var(--accent); box-shadow: var(--shadow); }
.node-main .icon { margin-bottom: 8px; }
.link { flex: 1; position: relative; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); margin: 0 4px; min-width: 120px; }
.link span { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); white-space: nowrap; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); background: var(--bg-soft); padding: 0 8px; }
.node-group { flex: 0 0 240px; display: grid; gap: 10px; }
.node-group .node { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 12px 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.facts h3 { margin-bottom: 0.3em; }
.facts p { color: var(--muted); margin: 0; }

.step { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); font-weight: 800; margin-bottom: 14px; }

/* Migration */
.migrate { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.migrate > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.migrate .ticks { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

/* Options */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.option { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.option:first-child { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.option > p:not(.tag) { color: var(--muted); }
.option .ticks { margin: 4px 0 28px; flex: 1; }
.option .btn { align-self: flex-start; }
.tag { display: inline-block; align-self: flex-start; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); margin-bottom: 14px; }
.tag-live { background: rgb(52 211 153 / 12%); color: var(--ok); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); font-size: 1.4rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* Contact */
.cta { text-align: center; border-bottom: 0; background:
    radial-gradient(700px 300px at 50% 0%, rgb(249 115 22 / 22%), transparent 70%), var(--bg-deep); }
.cta p { max-width: 56ch; margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.cta .btn { margin-top: 12px; }
.contact-line { margin-top: 18px; font-size: 0.95rem !important; color: var(--muted); }
.contact-line a { color: var(--accent-text); }

/* Footer */
.footer { background: var(--bg-deep); color: var(--muted); border-top: 1px solid var(--line); padding: 28px 0; font-size: 0.88rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .brand img { height: 26px; }
.footer p { margin: 0; }
.footer .about { flex: 1 1 100%; order: 3; max-width: 80ch; color: var(--muted); }

/* Responsive */
@media (max-width: 980px) {
  .spotlight, .spotlight.reverse, .migrate { grid-template-columns: 1fr; gap: 36px; }
  .spotlight.reverse .spot-text { order: 0; }
  .grid-3 { grid-template-columns: 1fr; gap: 20px; }
  .arch { flex-direction: column; align-items: stretch; }
  .node-main { flex: none; }
  .node-group { flex: none; }
  .link { width: 2px; height: 72px; min-width: 0; margin: 4px auto; background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px); flex: none; }
  .link span { top: 50%; left: 14px; transform: translateY(-50%); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 14px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .pair, .options { grid-template-columns: 1fr; }
  .shot-hero { margin-top: 36px; }
  .option { padding: 24px; }
  .cta-row .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
  .card:hover { transform: none; }
}
