/* ==========================================================================
   SALON OS — Marketing Website Stylesheet (Taste-Skill Edition)
   Anti-slop, high-precision layout, rigorous typography & fluid responsiveness.
   Zero em-dashes, restrained eyebrows, single accent lock, WCAG AA compliant.
   ========================================================================== */

:root {
  /* Surface colors (Off-black slate system) */
  --bg-page: #08090d;
  --bg-surface: #0e1118;
  --bg-surface-elevated: #141822;
  --bg-surface-hover: #1a202e;
  --bg-glass: rgba(14, 17, 24, 0.85);

  /* Hairline Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);

  /* Single Accent System (Rose locked) */
  --accent: #e63872;
  --accent-hover: #cf2a61;
  --accent-subtle: rgba(230, 56, 114, 0.12);
  --accent-border: rgba(230, 56, 114, 0.32);

  /* Functional Status Accents */
  --status-green: #10b981;
  --status-green-bg: rgba(16, 185, 129, 0.12);
  --status-amber: #f59e0b;
  --status-amber-bg: rgba(245, 158, 11, 0.12);
  --status-sky: #38bdf8;
  --status-sky-bg: rgba(56, 189, 248, 0.12);

  /* Typography */
  --text-title: #f8fafc;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #08090d;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;

  /* Radius Scale (16px cards, full pill buttons) */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Elevation Shadows (Background tinted) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 48px -12px rgba(0, 0, 0, 0.7);
  --shadow-accent: 0 8px 25px -4px rgba(230, 56, 114, 0.3);

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==================== Reset & Foundations ==================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-title);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Subtle Fixed Ambient Canvas (No continuous repaint) */
.ambient-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: 
    radial-gradient(circle at 15% 10%, rgba(230, 56, 114, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
}

.layout-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* ==================== Navigation Bar ==================== */
.navbar {
  position: sticky;
  top: 1rem;
  z-index: 100;
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: border-color 0.2s var(--ease);
}

.brand-anchor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-title);
}

.brand-symbol {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-accent);
}

.brand-symbol svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-top: -3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.15s var(--ease);
}

.nav-link:hover {
  color: var(--text-title);
}

.nav-cta-cluster {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Button Foundation (WCAG AA Contrast Compliant) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

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

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

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-title);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-title);
  cursor: pointer;
  padding: 0.35rem;
}

/* ==================== Hero Section (Asymmetric Split) ==================== */
.hero-section {
  padding: 4.5rem 0 3rem 0;
  min-height: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ff85ae;
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-headline span.accent-text {
  color: var(--accent);
}

.hero-paragraph {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 54ch;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Right: Live Interactive Quick Snapshot Card */
.hero-snapshot {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.snapshot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.snapshot-live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--status-green);
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--status-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--status-green);
}

.snapshot-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.snapshot-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.snapshot-card-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.snapshot-card-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.snapshot-card-foot {
  font-size: 0.72rem;
  color: var(--status-green);
  font-weight: 600;
  margin-top: 0.2rem;
}

.snapshot-activity-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.activity-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.activity-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}

.activity-text-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.activity-text-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.activity-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--status-green-bg);
  color: var(--status-green);
}

