/* ==========================================================================
   IRWIN: The AI for Overthinkers
   Editorial-Luxury Design System
   ========================================================================== */

:root {
  /* Core Color Palette - Inverted Luxury Dark Theme */
  --bg-primary: #111110;           /* Luxury Dark Ground */
  --bg-surface: #181816;           /* Elevated Dark Surface */
  --bg-elevated: #222220;          /* Deep Card Background */
  --text-primary: #F0E9DD;         /* Warm Ivory */
  --text-secondary: #A09E96;       /* Muted Warm Neutral */
  --text-tertiary: #73716A;        /* Subtle Neutral */
  --border-light: rgba(240, 233, 221, 0.10);
  --border-medium: rgba(240, 233, 221, 0.18);
  --border-strong: rgba(240, 233, 221, 0.32);

  /* Contrast / Dark Theme Accents (For Preview & Contrast Sections) */
  --dark-bg: #111110;
  --dark-surface: #181816;
  --dark-elevated: #222220;
  --dark-text: #F0E9DD;
  --dark-text-muted: #9E9C95;
  --dark-border: rgba(240, 233, 221, 0.12);
  --dark-border-strong: rgba(240, 233, 221, 0.24);

  /* Restrained Accents */
  --accent-terracotta: #A44C33;
  --accent-olive: #56634E;
  --accent-warm: #C87D55;

  /* Model Identity Badges */
  --color-astra: #9C5838;          /* Analytical Terracotta */
  --color-fable: #43605B;          /* Counter-perspective Forest Slate */
  --color-gemini: #2E4C7A;         /* Synthesizing Deep Cobalt */

  /* Typography */
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6.5rem;
  --space-5xl: 9rem;

  /* Container Widths */
  --max-width-narrow: 680px;
  --max-width-default: 960px;
  --max-width-wide: 1180px;
  --max-width-preview: 1540px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Document Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* Accessibility Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--text-primary);
  color: var(--bg-primary);
  font-weight: 500;
  font-size: 0.875rem;
  z-index: 9999;
  text-decoration: none;
  border-radius: 2px;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  outline: 2px solid var(--accent-terracotta);
  outline-offset: 2px;
}

/* Global Focus Styles */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--text-primary);
  outline-offset: 3px;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--max-width-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 5vw, 3rem);
  padding-right: clamp(1.25rem, 5vw, 3rem);
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.container-default {
  max-width: var(--max-width-default);
}

/* Keep max-width and horizontal padding in sync with .nav-inner */
.container-preview {
  width: 100%;
  max-width: min(100%, 1440px);
  padding-left: clamp(1.25rem, 4vw, 3.25rem);
  padding-right: clamp(1.25rem, 4vw, 3.25rem);
}

/* Typography Hierarchy */
h1, h2, h3, .serif-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.lead-text {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(17, 17, 16, 0.90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: border-color var(--transition-fast);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(1.4rem, 2.4vw, 2.15rem);
  height: 72px;
  max-width: min(100%, 1440px);
  padding-left: clamp(1.25rem, 4vw, 3.25rem);
  padding-right: clamp(1.25rem, 4vw, 3.25rem);
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--text-primary);
  gap: 0;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  text-decoration: none;
  font-size: 1.85rem;
  white-space: nowrap;
}

.brand-serif {
  font-family: "Playfair Display", var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1em;
  letter-spacing: -0.015em;
  display: inline-block;
  line-height: 1;
}

.brand-sans {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 800;
  font-size: 0.92em;
  letter-spacing: -0.02em;
  display: inline-block;
  line-height: 1;
}

/* Seamless Linking Between the Fonts */
/* 1. Spacing between "the" and "irwin" */
.brand-name .brand-serif:first-child {
  margin-right: 0.08em; /* tiny space between the and irwin */
  position: relative;
  z-index: 1;
}

/* 2. Linking "irwin" (bold n) -> "wait" (italic w) */
.brand-name .brand-serif:nth-of-type(2) {
  margin-left: -0.08em;
  margin-right: -0.095em;
  position: relative;
  z-index: 1;
}

/* 3. Linking "wait" (italic t) -> "list" (bold l) */
.brand-name .brand-sans:last-of-type {
  margin-left: -0.085em;
  position: relative;
}

.brand-reg {
  font-family: var(--font-sans);
  font-size: 0.44em;
  font-style: normal;
  font-weight: 700;
  vertical-align: top;
  position: relative;
  top: -0.55em;
  margin-left: 0.1em;
  letter-spacing: normal;
  line-height: 1;
  color: currentColor;
}

