/* generated by build.sh — do not edit directly, edit shared/ */
:root {
  color-scheme: light;
  --bg: #ecebe9;
  --bg-deep: #e3e1de;
  --surface: #f7f5f3;
  --surface-2: #efece8;
  --ink: #1d1c1a;
  --ink-2: #4a4844;
  --ink-3: #7a7771;
  --hair: rgba(0, 0, 0, .06);

  --accent: #ff7a3d;
  --accent-soft: #ffe6d6;
  --accent-glow: rgba(255, 122, 61, .28);

  --dark: #15192a;
  --dark-2: #1f2336;
  --dark-glow: rgba(80, 130, 255, .22);

  --blue: #3b82f6;
  --violet: #a855f7;
  --emerald: #10b981;
  --slate: #9aa0a8;

  --r-card: 24px;
  --r-btn: 18px;
  --r-chip: 12px;
  --r-tile: 20px;

  --shadow-1:
    0 1px 2px rgba(40, 30, 20, .06),
    0 10px 28px rgba(40, 30, 20, .06);
  --shadow-2:
    0 2px 4px rgba(40, 30, 20, .08),
    0 22px 50px rgba(40, 30, 20, .10);
  --inset-soft:
    inset 1px 1px 2px rgba(255, 255, 255, .95),
    inset -1px -1px 2px rgba(0, 0, 0, .05);
  --inset-press:
    inset 2px 2px 6px rgba(0, 0, 0, .08),
    inset -1px -1px 2px rgba(255, 255, 255, .8);
  --glow-orange:
    0 0 0 6px var(--accent-glow),
    0 14px 32px rgba(255, 122, 61, .28);
  --glow-dark:
    0 0 0 6px var(--dark-glow),
    0 14px 32px rgba(40, 60, 120, .35);

  --font:
    -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  --font-num:
    "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", sans-serif;
}

/* 故意不写 prefers-color-scheme: dark fallback。
   Neo-tactile 风格依赖"背景与卡片几乎同色 + 软高光 + 软阴影"
   三件套,在深色背景下阴影叠黑不可见、人眼在低亮度区分能力暴跌,
   凸起感会塌掉。color-scheme: light 已锁,系统 UI 也跟着浅色。 */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(900px 600px at 88% -10%, rgba(255, 122, 61, .10), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(80, 100, 200, .08), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 28px 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ink-3);
}

h1, h2, h3 { margin: 0; color: var(--ink); }
h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 17px; font-weight: 600; }
p  { margin: 0; color: var(--ink-2); }

/* ── card ────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-1), var(--inset-soft);
  padding: 28px;
  position: relative;
  isolation: isolate;
}

.card--glow {
  background:
    radial-gradient(120% 80% at 10% 0%, #fff8f1, var(--surface) 60%);
  box-shadow: var(--glow-orange), var(--inset-soft);
}

.card--dark {
  background:
    radial-gradient(120% 90% at 90% 0%, #2a3354, var(--dark) 65%);
  color: #eef1fb;
  box-shadow: var(--glow-dark);
}
.card--dark h1, .card--dark h2, .card--dark h3 { color: #f4f6ff; }
.card--dark p { color: #b8bdd1; }

/* ── dot ─────────────────────────────────────────────── */
.dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 122, 61, .18);
  display: inline-block;
}
.dot--blue   { background: var(--blue);    box-shadow: 0 0 0 4px rgba(59, 130, 246, .2); }
.dot--violet { background: var(--violet);  box-shadow: 0 0 0 4px rgba(168, 85, 247, .2); }
.dot--green  { background: var(--emerald); box-shadow: 0 0 0 4px rgba(16, 185, 129, .2); }

/* ── corner icon (top-right of card) ─────────────────── */
.corner {
  position: absolute;
  top: 18px; right: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2);
  box-shadow: var(--inset-soft);
  color: var(--ink-3);
}
.card--dark .corner {
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
  color: #c8cce0;
}

/* ── button ──────────────────────────────────────────── */
.btn {
  --bgc: var(--surface);
  --fgc: var(--ink);
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  font: inherit; font-weight: 600; font-size: 15px;
  color: var(--fgc);
  background: var(--bgc);
  border: 0;
  border-radius: var(--r-btn);
  box-shadow: var(--shadow-1), var(--inset-soft);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  user-select: none;
}
.btn:hover  { transform: translateY(-1px); box-shadow: var(--shadow-2), var(--inset-soft); }
.btn:active { transform: translateY(0); box-shadow: var(--inset-press); }
.btn--primary {
  --bgc: linear-gradient(180deg, #ff8d57 0%, #ff6a26 100%);
  --fgc: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .35) inset,
    0 10px 24px rgba(255, 106, 38, .35);
}
.btn--primary:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .35) inset,
    0 14px 32px rgba(255, 106, 38, .42);
}
.btn--dark {
  --bgc: #2b3046;
  --fgc: #f3f4fb;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .07) inset,
    0 10px 24px rgba(20, 25, 50, .35);
}
.btn--ghost {
  --bgc: transparent;
  box-shadow: inset 0 0 0 1px var(--hair);
}

