/* ==========================================================================
   VerbaReel — Flagship Component Library
   Floating Glass Header, Dual-Device Stage, Bento Grid, Spotlight & Pricing
   ========================================================================== */

/* ---------- 0. Floating Glass Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  transition: padding 0.2s ease;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 58px;
  padding: 0 12px 0 16px;
  border-radius: var(--r-pill);
  background: var(--bg-chrome);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-primary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand-link:hover { color: var(--ink-primary); }

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(10, 124, 111, 0.25);
}

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

.nav-links a {
  padding: 7px 13px;
  border-radius: var(--r-pill);
  color: var(--ink-secondary);
  font-size: 0.89rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-links a.is-active {
  color: var(--ink-primary);
  background: var(--bg-well);
}

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

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-optical);
  background: var(--bg-card);
  color: var(--ink-primary);
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.14s ease;
}

.icon-btn:hover {
  background: var(--bg-well);
  border-color: var(--border-strong);
}

.icon-btn:active { transform: scale(0.96); }

.icon-btn svg { width: 17px; height: 17px; }
.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-optical);
  background: var(--bg-card);
  color: var(--ink-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-pill:hover {
  color: var(--ink-primary);
  background: var(--bg-well);
}

.nav-menu-btn {
  display: none;
}

.mobile-drawer {
  display: none;
  margin-top: 8px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--bg-chrome-solid);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-float);
}
.mobile-drawer.is-open { display: grid; gap: 6px; }
.mobile-drawer a:not(.btn) {
  padding: 10px 14px;
  border-radius: var(--r-md);
  color: var(--ink-primary);
  font-weight: 500;
  font-size: 0.95rem;
}
.mobile-drawer a:not(.btn):hover { background: var(--bg-well); }
.mobile-drawer .drawer-cta {
  margin-top: 6px;
  justify-content: center;
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.14s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.btn:active { transform: scale(0.98); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 0.86rem;
}

.btn-primary {
  background: var(--fill-primary);
  color: var(--on-fill-primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16);
}
.btn-primary:hover {
  background: var(--fill-primary-hover);
  color: var(--on-fill-primary);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--ink-primary);
  border-color: var(--border-optical);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.btn-secondary:hover {
  background: var(--bg-well);
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.btn-pearl {
  background: #ffffff;
  color: #111318;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
}
.btn-pearl:hover {
  background: #eef7f6;
  color: #111318;
  transform: translateY(-1px);
}

/* ---------- 1. Hero & Dual-Device Stage ---------- */
.hero {
  padding: clamp(1.65rem, 3.4vw, 2.75rem) 0 clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

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

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

.beta-banner {
  display: none;
  margin: 18px auto 0;
  max-width: 560px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--accent-jade-soft);
  border: 1px solid var(--accent-jade-border);
  color: var(--accent-jade);
  font-size: 0.84rem;
  font-weight: 500;
}
.beta-banner.is-visible { display: inline-flex; align-items: center; gap: 8px; }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--ink-secondary);
  font-size: 0.83rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent-jade);
}

/* Dual Device Showcase */
.device-stage {
  position: relative;
  margin: clamp(1.9rem, 3.4vw, 2.75rem) auto 0;
  padding: clamp(20px, 3.2vw, 38px) clamp(16px, 3vw, 36px) clamp(24px, 3.2vw, 34px);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(40rem 22rem at 85% 0%, var(--bloom-mint), transparent 70%),
    radial-gradient(36rem 22rem at 10% 100%, var(--bloom-iris), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}

.device-composition {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}

.tablet-frame {
  width: min(82%, 820px);
  margin-right: 7%;
  padding: 9px;
  border-radius: 22px;
  background: var(--bezel-bg);
  border: 1px solid var(--bezel-rim);
  box-shadow: var(--shadow-device);
}

.tablet-frame img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.phone-frame-hero {
  position: absolute;
  right: clamp(2%, 4vw, 6%);
  bottom: 0;
  width: clamp(148px, 23%, 248px);
  padding: 7px;
  border-radius: 28px;
  background: var(--bezel-bg);
  border: 1px solid var(--bezel-rim);
  box-shadow: var(--shadow-device);
}

.phone-frame-hero img {
  width: 100%;
  height: auto;
  border-radius: 21px;
  display: block;
}

/* Segmented Theme Switcher inside Device Stage */
.stage-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-divider);
}