.brand-dot {
  display: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 1.8vw, 1.65rem);
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 450;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.nav-item-mobile-only {
  display: none;
}

.btn-quiet-pill {
  background-color: rgba(240, 233, 221, 0.08);
  color: var(--text-primary);
  border-color: transparent;
}

.btn-quiet-pill:hover {
  background-color: rgba(240, 233, 221, 0.14);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-1px);
}

.btn-quiet-pill:active {
  background-color: rgba(240, 233, 221, 0.19);
  transform: scale(0.96);
}

/* Buttons & CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.725rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn:active {
  transform: scale(0.96);
  transition: transform 0.08s ease-out;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
  transform: translateY(-1px);
}

.btn-primary:active {
  background-color: #DCD5C9;
  transform: scale(0.96);
}

/* Lightweight Hardware-Accelerated Click Wave */
.btn-ripple-wave {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(17, 17, 16, 0.25) 0%, rgba(17, 17, 16, 0) 70%);
  transform: translate(-50%, -50%) scale(0);
  animation: btn-ripple-expand 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes btn-ripple-expand {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    width: 240px;
    height: 240px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

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

.btn-secondary:hover {
  background-color: rgba(240, 233, 221, 0.08);
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1rem;
}

/* Mobile Nav Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
/* Shared tokens for moving the hero/problem divider down by E without shifting #problem content */
#main-content {
  --problem-pad: clamp(4.5rem, 9vw, 8rem);
  --hero-extra-ratio: 0.9;
  --hero-extra: calc(var(--problem-pad) * var(--hero-extra-ratio));
}

