

:root {
  
  --bg: #06080d;
  --bg-elevated: #0c1018;
  --surface: #0f1420;
  --surface-hover: #141b29;
  --surface-active: #192234;

  
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-faint: rgba(255, 255, 255, 0.05);

  
  --text: #e8edf7;
  --text-muted: #9aa6bd;
  --text-dim: #697387;
  --text-faint: #4b5468;

  
  --indigo: #6366f1;
  --indigo-bright: #818cf8;
  --indigo-soft: rgba(99, 102, 241, 0.14);
  --indigo-line: rgba(99, 102, 241, 0.35);
  --cyan: #38bdf8;
  --cyan-bright: #7dd3fc;
  --cyan-soft: rgba(56, 189, 248, 0.12);

  
  --green: #34d399;
  --green-soft: rgba(52, 211, 153, 0.13);
  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.13);
  --red: #f87171;
  --red-soft: rgba(248, 113, 113, 0.13);

  
  --r-sm: 9px;
  --r: 13px;
  --r-lg: 18px;
  --r-xl: 24px;

  
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 60px -28px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --glow-indigo: 0 0 0 1px var(--indigo-line), 0 18px 50px -20px rgba(99, 102, 241, 0.5);

  
  --maxw: 1240px;
  --pad: 28px;
  --header-h: 72px;
}

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

html {
  
  overflow-y: scroll;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  
  background-image:
    radial-gradient(900px 520px at 78% -8%, rgba(99, 102, 241, 0.16), transparent 60%),
    radial-gradient(760px 480px at 8% 4%, rgba(56, 189, 248, 0.10), transparent 58%),
    radial-gradient(1200px 700px at 50% 120%, rgba(99, 102, 241, 0.08), transparent 62%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: var(--text);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
code, pre, kbd { font-family: var(--mono); }
img, svg { display: block; }

::selection { background: rgba(99, 102, 241, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--indigo-bright);
  outline-offset: 2px;
  border-radius: 6px;
}

::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); background-clip: padding-box; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 500;
  margin-bottom: 14px;
}

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--text-muted); margin-top: 14px; font-size: 16px; }

.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(6, 8, 13, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.brand-mark { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; }
.brand-text { color: var(--text); }
.brand-accent { color: var(--text-dim); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}
.main-nav a {
  padding: 8px 13px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 450;
  transition: color 0.14s ease, background 0.14s ease;
}
.main-nav a:hover { color: var(--text); background: var(--surface-hover); }
.main-nav a.active { color: var(--text); background: var(--indigo-soft); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 17px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.08s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
  color: var(--text);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: linear-gradient(180deg, #7074f4, var(--indigo));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 10px 26px -12px rgba(99, 102, 241, 0.75);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #7f82f6, #6b6ef2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 14px 30px -12px rgba(99, 102, 241, 0.9);
}

.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--border-strong); }

.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 450;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 6px 0 13px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--text);
  background: linear-gradient(90deg, var(--indigo-soft), var(--cyan-soft));
  border: 1px solid var(--indigo-line);
}
.release-pill b { font-weight: 600; }
.release-pill .tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: var(--cyan-bright);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border-radius: 7px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: var(--surface);
}
.badge-green { color: var(--green); border-color: rgba(52, 211, 153, 0.3); background: var(--green-soft); }
.badge-amber { color: var(--amber); border-color: rgba(251, 191, 36, 0.3); background: var(--amber-soft); }
.badge-red { color: var(--red); border-color: rgba(248, 113, 113, 0.3); background: var(--red-soft); }
.badge-indigo { color: var(--indigo-bright); border-color: var(--indigo-line); background: var(--indigo-soft); }
.badge-cyan { color: var(--cyan); border-color: rgba(56, 189, 248, 0.3); background: var(--cyan-soft); }

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.card-pad { padding: 26px; }

.copyable {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #080b12;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 13px 13px 13px 16px;
  font-family: var(--mono);
  font-size: 13px;
  box-shadow: var(--shadow-sm);
}
.copyable .prompt { color: var(--indigo-bright); user-select: none; }
.copyable code { color: var(--text); flex: 1; overflow-x: auto; white-space: nowrap; }
.copyable code .flag { color: var(--cyan); }
.copyable code .pkg { color: var(--green); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--sans);
  flex-shrink: 0;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.copy-btn svg { width: 14px; height: 14px; }
