/* Dilo Visual Identity System - Calm Navy & Warm Sand */

:root {
  /* Default Layout & Geometry Constants */
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  --coral: #f26d5b;          /* Accent Coral for status/recording */
  --coral-dim: #fca5a5;
  --border-color-dark: #334155;

  /* Default Option A Colors & Typography */
  --bg-primary: #FAF6EE;       /* Warm Sand */
  --bg-secondary: #F2ECE0;     /* Cozy Ivory */
  --bg-tertiary: #E8DFCE;      /* Muted Sand */
  --bg-dark: #1E2A4A;          /* Calm Navy */
  --bg-dark-hover: #151F38;
  --bg-glass: rgba(250, 246, 238, 0.9);
  
  --text-primary: #1E2A4A;     /* Navy */
  --text-secondary: #3D4559;   /* Muted Navy Charcoal */
  --text-muted: #6B768E;       /* Slate Navy Muted */
  --text-light: #FAF6EE;
  
  --accent: #1E2A4A;           /* Navy */
  --accent-dim: #4A607A;       /* Slate Blue */
  --accent-hover: #151F38;
  --accent-light: #E8DFCE;
  --accent-glass: rgba(30, 42, 74, 0.05);
  --border-color: #D6CAB2;
  
  --font-heading: 'EB Garamond', Georgia, serif;
  --font-brand: 'La Belle Aurore', cursive;
  --font-body: 'Inter', sans-serif;
  
  --border-radius-sketch: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

/* Theme B: Earthy Forest (Default) — evocation of calmness and organic safety */
body.theme-b {
  --bg-primary: #FAF9F5;       /* Soft Cream */
  --bg-secondary: #F3F1EC;     /* Warm Sand accent */
  --bg-tertiary: #ECE9E0;      /* Card BG */
  --bg-dark: #203E30;          /* Deep Forest Green */
  --bg-dark-hover: #183025;
  --bg-glass: rgba(250, 249, 245, 0.9);
  
  --text-primary: #203E30;     /* Deep Forest Green */
  --text-secondary: #3D4C43;   /* Slate Green */
  --text-muted: #707E75;       /* Sage Muted */
  --text-light: #FAF9F5;
  
  --accent: #203E30;           /* Forest Green primary */
  --accent-dim: #7B8C80;       /* Sage Gray secondary */
  --accent-hover: #183025;
  --accent-light: #ECE9E0;
  --accent-glass: rgba(32, 62, 48, 0.05);
  --border-color: #D3CDC1;
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-brand: 'La Belle Aurore', cursive;
  --font-body: 'Outfit', sans-serif;
  
  --border-radius-sketch: 120px 20px 100px 20px / 20px 100px 20px 120px;
}

/* Theme A: Calm Navy — evocation of safety and trust */
body.theme-a {
  --bg-primary: #FAF6EE;       /* Warm Sand */
  --bg-secondary: #F2ECE0;     /* Cozy Ivory */
  --bg-tertiary: #E8DFCE;      /* Muted Sand */
  --bg-dark: #1E2A4A;          /* Calm Navy */
  --bg-dark-hover: #151F38;
  --bg-glass: rgba(250, 246, 238, 0.9);
  
  --text-primary: #1E2A4A;     /* Navy */
  --text-secondary: #3D4559;   /* Muted Navy Charcoal */
  --text-muted: #6B768E;       /* Slate Navy Muted */
  --text-light: #FAF6EE;
  
  --accent: #1E2A4A;           /* Navy */
  --accent-dim: #4A607A;       /* Slate Blue */
  --accent-hover: #151F38;
  --accent-light: #E8DFCE;
  --accent-glass: rgba(30, 42, 74, 0.05);
  --border-color: #D6CAB2;
  
  --font-heading: 'EB Garamond', Georgia, serif;
  --font-brand: 'La Belle Aurore', cursive;
  --font-body: 'Inter', sans-serif;
  
  --border-radius-sketch: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

/* Theme C: Warm Walnut — evocation of artisanal handcrafted warmth */
body.theme-c {
  --bg-primary: #F7F3EC;       /* Oatmeal */
  --bg-secondary: #EDE7DC;     /* Warm Clay Oatmeal */
  --bg-tertiary: #DFD7C7;      /* Warm Board */
  --bg-dark: #3D2A1C;          /* Walnut Brown */
  --bg-dark-hover: #2D1E14;
  --bg-glass: rgba(247, 243, 236, 0.9);
  
  --text-primary: #3D2A1C;     /* Walnut */
  --text-secondary: #574B41;   /* Soft Charcoal Brown */
  --text-muted: #85766B;       /* Warm Muted Brown */
  --text-light: #F7F3EC;
  
  --accent: #C26D5C;           /* Terracotta accent */
  --accent-dim: #D98C7E;       
  --accent-hover: #a85646;
  --accent-light: #DFD7C7;
  --accent-glass: rgba(194, 109, 92, 0.08);
  --border-color: #D3C7B5;
  
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-brand: 'Great Vibes', cursive;
  --font-body: 'Inter', sans-serif;
  
  --border-radius-sketch: 180px 15px 150px 15px / 15px 150px 15px 180px;
}

/* Base resets and defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition-normal), color var(--transition-normal);
  position: relative;
}

/* Paper Grain Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.035; /* Very subtle noise */
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-family: var(--font-heading), -apple-system, BlinkMacSystemFont, "Segoe UI", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  transition: color var(--transition-normal), font-family var(--transition-normal);
}

h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Accessibility: Keyboard focus outlines */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 64px);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: auto;
  height: 48px; /* Taller for the script logos */
  object-fit: contain;
  transition: all var(--transition-normal);
}