.hero-section {
  padding-top: calc(clamp(3.5rem, 8vw, 6.5rem) + (var(--hero-extra) / 2));
  padding-bottom: calc(clamp(4rem, 9vw, 7.5rem) + (var(--hero-extra) / 2));
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 880px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3.2rem, 7.5vw, 6.25rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

.hero-title-line {
  display: block;
}

.hero-title-italic {
  font-style: italic;
  font-weight: 400;
}

.hero-description {
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto var(--space-2xl);
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Joined two-button hero CTA pill with soft curved seam above 680px */
@property --pair-cream {
  syntax: "<color>";
  inherits: true;
  initial-value: #F0E9DD;
}

@property --pair-dark {
  syntax: "<color>";
  inherits: true;
  initial-value: #302F2C;
}

/* Prevent hover/active movement and override js/main.js inline click scale(0.96) */
.hero-section .hero-cta-pair {
  --pair-dark: #302F2C;
  --pair-dark-hover: #3D3B38;
  --pair-dark-active: #474541;
}

.hero-section .hero-cta-pair .btn,
.hero-section .hero-cta-pair .btn:hover,
.hero-section .hero-cta-pair .btn:active {
  transform: none !important;
}

@media (min-width: 681px) {
  .hero-section .hero-cta-pair {
    --pair-width: 27.9rem;
    --seam-x: 50%;
    --pair-blend: 2.75rem;
    --pair-arc-rx: 165px;
    --pair-arc-ry: 42px;
    --pair-cream: var(--text-primary);
    display: grid;
    grid-template-columns: var(--seam-x) calc(100% - var(--seam-x));
    gap: 0;
    width: min(var(--pair-width), 100%);
    margin-inline: auto;
    border-radius: 999px;
    background:
      radial-gradient(
        ellipse var(--pair-arc-rx) var(--pair-arc-ry) at calc(var(--seam-x) - var(--pair-arc-rx) + 6px) 50%,
        var(--pair-cream) calc(100% - (var(--pair-blend) / 2)),
        var(--pair-dark) calc(100% + (var(--pair-blend) / 2))
      ),
      var(--bg-primary);
    background:
      radial-gradient(
        ellipse var(--pair-arc-rx) var(--pair-arc-ry) at calc(var(--seam-x) - var(--pair-arc-rx) + 6px) 50% in oklab,
        var(--pair-cream) calc(100% - (var(--pair-blend) / 2)),
        var(--pair-dark) calc(100% + (var(--pair-blend) / 2))
      ),
      var(--bg-primary);
    transition: --pair-cream var(--transition-fast), --pair-dark var(--transition-fast);
  }

  .hero-section .hero-cta-pair:has(.btn-primary:hover) {
    --pair-cream: #FFFFFF;
  }

  .hero-section .hero-cta-pair:has(.btn-primary:active) {
    --pair-cream: #DCD5C9;
  }

  .hero-section .hero-cta-pair:has(.btn-secondary:hover) {
    --pair-dark: var(--pair-dark-hover);
  }

  .hero-section .hero-cta-pair:has(.btn-secondary:active) {
    --pair-dark: var(--pair-dark-active);
  }

  .hero-section .hero-cta-pair .btn {
    width: 100%;
    padding-inline: 1.25rem;
    background-color: transparent;
    border-color: transparent;
  }

  .hero-section .hero-cta-pair .btn-primary {
    border-radius: 999px 0 0 999px;
    color: var(--bg-primary);
  }

  .hero-section .hero-cta-pair .btn-primary:hover,
  .hero-section .hero-cta-pair .btn-primary:active {
    background-color: transparent;
    border-color: transparent;
    color: #000000;
  }

  .hero-section .hero-cta-pair .btn-secondary {
    border-radius: 0 999px 999px 0;
    color: var(--text-primary);
  }

  .hero-section .hero-cta-pair .btn-secondary:hover,
  .hero-section .hero-cta-pair .btn-secondary:active {
    background-color: transparent;
    border-color: transparent;
    color: #FFFFFF;
  }
}

@media (max-width: 680px) {
  .hero-section .hero-cta-pair .btn-secondary {
    background-color: var(--pair-dark);
    border-color: transparent;
    color: var(--text-primary);
  }

  .hero-section .hero-cta-pair .btn-secondary:hover {
    background-color: var(--pair-dark-hover);
    border-color: transparent;
    color: #FFFFFF;
  }

  .hero-section .hero-cta-pair .btn-secondary:active {
    background-color: var(--pair-dark-active);
    border-color: transparent;
  }
}

.hero-subtext {
  font-size: 0.825rem;
  color: var(--text-tertiary);
  margin-top: var(--space-lg);
  letter-spacing: 0.01em;
}

/* Hero Starfield (static, decorative) + one-time fade-in.
   Scoped to .hero-section only. Star positions live in index.html as an
   inline SVG (percentage coordinates, px radii => always circular). */
.hero-section {
  animation: hero-fade-in 1.2s ease-out both;
}

.hero-section .hero-stars {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,.15) 12px, rgba(0,0,0,.5) 35px, rgba(0,0,0,.85) 65px, #000 90px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,.15) 12px, rgba(0,0,0,.5) 35px, rgba(0,0,0,.85) 65px, #000 90px);
}

.hero-section .hero-content {
  position: relative;
  z-index: 1;
}

@keyframes hero-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Density scaling: fewer stars on narrower heroes */
@media (max-width: 1200px) {
  .hero-section .hero-stars .hs-l3 { display: none; }
}

@media (max-width: 900px) {
  .hero-section .hero-stars .hs-l2 { display: none; }
}

@media (max-width: 680px) {
  .hero-section .hero-stars .hs-l1 { display: none; }
}

/* Divider Line */
.editorial-rule {
  width: 100%;
  height: 1px;
  background: var(--border-light);
  border: none;
  margin: 0;
}

/* ==========================================================================
   THE PROBLEM SECTION
   ========================================================================== */
.problem-section {
  /* Centers the Problem question block between the lower hero divider and the viewport bottom */
  padding-top: calc((var(--problem-pad) - var(--hero-extra)) + 1.54rem);
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
  scroll-margin-top: calc(var(--hero-extra) - 1.54rem);
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Keep max-width and horizontal padding in sync with .nav-inner */
.problem-section .container {
  max-width: min(100%, 1440px);
  padding-left: clamp(1.25rem, 4vw, 3.25rem);
  padding-right: clamp(1.25rem, 4vw, 3.25rem);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.problem-statement h2 {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.problem-narrative {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.problem-narrative p {
  font-size: clamp(1.05rem, 1.4vw, 1.175rem);
  color: var(--text-secondary);
  line-height: 1.68;
}

.problem-narrative p strong {
  color: var(--text-primary);
  font-weight: 600;
}

.quote-aside {
  border-left: 2px solid var(--accent-terracotta);
  padding-left: var(--space-lg);
  margin-top: var(--space-sm);
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--text-primary);
}

/* ==========================================================================
   THE IRWIN APPROACH
   ========================================================================== */
.approach-section {
  padding-top: clamp(4.5rem, 9vw, 8rem);
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
}

.approach-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
}

.approach-header h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.approach-header p {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--text-secondary);
}

.approach-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.pillar-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.pillar-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCT PREVIEW (The Curated Roundtable Interface)
   ========================================================================== */
.preview-section {
  /* Local, section-scoped contrast-adjusted text colors (OKLab lightness only; hue/chroma kept).
     :root and the shared model color tokens are intentionally untouched. */
  --pv-muted-on-white: #75736C;   /* "Session 04" and the reply tags on white cards: 4.75:1 */
  --pv-label-on-bar: #67645D;     /* "In this conversation" on the window bar: 4.71:1 */
  --pv-chip-astra-text: #006B4F;  /* Astra header chip text on its tinted chip: 4.74:1 */

  padding-top: clamp(4.5rem, 9vw, 8rem);
  padding-bottom: clamp(4.5rem, 9vw, 8rem);
  /* Keeps the first content at least 24px below the 73px sticky nav when jumped to via #preview
     (only kicks in where the section's own top padding is too small to do it). */
  scroll-margin-top: max(0px, calc(97px - clamp(4.5rem, 9vw, 8rem)));
  background-color: var(--dark-bg);
  color: var(--dark-text);
  position: relative;
  overflow: hidden;
}

.preview-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.preview-header .eyebrow {
  color: var(--dark-text-muted);
}

.preview-header h2 {
  color: var(--dark-text);
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  margin-bottom: var(--space-md);
}

.preview-header p {
  color: var(--dark-text-muted);
  font-size: 1.1rem;
}

/* Conceptual Disclaimer Banner */
.preview-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.35rem 0.85rem;
  background: rgba(240, 233, 221, 0.08);
  border: 1px solid var(--dark-border);
  border-radius: 999px;
  font-size: 0.775rem;
  color: var(--dark-text-muted);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-xl);
}

