/* ==========================================================================
   Personal Life OS — Editorial & Architectural Design System
   Warm Porcelain Daylight Canvas · Obsidian Product Stages · Full Dark Theme
   ========================================================================== */

:root {
  /* Core Surfaces (Light / Daylight Editorial) */
  --bg-canvas: #f6f5f0;
  --bg-surface: #ffffff;
  --bg-surface-2: #efede6;
  --bg-surface-3: #e7e4db;
  --bg-glass: rgba(246, 245, 240, 0.82);

  /* Obsidian Product Stage (High-contrast dark showcase bands) */
  --stage-bg: #0f1217;
  --stage-elevated: #151922;
  --stage-surface: #1b202c;
  --stage-border: rgba(255, 255, 255, 0.09);
  --stage-border-strong: rgba(255, 255, 255, 0.16);
  --stage-ink: #f4f6fa;
  --stage-ink-secondary: #a1acb9;
  --stage-ink-muted: #6f7c8f;

  /* Borders */
  --border-subtle: rgba(18, 20, 23, 0.08);
  --border-strong: rgba(18, 20, 23, 0.16);
  --border-accent: rgba(14, 107, 80, 0.34);

  /* Typography Ink */
  --text-primary: #121417;
  --text-secondary: #4b5260;
  --text-muted: #767f8e;

  /* Brand & Semantic Accents */
  --accent: #0e6b50;
  --accent-hover: #0a553f;
  --accent-bright: #10b981;
  --accent-on-dark: #34d399;
  --accent-soft: rgba(14, 107, 80, 0.09);
  --accent-soft-strong: rgba(14, 107, 80, 0.16);

  --indigo: #4f46e5;
  --indigo-on-dark: #818cf8;
  --indigo-soft: rgba(79, 70, 229, 0.09);

  --amber: #b45309;
  --amber-on-dark: #f59e0b;
  --amber-soft: rgba(180, 83, 9, 0.1);

  --rose: #be123c;
  --rose-on-dark: #fb7185;
  --rose-soft: rgba(190, 18, 60, 0.08);

  --sky: #0369a1;
  --sky-on-dark: #38bdf8;
  --sky-soft: rgba(3, 105, 161, 0.09);

  /* Typography */
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Layout */
  --container: 1220px;
  --header-h: 72px;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(18, 20, 23, 0.05);
  --shadow-card: 0 1px 2px rgba(18, 20, 23, 0.04), 0 12px 32px -16px rgba(18, 20, 23, 0.1);
  --shadow-card-hover: 0 2px 6px rgba(18, 20, 23, 0.06), 0 20px 44px -18px rgba(18, 20, 23, 0.16);
  --shadow-stage: 0 36px 90px -24px rgba(10, 12, 16, 0.34), 0 0 0 1px rgba(18, 20, 23, 0.08);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Dark Theme Override */
[data-theme="dark"] {
  --bg-canvas: #0b0d11;
  --bg-surface: #131720;
  --bg-surface-2: #181d28;
  --bg-surface-3: #1f2533;
  --bg-glass: rgba(11, 13, 17, 0.82);

  --stage-bg: #10141c;
  --stage-elevated: #161b26;
  --stage-surface: #1d2331;
  --stage-border: rgba(255, 255, 255, 0.08);
  --stage-border-strong: rgba(255, 255, 255, 0.15);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(52, 211, 153, 0.34);

  --text-primary: #f3f5f8;
  --text-secondary: #a2adbc;
  --text-muted: #707c8f;

  --accent: #2dd49f;
  --accent-hover: #34d399;
  --accent-soft: rgba(45, 212, 159, 0.12);
  --accent-soft-strong: rgba(45, 212, 159, 0.2);

  --indigo: #818cf8;
  --indigo-soft: rgba(129, 140, 248, 0.13);

  --amber: #fbbf24;
  --amber-soft: rgba(251, 191, 36, 0.12);

  --rose: #fb7185;
  --rose-soft: rgba(251, 113, 133, 0.12);

  --sky: #38bdf8;
  --sky-soft: rgba(56, 189, 248, 0.12);

  --shadow-card: 0 20px 50px -24px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --shadow-card-hover: 0 24px 60px -22px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  --shadow-stage: 0 36px 90px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-canvas);
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.028em;
  line-height: 1.12;
  color: var(--text-primary);
}

p {
  margin: 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 1px 5px;
  border-radius: 5px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
}

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

.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;
}

.hidden {
  display: none !important;
}

/* Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 300;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--r-xs);
  transition: top 0.2s ease;
}

[data-theme="dark"] .skip-link {
  color: #041c14;
}

.skip-link:focus {
  top: 16px;
}

/* ==========================================================================
   Subtle Architectural Atmosphere
   ========================================================================== */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-atmosphere::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 1180px;
  height: 620px;
  background: radial-gradient(
    ellipse at center,
    rgba(14, 107, 80, 0.08) 0%,
    rgba(79, 70, 229, 0.04) 45%,
    transparent 74%
  );
  filter: blur(28px);
}

[data-theme="dark"] .bg-atmosphere::before {
  background: radial-gradient(
    ellipse at center,
    rgba(45, 212, 159, 0.12) 0%,
    rgba(99, 102, 241, 0.06) 45%,
    transparent 74%
  );
}

/* ==========================================================================
   Container, Sections & Editorial Headers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--tinted {
  background: var(--bg-surface-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section--obsidian {
  background: var(--stage-bg);
  color: var(--stage-ink);
  border-top: 1px solid var(--stage-border);
  border-bottom: 1px solid var(--stage-border);
}

.section--obsidian h2,
.section--obsidian h3,
.section--obsidian h4 {
  color: var(--stage-ink);
}

.section--obsidian .section-subtitle {
  color: var(--stage-ink-secondary);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header--left {
  margin: 0 0 40px;
  text-align: left;
}

.section-header--split {
  max-width: none;
  margin: 0 0 48px;
  text-align: left;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: end;
}

.section-header--split .section-title {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.eyebrow--indigo {
  background: var(--indigo-soft);
  border-color: rgba(79, 70, 229, 0.25);
  color: var(--indigo);
}

.eyebrow--neutral {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  color: var(--text-secondary);
}

.section--obsidian .eyebrow {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--accent-on-dark);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.95rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: clamp(1rem, 1.45vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}

.btn--lg {
  padding: 14px 26px;
  font-size: 15px;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 6px 18px -6px rgba(14, 107, 80, 0.55);
}

[data-theme="dark"] .btn--primary {
  color: #041d15;
  box-shadow: 0 8px 22px -6px rgba(45, 212, 159, 0.45);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -6px rgba(14, 107, 80, 0.6);
}

.btn--secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn--secondary:hover {
  background: var(--bg-surface-2);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

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

.btn--ghost:hover {
  color: var(--text-primary);
  background: var(--bg-surface-2);
}

.btn--on-dark-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--stage-ink);
  border-color: var(--stage-border-strong);
}

.btn--on-dark-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 20px -12px rgba(18, 20, 23, 0.12);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--stage-bg);
  color: var(--accent-on-dark);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xs);
}

[data-theme="dark"] .brand-mark {
  background: rgba(45, 212, 159, 0.14);
  border-color: rgba(45, 212, 159, 0.32);
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  padding: 2px 7px;
  border-radius: var(--r-pill);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.nav-links a {
  display: inline-block;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text-primary);
  background: var(--bg-surface-2);
}

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

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-surface-2);
}

.theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-sun {
  display: block;
}

[data-theme="dark"] .theme-icon-moon {
  display: none;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--bg-canvas);
  z-index: 115;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  overflow-y: auto;
  border-top: 1px solid var(--border-subtle);
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-drawer-links a {
  display: block;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

/* ==========================================================================
   1. Hero & Tactile Command Center OS Stage
   ========================================================================== */
.hero {
  padding: 64px 0 96px;
  position: relative;
}

.hero-top {
  max-width: 860px;
  margin: 0 auto 52px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.6rem, 5.4vw, 4.45rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero-title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--accent);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 670px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

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

.hero-trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  font-size: 13px;
  color: var(--text-secondary);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}

.hero-trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Command Center OS Window (Obsidian Stage) */
.workbench {
  border-radius: var(--r-xl);
  background: var(--stage-bg);
  color: var(--stage-ink);
  border: 1px solid var(--stage-border-strong);
  box-shadow: var(--shadow-stage);
  overflow: hidden;
  position: relative;
}

.workbench-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--stage-border);
}

.workbench-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stage-ink-secondary);
}

.workbench-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-on-dark);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.75);
}

.workbench-cmd-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stage-border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--stage-ink-secondary);
}

.workbench-kbd {
  padding: 1px 6px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--stage-ink);
  font-size: 11px;
}

.workbench-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent-on-dark);
}

.workbench-shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 410px;
}

/* Left OS Navigation Rail */
.workbench-rail {
  padding: 16px 12px;
  background: rgba(255, 255, 255, 0.018);
  border-right: 1px solid var(--stage-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.workbench-rail-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--stage-ink-muted);
  padding: 4px 10px 8px;
}

