:root {
  --bg: #fbfbfd;
  --bg-subtle: #f5f5f7;
  --surface: #ffffff;
  --obsidian: #0b0d12;
  --obsidian-2: #12151d;
  --obsidian-3: #1a1f2b;
  --ink: #1d1d1f;
  --ink-secondary: #515154;
  --ink-muted: #86868b;
  --ink-on-dark: #f5f5f7;
  --ink-on-dark-muted: #a1a1a6;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --border-dark: rgba(255, 255, 255, 0.11);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --ok: #15803d;
  --ok-bg: rgba(21, 128, 61, 0.09);
  --warn: #b45309;
  --warn-bg: rgba(180, 83, 9, 0.09);
  --err: #b91c1c;
  --err-bg: rgba(185, 28, 28, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --shadow-soft: 0 10px 30px rgba(11, 13, 18, 0.05), 0 1px 2px rgba(11, 13, 18, 0.04);
  --shadow-elevated: 0 28px 70px rgba(11, 13, 18, 0.12), 0 4px 16px rgba(11, 13, 18, 0.06);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header (Liquid Glass) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s var(--ease-spring), border-color 0.25s var(--ease-spring);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 60px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.brand-icon {
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-secondary);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-status-pill:hover {
  background: rgba(15, 23, 42, 0.07);
  color: var(--ink);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-muted);
  flex-shrink: 0;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.status-dot.is-online {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.16);
}

.status-dot.is-warn {
  background: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.16);
}

.status-dot.is-offline {
  background: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.nav-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.7);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-menu-btn span {
  width: 15px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-spring);
}

.nav-menu-btn[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}

.nav-menu-btn[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-drawer {
  border-top: 1px solid var(--border);
  background: rgba(251, 251, 253, 0.96);
  padding: 12px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer[hidden] {
  display: none;
}

.drawer-link {
  padding: 11px 6px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.drawer-cta {
  border-bottom: none;
  color: var(--accent);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.22s var(--ease-spring),
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    opacity 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.btn-sm {
  height: 34px;
  padding: 0 15px;
  font-size: 13px;
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
}

.btn-full {
  width: 100%;
  height: 44px;
  font-size: 14px;
}

.btn-primary {
  background: var(--obsidian);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1d2230;
}

.btn-obsidian {
  background: var(--obsidian);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(11, 13, 18, 0.18);
}

.btn-obsidian:hover {
  background: #1b202c;
  box-shadow: 0 12px 28px rgba(11, 13, 18, 0.24);
  transform: translateY(-1px);
}

.btn-white {
  background: #ffffff;
  color: var(--obsidian);
}

.btn-white:hover {
  background: #f1f2f5;
  transform: translateY(-1px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  border-color: var(--border-strong);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.26);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-secondary);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--ink);
  background: rgba(15, 23, 42, 0.04);
}

.btn-link {
  border: none;
  background: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
}

.btn-link:hover {
  background: rgba(0, 113, 227, 0.08);
}

.icon-arrow {
  width: 15px;
  height: 15px;
}

/* Hero */
.hero {
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(15, 23, 42, 0.055), transparent 70%),
    var(--bg);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-secondary);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(11, 13, 18, 0.04);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--obsidian);
}

.hero-title {
  margin: 0;
  font-size: clamp(38px, 6.2vw, 66px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink);
}

.hero-subtitle {
  margin: 20px auto 0;
  max-width: 660px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-secondary);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Segmented Control */
.segmented {
  position: relative;
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 4px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
  margin-bottom: 20px;
}

.segmented-compact {
  width: 100%;
  margin-bottom: 18px;
}

.segmented-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(11, 13, 18, 0.1), 0 1px 2px rgba(11, 13, 18, 0.06);
  transition: transform 0.34s var(--ease-spring), width 0.34s var(--ease-spring);
  pointer-events: none;
}

.segmented-btn {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-secondary);
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.2s ease;
}

.segmented-btn.is-active {
  color: var(--ink);
}

/* Showcase */
.showcase {
  width: 100%;
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-frame {
  width: 100%;
  max-width: 980px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--obsidian-2);
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: var(--shadow-elevated);
}

.window-chrome {
  height: 38px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.chrome-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.chrome-title {
  margin-left: 10px;
  font-size: 12px;
  color: var(--ink-on-dark-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0d1016;
  overflow: hidden;
}

.showcase-[hidden] {
  display: none !important;
}

img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d1016;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.42s var(--ease-spring), transform 0.52s var(--ease-spring);
  pointer-events: none;
}

.showcase-img.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Section Headers */
.section-head {
  margin-bottom: 40px;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section-head-dark .eyebrow {
  color: #8b93a7;
}

.section-head-dark .section-title {
  color: var(--ink-on-dark);
}

/* Features (Obsidian) */
.features-section {
  padding: 96px 0;
  background:
    radial-gradient(800px 380px at 15% 0%, rgba(148, 163, 184, 0.08), transparent 65%),
    var(--obsidian);
  color: var(--ink-on-dark);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-card {
  grid-column: span 5;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-dark);
  transition: transform 0.32s var(--ease-spring), border-color 0.32s ease, background 0.32s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.bento-wide {
  grid-column: span 7;
}

.bento-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #8b93a7;
  margin-bottom: 14px;
}

.bento-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.bento-card p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-on-dark-muted);
  line-height: 1.65;
}