/* ── chip / number ───────────────────────────────────── */
.chips { display: inline-flex; gap: 8px; }
.chip {
  width: 38px; height: 38px;
  border-radius: var(--r-chip);
  background: var(--surface);
  box-shadow: var(--shadow-1), var(--inset-soft);
  display: grid; place-items: center;
  font-family: var(--font-num); font-weight: 600; font-size: 15px;
  color: var(--ink-2);
}
.chip--blue   { background: linear-gradient(180deg, #5ea0ff, #3b82f6); color: #fff; box-shadow: 0 8px 18px rgba(59, 130, 246, .35); }
.chip--violet { background: linear-gradient(180deg, #c084fc, #a855f7); color: #fff; box-shadow: 0 8px 18px rgba(168, 85, 247, .35); }
.chip--orange { background: linear-gradient(180deg, #ff8d57, #ff6a26); color: #fff; box-shadow: 0 8px 18px rgba(255, 106, 38, .35); }
.chip--green  { background: linear-gradient(180deg, #34d399, #10b981); color: #fff; box-shadow: 0 8px 18px rgba(16, 185, 129, .35); }
.chip--slate  { background: linear-gradient(180deg, #44485a, #2b3046); color: #fff; box-shadow: 0 8px 18px rgba(20, 25, 50, .25); }

/* ── tile (empty-state style) ────────────────────────── */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.tile {
  display: flex; flex-direction: column; gap: 10px;
  padding: 22px 22px 20px;
  background: var(--surface);
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-1), var(--inset-soft);
  transition: transform .2s ease, box-shadow .25s ease;
  color: inherit;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2), var(--inset-soft);
  color: inherit;
}
.tile .ico {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  box-shadow: var(--inset-soft);
  display: grid; place-items: center;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.tile .ico--orange { background: linear-gradient(180deg, #ffdbc1, #ffb892); color: #c44910; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }
.tile .ico--blue   { background: linear-gradient(180deg, #cfe1ff, #9cc1ff); color: #1f4fb6; }
.tile .ico--violet { background: linear-gradient(180deg, #e5d2ff, #c8a8ff); color: #6b21a8; }
.tile .ico--green  { background: linear-gradient(180deg, #c7f0df, #8edcbb); color: #047857; }
.tile h3 { font-size: 16px; }
.tile p  { font-size: 13.5px; color: var(--ink-3); }
.tile .row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px;
  font-size: 12.5px; color: var(--ink-3);
}
.tile .row .pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: var(--inset-soft);
  font-weight: 500;
}
.tile .row .pill--live { color: #0e7a52; background: #e1f5ec; }

/* ── toggle ──────────────────────────────────────────── */
.toggle {
  display: inline-flex; align-items: center;
  width: 64px; height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #4a8bff, #2466e0);
  box-shadow: var(--inset-press);
  padding: 3px;
  position: relative;
}
.toggle::after {
  content: "";
  width: 24px; height: 24px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
  margin-left: 32px;
}

/* ── input ───────────────────────────────────────────── */
.input {
  display: flex; align-items: center;
  height: 48px;
  padding: 0 18px;
  border-radius: var(--r-btn);
  background: var(--surface);
  box-shadow:
    var(--inset-soft),
    0 0 0 2px rgba(59, 130, 246, .35);
  color: var(--ink-2);
  font: inherit; font-size: 14.5px;
}

/* ── footer / compliance ─────────────────────────────── */
.compliance {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-3);
}
.compliance strong { color: var(--ink-2); font-weight: 600; }
.compliance a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.compliance a:hover { color: var(--accent); }

/* ── layout helpers ──────────────────────────────────── */
.stack-lg { display: grid; gap: 28px; }
.stack-md { display: grid; gap: 18px; }
.row-wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.muted    { color: var(--ink-3); }
.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
}
@media (max-width: 760px) {
  .page { padding: 36px 18px 56px; }
  .hero { grid-template-columns: 1fr; }
  .compliance { gap: 8px 18px; }
}