.brand-text {
  font-family: var(--font-brand), cursive;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  transition: color var(--transition-normal), font-family var(--transition-normal);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 36px);
}

.top-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
}

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
}

.language-switcher button {
  min-width: 34px;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font: 700 12px/1 var(--font-body), sans-serif;
  padding: 7px 8px;
}

.language-switcher button:hover,
.language-switcher button.is-active {
  background: var(--accent);
  color: var(--text-light);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--text-light);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

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

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.button.primary {
  background: var(--accent);
  color: var(--text-light);
  box-shadow: 0 10px 20px -5px rgba(71, 85, 105, 0.3);
}

.button.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 15px 25px -5px rgba(71, 85, 105, 0.4);
}

.button.secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.button.full {
  width: 100%;
}

/* Sections */
.section {
  padding: clamp(64px, 8vw, 120px) clamp(16px, 4vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-muted);
}

.section-heading.compact {
  max-width: 680px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
  background: var(--accent-glass);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Hero Section */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) clamp(16px, 4vw, 64px) clamp(64px, 8vw, 120px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}

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

.hero-copy {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.proof-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.proof-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.bullet-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

/* CSS Art: Interactive Product Mockup */
.hero-art-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 460px;
  width: 100%;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
}

.window {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  box-shadow: var(--shadow-premium);
  position: absolute;
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.chrome-window {
  left: 0;
  top: 10px;
  width: 88%;
  height: 280px;
  background: var(--bg-secondary);
  z-index: 1;
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.window-bar span:nth-child(1) { background: #fca5a5; }
.window-bar span:nth-child(2) { background: #fef08a; }
.window-bar span:nth-child(3) { background: #bbf7d0; }

.window-bar strong {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 8px;
  font-weight: 600;
}

.message-lines {
  padding: 24px;
  display: grid;
  gap: 12px;
}

.line-skeleton {
  height: 12px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  width: 100%;
}

.line-skeleton.wide { width: 92%; }
.line-skeleton.short { width: 45%; }

/* Simulated Floating Pill */
.dictation-strip {
  position: absolute;
  top: 195px;
  left: 6%;
  width: 88%;
  background: var(--bg-dark);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  color: var(--text-light);
  z-index: 10;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  background: var(--coral);
  border-radius: 50%;
  position: relative;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 109, 91, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(242, 109, 91, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 109, 91, 0);
  }
}

.pill-info {
  display: flex;
  flex-direction: column;
}

.pill-info span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--coral-dim);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 2px;
}

.pill-info strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.1;
}

.wave {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.wave i {
  width: 3px;
  height: 12px;
  background: var(--coral-dim);
  border-radius: var(--radius-full);
  animation: bounce 1.2s infinite ease-in-out;
}

.wave i:nth-child(2) { height: 20px; animation-delay: 0.15s; }
.wave i:nth-child(3) { height: 14px; animation-delay: 0.3s; }
.wave i:nth-child(4) { height: 24px; animation-delay: 0.45s; }
.wave i:nth-child(5) { height: 16px; animation-delay: 0.6s; }
.wave i:nth-child(6) { height: 10px; animation-delay: 0.75s; }

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

/* Polished Output Mockup */
.output-window {
  right: 0;
  bottom: 10px;
  width: 82%;
  min-height: 180px;
  padding: 24px;
  z-index: 5;
}

.output-window .tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.output-text {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Features Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature {
  padding: 32px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-premium);
  border-color: var(--accent-dim);
}

.feature .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-glass);
  color: var(--accent);
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
}

