/* ==========================================================================
   Demorella.com — Design Tokens & Editorial SaaS Stylesheet
   Grounded in Concept 1 ("The Guiding Screen D") & demoassistant.yourjamie.com
   ========================================================================== */

:root {
  --paper: #eef1f4;
  --paper-subtle: #e5e9ef;
  --card: #ffffff;
  --ink: #16233a;
  --ink-elevated: #1e2f4d;
  --slate: #55627a;
  --ink-soft: #c5cede;
  --cobalt: #2447d8;
  --cobalt-hover: #1b37ad;
  --cobalt-soft: rgba(36, 71, 216, 0.1);
  --mark: #ffd84a;
  --mark-hover: #f2ca35;
  --live: #c8372d;
  --line: #d3d9e2;
  --line-dark: rgba(255, 255, 255, 0.12);
  --coil: #10635c;
  --coil-dark: #0b4a45;
  --coil-soft: #e6f3f1;

  --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-stage: 0 28px 64px -20px rgba(22, 35, 58, 0.28), 0 8px 20px -8px rgba(22, 35, 58, 0.14);
  --shadow-card: 0 1px 2px rgba(22, 35, 58, 0.04), 0 8px 24px -12px rgba(22, 35, 58, 0.08);
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
}

img,
svg {
  display: block;
}

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

button,
input {
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

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

/* ==========================================================================
   Buttons & Brand Lockup
   ========================================================================== */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}

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

.brand-name {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1;
}

.brand-dark {
  color: #ffffff;
}

.brand-sm .brand-mark {
  width: 28px;
  height: 28px;
}

.brand-sm .brand-name {
  font-size: 1.12rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

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

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

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

.btn-full {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--cobalt-hover);
}

.btn-outline {
  background: var(--card);
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #ffffff;
}

.btn-mark {
  background: var(--mark);
  color: var(--ink);
}

.btn-mark:hover {
  background: var(--mark-hover);
}

.btn-ghost-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 6px 13px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.btn-ghost-sm svg {
  width: 13px;
  height: 13px;
  color: var(--cobalt);
}

.btn-ghost-sm:hover {
  border-color: var(--ink);
  background: #ffffff;
}

.btn-ghost-sm.is-playing {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: #ffffff;
}

.btn-ghost-sm.is-playing svg {
  color: var(--mark);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(238, 241, 244, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  white-space: nowrap;
  transition: color 140ms ease;
}

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

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

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 22px;
}

.mobile-nav-inner a:not(.btn) {
  font-weight: 600;
  color: var(--ink);
  padding: 4px 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */

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

.hero-copy {
  max-width: 820px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 22px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(36, 71, 216, 0.16);
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5.1vw, 4.05rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.036em;
  color: var(--ink);
}

.title-highlight {
  background: linear-gradient(180deg, transparent 58%, rgba(255, 216, 74, 0.82) 58%, rgba(255, 216, 74, 0.82) 92%, transparent 92%);
  padding: 0 3px;
}

.hero-lead {
  margin: 0 0 30px;
  max-width: 670px;
  font-size: 1.16rem;
  line-height: 1.62;
  color: var(--slate);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 500;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof svg {
  width: 15px;
  height: 15px;
  color: var(--cobalt);
}

/* ==========================================================================
   Interactive Demo Stage
   ========================================================================== */

.demo-stage-wrap {
  margin-top: 52px;
}

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

.demo-intro-text {
  margin: 0;
  font-size: 0.94rem;
  color: var(--slate);
}

.demo-intro-text strong {
  color: var(--ink);
  font-weight: 600;
}

.demo-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-stage {
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-stage);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.stage-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line-dark);
  flex-wrap: wrap;
}

.stage-status-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--live);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.82); }
}

.stage-watch-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.mode-toggle {
  display: inline-flex;
  padding: 3px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
}

.mode-btn {
  padding: 5px 14px;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.mode-btn.is-active {
  background: #ffffff;
  color: var(--ink);
}

.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr);
}

/* Left Pane — Coil Screen */
.customer-pane {
  padding: 20px 22px 18px;
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
}

.pane-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.pane-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
}

.pane-sublabel {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--ink-soft);
}

.coil-window {
  background: #ffffff;
  color: var(--ink);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 216, 74, 0.45);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.coil-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  background: #e9edf2;
  border-bottom: 1px solid #d5dce5;
}

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

.browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #bcc6d4;
}

.browser-url {
  flex: 1;
  max-width: 280px;
  background: #ffffff;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--slate);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.coil-app {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  min-height: 380px;
  flex: 1;
}

.coil-sidebar {
  background: var(--coil);
  color: rgba(255, 255, 255, 0.82);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
}

.coil-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
  padding: 0 8px 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.coil-logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--mark);
}