.copy-btn:hover { background: var(--surface-hover); color: var(--text); border-color: var(--border-strong); }
.copy-btn.copied { color: var(--green); border-color: rgba(52, 211, 153, 0.4); background: var(--green-soft); }

.code-block {
  position: relative;
  background: #080b12;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.code-block .code-head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 12px 0 15px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.code-block .code-head .fname {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-muted);
}
.code-block .code-head .verb {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.verb.get { color: var(--green); background: var(--green-soft); }
.verb.post { color: var(--cyan); background: var(--cyan-soft); }
.code-block .code-head .copy-btn { margin-left: auto; }
.code-block pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 12.8px;
  line-height: 1.72;
}
.code-block pre code { color: #c6d0e2; white-space: pre; }

.tok-key { color: var(--indigo-bright); }
.tok-str { color: var(--green); }
.tok-num { color: var(--cyan); }
.tok-com { color: var(--text-faint); font-style: italic; }
.tok-punc { color: var(--text-dim); }
.tok-prop { color: var(--cyan-bright); }

.hero { padding: 72px 0 84px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
  margin: 22px 0 0;
  letter-spacing: -0.04em;
}
.hero-copy h1 .grad {
  background: linear-gradient(90deg, var(--indigo-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lede {
  margin-top: 22px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-meta .stat .n {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.hero-meta .stat .l { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; }
.hero-cmd { margin-top: 30px; max-width: 540px; }
.hero-cmd .cmd-label {
  font-size: 11.5px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)); }

.logo-strip { padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.logo-strip .lead {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--mono);
  margin-bottom: 22px;
}
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 54px;
  flex-wrap: wrap;
  opacity: 0.72;
}
.logo-row span {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.logo-row span svg { width: 20px; height: 20px; opacity: 0.8; }

.tabs {
  display: inline-flex;
  padding: 5px;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 450;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.tab-btn svg { width: 16px; height: 16px; opacity: 0.85; }
.tab-btn:hover { color: var(--text); }
.tab-btn.active {
  color: var(--text);
  background: var(--bg-elevated);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.tab-btn.active svg { color: var(--indigo-bright); opacity: 1; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade-rise 0.34s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes fade-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tour-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.tour-copy h3 { font-size: 23px; letter-spacing: -0.03em; }
.tour-copy p { color: var(--text-muted); margin-top: 12px; font-size: 15px; }
.feature-list { margin-top: 20px; display: grid; gap: 13px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.feature-list li .ic {
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center; flex-shrink: 0; margin-top: 1px;
  background: var(--indigo-soft); color: var(--indigo-bright);
}
.feature-list li .ic svg { width: 13px; height: 13px; }
.feature-list li b { font-weight: 600; }
.feature-list li .sub { color: var(--text-dim); display: block; font-size: 13px; margin-top: 1px; }

.metric-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
}
.metric-value {
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.metric-value .u { font-size: 14px; color: var(--text-dim); font-weight: 400; }
.metric-label { font-size: 12.5px; color: var(--text-dim); margin-top: 4px; }
.metric-trend { font-size: 11.5px; margin-top: 8px; display: inline-flex; align-items: center; gap: 4px; }
.metric-trend.up { color: var(--green); }
.metric-trend.down { color: var(--red); }

.config-preview { margin-top: 2px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.feature-card:hover { border-color: var(--border-strong); background: var(--surface-hover); transform: translateY(-2px); }
.feature-card .fc-ic {
  width: 42px; height: 42px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(180deg, var(--indigo-soft), var(--cyan-soft));
  border: 1px solid var(--indigo-line);
  color: var(--indigo-bright);
}
.feature-card .fc-ic svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: 16.5px; }
.feature-card p { color: var(--text-muted); font-size: 14px; margin-top: 9px; }

.pricing-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: var(--shadow);
}
.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.billing-toggle {
  display: inline-flex;
  padding: 4px;
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 13.5px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.billing-toggle button.active { background: var(--bg-elevated); color: var(--text); box-shadow: var(--shadow-sm); }
.billing-toggle button .save {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
}

.seat-control { flex: 1; min-width: 320px; }
.seat-control .seat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.seat-control .seat-head .lbl { font-size: 13.5px; color: var(--text-muted); }
.seat-control .seat-head .val {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--text);
}
.seat-control .seat-head .val b { color: var(--cyan-bright); font-weight: 600; }

.range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-active);
  outline: none;
  cursor: pointer;
}
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: transparent; }
.range::-moz-range-track { height: 6px; border-radius: 999px; background: var(--surface-active); }
.range::-moz-range-progress { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--indigo), var(--cyan)); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--indigo);
  box-shadow: 0 0 0 4px var(--indigo-soft), 0 6px 14px -4px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.15s ease, transform 0.1s ease;
}
.range::-webkit-slider-thumb:hover { box-shadow: 0 0 0 6px var(--indigo-soft), 0 6px 14px -4px rgba(0, 0, 0, 0.7); }
.range:active::-webkit-slider-thumb { transform: scale(1.08); }
.range::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--indigo);
  box-shadow: 0 0 0 4px var(--indigo-soft);
}
.range-ticks {
  display: flex; justify-content: space-between;
  margin-top: 10px; font-family: var(--mono);
  font-size: 11px; color: var(--text-faint);
}