.spec-chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-chips span {
  font-size: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #d4d8e2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Pricing */
.pricing-section {
  padding: 96px 0 56px;
  background: var(--bg);
}

.pricing-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  padding: 44px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(255, 255, 255, 0.08), transparent 65%),
    var(--obsidian);
  color: var(--ink-on-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-elevated);
}

.price-tag {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 26px;
  font-weight: 600;
  color: #d4d8e2;
}

.price-value {
  font-size: clamp(54px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
}

.price-unit {
  margin-left: 6px;
  font-size: 15px;
  color: var(--ink-on-dark-muted);
}

.pricing-desc {
  margin: 18px 0 28px;
  font-size: 15px;
  color: var(--ink-on-dark-muted);
  max-width: 420px;
  line-height: 1.65;
}

.pricing-cta {
  min-width: 220px;
}

.pricing-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: #8b93a7;
}

.pricing-note a {
  color: #d4d8e2;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 36px;
}

.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #e5e7eb;
}

.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Console Section */
.console-section {
  padding: 56px 0 104px;
  background: var(--bg);
}

.api-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.api-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.console-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.console-card-wide {
  grid-column: span 2;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.card-kicker {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
}

.card-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card-desc {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: var(--bg-subtle);
  color: var(--ink-secondary);
  border: 1px solid var(--border);
  white-space: nowrap;
}

.pill.is-ok {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: rgba(21, 128, 61, 0.2);
}

.pill.is-warn {
  background: var(--warn-bg);
  color: var(--warn);
  border-color: rgba(180, 83, 9, 0.2);
}

.pill.is-err {
  background: var(--err-bg);
  color: var(--err);
  border-color: rgba(185, 28, 28, 0.2);
}

/* Forms */
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink);
  padding: 11px 13px;
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  font-family: var(--font-mono);
  font-size: 13px;
  resize: vertical;
  min-height: 84px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--obsidian);
  box-shadow: 0 0 0 3px rgba(11, 13, 18, 0.08);
}

.field-hint {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.45;
}

.field-hint.is-ok {
  color: var(--ok);
}

.field-hint.is-err {
  color: var(--err);
}

.code-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.code-row input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
}

.btn-code {
  height: auto;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 12px;
  flex-shrink: 0;
}

.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-steps li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--obsidian);
}

.card-footnote {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-muted);
}

.card-footnote a {
  color: var(--accent);
  font-weight: 500;
}

/* Info List */
.info-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-row dt {
  font-size: 13px;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.info-row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: right;
  word-break: break-all;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12.5px !important;
}

.inline-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Device Management Layout */
.device-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px;
}

.device-status-panel,
.device-replace-panel {
  display: flex;
  flex-direction: column;
}

.device-status-panel {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.device-status-panel h4,
.device-replace-panel h4 {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 600;
}

.cooldown-box {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
}

.cooldown-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  margin-bottom: 8px;
}

.cooldown-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.09);
  overflow: hidden;
}

.cooldown-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--obsidian);
  transition: width 0.5s var(--ease-spring);
}

/* Feedback Banner */
.feedback {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.feedback.is-ok {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: rgba(21, 128, 61, 0.2);
}

.feedback.is-warn {
  background: var(--warn-bg);
  color: var(--warn);
  border-color: rgba(180, 83, 9, 0.22);
}

.feedback.is-err {
  background: var(--err-bg);
  color: var(--err);
  border-color: rgba(185, 28, 28, 0.22);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-secondary);
  font-weight: 500;
}

.footer-sep {
  opacity: 0.45;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Splash Launch Intro */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background:
    radial-gradient(560px 320px at 50% 42%, rgba(255, 255, 255, 0.08), transparent 70%),
    var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s var(--ease-spring), transform 0.65s var(--ease-spring), visibility 0.65s;
}