.preview-meta-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #55B581; /* Restrained status green */
}

/* The Simulated Interface Window - Light Mode */
.preview-window {
  width: 100%;
  background: #F8F4EC;
  border: 1px solid rgba(240, 233, 221, 0.2);
  border-radius: 12px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.preview-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1.25rem;
  background: #ECE5D8;
  border-bottom: 1px solid rgba(17, 17, 16, 0.08);
}

.preview-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(17, 17, 16, 0.18);
}

.preview-session-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 0.775rem;
  color: var(--pv-label-on-bar);
}

.session-label {
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--pv-label-on-bar);
}

.preview-model-roster {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.model-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.725rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
  border: 1px solid transparent;
}

.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chip-astra {
  background: rgba(16, 163, 127, 0.10);
  color: var(--pv-chip-astra-text);
  border-color: rgba(16, 163, 127, 0.22);
}
.chip-astra .chip-dot {
  background: #10A37F;
}

.chip-fable {
  background: rgba(217, 119, 87, 0.10);
  color: #A34327;
  border-color: rgba(217, 119, 87, 0.22);
}
.chip-fable .chip-dot {
  background: #D97757;
}

.chip-gemini,
.chip-argon {
  background: rgba(46, 76, 122, 0.10);
  color: #1F4A8A;
  border-color: rgba(46, 76, 122, 0.22);
}
.chip-argon .chip-dot {
  background: #3B72C4;
}

/* Conversation Stream Layout */
.preview-conversation {
  padding: clamp(1.5rem, 3.2vw, 2.75rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.4vw, 1.85rem);
  width: 100%;
  background: #F8F4EC;
}

/* User Message - Pops from the Right (Chatbot style) */
.conversation-message-user {
  align-self: flex-end;
  margin-left: auto;
  margin-right: 0;
  width: 100%;
  max-width: min(78%, 760px);
  background: #E9E9EB;
  border: 1px solid rgba(17, 17, 16, 0.08);
  border-radius: 18px 18px 4px 18px;
  padding: 1.15rem 1.55rem;
  margin-bottom: 0;
  box-shadow: 0 1px 4px rgba(17, 17, 16, 0.04);
}

.message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: 0.45rem;
  font-size: 0.775rem;
  color: #6E6D7A;
}

.user-label {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #111110;
  font-size: 0.95rem;
}

.user-question-text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.4;
  color: #111110;
}

/* Dialogue Stream Container */
.roundtable-stream {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.roundtable-stream::before {
  content: "";
  display: none;
}

/* Individual Model Turn - Seamless Modern Chatbot style */
.model-turn-card {
  position: relative;
  padding-left: 0;
  align-self: flex-start;
  margin-right: auto;
  margin-left: 0;
  width: 100%;
  max-width: 100%;
}

/* Very thin, near-invisible separator between model messages */
.model-turn-card:not(:last-child) {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(17, 17, 16, 0.06);
}

/* Subtle vertical connector thread line between model avatars */
.model-turn-card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(0.35rem + 13px);
  bottom: -1.5rem;
  width: 1.5px;
  height: 1.5rem;
  background: rgba(17, 17, 16, 0.10);
  z-index: 1;
}