.price-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.tier-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.tier-card.featured {
  border-color: var(--indigo-line);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.06), transparent 60%), var(--surface);
  box-shadow: var(--glow-indigo);
}
.tier-card .tier-flag {
  position: absolute; top: -11px; left: 22px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px;
  background: linear-gradient(90deg, var(--indigo), var(--cyan)); color: #fff;
}
.tier-card .tier-name { font-size: 15px; font-weight: 600; }
.tier-card .tier-desc { font-size: 12.8px; color: var(--text-dim); margin-top: 4px; min-height: 34px; }
.tier-price { margin-top: 16px; display: flex; align-items: baseline; gap: 4px; }
.tier-price .cur { font-size: 20px; color: var(--text-muted); font-family: var(--mono); }
.tier-price .amt { font-family: var(--mono); font-size: 40px; font-weight: 600; letter-spacing: -0.03em; color: var(--text); }
.tier-price .per { font-size: 13px; color: var(--text-dim); }
.tier-sub { font-size: 12.5px; color: var(--text-dim); margin-top: 6px; min-height: 18px; }
.tier-meta { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); display: grid; gap: 11px; }
.tier-meta .row { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.tier-meta .row .k { color: var(--text-muted); }
.tier-meta .row .v { font-family: var(--mono); color: var(--text); }
.tier-meta .row .v.hi { color: var(--cyan-bright); }
.tier-card .btn { margin-top: 20px; }
.tier-feats { margin-top: 18px; display: grid; gap: 9px; }
.tier-feats li { display: flex; gap: 9px; font-size: 13px; color: var(--text-muted); }
.tier-feats li svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; margin-top: 2px; }

.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.16s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-ic {
  margin-left: auto;
  width: 22px; height: 22px; flex-shrink: 0;
  display: grid; place-items: center;
  color: var(--text-dim);
  transition: transform 0.22s ease, color 0.16s ease;
}
.faq-item[open] summary .q-ic { transform: rotate(45deg); color: var(--indigo-bright); }
.faq-item .faq-body { padding: 0 22px 22px; color: var(--text-muted); font-size: 14.5px; line-height: 1.68; }
.faq-item .faq-body code {
  font-size: 12.5px; padding: 1px 6px; border-radius: 5px;
  background: var(--surface-active); color: var(--cyan-bright);
}

.docs-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 216px;
  gap: 40px;
  align-items: start;
  padding: 44px 0 90px;
}
.docs-sidebar { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.docs-search-wrap { position: relative; margin-bottom: 20px; }
.docs-search-wrap svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 15px; height: 15px; color: var(--text-dim); pointer-events: none;
}
#docs-search {
  width: 100%; height: 38px;
  padding: 0 12px 0 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 13.5px;
  font-family: var(--sans);
  transition: border-color 0.15s ease, background 0.15s ease;
}
#docs-search::placeholder { color: var(--text-faint); }
#docs-search:focus { border-color: var(--indigo-line); background: var(--bg-elevated); outline: none; }

.docs-nav-group { margin-bottom: 22px; }
.docs-nav-group .grp-title {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 9px; padding-left: 11px;
}
.docs-nav-group a {
  display: block;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.14s ease, background 0.14s ease;
}
.docs-nav-group a:hover { color: var(--text); background: var(--surface-hover); }
.docs-nav-group a.active { color: var(--indigo-bright); background: var(--indigo-soft); }