.coil-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.coil-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.83rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.coil-nav-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.coil-nav-item.is-active {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 600;
}

.coil-nav-item.is-target {
  background: rgba(255, 216, 74, 0.22);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 0 2px var(--mark);
  animation: targetPulse 1.8s ease-in-out infinite;
}

.target-tag {
  margin-left: auto;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--mark);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
}

.coil-firm-foot {
  margin-top: auto;
  padding: 10px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

.coil-main {
  padding: 20px 22px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.coil-h {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.coil-sub {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--slate);
}

.coil-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.coil-stat {
  background: #ffffff;
  border: 1px solid #dfe5ed;
  border-radius: 10px;
  padding: 11px 12px;
}

.coil-stat-k {
  font-size: 0.72rem;
  color: var(--slate);
}

.coil-stat-v {
  margin-top: 3px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.coil-card {
  background: #ffffff;
  border: 1px solid #dfe5ed;
  border-radius: 10px;
  padding: 15px 16px;
}

.coil-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.coil-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 4px;
}

.coil-field-box {
  padding: 8px 10px;
  border: 1px solid #d7dfe9;
  border-radius: 7px;
  background: #f9fbfd;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}

.coil-timer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--coil-soft);
  border-radius: 9px;
  border: 1px solid rgba(16, 99, 92, 0.16);
}

.coil-clock {
  font-family: var(--font-mono);
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--coil-dark);
  letter-spacing: 0.02em;
}

.coil-clock-sub {
  font-size: 0.74rem;
  color: var(--coil);
  font-weight: 500;
}

.coil-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border-radius: 8px;
  border: 0;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--coil);
  color: #ffffff;
  transition: transform 140ms ease, background-color 140ms ease;
}

.coil-action-btn:hover {
  background: var(--coil-dark);
}

.coil-action-btn.is-stop {
  background: var(--live);
}

.coil-action-btn.is-target {
  box-shadow: 0 0 0 3px var(--mark), 0 6px 16px rgba(255, 216, 74, 0.45);
  animation: targetPulse 1.8s ease-in-out infinite;
}

@keyframes targetPulse {
  0%, 100% { box-shadow: 0 0 0 2.5px var(--mark), 0 0 0 6px rgba(255, 216, 74, 0.22); }
  50% { box-shadow: 0 0 0 2.5px var(--mark), 0 0 0 10px rgba(255, 216, 74, 0.04); }
}

.coil-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.coil-table th {
  text-align: left;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
  padding: 0 0 7px;
  border-bottom: 1px solid #e4e9f0;
}

.coil-table td {
  padding: 9px 0;
  border-bottom: 1px solid #eef2f6;
  color: var(--ink);
}

.coil-pill-unbilled {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(255, 216, 74, 0.35);
  color: var(--ink);
}

.coil-pill-draft {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.coil-invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e4e9f0;
}

.coil-done-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 9px;
  background: var(--coil-soft);
  border: 1px solid rgba(16, 99, 92, 0.22);
  color: var(--coil-dark);
  font-size: 0.83rem;
  font-weight: 600;
}

.stage-disclaimer {
  margin: 10px 0 0;
  font-size: 0.76rem;
  color: rgba(197, 206, 222, 0.76);
}

/* Right Pane — Demorella Guide Panel */
.guide-pane {
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: #1a2944;
}

.guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.guide-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.guide-mini-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.guide-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
}

.guide-walkthrough-title {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.step-counter {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--mark);
  white-space: nowrap;
}

.step-segments {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.step-segments .seg {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background-color 220ms ease;
}

.step-segments .seg.is-done {
  background: var(--mark);
}

.step-segments .seg.is-current {
  background: #4e73ff;
}

.guide-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 280px;
}

.chat-msg {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  animation: fadeSlideUp 220ms ease;
}

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

.chat-guide {
  background: #ffffff;
  color: var(--ink);
  border-top-left-radius: 4px;
}

.chat-guide .msg-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cobalt);
  margin-bottom: 4px;
}

.chat-guide .ui-mark {
  background: var(--mark);
  color: var(--ink);
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
}

.chat-user {
  align-self: flex-end;
  max-width: 88%;
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
  border-top-right-radius: 4px;
}

.chat-seen {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 9px;
  background: rgba(255, 216, 74, 0.13);
  border: 1px solid rgba(255, 216, 74, 0.3);
  color: var(--mark);
  font-size: 0.78rem;
  font-weight: 600;
}

.doc-cite {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--slate);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

/* Voice Mode Panel */
.guide-voice-view {
  flex: 1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
}

.voice-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 44px;
  margin-bottom: 14px;
}

.voice-visualizer span {
  width: 4px;
  border-radius: 4px;
  background: var(--mark);
  animation: waveBar 1.1s ease-in-out infinite;
}

.voice-visualizer span:nth-child(odd) {
  background: #5b7eff;
}