.workbench-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wb-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: transparent;
  color: var(--stage-ink-secondary);
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.wb-tab svg {
  flex-shrink: 0;
  opacity: 0.72;
}

.wb-tab:hover {
  color: var(--stage-ink);
  background: rgba(255, 255, 255, 0.04);
}

.wb-tab.is-active {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.28);
  color: var(--stage-ink);
}

.wb-tab.is-active svg {
  color: var(--accent-on-dark);
  opacity: 1;
}

.workbench-rail-footer {
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stage-border);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stage-ink-muted);
  line-height: 1.5;
}

.workbench-rail-footer strong {
  display: block;
  color: var(--stage-ink-secondary);
  margin-bottom: 2px;
}

/* Main Workspace Pane */
.workbench-body {
  padding: 22px 24px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.wb-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wb-kpi {
  padding: 15px 16px;
  border-radius: var(--r-md);
  background: var(--stage-elevated);
  border: 1px solid var(--stage-border);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.wb-kpi:hover {
  border-color: var(--stage-border-strong);
}

.wb-kpi-label {
  font-size: 12px;
  color: var(--stage-ink-secondary);
}

.wb-kpi-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--stage-ink);
}

.wb-kpi-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-on-dark);
}

.wb-ai-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 16px;
}

.wb-capture-card,
.wb-response-card {
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--stage-elevated);
  border: 1px solid var(--stage-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.wb-response-card {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.07) 0%, var(--stage-elevated) 100%);
  border-color: rgba(52, 211, 153, 0.26);
}

.wb-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wb-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--stage-ink-secondary);
}

.wb-card-tag--accent {
  color: var(--accent-on-dark);
}

.wb-prompt-quote {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--stage-ink);
  font-weight: 500;
}

.wb-capture-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wb-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--stage-ink-secondary);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--stage-border);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.wb-response-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--stage-ink-secondary);
}

.wb-response-text strong {
  color: var(--stage-ink);
  font-weight: 600;
}

.wb-response-text em {
  color: var(--accent-on-dark);
  font-style: normal;
  font-weight: 500;
}

.wb-approval-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--stage-border);
}

.wb-approval-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--amber-on-dark);
}

.wb-approval-status.is-approved {
  color: var(--accent-on-dark);
}

.wb-approval-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-approve-btn {
  background: var(--accent-on-dark);
  color: #041d15;
  border-color: transparent;
  box-shadow: 0 6px 18px -6px rgba(52, 211, 153, 0.5);
}

.wb-approve-btn:hover:not(:disabled) {
  background: #4ade80;
  transform: translateY(-1px);
}

.wb-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ==========================================================================
   2. Antes x Depois — Editorial Split Comparison
   ========================================================================== */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.compare-card {
  padding: 34px;
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.compare-card--before {
  background: var(--bg-surface);
}

.compare-card--after {
  background: var(--bg-surface);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card), inset 0 3px 0 var(--accent);
}

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

.compare-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 11px;
  border-radius: var(--r-pill);
}

.compare-badge--before {
  background: var(--rose-soft);
  color: var(--rose);
}

.compare-badge--after {
  background: var(--accent-soft);
  color: var(--accent);
}

.compare-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.compare-pill-mini {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-surface-2);
  padding: 3px 8px;
  border-radius: 6px;
  text-decoration: line-through;
  opacity: 0.8;
}

.compare-title {
  font-size: 1.45rem;
  font-weight: 700;
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 15px;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.compare-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 700;
}

.compare-icon--bad {
  background: var(--rose-soft);
  color: var(--rose);
}

.compare-icon--good {
  background: var(--accent-soft);
  color: var(--accent);
}