.docs-main { min-width: 0; }
.doc-article { padding-bottom: 46px; margin-bottom: 46px; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 20px); }
.doc-article:last-child { border-bottom: 0; }
.doc-article h2 { font-size: 26px; letter-spacing: -0.03em; }
.doc-article h3 { font-size: 17px; margin-top: 28px; }
.doc-article > p { color: var(--text-muted); margin-top: 14px; font-size: 15px; line-height: 1.72; }
.doc-article .code-block { margin-top: 20px; }
.doc-article ul.bullets { margin-top: 14px; display: grid; gap: 9px; }
.doc-article ul.bullets li { position: relative; padding-left: 20px; color: var(--text-muted); font-size: 14.5px; }
.doc-article ul.bullets li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--indigo);
}
.doc-article code.inline {
  font-size: 12.8px; padding: 1.5px 6px; border-radius: 5px;
  background: var(--surface-active); color: var(--cyan-bright);
}
.callout {
  display: flex; gap: 13px;
  margin-top: 20px; padding: 15px 17px;
  border-radius: var(--r);
  border: 1px solid var(--indigo-line);
  background: var(--indigo-soft);
}
.callout svg { width: 18px; height: 18px; color: var(--indigo-bright); flex-shrink: 0; margin-top: 1px; }
.callout p { color: var(--text); font-size: 13.8px; margin: 0; }

.docs-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.docs-toc .toc-title {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-faint); margin-bottom: 12px;
}
.docs-toc a {
  display: block; padding: 5px 0; font-size: 13px;
  color: var(--text-dim); border-left: 2px solid var(--border);
  padding-left: 12px; transition: color 0.14s ease, border-color 0.14s ease;
}
.docs-toc a:hover { color: var(--text); border-color: var(--indigo); }

.no-results {
  display: none;
  padding: 40px;
  text-align: center;
  color: var(--text-dim);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
}
.no-results.show { display: block; }
.no-results .q { color: var(--cyan-bright); font-family: var(--mono); }

.api-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 20px; font-size: 13.5px; }
.api-table th, .api-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.api-table thead th {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 500; background: var(--surface);
}
.api-table thead th:first-child { border-top-left-radius: var(--r-sm); }
.api-table thead th:last-child { border-top-right-radius: var(--r-sm); }
.api-table tbody tr:hover { background: var(--surface-hover); }
.api-table td .mono { color: var(--text); }
.api-table td.code-col { font-family: var(--mono); font-weight: 600; }
.api-table .c2 { color: var(--green); }
.api-table .c4 { color: var(--amber); }
.api-table .c5 { color: var(--red); }

.status-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: linear-gradient(90deg, var(--green-soft), transparent 70%);
  margin-bottom: 40px;
}
.status-banner .pulse {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--green-soft); color: var(--green);
}
.status-banner h2 { font-size: 19px; }
.status-banner p { color: var(--text-muted); font-size: 13.5px; margin-top: 3px; }
.status-banner .upd { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--text-dim); text-align: right; }

.region-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.region-table thead th {
  text-align: left; padding: 12px 16px;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 500; border-bottom: 1px solid var(--border);
}
.region-table tbody td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.region-table tbody tr:hover { background: var(--surface-hover); }
.region-cell { display: flex; align-items: center; gap: 12px; }
.region-cell .flag {
  width: 30px; height: 22px; border-radius: 5px; flex-shrink: 0;
  border: 1px solid var(--border); overflow: hidden;
}
.region-cell .rc-name { font-weight: 500; font-size: 14px; }
.region-cell .rc-id { font-family: var(--mono); font-size: 11.5px; color: var(--text-dim); }

.uptime-bars { display: flex; gap: 2.5px; align-items: flex-end; height: 30px; }
.uptime-bars .bar {
  width: 5px; border-radius: 2px; flex-shrink: 0;
  background: var(--green); opacity: 0.85;
  transition: opacity 0.14s ease;
}
.uptime-bars .bar.warn { background: var(--amber); }
.uptime-bars .bar.down { background: var(--red); }
.uptime-bars .bar:hover { opacity: 1; }
.uptime-label { font-family: var(--mono); font-size: 11px; color: var(--text-dim); margin-top: 6px; }