.voice-visualizer span:nth-child(1) { height: 14px; animation-delay: 0s; }
.voice-visualizer span:nth-child(2) { height: 28px; animation-delay: 0.12s; }
.voice-visualizer span:nth-child(3) { height: 40px; animation-delay: 0.24s; }
.voice-visualizer span:nth-child(4) { height: 22px; animation-delay: 0.36s; }
.voice-visualizer span:nth-child(5) { height: 38px; animation-delay: 0.48s; }
.voice-visualizer span:nth-child(6) { height: 26px; animation-delay: 0.60s; }
.voice-visualizer span:nth-child(7) { height: 34px; animation-delay: 0.72s; }
.voice-visualizer span:nth-child(8) { height: 18px; animation-delay: 0.84s; }
.voice-visualizer span:nth-child(9) { height: 12px; animation-delay: 0.96s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

.voice-state-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--mark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.voice-caption {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #ffffff;
  font-weight: 500;
}

.voice-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  max-width: 280px;
}

.handoff-banner {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 216, 74, 0.15);
  border: 1px solid rgba(255, 216, 74, 0.4);
  font-size: 0.82rem;
  color: #ffffff;
}

.handoff-title {
  font-weight: 700;
  color: var(--mark);
  margin-bottom: 4px;
}

.handoff-banner p {
  margin: 0 0 8px;
  color: var(--ink-soft);
}

.handoff-dismiss {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--mark);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
}

.guide-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
}

.guide-btn-done,
.guide-btn-human {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.guide-btn-done {
  background: var(--mark);
  color: var(--ink);
  border: 1px solid var(--mark);
}

.guide-btn-done:hover {
  background: var(--mark-hover);
}

.guide-btn-human {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.guide-btn-human:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

/* ==========================================================================
   Shared Section Framing
   ========================================================================== */

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt);
}

.eyebrow-dark {
  color: var(--ink);
  opacity: 0.75;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: var(--ink);
}

.section-lead {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.62;
  color: var(--slate);
}

.lead-dark {
  color: rgba(22, 35, 58, 0.82);
}

/* ==========================================================================
   Section 2: How It Works
   ========================================================================== */

.section-how {
  border-top: 1px solid var(--line);
}

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

.how-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, border-color 180ms ease;
}

.how-card:hover {
  transform: translateY(-2px);
  border-color: #b7c2d2;
}

.how-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.how-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cobalt);
  background: var(--cobalt-soft);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.how-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.how-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--slate);
}

/* Minimalist Card Micro-Illustrations */
.how-mini-art {
  display: flex;
  align-items: center;
}

.art-docs {
  position: relative;
  width: 56px;
  height: 36px;
}

.mini-doc {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 32px;
  background: var(--ink);
  border-radius: 7px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-doc-back {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 10px;
  background: var(--paper-subtle);
  border: 1px solid var(--line);
}

.md-bar {
  height: 4px;
  border-radius: 4px;
  background: #ffffff;
  width: 85%;
}

.md-yellow {
  background: var(--mark);
  width: 100%;
}

.md-short {
  width: 55%;
  opacity: 0.65;
}

.mini-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink);
}

.mini-url-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cobalt);
}

.mini-screen-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--ink);
}

.mini-rec {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
}

.mini-step-bars {
  display: flex;
  gap: 4px;
}

.mini-step-bars i {
  display: block;
  width: 14px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
}

.mini-step-bars i.is-y { background: var(--mark); }
.mini-step-bars i.is-b { background: #4e73ff; }

.mini-log-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 54px;
}

.ml-row {
  display: flex;
  align-items: center;
  height: 8px;
  background: var(--paper);
  border-radius: 4px;
  padding: 0 3px;
}

.ml-ok,
.ml-gap {
  display: block;
  height: 4px;
  border-radius: 3px;
}

.ml-ok {
  width: 72%;
  background: var(--cobalt);
}

.ml-gap {
  width: 48%;
  background: var(--mark);
}

/* ==========================================================================
   Section 3: Highlight-Yellow Guardrails Band
   ========================================================================== */

.section-limits {
  background: var(--mark);
  color: var(--ink);
  border-top: 1px solid rgba(22, 35, 58, 0.14);
  border-bottom: 1px solid rgba(22, 35, 58, 0.14);
}

.limits-header {
  max-width: 660px;
  margin-bottom: 48px;
}

.limits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(22, 35, 58, 0.22);
}

.limit-item {
  padding: 28px 24px 12px 0;
  border-right: 1px solid rgba(22, 35, 58, 0.16);
}

.limit-item:not(:first-child) {
  padding-left: 24px;
}

.limit-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.limit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--mark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.limit-icon svg {
  width: 20px;
  height: 20px;
}

.limit-item h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.limit-item p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.58;
  color: rgba(22, 35, 58, 0.84);
}

