/* SpecPeek — Dark Precision Developer Aesthetic
   Zero external fonts, zero external scripts, zero trackers. */

:root {
  --bg: #0b0e14;
  --bg-elev: #111622;
  --bg-card: #141a28;
  --bg-panel: #0e131e;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(56, 189, 248, 0.35);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --cyan: #38bdf8;
  --cyan-soft: rgba(56, 189, 248, 0.12);
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.14);
  --indigo: #818cf8;
  --indigo-soft: rgba(129, 140, 248, 0.14);
  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 20% -5%, rgba(56, 189, 248, 0.11), transparent 42%),
    radial-gradient(circle at 82% 8%, rgba(129, 140, 248, 0.09), transparent 40%),
    linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 32px 32px, 32px 32px;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

code,
pre,
.mono {
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(11, 14, 20, 0.84);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-sm {
  font-size: 0.84rem;
  padding: 8px 14px;
}

.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  color: #06131f;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #56ccfa, #38bdf8);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.34);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #041811;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.22);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34d399, #10b981);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(148, 163, 184, 0.32);
}

/* Hero */
.hero {
  padding: 28px 0 56px;
}

.hero-head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--emerald);
  background: var(--emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-align: center;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3.6vw, 2.95rem);
  line-height: 1.12;
  letter-spacing: -0.032em;
  font-weight: 800;
  color: #f8fafc;
}

.text-gradient {
  background: linear-gradient(95deg, #38bdf8 0%, #818cf8 52%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 0 auto 18px;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta strong {
  color: var(--text-muted);
  font-weight: 600;
}

/* Interactive Sandbox */
.sandbox-shell {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sandbox-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 16px;
  background: #0d121c;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.chrome-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #273144;
}

.chrome-dot.red { background: #ef4444; opacity: 0.75; }
.chrome-dot.amber { background: #f59e0b; opacity: 0.75; }
.chrome-dot.green { background: #10b981; opacity: 0.75; }

.chrome-url {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 6px;
}

.sandbox-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
}

.sandbox-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  min-height: 460px;
}

/* Left stage */
.sandbox-stage-wrap {
  position: relative;
  padding: 28px 26px 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.07), transparent 50%),
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    #0c1018;
  background-size: 100% 100%, 20px 20px, 20px 20px, 100% 100%;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.ruler-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  background: repeating-linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.25) 0 1px,
    transparent 1px 10px
  );
  opacity: 0.35;
  pointer-events: none;
}

.stage-canvas {
  position: relative;
  padding: 18px;
  border-radius: 14px;
  background: #131926;
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

/* Mock UI elements inside sandbox */
.inspect-target {
  position: relative;
  cursor: crosshair;
  transition: outline-color 0.12s ease;
}

.demo-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.32);
}

.demo-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.demo-title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
  padding: 4px 6px;
  border-radius: 6px;
}

.demo-desc {
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #94a3b8;
  padding: 2px 6px;
}

.demo-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.demo-metric {
  background: #0e131e;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 10px;
  padding: 12px 14px;
}

.demo-metric-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  font-family: var(--font-mono);
}

.demo-metric-value {
  font-size: 22px;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 2px;
  font-family: var(--font-mono);
}

.demo-metric-sub {
  font-size: 11.5px;
  color: #10b981;
  margin-top: 2px;
}

.demo-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.demo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 9px;
  background: #38bdf8;
  color: #06131f;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: crosshair;
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.25);
}

.demo-ghost-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 9px;
  background: rgba(129, 140, 248, 0.12);
  color: #c7d2fe;
  border: 1px solid rgba(129, 140, 248, 0.3);
  font-size: 13px;
  font-weight: 600;
  cursor: crosshair;
}

/* Live Box-Model Overlay inside stage-canvas */
.hud-box-overlay {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  border: 1.5px solid var(--cyan);
  background: rgba(56, 189, 248, 0.11);
  border-radius: 4px;
  transition: all 0.1s ease-out;
}

.hud-box-overlay::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px dashed rgba(245, 158, 11, 0.65);
  border-radius: 6px;
  pointer-events: none;
}

.hud-dim-tag {
  position: absolute;
  top: -24px;
  left: -1px;
  background: #06131f;
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.55);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.hud-contrast-pill {
  position: absolute;
  bottom: -24px;
  right: -1px;
  background: #041b13;
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.55);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

/* Live HUD Spec Bar under canvas */
.hud-readout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  background: #0a0e16;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
}

.hud-stat {
  min-width: 0;
}

.hud-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.hud-stat-val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.hud-stat-val.pass {
  color: var(--emerald);
}

.sandbox-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.chip-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  margin-right: 4px;
}

.target-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.14s ease;
}

.target-chip:hover {
  border-color: rgba(56, 189, 248, 0.4);
  color: var(--text);
}

.target-chip.active {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  color: var(--cyan);
  font-weight: 600;
}

/* Right Code Drawer */
.sandbox-drawer {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  min-width: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.drawer-selected {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text);
  min-width: 0;
}

.drawer-selected .el-badge {
  background: var(--indigo-soft);
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.35);
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 600;
  white-space: nowrap;
}