.splash-overlay.is-done {
  opacity: 0;
  transform: scale(1.03);
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.splash-icon-wrap {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: splashPop 0.72s var(--ease-spring) both;
}

.splash-icon {
  border-radius: 16px;
}

.splash-wordmark {
  margin-top: 20px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  animation: splashFadeUp 0.6s var(--ease-spring) 0.18s both;
}

.splash-slogan {
  margin-top: 6px;
  font-size: 14px;
  color: #9ba3b5;
  letter-spacing: 0.04em;
  animation: splashFadeUp 0.6s var(--ease-spring) 0.3s both;
}

.splash-skip {
  position: absolute;
  top: 22px;
  right: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #d4d8e2;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.splash-skip:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

@keyframes splashPop {
  from {
    opacity: 0;
    transform: scale(0.84) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes splashFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Interactive Demos Section */
.demos-section {
  padding: 20px 0 92px;
  background: var(--bg);
}

.section-lead {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--ink-secondary);
}

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.demo-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.demo-tab span {
  font-size: 11.5px;
  font-family: var(--font-mono);
  opacity: 0.65;
}

.demo-tab:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.demo-tab.is-active {
  background: var(--obsidian);
  color: #ffffff;
  border-color: var(--obsidian);
  box-shadow: 0 10px 24px rgba(11, 13, 18, 0.16);
}

.demo-stage {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.demo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.demo-head h3 {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sample-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--warn-bg);
  color: var(--warn);
  border: 1px solid rgba(180, 83, 9, 0.2);
}

.speed-grid,
.cards-demo-grid,
.stealth-grid,
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.demo-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-box-dark {
  background: var(--obsidian);
  border-color: var(--border-dark);
  color: var(--ink-on-dark);
}

.demo-box-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.demo-box-dark .demo-box-label {
  color: #8b93a7;
}

.demo-transcript {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.65;
}

.demo-stream-out {
  font-size: 14.5px;
  color: #e5e7eb;
  line-height: 1.7;
  min-height: 96px;
}

.speed-metrics {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
}

.metric span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
}

.metric strong {
  display: block;
  margin-top: 3px;
  font-size: 15px;
  font-family: var(--font-mono);
}

.card-switcher {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-btn {
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--ink-secondary);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn.is-active {
  background: var(--obsidian);
  color: #ffffff;
  border-color: var(--obsidian);
}

.demo-card-preview {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* Stealth Toggle & Mock */
.toggle-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.toggle-pill input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-track {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.2);
  position: relative;
  transition: background 0.25s ease;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s var(--ease-spring);
}

.toggle-pill input:checked + .toggle-track {
  background: var(--obsidian);
}

.toggle-pill input:checked + .toggle-track::after {
  transform: translateX(18px);
}

.screen-mock {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-subtle);
}

.screen-bar {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-secondary);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.screen-canvas {
  position: relative;
  height: 188px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #eceef3, #f7f8fa);
}

.mock-meeting {
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--ink-muted);
}

.mock-overlay {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 210px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(11, 13, 18, 0.92);
  color: #ffffff;
  font-size: 12px;
  box-shadow: 0 12px 28px rgba(11, 13, 18, 0.24);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring);
}

.mock-overlay strong {
  display: block;
  margin-bottom: 3px;
}

.mock-overlay span {
  color: #a1a1a6;
}

.mock-overlay-remote.is-hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.stealth-shield {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12px;
  color: var(--ok);
  background: var(--ok-bg);
  border: 1px solid rgba(21, 128, 61, 0.22);
  transition: opacity 0.25s ease;
}

.stealth-shield.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Review & Timestamp Jump */
.demo-time-readout {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.wave-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.wave-progress {
  height: 100%;
  border-radius: 999px;
  background: var(--obsidian);
  transition: width 0.45s var(--ease-spring);
}

.transcript-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.t-item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-secondary);
  background: var(--surface);
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.t-item.is-active {
  border-color: var(--obsidian);
  color: var(--ink);
  font-weight: 500;
}

.t-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
  flex-shrink: 0;
}

.review-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-item {
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #e5e7eb;
  cursor: pointer;
  transition: all 0.22s ease;
}

.review-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.review-item.is-active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
}

.review-item-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 4px;
}

.review-item-top span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #9ba3b5;
}

.review-item p {
  margin: 0;
  font-size: 12.5px;
  color: #a1a1a6;
  line-height: 1.5;
}

.demo-disclaimer {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .demo-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .speed-grid,
  .cards-demo-grid,
  .stealth-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease-spring), transform 0.65s var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .bento-card,
  .bento-wide {
    grid-column: span 12;
  }

  .pricing-card {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
  }

  .pricing-list {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 24px;
  }

  .console-grid {
    grid-template-columns: 1fr;
  }

  .console-card-wide {
    grid-column: span 1;
  }

  .device-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links,
  .nav-status-pill {
    display: none;
  }

  .nav-menu-btn {
    display: inline-flex;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .features-section,
  .pricing-section {
    padding: 68px 0;
  }

  .console-section {
    padding: 40px 0 72px;
  }

  .console-card {
    padding: 22px 18px;
  }

  .api-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .segmented-btn {
    padding: 8px 12px;
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .showcase-img,
  .segmented-thumb,
  .btn,
  .bento-card {
    transition: none !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
  }
}