.stage-caption {
  font-size: 0.84rem;
  color: var(--ink-secondary);
  text-align: left;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--bg-well);
  border: 1px solid var(--border-divider);
  gap: 2px;
}

.segmented-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.segmented-btn svg { width: 14px; height: 14px; }

.segmented-btn[aria-pressed="true"] {
  background: var(--bg-card-elevated);
  color: var(--ink-primary);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

/* ---------- 2. Platform Capture Strip ---------- */
.capture-well {
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-card);
}

.capture-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.capture-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: var(--bg-well);
  border: 1px solid var(--border-divider);
  color: var(--ink-primary);
  font-size: 0.86rem;
  font-weight: 500;
}

.platform-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-jade);
  opacity: 0.85;
}

.platform-dot.ai { background: var(--accent-ai); }

.entry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-divider);
}

.entry-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--bg-well);
}

.entry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  color: var(--accent-jade);
  flex-shrink: 0;
}
.entry-icon svg { width: 17px; height: 17px; }

.entry-item h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.entry-item p {
  margin: 0;
  font-size: 0.81rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.capture-footnote {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ---------- 3. Interactive 3-Step Workflow ---------- */
.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}

.workflow-tabs {
  display: grid;
  gap: 12px;
}

.workflow-step {
  position: relative;
  text-align: left;
  width: 100%;
  padding: 20px 22px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-card);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.16s ease;
}

.workflow-step:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.workflow-step[aria-selected="true"] {
  border-color: var(--accent-jade);
  box-shadow: 0 0 0 1px var(--accent-jade-border), var(--shadow-card-hover);
}

.step-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: var(--bg-well);
  color: var(--ink-secondary);
  font-size: 0.76rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.workflow-step[aria-selected="true"] .step-num {
  background: var(--accent-jade-soft);
  color: var(--accent-jade);
}

.workflow-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.workflow-step p {
  margin: 0;
  font-size: 0.91rem;
  color: var(--ink-secondary);
  line-height: 1.58;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.micro-tag {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--bg-well);
  color: var(--ink-secondary);
  font-size: 0.76rem;
  font-weight: 500;
}

.mini-ui .micro-tag {
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  color: var(--ink-primary);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.workflow-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(24rem 16rem at 80% 10%, var(--bloom-mint), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-card);
}

.phone-frame-stage {
  width: min(100%, 272px);
  padding: 8px;
  border-radius: 32px;
  background: var(--bezel-bg);
  border: 1px solid var(--bezel-rim);
  box-shadow: var(--shadow-device);
}

.phone-frame-stage img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.workflow-caption {
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--ink-secondary);
  text-align: center;
}

/* ---------- 4. Bento Capabilities Grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.bento-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

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

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

.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--accent-jade-soft);
  border: 1px solid var(--accent-jade-border);
  color: var(--accent-jade);
}
.bento-icon.ai {
  background: var(--accent-ai-soft);
  border-color: var(--accent-ai-border);
  color: var(--accent-ai);
}
.bento-icon svg { width: 19px; height: 19px; }

.bento-badge {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--bg-well);
  color: var(--ink-secondary);
  font-size: 0.75rem;
  font-weight: 500;
}
.bento-badge.ai {
  background: var(--accent-ai-soft);
  color: var(--accent-ai);
}
.bento-badge.jade {
  background: var(--accent-jade-soft);
  color: var(--accent-jade);
}

.bento-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}

.bento-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* Mini Embedded UI Illustrations inside Bento Cards */
.mini-ui {
  padding: 14px;
  border-radius: var(--r-md);
  background: var(--bg-well);
  border: 1px solid var(--border-divider);
  font-size: 0.84rem;
}

.rag-bubble-user {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 14px 14px 4px 14px;
  background: var(--fill-primary);
  color: var(--on-fill-primary);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.rag-answer {
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  color: var(--ink-primary);
  line-height: 1.55;
}

.cite-chip {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  margin: 0 2px;
  border-radius: 5px;
  background: var(--accent-ai-soft);
  color: var(--accent-ai);
  font-size: 0.74rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.rag-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.rag-source-pill {
  font-size: 0.75rem;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--bg-well);
  color: var(--ink-secondary);
  border: 1px solid var(--border-divider);
}

.graph-crop {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-optical);
  aspect-ratio: 16 / 10;
  background: var(--bg-surface);
}
.graph-crop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.fts-mock {
  display: grid;
  gap: 8px;
}
.fts-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  color: var(--ink-primary);
  font-size: 0.83rem;
}
.fts-hit {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--accent-jade-soft);
  color: var(--accent-jade);
  font-weight: 600;
}
.fts-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-divider);
  font-size: 0.8rem;
}