.feature h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Special Featured accent Card */
.feature.accent {
  background: var(--bg-dark);
  border-color: var(--border-color-dark);
  color: var(--text-light);
}

.feature.accent h3 {
  color: var(--text-light);
}

.feature.accent p {
  color: #94a3b8; /* slate-400 */
}

.feature.accent .icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-light);
}

.feature.accent:hover {
  border-color: var(--text-light);
}

/* Workflow Section (How it works) */
.workflow-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  padding: 28px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-2px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--text-light);
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  margin-bottom: 20px;
  font-family: 'Outfit', sans-serif;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Why Dilo / Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) clamp(16px, 4vw, 64px);
}

.why-content p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.comparison-panel {
  display: grid;
  gap: 20px;
}

.mode-row {
  padding: 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.mode-row.conservative {
  border-left-color: var(--coral);
}

.mode-row strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 19px;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-family: 'Outfit', sans-serif;
}

.hotkey-badge {
  font-size: 11px;
  background: var(--accent-light);
  color: var(--text-primary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.mode-row.conservative .hotkey-badge {
  background: #fee2e2;
  color: #991b1b;
}

.mode-row p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Privacy Section */
.privacy-section {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
}

.privacy-section .section-heading h2 {
  color: var(--text-light);
}

.privacy-section .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.privacy-section .section-subtitle {
  color: #94a3b8;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.privacy-grid article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.privacy-grid article:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.privacy-grid h3 {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 10px;
}

.privacy-grid p {
  font-size: 13px;
  color: #cbd5e1; /* slate-300 */
  line-height: 1.6;
  margin-bottom: 0;
}

/* Pricing Section */
.pricing-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.price-plan {
  padding: 40px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-plan.planned {
  border-color: var(--accent-light);
  background: var(--bg-primary);
}

.price-plan.planned::before {
  content: "PLANNED";
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: var(--accent-light);
  color: var(--text-primary);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.plan-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.plan-price {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.plan-price .period {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 400;
}

/* International price anchor under the BRL headline price. */
.plan-price-usd {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin: -2px 0 8px;
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
  min-height: 42px;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  font-size: 14px;
}

.price-plan .button {
  margin-top: auto;
}

/* Checkout status message inside a plan card (reuses .auth-status styling). */
.price-plan .auth-status {
  margin-top: 14px;
}

/* Honest fine print under the Pro CTA (monthly-only, cancel anytime). */
.plan-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}

/* Early Access Waitlist Section */
.access-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.access-copy h2 {
  margin-bottom: 20px;
}

.access-copy p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.access-form {
  padding: 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.access-form input,
.access-form select,
.access-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.access-form textarea {
  resize: vertical;
}

.access-form input::placeholder,
.access-form textarea::placeholder {
  color: #94a3b8;
}

.access-form input:focus,
.access-form select:focus,
.access-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.15);
}

/* FAQ Accordion Section */
.faq-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

details:hover {
  border-color: var(--accent-dim);
}

summary {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

summary::after {
  content: "+";
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

details[open] summary::after {
  transform: rotate(45deg);
  color: var(--text-primary);
}

details p {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Final CTA Section */
.final-cta {
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 24px;
  background: var(--bg-primary);
}

.final-cta h2 {
  margin-bottom: 16px;
}

.final-cta p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(16px, 4vw, 64px);
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-muted);
  font-size: 13px;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-copy {
  margin-bottom: 0;
}

.consent-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sketch, var(--radius-md));
  box-shadow: var(--shadow-lg);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-size: 15px;
}

.consent-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.button.compact {
  min-height: 40px;
  padding: 10px 16px;
  white-space: nowrap;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  
  .hero-actions {
    justify-content: center;
  }

  .hero-signature-card {
    margin-left: auto;
    margin-right: auto;
  }

  .signature-logo-wrap img {
    margin: 0 auto;
  }
  
  .proof-list {
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .hero-art-container {
    height: 400px;
  }
  
  .split-section,
  .access-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  
  .top-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }
  
  .nav-cta {
    width: 100%;
  }
  
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .site-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .consent-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .consent-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 580px) {
  .steps {
    grid-template-columns: 1fr;
  }
  
  .proof-list {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-actions .button {
    width: 100%;
  }
  
  .hero-art-container {
    height: 340px;
  }
  
  .chrome-window {
    width: 100%;
    height: 230px;
  }
  
  .dictation-strip {
    width: 100%;
    left: 0;
    top: 150px;
    padding: 10px 14px;
    gap: 10px;
  }
  
  .wave {
    display: none; /* Hide waveform on extremely small mobiles to fit space */
  }
  
  .output-window {
    width: 90%;
    right: 0;
    bottom: 0;
    min-height: 140px;
    padding: 16px;
  }
  
  .output-window p {
    font-size: 13px;
  }

  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .consent-actions {
    flex-direction: column-reverse;
  }

  .consent-actions .button {
    width: 100%;
  }
}

/* ==========================================================================
   Signature Brand Panel & Sketch Borders
   ========================================================================== */

.hero-signature-card {
  margin: 32px 0 40px;
  padding: 24px;
  max-width: 540px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sketch, var(--radius-md));
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: border-color var(--transition-normal), background var(--transition-normal);
}

.hero-signature-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 16px 0 0;
  line-height: 1.5;
}

.signature-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.signature-logo-wrap {
  width: 100%;
  max-width: 380px;
  padding: 18px;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sketch, var(--radius-md));
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.signature-logo-wrap img {
  width: auto;
  max-height: 104px;
  margin: 0;
  object-fit: contain;
}

/* Global Sketch Borders Override for Artisanal Feel */
.step-card, 
.price-plan, 
.access-form, 
.comparison-panel, 
.feature, 
.window,
.hero-art-container {
  border: 2px solid var(--border-color) !important;
  border-radius: var(--border-radius-sketch, var(--radius-md)) !important;
  transition: all var(--transition-normal);
  background: var(--bg-secondary) !important;
}

/* Handwritten badges and accents */
.hotkey-badge, .tag {
  font-family: var(--font-brand), cursive !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  background: var(--accent-glass) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 20px 4px 15px 4px / 4px 15px 4px 20px !important;
}

/* Adjust primary button */
.button.primary {
  background: var(--accent) !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 10px var(--accent-glass) !important;
  border-radius: 15px 120px 15px 120px / 120px 15px 120px 15px !important;
}

.button.primary:hover {
  background: var(--accent-hover) !important;
  box-shadow: 0 6px 15px var(--accent-glass) !important;
}

/* ==========================================================================
   Auth (Sign up / Log in) page
   ========================================================================== */

/* Subtle secondary header link (e.g. "Log in") next to the primary nav CTA. */
.nav-login {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

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

.auth-main {
  min-height: calc(100vh - 77px); /* viewport minus the sticky header */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 80px) clamp(16px, 4vw, 64px);
}

.auth-card {
  width: 100%;
  max-width: 460px;
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sketch, var(--radius-lg));
  box-shadow: var(--shadow-premium);
  text-align: left;
}

.auth-card .eyebrow {
  margin-bottom: 14px;
}

.auth-title {
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 10px;
}

.auth-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.55;
}