/* ==========================================================================
   3. Arquitetura AI-First (Asymmetric Bento) & 5 Pilares Strip
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.bento-card {
  grid-column: span 6;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.22s ease, transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

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

.bento-card--narrow {
  grid-column: span 5;
}

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.bento-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  flex-shrink: 0;
}

.icon-box--indigo {
  background: var(--indigo-soft);
  color: var(--indigo);
  border-color: rgba(79, 70, 229, 0.24);
}

.icon-box--amber {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: rgba(180, 83, 9, 0.24);
}

.icon-box--sky {
  background: var(--sky-soft);
  color: var(--sky);
  border-color: rgba(3, 105, 161, 0.24);
}

.bento-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.bento-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.bento-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
  flex-shrink: 0;
}

/* Mini Visual Artifacts inside Bento Cards */
.bento-artifact {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.bento-artifact-tag {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 500;
}

.bento-artifact-arrow {
  color: var(--accent);
  font-weight: 700;
}

/* 5 Pillars Architectural Index Strip */
.pillars-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.pillar-card {
  padding: 24px 22px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 0.2s ease;
}

.pillar-card:last-child {
  border-right: none;
}

.pillar-card:hover {
  background: var(--bg-surface-2);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
}

.pillar-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pillar-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   4. 12 Connected Modules Grid with Filter
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.filter-pill {
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.filter-pill.is-active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: var(--bg-canvas);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.module-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.module-card-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.module-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.module-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.module-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.module-card[data-module-category="foco"] .module-dot { background: var(--indigo); }
.module-card[data-module-category="vida"] .module-dot { background: var(--amber); }
.module-card[data-module-category="conhecimento"] .module-dot { background: var(--sky); }

.module-index {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.module-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
}

.module-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.module-example {
  padding: 10px 12px;
  border-radius: var(--r-xs);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 11.8px;
  line-height: 1.5;
  color: var(--text-primary);
}

.module-example span {
  color: var(--accent);
  font-weight: 700;
  margin-right: 5px;
}

/* ==========================================================================
   5. Tudo Conectado — Obsidian Interactive Scenario Explorer
   ========================================================================== */
.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.scenario-btn {
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: var(--stage-elevated);
  border: 1px solid var(--stage-border);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: all 0.2s ease;
}

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

.scenario-btn.is-active {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.12) 0%, var(--stage-elevated) 100%);
  border-color: rgba(52, 211, 153, 0.42);
}

.scenario-btn-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-on-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scenario-btn-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--stage-ink);
  line-height: 1.45;
}

.connected-shell {
  padding: 28px;
  border-radius: var(--r-xl);
  background: var(--stage-elevated);
  border: 1px solid var(--stage-border-strong);
  display: grid;
  gap: 22px;
}

.connected-hub {
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.11) 0%, rgba(129, 140, 248, 0.09) 100%);
  border: 1px solid rgba(52, 211, 153, 0.28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.connected-hub h3 {
  font-size: 1.32rem;
  margin-bottom: 6px;
  color: var(--stage-ink);
}

.connected-hub p {
  font-size: 14.5px;
  color: var(--stage-ink-secondary);
  max-width: 720px;
}

.connected-nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.connected-node {
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--stage-surface);
  border: 1px solid var(--stage-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.connected-node-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.connected-node h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--stage-ink);
}

.connected-node-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent-on-dark);
}

.connected-node p {
  font-size: 13.5px;
  color: var(--stage-ink-secondary);
  line-height: 1.55;
}

.connected-audit {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--stage-border);
  font-size: 13px;
  color: var(--stage-ink-secondary);
}

.connected-audit strong {
  color: var(--stage-ink);
}

/* ==========================================================================
   6. Como Funciona — Connected Process Rail (4 Steps)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

.step-card {
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   7. 3 Levels of AI Autonomy (#pricing)
   ========================================================================== */
.autonomy-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 38px;
}

.segmented-control {
  display: inline-flex;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  gap: 4px;
}

.segmented-btn {
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.segmented-btn.is-active {
  background: var(--text-primary);
  color: var(--bg-canvas);
}

.autonomy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.autonomy-card {
  padding: 32px;
  border-radius: var(--r-lg);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.autonomy-card--featured {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card-hover), inset 0 3px 0 var(--accent);
  position: relative;
}

.autonomy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.autonomy-level {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.autonomy-rec {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid var(--border-accent);
}

.autonomy-card h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.autonomy-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Visual Autonomy Spectrum Meter */
.autonomy-meter {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 18px;
}

.autonomy-meter span {
  height: 4px;
  border-radius: var(--r-pill);
  background: var(--bg-surface-3);
}

.autonomy-meter span.is-filled {
  background: var(--accent);
}

.autonomy-mode-box {
  padding: 13px 15px;
  border-radius: var(--r-sm);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  font-size: 13.5px;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.autonomy-mode-box span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.check-list svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   8. Privacidade & Confiança + Roadmap Público
   ========================================================================== */
.privacy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: start;
}

.privacy-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.privacy-copy p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
}

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

.privacy-card {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.privacy-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.privacy-card p {
  font-size: 13.8px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Roadmap */
.roadmap-block {
  margin-top: 92px;
  padding-top: 72px;
  border-top: 1px solid var(--border-subtle);
}

.roadmap-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 520px;
  margin: 0 auto 36px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
}

.roadmap-progress-track {
  flex: 1;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--bg-surface-3);
  overflow: hidden;
}

.roadmap-progress-fill {
  width: 72%;
  height: 100%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--accent) 0%, var(--indigo) 100%);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.roadmap-card {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.roadmap-card--active {
  border-color: rgba(79, 70, 229, 0.38);
  box-shadow: var(--shadow-card), inset 0 3px 0 var(--indigo);
}

.roadmap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.roadmap-phase {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--r-pill);
}