.ping-value { font-family: var(--mono); font-size: 13.5px; color: var(--text); }
.ping-value .ms { color: var(--text-dim); font-size: 11px; }
.ping-bar { width: 54px; height: 4px; border-radius: 999px; background: var(--surface-active); margin-top: 6px; overflow: hidden; }
.ping-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--indigo)); transition: width 0.6s ease; }

.capacity .cap-num { font-family: var(--mono); font-size: 13.5px; }
.capacity .cap-bar { width: 90px; height: 5px; border-radius: 999px; background: var(--surface-active); margin-top: 6px; overflow: hidden; }
.capacity .cap-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--indigo), var(--cyan)); }

.filter-pills { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-pill {
  height: 34px; padding: 0 15px;
  border-radius: 999px; font-size: 13px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); display: inline-flex; align-items: center; gap: 7px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-pill .cnt {
  font-family: var(--mono); font-size: 10.5px; padding: 1px 6px;
  border-radius: 999px; background: var(--surface-active); color: var(--text-dim);
}
.filter-pill:hover { color: var(--text); border-color: var(--border-strong); }
.filter-pill.active { background: var(--indigo-soft); border-color: var(--indigo-line); color: var(--indigo-bright); }
.filter-pill.active .cnt { background: rgba(99, 102, 241, 0.25); color: var(--indigo-bright); }

.release {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}
.release.hidden { display: none; }
.release .rel-meta { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.release .rel-ver {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 16px; font-weight: 600; color: var(--text);
}
.release .rel-date { font-size: 12.5px; color: var(--text-dim); margin-top: 6px; }
.release .rel-tag { margin-top: 12px; }
.release h3 { font-size: 18px; }
.release .rel-note { color: var(--text-muted); margin-top: 10px; font-size: 14.5px; line-height: 1.68; }
.release .change-list { margin-top: 16px; display: grid; gap: 10px; }
.release .change-list li { display: flex; gap: 11px; font-size: 14px; color: var(--text-muted); align-items: flex-start; }
.release .change-list li .ct {
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  padding: 2px 7px; border-radius: 6px; flex-shrink: 0; margin-top: 2px;
  letter-spacing: 0.03em;
}
.ct.add { color: var(--green); background: var(--green-soft); }
.ct.fix { color: var(--amber); background: var(--amber-soft); }
.ct.imp { color: var(--cyan); background: var(--cyan-soft); }
.ct.sec { color: var(--indigo-bright); background: var(--indigo-soft); }

.account-layout {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - var(--header-h) - 300px);
  padding: 64px 0 80px;
}
.account-intro .eyebrow { margin-bottom: 18px; }
.account-intro h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.04em; line-height: 1.08; }
.account-intro p { color: var(--text-muted); font-size: 16px; margin-top: 18px; max-width: 460px; }
.account-trust { margin-top: 32px; display: grid; gap: 15px; }
.account-trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-muted); }
.account-trust li .ti {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--cyan);
}
.account-trust li .ti svg { width: 15px; height: 15px; }
.account-trust li b { color: var(--text); font-weight: 600; }

.account-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 8px;
  box-shadow: var(--shadow);
}
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 6px;
  background: var(--surface);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.account-tab {
  height: 44px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.account-tab svg { width: 16px; height: 16px; }
.account-tab.active { background: var(--bg-elevated); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }

.account-body { padding: 26px 24px 24px; }
.account-panel { display: none; }
.account-panel.active { display: block; animation: fade-rise 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.account-panel h2 { font-size: 19px; }
.account-panel .panel-sub { color: var(--text-muted); font-size: 13.8px; margin-top: 7px; }

.field { margin-top: 18px; }
.field label {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500;
}
.field label .hint { color: var(--text-faint); font-weight: 400; font-family: var(--mono); font-size: 11px; }
.field .input-wrap { position: relative; }
.field .input-wrap > svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--text-dim); pointer-events: none;
}
.field input {
  width: 100%; height: 46px;
  padding: 0 14px 0 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 14px;
  font-family: var(--sans);
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.field input.mono-input { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; }
.field input::placeholder { color: var(--text-faint); }
.field input:focus {
  border-color: var(--indigo-line);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 3px var(--indigo-soft);
  outline: none;
}
.field .reveal {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 7px;
  display: grid; place-items: center; background: transparent; border: 0;
  color: var(--text-dim);
}
.field .reveal:hover { color: var(--text); background: var(--surface-hover); }
.field .reveal svg { width: 16px; height: 16px; }

.form-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.checkbox { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-muted); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--indigo); }
.link-mini { font-size: 13px; color: var(--cyan); }
.link-mini:hover { color: var(--cyan-bright); }