/* Sign up / Log in toggle */
.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
}

.auth-tab {
  flex: 1;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font: 700 14px/1 var(--font-body), sans-serif;
  padding: 11px 12px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.auth-tab:hover {
  color: var(--text-primary);
}

.auth-tab.is-active {
  background: var(--accent);
  color: var(--text-light);
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-form .form-group label {
  font-size: 13px;
}

.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.auth-form input::placeholder {
  color: #94a3b8;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.15);
}

.auth-form .form-group.has-error input {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(242, 109, 91, 0.15);
}

.auth-hint {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: #b3372a;
  line-height: 1.4;
}

.auth-hint[hidden] {
  display: none;
}

/* Marketing-consent checkbox */
.auth-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
  margin-top: 2px;
}

.auth-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}

.auth-form .button[disabled] {
  opacity: 0.7;
  cursor: progress;
  pointer-events: none;
}

/* Status / success / error / confirm banner */
.auth-status {
  margin: 2px 0 0;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid transparent;
}

.auth-status[hidden] {
  display: none;
}

.auth-status.is-error {
  background: #fdecea;
  border-color: #f5c2bb;
  color: #b3372a;
}

.auth-status.is-success {
  background: #e7f4ec;
  border-color: #bcdfca;
  color: #1f7a44;
}