/* ==========================================================================
   Section 4: Status Board
   ========================================================================== */

.status-board {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}

.status-row:last-child {
  border-bottom: 0;
}

.status-main h3 {
  margin: 0 0 4px;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.status-main p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--slate);
  max-width: 680px;
}

.status-badge {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  letter-spacing: -0.01em;
}

.badge-running {
  background: var(--coil-soft);
  color: var(--coil);
}

.badge-testing {
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.badge-partner {
  background: rgba(255, 216, 74, 0.35);
  color: var(--ink);
}

.badge-planned {
  background: var(--paper);
  color: var(--slate);
  border: 1px solid var(--line);
}

/* ==========================================================================
   Section 5: FAQ
   ========================================================================== */

.section-faq {
  border-top: 1px solid var(--line);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.35fr);
  gap: 56px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 96px;
}

.faq-sidebar .section-lead {
  margin-bottom: 24px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

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

.faq-plus {
  position: relative;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--cobalt);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, opacity 160ms ease;
}

.faq-plus::before {
  width: 14px;
  height: 2px;
}

.faq-plus::after {
  width: 2px;
  height: 14px;
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item p {
  margin: 0 0 22px;
  padding-right: 36px;
  font-size: 0.96rem;
  line-height: 1.64;
  color: var(--slate);
}

/* ==========================================================================
   Section 6: Early Access & Footer
   ========================================================================== */

.section-early-access {
  background: var(--ink);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.early-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.early-title {
  margin: 22px 0 14px;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
}

.early-lead {
  margin: 0 0 26px;
  font-size: 1.06rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

.early-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.early-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: #e6ecf5;
}

.early-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--mark);
}

.early-card {
  background: var(--ink-elevated);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.early-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 7px;
}

.opt-label {
  font-weight: 400;
  color: var(--ink-soft);
}

.form-field input {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.96rem;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.form-field input::placeholder {
  color: rgba(197, 206, 222, 0.52);
}

.form-field input:focus {
  outline: none;
  border-color: var(--mark);
  background: rgba(255, 255, 255, 0.1);
}

.form-error {
  margin: 0;
  font-size: 0.86rem;
  color: #ff9c95;
}

.form-footnote {
  margin: -4px 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 20px 8px;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--mark);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-icon svg {
  width: 26px;
  height: 26px;
}

.form-success h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.form-success p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.btn-ghost-dark {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
.site-footer {
  background: #111c2f;
  color: var(--ink-soft);
  border-top: 1px solid var(--line-dark);
  padding: 36px 0;
}

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

.footer-meta {
  margin: 10px 0 0;
  font-size: 0.84rem;
  color: rgba(197, 206, 222, 0.72);
}

.footer-meta a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 980px) {
  .stage-grid {
    grid-template-columns: 1fr;
  }

  .customer-pane {
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

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

  .limit-item {
    border-right: 0;
    border-bottom: 1px solid rgba(22, 35, 58, 0.16);
    padding: 24px 0;
  }

  .limit-item:not(:first-child) {
    padding-left: 0;
  }

  .limit-item:nth-child(odd) {
    padding-right: 24px;
    border-right: 1px solid rgba(22, 35, 58, 0.16);
  }

  .limit-item:nth-child(even) {
    padding-left: 24px;
  }

  .faq-layout,
  .early-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .site-nav,
  .header-actions .btn {
    display: none;
  }

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

@media (max-width: 760px) {
  .hero {
    padding: 44px 0 72px;
  }

  .section {
    padding: 68px 0;
  }

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

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

  .limit-item:nth-child(odd),
  .limit-item:nth-child(even) {
    padding: 22px 0;
    border-right: 0;
  }

  .coil-app {
    grid-template-columns: 1fr;
  }

  .coil-sidebar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    overflow-x: auto;
  }

  .coil-brand {
    padding: 0 10px 0 0;
    margin: 0;
    border-bottom: 0;
  }

  .coil-nav {
    flex-direction: row;
  }

  .coil-firm-foot {
    display: none;
  }

  .coil-metrics,
  .coil-field-grid {
    grid-template-columns: 1fr;
  }

  .status-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
  }

  .early-card {
    padding: 24px 20px;
  }
}

.form-honeypot { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
button:disabled { opacity: .65; cursor: wait; }

@media (max-width: 980px) {
  .stage-grid { grid-template-columns: minmax(0, 1fr); }
  .customer-pane, .coil-window, .coil-main { min-width: 0; }
  .coil-main { overflow-x: auto; }
  .pane-label-row { flex-wrap: wrap; }
  .pane-sublabel { overflow-wrap: anywhere; }
}
@media (max-width: 760px) {
  .coil-app { grid-template-columns: minmax(0, 1fr); }
  .coil-sidebar { min-width: 0; }
}