.status-pill--done {
  background: var(--accent-soft);
  color: var(--accent);
}

.status-pill--active {
  background: var(--indigo-soft);
  color: var(--indigo);
}

.status-pill--next {
  background: var(--amber-soft);
  color: var(--amber);
}

.roadmap-card h3 {
  font-size: 1.1rem;
}

.roadmap-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   9. Acesso Antecipado / Waitlist (#acesso-antecipado)
   ========================================================================== */
.waitlist-shell {
  padding: 46px;
  border-radius: var(--r-xl);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.waitlist-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.waitlist-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.waitlist-copy > p {
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.65;
}

.waitlist-form-card {
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
}

.waitlist-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.waitlist-form-note {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.form-stack {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 14.5px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input::placeholder {
  color: var(--text-muted);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft-strong);
}

.form-alert {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  line-height: 1.5;
}

.form-alert--success {
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  color: var(--accent);
}

.form-alert--error {
  background: var(--rose-soft);
  border: 1px solid rgba(190, 18, 60, 0.3);
  color: var(--rose);
}

.form-footer-alt {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.form-footer-alt a {
  color: var(--accent);
  font-weight: 600;
}

.form-footer-alt a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   10. FAQ Accordion
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.faq-sticky {
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--r-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-open {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card);
}

.faq-trigger {
  width: 100%;
  padding: 20px 22px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.25s var(--ease-out), background-color 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent-soft);
  color: var(--accent);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease-out);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  padding: 0 22px 22px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Final CTA Banner (Obsidian Stage) & Footer
   ========================================================================== */
.cta-banner {
  padding: 64px 40px;
  border-radius: var(--r-xl);
  background: radial-gradient(circle at 50% 0%, rgba(52, 211, 153, 0.16) 0%, var(--stage-bg) 68%);
  border: 1px solid var(--stage-border-strong);
  box-shadow: var(--shadow-stage);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: var(--stage-ink);
}

.cta-banner .eyebrow {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.3);
  color: var(--accent-on-dark);
}

.cta-banner h2 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  max-width: 700px;
  color: var(--stage-ink);
}

.cta-banner p {
  color: var(--stage-ink-secondary);
  max-width: 560px;
  font-size: 16px;
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 340px;
}

.footer-brand-col p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col h3 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-secondary);
  transition: color 0.18s ease;
}

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

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .header-actions .btn--hide-tablet {
    display: none;
  }

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

  .workbench-shell {
    grid-template-columns: 1fr;
  }

  .workbench-rail {
    border-right: none;
    border-bottom: 1px solid var(--stage-border);
    padding: 12px 16px;
  }

  .workbench-rail-label,
  .workbench-rail-footer {
    display: none;
  }

  .workbench-tabs {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .workbench-tabs::-webkit-scrollbar {
    display: none;
  }

  .wb-tab {
    width: auto;
    white-space: nowrap;
  }

  .section-header--split,
  .privacy-grid,
  .waitlist-shell,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .privacy-copy,
  .faq-sticky {
    position: static;
  }

  .bento-card,
  .bento-card--wide,
  .bento-card--narrow {
    grid-column: span 6;
  }

  .pillars-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pillar-card {
    border-bottom: 1px solid var(--border-subtle);
  }

  .modules-grid,
  .autonomy-grid,
  .roadmap-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    padding: 44px 0 68px;
  }

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

  .wb-ai-grid,
  .compare-grid,
  .scenario-tabs,
  .connected-nodes {
    grid-template-columns: 1fr;
  }

  .bento-card,
  .bento-card--wide,
  .bento-card--narrow {
    grid-column: span 12;
  }

  .pillars-strip,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workbench-cmd-hint {
    display: none;
  }
}

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

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

  .modules-grid,
  .autonomy-grid,
  .roadmap-grid,
  .steps-grid,
  .pillars-strip,
  .privacy-pillars,
  .footer-grid,
  .wb-kpis {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    border-right: none;
  }

  .waitlist-shell {
    padding: 24px 20px;
  }

  .waitlist-form-card {
    padding: 20px;
  }

  .workbench-body {
    padding: 16px;
  }

  .cta-banner {
    padding: 44px 22px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