.form-submit { margin-top: 22px; }
.form-foot { margin-top: 18px; text-align: center; font-size: 12.8px; color: var(--text-dim); }
.form-foot a { color: var(--cyan); }

.sso-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.sso-btn {
  height: 44px; border-radius: var(--r-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.sso-btn:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.sso-btn svg { width: 16px; height: 16px; }
.or-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0 4px; color: var(--text-faint); font-size: 11.5px; font-family: var(--mono); letter-spacing: 0.08em; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.spinner {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.alert {
  display: none;
  gap: 13px;
  margin-top: 20px;
  padding: 15px 16px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--surface);
  animation: fade-rise 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.alert.show { display: flex; }
.alert .alert-ic { width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; }
.alert .alert-ic svg { width: 17px; height: 17px; }
.alert-error { border-color: rgba(248, 113, 113, 0.35); background: linear-gradient(180deg, var(--red-soft), transparent 80%); }
.alert-error .alert-ic { background: var(--red-soft); color: var(--red); }
.alert-success { border-color: rgba(52, 211, 153, 0.35); background: linear-gradient(180deg, var(--green-soft), transparent 80%); }
.alert-success .alert-ic { background: var(--green-soft); color: var(--green); }
.alert .alert-body { min-width: 0; flex: 1; }
.alert .alert-head { display: flex; align-items: center; gap: 9px; }
.alert .alert-status {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 6px; letter-spacing: 0.03em;
}
.alert-error .alert-status { background: var(--red-soft); color: var(--red); }
.alert-success .alert-status { background: var(--green-soft); color: var(--green); }
.alert .alert-title { font-size: 13.5px; font-weight: 600; color: var(--text); }
.alert .alert-msg { font-size: 13px; color: var(--text-muted); margin-top: 6px; line-height: 1.55; }
.alert .trace {
  margin-top: 10px; font-family: var(--mono); font-size: 11px;
  color: var(--text-dim); display: flex; align-items: center; gap: 7px;
}
.alert .trace .tid { color: var(--cyan-bright); user-select: all; }

.site-footer { border-top: 1px solid var(--border); padding: 60px 0 40px; margin-top: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 13.5px; max-width: 280px; }
.footer-brand .foot-locale { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.footer-col h4 {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 500; margin-bottom: 15px;
}
.footer-col a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--text-muted); transition: color 0.14s ease; }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border);
}
.footer-bottom .legal { font-size: 12.5px; color: var(--text-faint); }
.footer-bottom .foot-social { display: flex; gap: 10px; }
.footer-bottom .foot-social a {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
  transition: color 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.footer-bottom .foot-social a:hover { color: var(--text); background: var(--surface-hover); border-color: var(--border-strong); }
.footer-bottom .foot-social svg { width: 16px; height: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.reveal-up { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-up.in { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .docs-layout { grid-template-columns: 210px minmax(0, 1fr); }
  .docs-toc { display: none; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 920px) {
  .section { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .tour-grid { grid-template-columns: 1fr; }
  .price-tiers { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .account-layout { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .account-intro { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .release { grid-template-columns: 1fr; gap: 14px; }
  .release .rel-meta { position: static; display: flex; align-items: center; gap: 16px; }
}

@media (max-width: 720px) {
  :root { --pad: 18px; }
  .main-nav { display: none; }
  .nav-toggle {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px; border-radius: var(--r-sm);
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
    margin-left: auto;
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .header-actions .btn-ghost { display: none; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; margin-bottom: 20px; }
  .grid-3 { grid-template-columns: 1fr; }
  .pricing-controls { flex-direction: column; align-items: stretch; }
  .seat-control { min-width: 0; }
  .region-table thead { display: none; }
  .region-table, .region-table tbody, .region-table tr, .region-table td { display: block; width: 100%; }
  .region-table tbody tr { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .region-table tbody td { border: 0; padding: 6px 4px; }
  .hero-meta { gap: 18px; }
  .status-banner { flex-wrap: wrap; }
  .status-banner .upd { margin-left: 0; width: 100%; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal-up { opacity: 1; transform: none; }
}