.ledger-rows {
  display: grid;
  gap: 8px;
}
.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-divider);
  font-size: 0.81rem;
}
.ledger-unit {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent-jade);
}
.ledger-unit.free {
  color: var(--semantic-ok);
}

.format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.format-chip {
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-primary);
}

/* ---------- 5. Signature Midnight-Jade Privacy Spotlight ---------- */
.spotlight-slab {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: var(--r-2xl);
  background: var(--spotlight-bg);
  border: 1px solid var(--spotlight-border);
  color: #f3f6fa;
  box-shadow: 0 28px 64px -20px rgba(9, 14, 24, 0.55);
}

.spotlight-slab::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(36rem 28rem at 92% 90%, rgba(15, 155, 142, 0.44), transparent 64%),
    radial-gradient(28rem 22rem at 8% 12%, rgba(88, 78, 208, 0.30), transparent 62%);
}

.spotlight-rings {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 420px;
  height: 420px;
  opacity: 0.22;
  pointer-events: none;
}

.spotlight-inner {
  position: relative;
  z-index: 1;
}

.spotlight-slab .eyebrow {
  color: #5eead4;
  background: rgba(94, 234, 212, 0.12);
  border-color: rgba(94, 234, 212, 0.28);
}

.spotlight-slab h2 {
  color: #ffffff;
}

.spotlight-slab .lead {
  color: rgba(243, 246, 250, 0.78);
  margin-left: 0;
  margin-right: 0;
  max-width: 60ch;
}

.boundary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 32px;
}

.boundary-card {
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--spotlight-card);
  border: 1px solid var(--spotlight-card-border);
  backdrop-filter: blur(8px);
}

.boundary-card.local {
  border-color: rgba(94, 234, 212, 0.34);
}
.boundary-card.cloud {
  border-color: rgba(165, 156, 255, 0.34);
}

.boundary-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.boundary-card.local .boundary-kicker { color: #5eead4; }
.boundary-card.cloud .boundary-kicker { color: #c4b5fd; }

.boundary-card h3 {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.boundary-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.89rem;
  color: rgba(243, 246, 250, 0.86);
  line-height: 1.5;
}

.boundary-list svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  color: #5eead4;
}
.boundary-card.cloud .boundary-list svg { color: #c4b5fd; }

.boundary-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 6px;
  text-align: center;
  color: rgba(243, 246, 250, 0.72);
  font-size: 0.76rem;
  max-width: 128px;
}

.bridge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(94, 234, 212, 0.45);
  color: #5eead4;
}

.spotlight-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-val {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
}

.metric-label {
  margin-top: 5px;
  font-size: 0.84rem;
  color: rgba(243, 246, 250, 0.72);
}

.spotlight-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.spotlight-note {
  font-size: 0.84rem;
  color: rgba(243, 246, 250, 0.68);
  max-width: 54ch;
}

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

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-card);
}

.plan-card.popular {
  border-color: var(--accent-jade);
  box-shadow: 0 0 0 1px var(--accent-jade-border), var(--shadow-float);
  overflow: hidden;
}

.plan-card.popular::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-jade) 0%, var(--accent-ai) 100%);
}

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

.plan-name {
  font-size: 1.15rem;
  font-weight: 600;
}

.plan-tag {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--fill-primary);
  color: var(--on-fill-primary);
  font-size: 0.74rem;
  font-weight: 600;
}

.plan-desc {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

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

.plan-price {
  font-size: 2.15rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink-primary);
}

.plan-price.plan-cadence {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.plan-period {
  font-size: 0.86rem;
  color: var(--ink-faint);
}

.plan-subnote {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.plan-list {
  margin: 0 0 24px;
  padding: 18px 0 0;
  border-top: 1px solid var(--border-divider);
  list-style: none;
  display: grid;
  gap: 11px;
  flex: 1;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.89rem;
  color: var(--ink-secondary);
  line-height: 1.48;
}

.plan-list strong {
  color: var(--ink-primary);
  font-weight: 600;
}

.plan-list svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--accent-jade);
}