.drawer-tabs {
  display: flex;
  gap: 4px;
  padding: 10px 14px 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.code-tab {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 8px 12px;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease;
}

.code-tab:hover {
  color: var(--text);
}

.code-tab.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.drawer-code-wrap {
  flex: 1;
  padding: 16px;
  overflow: auto;
  background: #090d14;
}

.drawer-code {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12.2px;
  line-height: 1.62;
  color: #dbeafe;
  white-space: pre-wrap;
  word-break: break-word;
}

.drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  border-top: 1px solid var(--border);
  background: #0d121c;
}

.drawer-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.copy-btn {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: var(--cyan-soft);
  color: var(--cyan);
  cursor: pointer;
  transition: all 0.14s ease;
}

.copy-btn:hover {
  background: rgba(56, 189, 248, 0.22);
}

.copy-btn.copied {
  border-color: rgba(16, 185, 129, 0.55);
  background: var(--emerald-soft);
  color: var(--emerald);
}

/* Sections */
.section {
  padding: 72px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
}

.section-head {
  max-width: 700px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.34);
  transform: translateY(-2px);
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
}

.feature-icon.cyan {
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.feature-icon.indigo {
  background: var(--indigo-soft);
  color: var(--indigo);
  border: 1px solid rgba(129, 140, 248, 0.28);
}

.feature-icon.emerald {
  background: var(--emerald-soft);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.feature-icon.amber {
  background: var(--amber-soft);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.tier-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-pill.free {
  background: var(--emerald-soft);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tier-pill.pro {
  background: var(--cyan-soft);
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.feature-bullets {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.feature-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 0.89rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.feature-bullets li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
  line-height: 1.55;
}

.feature-bullets code,
.price-list code,
.feature-card p code,
.trust-item p code {
  font-size: 0.82em;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.09);
  padding: 1px 5px;
  border-radius: 4px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.09), rgba(20, 26, 40, 0.96) 44%);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 20px 50px rgba(56, 189, 248, 0.12);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--cyan);
  color: #06131f;
  padding: 4px 10px;
  border-radius: 999px;
}

.price-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 6px;
}

.price-tagline {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin: 0 0 18px;
  min-height: 40px;
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.price-amount {
  font-size: 2.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-strike {
  font-size: 1.15rem;
  color: var(--text-dim);
  text-decoration: line-through;
  font-weight: 600;
}

.price-cadence {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--emerald);
  margin-bottom: 20px;
}

.price-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.price-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.89rem;
  line-height: 1.52;
  color: #dbe3ee;
}

.check-mark {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald);
  font-weight: 800;
}

.refund-strip {
  margin-top: 26px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.refund-strip strong {
  color: #6ee7b7;
}

.refund-strip p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Security / Permissions Disclosure */
.trust-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.manifest-card {
  background: #0a0e16;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.manifest-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: #0f1522;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.manifest-status {
  color: var(--emerald);
  font-weight: 700;
}

.manifest-pre {
  margin: 0;
  padding: 18px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #cbd5e1;
  overflow-x: auto;
}

.tk-key { color: #7dd3fc; }
.tk-str { color: #6ee7b7; }
.tk-num { color: #fcd34d; }
.tk-cmt { color: #64748b; }

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.trust-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.perm-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan);
  background: var(--cyan-soft);
  padding: 2px 8px;
  border-radius: 5px;
}

.perm-code.zero {
  color: var(--emerald);
  background: var(--emerald-soft);
}

.trust-item h4 {
  margin: 0;
  font-size: 0.96rem;
}

.trust-item p {
  margin: 0;
  font-size: 0.87rem;
  color: var(--text-muted);
}

/* Legal pages */
.legal-main {
  padding: 56px 0 84px;
}

.legal-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 42px;
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  letter-spacing: -0.025em;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0 0 28px;
}

.legal-card h2 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
  color: #f8fafc;
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-callout {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 18px 0 24px;
  color: #d1fae5;
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0 44px;
  background: rgba(8, 11, 16, 0.8);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 0.86rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.86rem;
}

.footer-links a {
  color: var(--text-muted);
}

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

/* Responsive */
@media (max-width: 960px) {
  .sandbox-grid {
    grid-template-columns: 1fr;
  }

  .sandbox-stage-wrap {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

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

@media (max-width: 760px) {
  .container {
    padding: 0 14px;
  }

  .header-inner {
    height: 58px;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .brand-tag {
    display: none;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .header-actions .btn-sm {
    font-size: 0.78rem;
    padding: 7px 11px;
  }

  .hero {
    padding: 22px 0 40px;
  }

  .eyebrow {
    font-size: 0.65rem;
    padding: 5px 10px;
    border-radius: 10px;
    line-height: 1.4;
  }

  .hero h1 {
    font-size: 1.65rem;
    line-height: 1.16;
  }

  .hero-sub {
    font-size: 0.92rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .chrome-url {
    font-size: 0.68rem;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .sandbox-shell,
  .manifest-card,
  .feature-card,
  .price-card {
    max-width: 100%;
    min-width: 0;
  }

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

  .hud-readout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sandbox-stage-wrap {
    padding: 18px 12px 14px;
  }

  .stage-canvas {
    padding: 14px 12px;
  }

  .demo-metric-grid {
    grid-template-columns: 1fr;
  }

  .drawer-footer {
    flex-wrap: wrap;
  }

  .legal-card {
    padding: 24px 18px;
  }
}