/* ==================== Metric Trust Strip (Dedicated Row) ==================== */
.trust-strip {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-top: 3.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-metric-num {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.trust-metric-label {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==================== Core Section Structure ==================== */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-head.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ==================== Product Stage (Showcase) ==================== */
.showcase-stage {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.stage-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(14, 17, 24, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

.stage-tab-group {
  display: flex;
  background: var(--bg-surface-elevated);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  gap: 4px;
}

.stage-tab {
  background: transparent;
  border: none;
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s var(--ease);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.stage-tab.active {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.stage-content {
  padding: 2.25rem;
}

.stage-panel {
  display: none;
}

.stage-panel.active {
  display: block;
}

/* Owner Stage Layout */
.stage-owner-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.schedule-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.schedule-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.schedule-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.schedule-client-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.schedule-service-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.schedule-time {
  font-size: 0.78rem;
  color: var(--text-body);
  font-weight: 500;
}

.stage-side-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.alert-panel {
  padding: 1.1rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  line-height: 1.55;
  border: 1px solid transparent;
}

.alert-panel-amber {
  background: var(--status-amber-bg);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fde68a;
}

.alert-panel-green {
  background: var(--status-green-bg);
  border-color: rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
}

.alert-panel-rose {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: #ff9bbd;
}

/* Staff & Customer Stages */
.stage-split-view {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: center;
}

.mobile-shell {
  background: #000000;
  border: 3px solid #27272a;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  max-width: 340px;
  margin: 0 auto;
}

.mobile-screen-inner {
  background: #0d1017;
  border-radius: 28px;
  padding: 1.25rem;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.mobile-card {
  background: #161b26;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.85rem;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-bullet-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-bullet-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-bullet-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.feature-bullet-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==================== Vision & Philosophy (Why Built) ==================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.philo-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.philo-card.crisis {
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.04) 0%, var(--bg-surface) 100%);
}

.philo-card.solution {
  border: 1px solid var(--accent-border);
  background: linear-gradient(180deg, var(--accent-subtle) 0%, var(--bg-surface) 100%);
}

.philo-header {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.philo-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.philo-list li {
  display: flex;
  gap: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.philo-list.crisis li {
  color: #cbd5e1;
}

.philo-list.solution li {
  color: #f1f5f9;
}

.icon-fail { color: #ef4444; font-weight: 700; flex-shrink: 0; }
.icon-pass { color: var(--status-green); font-weight: 700; flex-shrink: 0; }

/* ==================== 3 Connected Experiences ==================== */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.persona-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.persona-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-border);
}

.persona-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  width: fit-content;
}

.tag-owner { background: var(--status-amber-bg); color: var(--status-amber); }
.tag-staff { background: var(--status-sky-bg); color: var(--status-sky); }
.tag-client { background: var(--accent-subtle); color: #ff85ae; }

.persona-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.persona-lead {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.persona-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.persona-items li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.persona-items li svg {
  width: 15px;
  height: 15px;
  fill: var(--status-green);
  flex-shrink: 0;
}

/* ==================== Core Engines Bento Grid ==================== */
.bento-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-cell {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cell-span-8 { grid-column: span 8; }
.cell-span-4 { grid-column: span 4; }

.bento-cell-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.bento-cell-text {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.bento-code-box {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: #cbd5e1;
}

/* ==================== ROI Calculator (Fintech-Grade) ==================== */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-row-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.calc-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

.calc-live-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* Polished Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--bg-surface-elevated);
  border-radius: 999px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(230, 56, 114, 0.6);
  transition: transform 0.15s var(--ease);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-outputs {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.output-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.output-name {
  font-size: 0.88rem;
  color: var(--text-body);
}

.output-sum {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--status-green);
  font-variant-numeric: tabular-nums;
}

.output-total-banner {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
}

.total-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ff85ae;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.total-figure {
  font-size: 2.25rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0.25rem 0;
  font-variant-numeric: tabular-nums;
}

.total-annual-note {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* ==================== Comparison Table ==================== */
.table-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.comparison-table th {
  background: var(--bg-surface-elevated);
  font-weight: 700;
  color: #ffffff;
}

.comparison-table th.col-highlight {
  background: var(--accent-subtle);
  color: #ff85ae;
  border-top: 2px solid var(--accent);
}

.comparison-table td.col-highlight {
  background: rgba(230, 56, 114, 0.03);
  font-weight: 600;
  color: #ffffff;
}

/* ==================== FAQ Accordion ==================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s var(--ease);
}

.faq-card.open {
  border-color: var(--border-medium);
}

.faq-trigger {
  width: 100%;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}

.faq-card.open .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
  padding: 0 1.5rem;
  color: var(--text-body);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-card.open .faq-body {
  max-height: 380px;
  padding: 0 1.5rem 1.35rem 1.5rem;
}

/* ==================== CTA Banner ==================== */
.cta-stage {
  background: linear-gradient(135deg, var(--accent-subtle) 0%, rgba(20, 24, 34, 0.95) 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-stage-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-stage-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 2.25rem auto;
}

/* ==================== Footer ==================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #050609;
  padding: 4rem 0 2rem 0;
  margin-top: 5rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-bio {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
  max-width: 300px;
  margin-top: 0.85rem;
}

.footer-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.1rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-body);
  font-size: 0.85rem;
  transition: color 0.15s var(--ease);
}

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

.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.badge-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-family: monospace;
  color: #cbd5e1;
}

/* ==================== Responsive Queries ==================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-copy {
    text-align: center;
    align-items: center;
  }
  .hero-paragraph {
    max-width: 60ch;
  }
  .hero-snapshot {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stage-owner-grid {
    grid-template-columns: 1fr;
  }
  .stage-split-view {
    grid-template-columns: 1fr;
  }
  .persona-grid {
    grid-template-columns: 1fr;
  }
  .bento-cell.cell-span-8, .bento-cell.cell-span-4 {
    grid-column: span 12;
  }
  .calculator-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta-cluster {
    display: none;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .hero-section {
    padding: 3rem 0 2rem 0;
  }
  .hero-headline {
    font-size: 2.2rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
  }
  .stage-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .stage-tab-group {
    width: 100%;
    overflow-x: auto;
  }
  .calculator-box {
    padding: 1.75rem;
  }
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