.pricing-disclaimer {
  margin: 18px auto 0;
  max-width: 78ch;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* Transcript Unit Estimator */
.estimator-card {
  margin-top: 24px;
  padding: 22px 24px;
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: center;
}

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

.estimator-head h3 {
  font-size: 1rem;
  font-weight: 600;
}

.estimator-slider {
  width: 100%;
  accent-color: var(--accent-jade);
  height: 6px;
  margin: 12px 0 8px;
  cursor: pointer;
}

.estimator-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

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

.estimator-box {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--bg-well);
  border: 1px solid var(--border-divider);
}

.estimator-box .val {
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}
.estimator-box .val.jade { color: var(--accent-jade); }

.estimator-box .lbl {
  font-size: 0.78rem;
  color: var(--ink-secondary);
  margin-top: 2px;
}

/* ---------- 7. Pocket Alternative Comparison ---------- */
.compare-card {
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--r-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-card);
}

.compare-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border-divider);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 580px;
}

.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-divider);
  vertical-align: top;
}

.compare-table tr:last-child td { border-bottom: 0; }

.compare-table th {
  background: var(--bg-well);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.compare-table th.ob-col {
  color: var(--accent-jade);
  background: var(--accent-jade-soft);
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--ink-primary);
  width: 22%;
}

.compare-table td:nth-child(2) {
  color: var(--ink-faint);
}

.compare-table td:nth-child(3) {
  color: var(--ink-primary);
  font-weight: 500;
}

/* ---------- 8. FAQ Accordion (id="faq") ---------- */
.faq-list {
  width: 100%;
  display: grid;
  gap: 10px;
}

.faq-item {
  border-radius: var(--r-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.16s ease;
}

.faq-item[open] {
  border-color: var(--accent-jade-border);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--ink-faint);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.16s ease;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-jade);
}

.faq-body {
  padding: 0 22px 20px;
  color: var(--ink-secondary);
  font-size: 0.93rem;
  line-height: 1.66;
}
.faq-body p { margin: 0; }
.faq-body p + p { margin-top: 10px; }

/* ---------- 9. Final CTA & Footer ---------- */
.final-cta {
  padding: clamp(32px, 5vw, 56px) clamp(20px, 4vw, 48px);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(34rem 20rem at 90% 0%, var(--bloom-mint), transparent 68%),
    radial-gradient(30rem 20rem at 10% 100%, var(--bloom-iris), transparent 68%),
    var(--bg-card);
  border: 1px solid var(--border-optical);
  box-shadow: var(--shadow-float);
  text-align: center;
}

.site-footer {
  padding: 56px 0 44px;
  border-top: 1px solid var(--border-divider);
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand p {
  margin: 12px 0 0;
  font-size: 0.87rem;
  color: var(--ink-secondary);
  max-width: 34ch;
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}

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

.footer-col a {
  font-size: 0.89rem;
  color: var(--ink-secondary);
}
.footer-col a:hover { color: var(--ink-primary); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border-divider);
  font-size: 0.81rem;
  color: var(--ink-faint);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 980px) {
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-grid { grid-template-columns: 1fr; }
  .bento-card, .bento-span-7, .bento-span-5 { grid-column: span 12; }
  .boundary-grid { grid-template-columns: 1fr; }
  .boundary-bridge {
    max-width: none;
    flex-direction: row;
    padding: 4px 0;
  }
  .boundary-bridge .bridge-pill svg {
    transform: rotate(90deg);
  }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .estimator-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .nav-links, .nav-desktop-cta { display: none; }
  .nav-menu-btn { display: inline-flex; }
}

@media (max-width: 760px) {
  .tablet-frame { width: 100%; margin-right: 0; }
  .phone-frame-hero {
    position: relative;
    right: auto;
    bottom: auto;
    width: 62%;
    max-width: 230px;
    margin: -38px auto 0;
  }
  .device-composition {
    flex-direction: column;
    align-items: center;
  }
  .stage-controls { justify-content: center; text-align: center; }
  .stage-caption { text-align: center; }
  .spotlight-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-cta-row { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .entry-grid { grid-template-columns: 1fr; }
  .estimator-readout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