.auth-status.is-confirm,
.auth-status.is-info {
  background: var(--accent-glass);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.auth-switchnote {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.auth-switchnote[hidden] {
  display: none;
}

.auth-link {
  border: 0;
  background: transparent;
  padding: 0 0 1px;
  margin-left: 4px;
  font: 700 14px/1.4 var(--font-body), sans-serif;
  color: var(--accent);
  cursor: pointer;
  border-bottom: 1px solid currentColor;
}

.auth-link:hover {
  color: var(--accent-hover);
}

.auth-foot {
  margin: 18px 0 0;
  text-align: center;
  font-size: 13px;
}

.auth-foot a {
  color: var(--text-muted);
  border-bottom: 1px solid transparent;
}

.auth-foot a:hover {
  color: var(--text-primary);
  border-bottom-color: currentColor;
}

/* ==========================================================================
   Checkout result pages (success / cancel) — reuse the auth-card shell
   ========================================================================== */

.checkout-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.checkout-ref {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0 0 22px;
  word-break: break-all;
}

.checkout-ref[hidden] {
  display: none;
}

.checkout-actions {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .auth-main {
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 56px;
  }
}

/* ==========================================================================
   Auth screen — premium split layout (value reassurance + account form)
   The form (right) keeps every JS hook; the aside (left) reinforces value at
   the conversion moment and carries the brand's signature Flow Bar pill.
   ========================================================================== */

.auth-shell {
  width: 100%;
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.auth-shell .auth-card {
  max-width: 480px;
  width: 100%;
  margin: 0;
}

.auth-aside {
  max-width: 480px;
}

.auth-aside-title {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 16px;
}

.auth-aside-lead {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.6;
}

.auth-points {
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
}

.auth-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.45;
}

.auth-points li .bullet-dot {
  margin-top: 7px;
  flex-shrink: 0;
}

/* Signature element: the product's Flow Bar pill, brought to the sign-up
   moment so the value is tangible right where the visitor commits. Static
   variant of .dictation-strip (no absolute positioning). */
.auth-flowbar {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: 340px;
  padding: 12px 20px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color-dark);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  color: var(--text-light);
}

/* Small honest trust line beneath the form action. */
.auth-trust {
  margin: 16px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 480px;
  }

  .auth-aside {
    max-width: none;
    text-align: center;
  }

  .auth-points {
    text-align: left;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .auth-shell .auth-card {
    max-width: none;
  }
}

@media (max-width: 560px) {
  /* Trim the decorative pill on small screens to keep the form above the fold. */
  .auth-flowbar {
    display: none;
  }
}

/* ==========================================================================
   Checkout result pages — confirmation badge + clear next steps
   ========================================================================== */

.checkout-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 22px;
}

.checkout-badge.is-success {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(242, 109, 91, 0.65);
}

.checkout-badge.is-neutral {
  background: var(--accent-glass);
  color: var(--accent);
  border: 1px solid var(--border-color);
}

.checkout-stepstitle {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.checkout-steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 0 0 26px;
  padding: 0;
}

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

.checkout-steps li::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--text-light);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  border-radius: 50%;
}

.checkout-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 20px 0 0;
}

/* ==========================================================================
   Download page — OS-detecting build picker (reuses the auth-card shell)
   ========================================================================== */

.download-card {
  max-width: 560px;
}

.download-detected {
  margin: 0 0 20px;
  padding: 12px 15px;
  border-radius: var(--radius-md);
  background: var(--accent-glass);
  border: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
}

/* OS chooser tabs (Windows / macOS) — same control language as .auth-tabs */
.download-os-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
}

.download-os-tab {
  flex: 1;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font: 700 14px/1 var(--font-body), sans-serif;
  padding: 11px 12px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.download-os-tab:hover {
  color: var(--text-primary);
}

.download-os-tab.is-active {
  background: var(--accent);
  color: var(--text-light);
}

.download-panel[hidden] {
  display: none;
}

.download-btn {
  margin-bottom: 16px;
}

/* "beta build coming" degraded state — visibly softer than a live download */
.download-btn.is-coming {
  background: var(--bg-tertiary) !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
  border: 1px solid var(--border-color) !important;
}

.download-hint {
  margin: -6px 0 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.download-hint[hidden] {
  display: none;
}

/* Honest unsigned-install note, per OS */
.download-unsigned {
  margin: 4px 0 4px;
  padding: 16px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius-md);
}

.download-unsigned strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  color: var(--text-primary);
}

.download-unsigned p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.download-unsigned p strong {
  display: inline;
  margin: 0;
  font-size: inherit;
  color: var(--text-primary);
}

.download-other {
  margin: 20px 0 4px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.download-other .auth-link {
  font-size: 14px;
}

/* ==========================================================================
   Accessibility: honour reduced-motion across the whole site.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
