/* overlay.crdbrd.gg — CRDBRD brand tokens (see the crdbrd-brand skill). */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/assets/fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #050507;
  --card: rgba(18, 19, 29, 0.88);
  --card-2: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: rgba(244, 245, 255, 0.92);
  --muted: rgba(244, 245, 255, 0.66);
  --from: #be6ef1;
  --to: #8fb2e8;
  --cyan: #4de4f8;
  --pink: #f23b97;
  --grad: linear-gradient(120deg, var(--from), var(--to));
  --glow: 0 24px 60px rgba(143, 178, 232, 0.18);
  --gutter: 24px;
  --font: "Nunito", "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Microsoft YaHei UI", "PingFang SC", system-ui, sans-serif;
}
:root:lang(zh) { --font: "Nunito", "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", system-ui, sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #1c1d29, #09090f 55%, #050507) fixed, var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: clip;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--from); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ── header ─────────────────────────────────────────── */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand b { display: block; font-weight: 900; letter-spacing: 0.22em; font-size: 15px; }
.brand span { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.top nav { display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--card-2); font-size: 13px; font-weight: 700; text-decoration: none;
  color: var(--text);
}
.pill:hover { border-color: rgba(255, 255, 255, 0.18); }
select.pill { appearance: none; padding-right: 30px; cursor: pointer; font-family: inherit;
  background: var(--card-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23f4f5ff' stroke-opacity='.66' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 12px center; }
select.pill option { background: #12131d; }

/* ── buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 16px; font-weight: 800; font-size: 16px; text-decoration: none; border: 1px solid transparent;
  transition: box-shadow 0.2s, background 0.2s;
}
.btn.primary { background: var(--grad); color: #050507; }
.btn.primary:hover { background: linear-gradient(120deg, #c884f4, #9dc4f5); box-shadow: var(--glow); }
.btn.ghost { border-color: var(--border); background: var(--card-2); color: var(--text); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.18); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ── hero ───────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--to); }
.hero h1 { margin: 14px 0 18px; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; font-weight: 900; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { margin-top: 14px; font-size: 13px; color: var(--muted); }

.stage { position: relative; min-height: 470px; }
.stage::before {
  content: ""; position: absolute; inset: 8% 4% 4% 8%; border-radius: 40px;
  background: radial-gradient(circle at 30% 30%, rgba(190, 110, 241, 0.35), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(77, 228, 248, 0.22), transparent 60%);
  filter: blur(40px);
}
.stage img { position: absolute; border-radius: 20px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55); }
.stage .s-log { width: 58%; left: 0; top: 0; }
.stage .s-mu { width: 52%; right: 0; top: 18%; }
.stage .s-bar { width: 62%; right: 6%; bottom: 0; }

/* ── sections ───────────────────────────────────────── */
section { padding: 56px 0; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 900; line-height: 1.15; margin: 8px 0 28px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 24px;
  -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px);
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.feature .shot { border-radius: 16px; background: rgba(0, 0, 0, 0.25); padding: 14px; display: grid; place-items: center; height: 290px; }
@media (max-width: 900px) { .feature .shot { height: auto; min-height: 140px; } }
.feature .shot img { border-radius: 12px; max-height: 260px; width: auto; }
.feature h3 { font-size: 18px; font-weight: 800; }
.feature p { color: var(--muted); font-size: 14.5px; }
.feature code { font-size: 12.5px; color: var(--to); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 24px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px;
  background: var(--grad); color: #050507; font-weight: 900;
}
.step h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step code { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--text); background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 6px; word-break: break-all; }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; padding: 26px; }
.facts li { list-style: none; padding-left: 20px; position: relative; color: var(--muted); font-size: 15px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
.facts li b { color: var(--text); }

.faq { display: grid; gap: 10px; }
.faq details { padding: 0 22px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 800; 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: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 15px; }

.final { text-align: center; padding: 64px 24px; }
.final h2 { margin-bottom: 12px; }
.final p { color: var(--muted); margin-bottom: 26px; }

/* ── footer ─────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); text-decoration: underline; }
footer .fine { margin-top: 16px; font-size: 12px; line-height: 1.6; max-width: 70em; }

/* ── legal pages ────────────────────────────────────── */
.doc { padding: 32px 0 24px; max-width: 760px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); font-weight: 900; margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc .box { padding: 22px 24px; margin-bottom: 28px; }
.doc h2 { font-size: 21px; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--muted); font-size: 15.5px; }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 8px 0 0 20px; display: grid; gap: 6px; }
.doc b, .doc strong { color: var(--text); }
.doc code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 6px; word-break: break-all; }
.doc a { color: var(--to); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .stage { min-height: 0; aspect-ratio: 1 / 0.92; max-width: 560px; width: 100%; margin-inline: auto; }
  .features, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  .top nav .pill.hide-sm { display: none; }
  .facts { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
  section { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
