:root,
html[data-theme="dark"] {
  --bg-canvas: #07080d;
  --bg-canvas-alt: #0b0d16;
  --bg-glass: rgba(12, 14, 24, 0.78);
  --bg-surface: rgba(16, 19, 30, 0.88);
  --bg-surface-elevated: rgba(23, 27, 42, 0.94);
  --bg-input: rgba(8, 10, 18, 0.95);
  --tx-0: #f5f7fd;
  --tx-1: #c2cae0;
  --tx-2: #8d97b4;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.19);
  --accent-primary: #38bdf8;
  --accent-secondary: #c084fc;
  --accent-emerald: #34d399;
  --prism: linear-gradient(90deg, #ff5f6d, #ffc371, #34d399, #38bdf8, #a855f7, #f472b6, #ff5f6d);
  --aura-a: rgba(56, 189, 248, 0.18);
  --aura-b: rgba(168, 85, 247, 0.18);
  --shadow-elevated: 0 22px 56px rgba(0, 0, 0, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --code-bg: rgba(255, 255, 255, 0.07);
}

html[data-theme="psychedelic"] {
  --bg-canvas: #080511;
  --bg-canvas-alt: #100920;
  --bg-glass: rgba(16, 10, 30, 0.82);
  --bg-surface: rgba(20, 12, 37, 0.9);
  --bg-surface-elevated: rgba(30, 19, 54, 0.95);
  --bg-input: rgba(10, 6, 20, 0.96);
  --tx-0: #fcfaff;
  --tx-1: #dfd6fa;
  --tx-2: #ab9fd0;
  --border-subtle: rgba(216, 180, 254, 0.22);
  --border-strong: rgba(244, 114, 182, 0.48);
  --accent-primary: #f472b6;
  --accent-secondary: #38bdf8;
  --accent-emerald: #2dd4bf;
  --prism: linear-gradient(90deg, #ff3cac, #c084fc, #38bdf8, #2dd4bf, #a3e635, #fbbf24, #fb7185, #ff3cac);
  --aura-a: rgba(255, 60, 172, 0.28);
  --aura-b: rgba(56, 189, 248, 0.26);
  --shadow-elevated: 0 22px 56px rgba(0, 0, 0, 0.6), 0 0 28px rgba(192, 132, 252, 0.16);
  --code-bg: rgba(216, 180, 254, 0.13);
}

html[data-theme="midnight"] {
  --bg-canvas: #060c18;
  --bg-canvas-alt: #091326;
  --bg-glass: rgba(8, 17, 34, 0.82);
  --bg-surface: rgba(12, 24, 45, 0.9);
  --bg-surface-elevated: rgba(17, 33, 60, 0.95);
  --bg-input: rgba(6, 13, 26, 0.96);
  --tx-0: #eef6ff;
  --tx-1: #bfd6f0;
  --tx-2: #84a3c8;
  --border-subtle: rgba(125, 211, 252, 0.15);
  --border-strong: rgba(56, 189, 248, 0.36);
  --accent-primary: #38bdf8;
  --accent-secondary: #2dd4bf;
  --accent-emerald: #34d399;
  --prism: linear-gradient(90deg, #0ea5e9, #2dd4bf, #38bdf8, #818cf8, #c084fc, #0ea5e9);
  --aura-a: rgba(14, 165, 233, 0.24);
  --aura-b: rgba(45, 212, 191, 0.2);
  --shadow-elevated: 0 22px 56px rgba(2, 8, 20, 0.62), inset 0 1px 0 rgba(186, 230, 253, 0.08);
  --code-bg: rgba(56, 189, 248, 0.11);
}

html[data-theme="sunset"] {
  --bg-canvas: #130b0f;
  --bg-canvas-alt: #1b1016;
  --bg-glass: rgba(24, 13, 19, 0.82);
  --bg-surface: rgba(31, 18, 25, 0.9);
  --bg-surface-elevated: rgba(43, 24, 34, 0.95);
  --bg-input: rgba(17, 9, 13, 0.96);
  --tx-0: #fdf4ed;
  --tx-1: #edd2c4;
  --tx-2: #b99588;
  --border-subtle: rgba(251, 191, 36, 0.15);
  --border-strong: rgba(251, 146, 60, 0.38);
  --accent-primary: #fb923c;
  --accent-secondary: #fb7185;
  --accent-emerald: #fbbf24;
  --prism: linear-gradient(90deg, #fb7185, #fb923c, #fbbf24, #f472b6, #c084fc, #fb7185);
  --aura-a: rgba(251, 113, 133, 0.24);
  --aura-b: rgba(251, 191, 36, 0.2);
  --shadow-elevated: 0 22px 56px rgba(10, 4, 7, 0.62), inset 0 1px 0 rgba(254, 215, 170, 0.08);
  --code-bg: rgba(251, 146, 60, 0.12);
}

html[data-theme="light"] {
  --bg-canvas: #f4f3ee;
  --bg-canvas-alt: #eae8e0;
  --bg-glass: rgba(249, 248, 244, 0.86);
  --bg-surface: rgba(255, 255, 255, 0.94);
  --bg-surface-elevated: #ffffff;
  --bg-input: #ffffff;
  --tx-0: #111827;
  --tx-1: #374151;
  --tx-2: #525e70;
  --border-subtle: rgba(15, 23, 42, 0.11);
  --border-strong: rgba(15, 23, 42, 0.24);
  --accent-primary: #0369a1;
  --accent-secondary: #7e22ce;
  --accent-emerald: #047857;
  --prism: linear-gradient(90deg, #e11d48, #ea580c, #059669, #0284c7, #7c3aed, #db2777, #e11d48);
  --aura-a: rgba(56, 189, 248, 0.16);
  --aura-b: rgba(168, 85, 247, 0.14);
  --shadow-elevated: 0 18px 42px rgba(15, 23, 42, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --code-bg: rgba(15, 23, 42, 0.06);
}

@keyframes prism-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--tx-0);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.28s ease, color 0.28s ease;
  -webkit-font-smoothing: antialiased;
}

code,
kbd,
pre {
  font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
}

code {
  background: var(--code-bg);
  padding: 0.14em 0.42em;
  border-radius: 6px;
  font-size: 0.88em;
}

kbd {
  display: inline-block;
  padding: 0.12em 0.48em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tx-0);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  line-height: 1.35;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 999;
  padding: 0.6rem 1rem;
  background: var(--bg-surface-elevated);
  color: var(--tx-0);
  border: 2px solid var(--accent-primary);
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
}

.prism-top-rule {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: var(--prism);
  background-size: 200% 100%;
  animation: prism-flow 12s linear infinite;
}

.ambient-aura {
  position: fixed;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: -1;
  transition: background 0.35s ease;
}

.ambient-aura-left {
  top: -14rem;
  left: -14rem;
  background: radial-gradient(circle, var(--aura-a) 0%, transparent 70%);
}

.ambient-aura-right {
  top: 12rem;
  right: -16rem;
  background: radial-gradient(circle, var(--aura-b) 0%, transparent 70%);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Sticky Glass Navigation Bar */
.site-header {
  position: sticky;
  top: 3px;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.35rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  text-decoration: none;
  flex-shrink: 0;
}

.prism-orb {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--prism);
  background-size: 200% 200%;
  animation: prism-flow 9s linear infinite;
  box-shadow: 0 0 20px var(--aura-a), inset 0 0 0 2px rgba(255, 255, 255, 0.24);
  position: relative;
  flex-shrink: 0;
}

.prism-orb::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 5px;
  background: var(--bg-canvas);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-weight: 750;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--tx-2);
  font-weight: 500;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--tx-0);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.primary-nav {
  display: none;
}

.primary-nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.9rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1.1rem 1.25rem 1.35rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elevated);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--tx-1);
  transition: color 0.16s ease, background-color 0.16s ease;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--tx-0);
  background: var(--code-bg);
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav,
  .primary-nav.is-open {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.35rem;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 680;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

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

.btn:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.btn-prism {
  background: var(--prism);
  background-size: 200% 100%;
  animation: prism-flow 10s linear infinite;
  color: #07080d;
  font-weight: 760;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

html[data-theme="light"] .btn-prism {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.btn-prism:hover {
  box-shadow: 0 14px 36px rgba(168, 85, 247, 0.36), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.btn-glass {
  background: var(--bg-surface);
  color: var(--tx-0);
  border-color: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-glass:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--accent-primary);
}

.btn-nav-cta {
  padding: 0.56rem 0.98rem;
  font-size: 0.86rem;
  border-radius: 10px;
  background: var(--bg-surface-elevated);
  color: var(--tx-0);
  border: 1px solid var(--border-strong);
  position: relative;
  white-space: nowrap;
}

.btn-nav-cta::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.btn-nav-cta:hover {
  border-color: var(--accent-primary);
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 3.5rem 0 4.5rem;
}

.hero-copy {
  max-width: 890px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  padding: 0.34rem 0.82rem;
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 650;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--tx-0);
}

.eyebrow-pill-subtle {
  color: var(--tx-1);
  border-color: var(--border-subtle);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--prism);
}

.hero-headline {
  margin: 0 0 1.2rem;
  font-size: clamp(2.15rem, 5vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 820;
}

.prism-text {
  background: var(--prism);
  background-size: 200% auto;
  animation: prism-flow 12s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subheadline {
  margin: 0 auto 1.9rem;
  max-width: 770px;
  font-size: clamp(1.03rem, 1.85vw, 1.2rem);
  color: var(--tx-1);
  line-height: 1.65;
}

.hero-subheadline strong {
  color: var(--tx-0);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.hero-proof-strip {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  font-size: 0.85rem;
  color: var(--tx-2);
}

.hero-proof-strip strong {
  color: var(--tx-1);
}

/* Hero Showcase Bezel */
.hero-stage {
  margin-top: 2.75rem;
}

.prism-bezel {
  position: relative;
  border-radius: 20px;
  padding: 2px;
  background: var(--prism);
  background-size: 200% 200%;
  animation: prism-flow 14s linear infinite;
  box-shadow: var(--shadow-elevated), 0 0 55px var(--aura-a);
}

.bezel-chrome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.68rem 1rem;
  background: var(--bg-surface-elevated);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #fb7185; }
.window-dots span:nth-child(2) { background: #fbbf24; }
.window-dots span:nth-child(3) { background: #34d399; }

.bezel-address-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--tx-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bezel-lock {
  color: var(--accent-primary);
}

.bezel-shortcut-badge {
  display: none;
  font-size: 0.76rem;
  color: var(--tx-2);
}

@media (min-width: 720px) {
  .bezel-shortcut-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
}

.showcase-figure {
  margin: 0;
  background: #07080d;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  overflow: hidden;
}

.showcase-figure img {
  width: 100%;
  height: auto;
}

/* Live Theme Switcher Dock */
.theme-switcher-dock {
  margin-top: 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.theme-switcher-label {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--tx-1);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

.theme-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 620;
  background: var(--bg-input);
  color: var(--tx-1);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.theme-pill:hover {
  color: var(--tx-0);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.theme-pill.is-active {
  color: var(--tx-0);
  background: var(--bg-surface-elevated);
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary);
}

.swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.swatch-dark { background: linear-gradient(135deg, #07080d 30%, #38bdf8 100%); }
.swatch-psychedelic { background: linear-gradient(135deg, #ff3cac, #c084fc, #38bdf8, #fbbf24); }
.swatch-midnight { background: linear-gradient(135deg, #060c18 20%, #0ea5e9, #2dd4bf); }
.swatch-sunset { background: linear-gradient(135deg, #fb7185, #fb923c, #fbbf24); }
.swatch-light { background: linear-gradient(135deg, #ffffff 35%, #cbd5e1 100%); border-color: rgba(15, 23, 42, 0.35); }

/* Shared Section Layout */
.section {
  padding: 4.75rem 0;
  border-top: 1px solid var(--border-subtle);
}

.section-alt {
  background: var(--bg-canvas-alt);
}

.section-header {
  max-width: 780px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 740;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-primary);
}

.prism-kicker {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
}

.section-header h2,
.dashboard-col h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: -0.028em;
  font-weight: 790;
}

.section-header p,
.lead-copy {
  margin: 0;
  font-size: 1.05rem;
  color: var(--tx-1);
}

/* 3. Feature Grid */
.feature-grid,
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 680px) {
  .feature-grid,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid,
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.studio-card,
.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.55rem;
  box-shadow: var(--shadow-elevated);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.studio-card:hover,
.pillar-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.55rem;
  border-radius: 11px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  font-weight: 750;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.studio-card h3,
.pillar-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.studio-card p,
.pillar-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--tx-1);
}

.inline-chip {
  display: inline-block;
  padding: 0.08rem 0.44rem;
  margin: 0.08rem 0.08rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--tx-0);
  white-space: nowrap;
}

.text-link {
  color: var(--accent-primary);
  font-weight: 640;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Command Dashboard Split */
.dashboard-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 940px) {
  .dashboard-split {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 2.75rem;
  }
}

.shortcut-matrix {
  margin-top: 1.65rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 560px) {
  .shortcut-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shortcut-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.68rem 0.85rem;
  border-radius: 11px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--tx-1);
}

.terminal-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.terminal-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-title {
  font-size: 0.86rem;
  font-weight: 700;
}

.terminal-wiki-link {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--accent-primary);
  text-decoration: none;
}

.terminal-wiki-link:hover {
  text-decoration: underline;
}

.install-steps {
  list-style: none;
  margin: 0;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.install-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.step-num {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.25rem 0.5rem;
  border-radius: 7px;
  background: var(--code-bg);
  color: var(--accent-primary);
  border: 1px solid var(--border-subtle);
}

.install-steps strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.install-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--tx-1);
}

.install-steps pre {
  margin: 0.4rem 0 0;
  padding: 0.65rem 0.8rem;
  border-radius: 9px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  font-size: 0.8rem;
}

.install-steps pre code {
  background: transparent;
  padding: 0;
}

/* 4. Commercial Pillars */
.commercial-section {
  position: relative;
}

.pillars-subheading {
  text-align: center;
  margin-bottom: 1.65rem;
}

.pillars-subheading span {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 720;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx-1);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--accent-primary);
}

.pillar-num {
  font-family: "SF Mono", ui-monospace, Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 760;
  color: var(--accent-primary);
  margin-bottom: 0.65rem;
  letter-spacing: 0.06em;
}

/* 5. Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
  align-items: stretch;
}

@media (min-width: 980px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
}

.pricing-card-featured {
  border: 2px solid var(--accent-primary);
  background: var(--bg-surface-elevated);
}

.featured-ribbon {
  position: absolute;
  top: -0.75rem;
  right: 1.25rem;
  padding: 0.24rem 0.78rem;
  border-radius: 999px;
  background: var(--prism);
  background-size: 200% 100%;
  color: #07080d;
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.02em;
}

html[data-theme="light"] .featured-ribbon {
  color: #ffffff;
}

.tier-label {
  font-size: 0.77rem;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent-primary);
  margin-bottom: 0.45rem;
}

.pricing-card h3 {
  margin: 0 0 0.85rem;
  font-size: 1.26rem;
  line-height: 1.25;
}

.price-block {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.price-main {
  font-size: 1.85rem;
  font-weight: 820;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.price-meta {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--accent-emerald);
}

.tier-summary {
  margin: 0 0 1.1rem;
  font-size: 0.93rem;
  color: var(--tx-1);
}

.tier-list {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.89rem;
  color: var(--tx-1);
}

.tier-list li {
  position: relative;
  padding-left: 1.35rem;
}

.tier-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-primary);
  font-size: 0.82rem;
}

.guarantee-callout {
  margin: 0 0 1.35rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--bg-input);
  border-left: 3px solid var(--accent-emerald);
  font-size: 0.85rem;
  color: var(--tx-1);
  line-height: 1.5;
}

.guarantee-callout strong {
  color: var(--tx-0);
}

.pricing-card-footer {
  margin-top: auto;
}

/* Conversion Grid (Direct Contact + Inquiry Form) */
.conversion-grid {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 940px) {
  .conversion-grid {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 2rem;
  }
}

.direct-contact-card,
.quote-form-card {
  padding: 1.9rem;
  border-radius: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elevated);
}

.direct-contact-card h3,
.quote-form-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.38rem;
  line-height: 1.25;
}

.direct-contact-card p,
.form-subtitle {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  color: var(--tx-1);
}

.direct-cta-stack {
  margin-bottom: 1.4rem;
}

.contact-methods {
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 11px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.contact-row dt {
  font-weight: 650;
  color: var(--tx-2);
}

.contact-row dd {
  margin: 0;
  font-weight: 640;
}

.contact-row a {
  color: var(--accent-primary);
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

.contact-inline-sep {
  margin: 0 0.35rem;
  color: var(--tx-2);
}

.ownership-note {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--code-bg);
  font-size: 0.86rem;
  color: var(--tx-1);
}

/* Form Styles */
.hp-wrap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

@media (min-width: 580px) {
  .form-row-two {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-field {
  margin-bottom: 0.95rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--tx-0);
}

.req {
  color: var(--accent-primary);
}

.opt {
  font-weight: 450;
  color: var(--tx-2);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.72rem 0.88rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--bg-input);
  color: var(--tx-0);
  font-family: inherit;
  font-size: 0.94rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--tx-2);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent-primary);
}

.form-alert {
  margin-bottom: 0.95rem;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-alert-error {
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(251, 113, 133, 0.45);
  color: #fda4af;
}

html[data-theme="light"] .form-alert-error {
  color: #9f1239;
}

.inquiry-confirmation {
  padding: 1.5rem 0.5rem 0.5rem;
  text-align: center;
}

.confirm-badge {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  background: rgba(52, 211, 153, 0.16);
  color: var(--accent-emerald);
  border: 2px solid var(--accent-emerald);
}

.inquiry-confirmation h4 {
  margin: 0 0 0.55rem;
  font-size: 1.28rem;
}

.inquiry-confirmation p {
  margin: 0 auto 1.35rem;
  max-width: 460px;
  font-size: 0.94rem;
  color: var(--tx-1);
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* FAQ Accordion */
.faq-container {
  max-width: 860px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border-radius: 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.35rem;
  font-size: 1.02rem;
  font-weight: 680;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 1.35rem 1.2rem;
  color: var(--tx-1);
  font-size: 0.95rem;
}

.faq-body p {
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-canvas-alt);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: space-between;
}

@media (min-width: 860px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

.footer-note {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  color: var(--tx-2);
}

.footer-note a {
  color: var(--tx-1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 580;
  color: var(--tx-1);
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

/* 404 Page */
.not-found-shell {
  min-height: calc(100vh - 3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.not-found-card {
  max-width: 560px;
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-elevated);
}

.not-found-card h1 {
  margin: 1rem 0 0.65rem;
  font-size: 2rem;
}

.not-found-card p {
  margin: 0;
  color: var(--tx-1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