.turn-body {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.35rem 0.35rem;
  box-shadow: none;
}

.turn-body:hover {
  border: none;
  box-shadow: none;
}

/* Chatbot Pop-in Animations */
@keyframes popFromRight {
  0% {
    opacity: 0;
    transform: translate3d(28px, 4px, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes popFromLeft {
  0% {
    opacity: 0;
    transform: translate3d(-28px, 4px, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* When activated by scroll observer */
.preview-animated .conversation-message-user,
.preview-animated .model-turn-card {
  opacity: 0;
  will-change: transform, opacity;
}

.preview-animated.is-in-view .conversation-message-user {
  animation: popFromRight 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.preview-animated.is-in-view .model-turn-card:nth-child(1) {
  animation: popFromLeft 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.preview-animated.is-in-view .model-turn-card:nth-child(2) {
  animation: popFromLeft 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.95s forwards;
}

.preview-animated.is-in-view .model-turn-card:nth-child(3) {
  animation: popFromLeft 0.65s cubic-bezier(0.16, 1, 0.3, 1) 1.35s forwards;
}

.turn-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.turn-identity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.model-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.model-avatar-circle .provider-logo {
  display: block;
}

.provider-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  display: block;
  border-radius: 50%;
}

.circle-astra {
  background: radial-gradient(circle at 35% 35%, #10A37F 0%, #086F54 100%);
  color: #FFFFFF;
}

.circle-fable {
  background: #D97757;
  color: #FFFFFF;
}

.circle-argon {
  background: radial-gradient(circle at 35% 35%, #4C8BF5 0%, #2055C4 55%, #183B8C 100%);
  color: #FFFFFF;
}

.turn-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #111110;
}

.turn-reply-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.775rem;
  color: var(--pv-muted-on-white);
  margin-left: 0.25rem;
  padding-left: 0.65rem;
  border-left: 1px solid rgba(17, 17, 16, 0.12);
  line-height: 1;
}

.reply-arrow-icon {
  color: #8C8980;
  flex-shrink: 0;
}

.reply-ref {
  font-weight: 600;
}

.reply-ref.ref-astra {
  color: #0E7457;
}

.reply-ref.ref-fable {
  color: #A34327;
}

.turn-content {
  font-size: 0.965rem;
  line-height: 1.65;
  color: #2D2C28;
  padding-left: calc(26px + 0.65rem); /* Align flush with model name beside avatar */
}

.turn-content p + p {
  margin-top: 0.55rem;
}

.turn-interact-target {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 550;
  font-size: 0.92em;
  line-height: 1.4;
  vertical-align: baseline;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.turn-interact-target.mention-astra {
  background: rgba(16, 163, 127, 0.10);
  color: #0E7457;
  border: 1px solid rgba(16, 163, 127, 0.22);
}

.turn-interact-target.mention-fable {
  background: rgba(217, 119, 87, 0.10);
  color: #A34327;
  border: 1px solid rgba(217, 119, 87, 0.22);
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps-section {
  padding-top: clamp(4.5rem, 9vw, 8rem);
  padding-bottom: calc(clamp(4.5rem, 9vw, 8rem) * 2 + 5px);
  background-color: var(--bg-primary);
}

.steps-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

.steps-header h2 {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  line-height: 1.05;
  margin-bottom: var(--space-md);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  counter-reset: step-counter;
}

.step-card {
  border-top: 2px solid var(--text-primary);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
  font-style: italic;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
  padding-top: clamp(5rem, 10vw, 8.5rem);
  padding-bottom: clamp(5rem, 10vw, 8.5rem);
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  text-align: center;
}

.cta-box {
  max-width: 760px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.02;
  margin-bottom: var(--space-lg);
}

.cta-box p {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto var(--space-2xl);
}

.cta-action {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  background-color: var(--bg-primary);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 340px;
}

.footer-brand .brand-name {
  font-size: 2.1rem;
}

.footer-tagline {
  margin-top: var(--space-xs);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  list-style: none;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-col-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ==========================================================================
   WAITLIST PAGE: EDITORIAL SPLIT LUXURY DESIGN
   ========================================================================== */
.waitlist-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

.waitlist-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem clamp(1.25rem, 5vw, 4rem);
  background-color: transparent;
  border-bottom: 1px solid rgba(240, 233, 221, 0.06);
}

.waitlist-nav .brand-name,
.waitlist-nav .brand-reg {
  color: var(--dark-text);
}

.waitlist-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--dark-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.waitlist-back-btn:hover {
  color: var(--dark-text);
}

.waitlist-main-section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 6rem);
}

.waitlist-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: start;
}

/* Left Column: Editorial Statement */
.waitlist-editorial {
  display: flex;
  flex-direction: column;
  padding-top: 0.5rem;
}

.waitlist-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: var(--space-xl);
}

.waitlist-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.2vw, 4.85rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--dark-text);
  margin-bottom: var(--space-xl);
  font-weight: 400;
}

.waitlist-subtext {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--dark-text-muted);
  max-width: 440px;
}

/* Right Column: Minimal Underline Form */
.waitlist-form-container {
  width: 100%;
  max-width: 540px;
  align-self: start;
}

.waitlist-fields-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.minimal-field-group {
  display: flex;
  flex-direction: column;
}

.minimal-label {
  font-size: 0.825rem;
  color: var(--dark-text-muted);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.01em;
}

.label-required-star {
  color: #C85038;
}

.label-optional-badge {
  color: #6C6A64;
  font-size: 0.775rem;
  margin-left: 2px;
}

.minimal-input-line,
.minimal-select-line,
.minimal-textarea-line {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(240, 233, 221, 0.2);
  color: var(--dark-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.65rem 0;
  border-radius: 0;
  transition: border-color var(--transition-fast);
}

.minimal-input-line::placeholder,
.minimal-textarea-line::placeholder {
  color: rgba(240, 233, 221, 0.28);
}

.minimal-input-line:focus,
.minimal-select-line:focus,
.minimal-textarea-line:focus {
  outline: none;
  border-bottom-color: var(--dark-text);
}

.minimal-input-line.is-invalid,
.minimal-textarea-line.is-invalid {
  border-bottom-color: #C85038 !important;
}

.minimal-select-line {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%239E9C95' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 1.5rem;
}

.minimal-select-line option {
  background-color: #1A1A18;
  color: #F0E9DD;
  padding: 8px;
}

.minimal-textarea-line {
  resize: vertical;
  min-height: 58px;
  line-height: 1.5;
}

/* Bubble Chips for Referral Source */
.bubble-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.bubble-chip-label {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.bubble-chip-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.bubble-chip-text {
  padding: 0.38rem 0.85rem;
  font-size: 0.825rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 233, 221, 0.2);
  background: rgba(240, 233, 221, 0.04);
  color: var(--dark-text-muted);
  transition: all var(--transition-fast);
  user-select: none;
  letter-spacing: 0.01em;
}

.bubble-chip-label:hover .bubble-chip-text {
  border-color: rgba(240, 233, 221, 0.45);
  color: var(--dark-text);
  background: rgba(240, 233, 221, 0.08);
}

.bubble-chip-label input[type="radio"]:checked + .bubble-chip-text {
  background: var(--dark-text);
  color: var(--dark-bg);
  border-color: var(--dark-text);
  font-weight: 550;
}

.bubble-chip-label input[type="radio"]:focus-visible + .bubble-chip-text {
  outline: 2px solid var(--dark-text);
  outline-offset: 2px;
}

/* Radio Group: Contact Preference */
.contact-pref-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

.contact-pref-option {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--dark-text);
  font-size: 0.95rem;
  cursor: pointer;
}

.contact-pref-option input[type="radio"] {
  accent-color: var(--dark-text);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Consent Checkbox */
.waitlist-consent-block {
  margin-top: 0.5rem;
}

.consent-checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.consent-checkbox-wrap input[type="checkbox"] {
  accent-color: var(--dark-text);
  width: 17px;
  height: 17px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.consent-label-text {
  font-size: 0.815rem;
  line-height: 1.5;
  color: var(--dark-text-muted);
}

.privacy-notice-row {
  font-size: 0.75rem;
  color: #7A7872;
  margin-top: 0.5rem;
  margin-left: 2rem;
  line-height: 1.45;
}

.privacy-notice-row a {
  color: var(--dark-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition-fast);
}

.privacy-notice-row a:hover {
  opacity: 0.8;
}

/* Submit Button & Notices */
.waitlist-submit-button {
  width: 100%;
  padding: 0.95rem 1.5rem;
  background-color: #8E887E;
  color: #111110;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 550;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
  margin-top: 0.5rem;
}

.waitlist-submit-button:hover {
  background-color: #F0E9DD;
  transform: translateY(-1px);
}

/* ==========================================================================
   WAITLIST CONFIRMATION CARD & INLINE ERROR STATES
   ========================================================================== */

.waitlist-inline-error {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  background: rgba(240, 233, 221, 0.04);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.waitlist-confirmation-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 1.5rem;
  padding: clamp(2.25rem, 4vw, 3rem);
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  width: 100%;
  align-self: start;
  box-sizing: border-box;
}

.waitlist-confirm-motif {
  display: block;
  margin: 0 auto 1.25rem;
  width: 120px;
  height: 60px;
  overflow: visible;
}

@media (max-width: 400px) {
  .waitlist-confirm-motif {
    width: 104px;
    height: 52px;
  }
}

/* Left Headline State after Submission */
.waitlist-editorial.is-submitted .waitlist-title {
  --waitlist-title-scale: 0.70;
  font-size: calc(clamp(2.75rem, 5.2vw, 4.85rem) * var(--waitlist-title-scale));
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.waitlist-editorial.is-submitted .waitlist-title em,
.waitlist-editorial.is-submitted .waitlist-title .serif-italic {
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 400;
}

.waitlist-confirm-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.9rem;
}

.waitlist-confirm-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-weight: 400;
  outline: none;
  text-wrap: balance;
}

.waitlist-confirm-title .serif-italic {
  font-style: italic;
  font-family: var(--font-serif);
}

.waitlist-confirm-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 30rem;
  margin: 0 auto 2rem;
  text-wrap: pretty;
  text-align: center;
}

.waitlist-channel-val {
  color: var(--text-primary);
  font-weight: 500;
}

.waitlist-channel-val.phone-val {
  white-space: nowrap;
}

.waitlist-channel-val.email-val {
  overflow-wrap: anywhere;
}

.waitlist-confirm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

/* ==========================================================================
   PRIVACY NOTICE: EDITORIAL LUXURY DESIGN
   ========================================================================== */
.privacy-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

.privacy-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem clamp(1.25rem, 5vw, 4rem);
  background-color: transparent;
  border-bottom: 1px solid rgba(240, 233, 221, 0.06);
}

.privacy-nav .brand-name,
.privacy-nav .brand-reg {
  color: var(--dark-text);
}

.privacy-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--dark-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.privacy-back-btn:hover {
  color: var(--dark-text);
}

.privacy-main-section {
  flex: 1;
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(3rem, 7vw, 7.5rem);
  align-items: start;
}

.privacy-left-sticky {
  position: sticky;
  top: 3.5rem;
  display: flex;
  flex-direction: column;
}

.privacy-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: var(--space-xl);
}

.privacy-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.4vw, 4.85rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--dark-text);
  margin-bottom: var(--space-xl);
  font-weight: 400;
}

.privacy-date {
  font-size: 0.85rem;
  color: #6C6A64;
  letter-spacing: 0.01em;
}

/* Right Content Column */
.privacy-sections-wrap {
  display: flex;
  flex-direction: column;
}

.privacy-article-block {
  border-top: 1px solid rgba(240, 233, 221, 0.1);
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
}

.privacy-block-heading {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.privacy-block-body {
  font-size: 0.95rem;
  line-height: 1.68;
  color: #B5B2A9;
}

.privacy-block-body p + p {
  margin-top: 0.75rem;
}

.privacy-block-body a {
  color: var(--dark-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition-fast);
}

.privacy-block-body a:hover {
  opacity: 0.8;
}

.privacy-footer {
  border-top: 1px solid rgba(240, 233, 221, 0.08);
  padding: 1.75rem 0;
  font-size: 0.8rem;
  color: #6C6A64;
}

.privacy-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.privacy-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.privacy-footer-link {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .privacy-left-sticky {
    position: static;
  }
}

@media (max-width: 900px) {
  .waitlist-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .waitlist-editorial {
    padding-top: 0;
  }

  .waitlist-form-container {
    max-width: 100%;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN & BREAKPOINTS
   ========================================================================== */
@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .approach-pillars {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .step-card {
    padding-top: var(--space-md);
  }
}

@media (max-width: 820px) {
  .nav-inner {
    justify-content: space-between;
    gap: 0;
  }

  .nav-actions {
    margin-left: 0;
  }

  .nav-preview-pill {
    display: none;
  }

  .nav-item-mobile-only {
    display: list-item;
  }

  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    flex-direction: column;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border-medium);
    gap: var(--space-lg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  }

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

@media (max-width: 680px) {
  /* Hide The Friction (Problem), The Approach, and How It Works sections on mobile */
  #problem,
  .problem-section,
  #approach,
  .approach-section,
  #how-it-works,
  .steps-section {
    display: none !important;
  }

  /* Remove three-dash mobile menu button and drawer on mobile */
  .mobile-menu-btn,
  .nav-links,
  .nav-links.is-open {
    display: none !important;
  }

  /* Compact nav bar on mobile to prevent overflow/zoomed-out appearance */
  .nav-inner {
    padding-left: clamp(0.75rem, 3.5vw, 1.25rem);
    padding-right: clamp(0.75rem, 3.5vw, 1.25rem);
    justify-content: space-between;
    gap: 0.5rem;
  }

  .brand-name {
    font-size: clamp(1.2rem, 4.8vw, 1.55rem);
  }

  .nav-actions {
    margin-left: 0;
    flex-shrink: 0;
  }

  .nav-actions .btn-sm {
    padding: 0.45rem clamp(0.65rem, 2.5vw, 0.95rem);
    font-size: clamp(0.725rem, 2.2vw, 0.8rem);
    white-space: nowrap;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .cta-action {
    flex-direction: column;
    width: 100%;
  }

  .cta-action .btn {
    width: 100%;
  }

  /* Product Preview Mobile Refinements (Modern, spacious chatbot UI) */
  .container-preview {
    padding-left: clamp(0.75rem, 3vw, 1rem);
    padding-right: clamp(0.75rem, 3vw, 1rem);
  }

  .preview-window {
    border-radius: 14px;
    border: 1px solid rgba(240, 233, 221, 0.14);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }

  .preview-window-bar {
    padding: 0.65rem 0.85rem;
    justify-content: center;
  }

  .preview-window-controls {
    display: none;
  }

  .preview-session-info {
    justify-content: center;
    width: 100%;
  }

  .preview-session-info span.session-label {
    display: none;
  }

  .preview-model-roster {
    gap: 0.35rem;
  }

  .model-chip {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .preview-conversation {
    padding: 1.25rem 0.85rem;
    gap: 1.35rem;
  }

  /* User prompt: authentic native app-style gray chat bubble */
  .conversation-message-user {
    max-width: 90%;
    margin-left: auto;
    margin-right: 0;
    padding: 0.95rem 1.15rem;
    background: #E9E9EB;
    border: 1px solid rgba(17, 17, 16, 0.08);
    border-radius: 18px 18px 4px 18px;
    box-shadow: 0 1px 4px rgba(17, 17, 16, 0.04);
  }

  .conversation-message-user .message-meta {
    color: #6E6D7A;
  }

  .conversation-message-user .user-label {
    color: #111110;
  }

  .user-question-text {
    font-size: 1.05rem;
    line-height: 1.45;
    color: #111110;
  }

  /* Model responses: seamless background without floating bubble cards */
  .model-turn-card {
    max-width: 100%;
    padding-left: 0;
  }

  /* Very thin, near-invisible separator between model messages */
  .model-turn-card:not(:last-child) {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(17, 17, 16, 0.05);
  }

  /* Subtle vertical connector thread line between model avatars */
  .model-turn-card:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(0.25rem + 13px);
    bottom: -1.25rem;
    width: 1.5px;
    height: 1.25rem;
    background: rgba(17, 17, 16, 0.09);
    z-index: 1;
  }

  .turn-body {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.2rem 0.25rem !important;
  }

  .turn-body:hover {
    border: none !important;
    box-shadow: none !important;
  }

  .turn-header {
    margin-bottom: 0.45rem;
  }

  .turn-identity {
    gap: 0.55rem;
  }

  .turn-name {
    font-size: 0.9rem;
    font-weight: 650;
  }

  .turn-reply-indicator {
    font-size: 0.72rem;
    margin-left: 0.15rem;
    padding-left: 0.5rem;
  }

  .turn-content {
    font-size: 0.925rem;
    line-height: 1.6;
    color: #2D2C28;
    padding-left: calc(26px + 0.55rem); /* Align flush with model name beside avatar */
  }

  .turn-content p + p {
    margin-top: 0.55rem;
  }

  @keyframes popFromRight {
    0% {
      opacity: 0;
      transform: translate3d(24px, 4px, 0) scale(0.96);
    }
    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }
  }

  @keyframes popFromLeft {
    0% {
      opacity: 0;
      transform: translate3d(-24px, 4px, 0) scale(0.96);
    }
    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
    }
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-animated .conversation-message-user,
  .preview-animated .model-turn-card {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
