:root {
  --background:     #08080B;
  --background-alt: #0F0F14;
  --surface:        #16161E;
  --border:         #1F1F28;
  --accent:         #AAFF00;
  --accent-dim:     rgba(170, 255, 0, 0.08);
  --accent-border:  rgba(170, 255, 0, 0.25);
  --accent-glow:    rgba(170, 255, 0, 0.18);
  --off-white:      #EFEFEF;
  --warm-gray:      #7A7A8C;
  --success-green:  #00C853;
  --risk-red:       #FF3B30;

  /* Legacy aliases — old class rules still reference these. */
  --bg: var(--background);
  --text: var(--off-white);
  --text-muted: var(--warm-gray);
  --text-secondary: var(--warm-gray);
  --green: var(--success-green);
  --red: var(--risk-red);
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  background: var(--background);
  color: var(--off-white);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 500;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Eyebrow / small uppercase label utility. Big Shoulders Display for industrial brand-label feel. This is the SECOND font in "two fonts, one job each" — Big Shoulders for brand UPPERCASE only, Manrope for everything else. Class name kept for HTML backward compatibility. */
.mono-label {
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

/* Lime accent line that anchors an eyebrow to its headline. Place directly under .mono-label or .section-eyebrow. */
.eyebrow-line {
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin: 8px 0 14px;
}
.hero-inner .eyebrow-line,
.text-center .eyebrow-line { margin-left: auto; margin-right: auto; }

/* Animated lime status dot. Use inside tier badges, status pills, "active" indicators. */
.pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 4px var(--accent);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 4px var(--accent); }
  50% { opacity: 0.55; transform: scale(0.72); box-shadow: 0 0 14px var(--accent); }
}

/* Score ring (SVG circular progress around the score number). */
.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.score-ring svg { transform: rotate(-90deg); }
.score-ring .ring-track { stroke: var(--border); }
.score-ring .ring-fill {
  animation: ring-draw 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
  stroke-dashoffset: 314.16;
  stroke-linecap: round;
}
.score-ring .ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-ring .ring-number {
  font-family: 'Geist Mono', monospace;
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.score-ring .ring-max {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--warm-gray);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
@keyframes ring-draw { from { stroke-dashoffset: 314.16; } to { stroke-dashoffset: var(--ring-target, 204.2); } }

/* Sentiment classes — applied to the score block. Tier-red 0-3, tier-amber 4-6, tier-lime 7-10. */
.tier-red .ring-fill, .tier-red .ring-number { stroke: var(--risk-red); color: var(--risk-red); }
.tier-amber .ring-fill, .tier-amber .ring-number { stroke: #FF8C00; color: #FF8C00; }
.tier-lime .ring-fill, .tier-lime .ring-number { stroke: var(--accent); color: var(--accent); }

/* Verdict tag — sentiment-colored small uppercase label above Current Vibe. */
.verdict-tag {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--risk-red);
}
.tier-amber .verdict-tag { color: #FF8C00; }
.tier-lime .verdict-tag { color: var(--accent); }

/* Verdict bridge — italic copy block that bridges the Score to the YOUR GAP block. */
.verdict-bridge {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: var(--off-white);
  opacity: 0.78;
  line-height: 1.55;
  margin: 0 0 18px;
  padding: 10px 14px;
  background: rgba(170, 255, 0, 0.04);
  border-left: 3px solid rgba(170, 255, 0, 0.4);
  border-radius: 0 8px 8px 0;
}

/* Numbered evidence list item. Replaces the bare bullet with a number prefix + subtle card. */
.evidence-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}
.evidence-num {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  opacity: 0.85;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.audit-col.green-col .evidence-num { color: var(--success-green); }
.audit-col.red-col .evidence-num { color: var(--risk-red); }
.evidence-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--off-white);
  opacity: 0.9;
  line-height: 1.5;
}

/* Manrope italic accent utility — replaces the old DM Serif Display accent role. Class name preserved for HTML backward compat. */
.serif {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 600;
}

/* Selection style. */
::selection {
  background: var(--accent);
  color: var(--background);
}

/* Custom scrollbars. */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface);
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.04em; }
h2 { font-size: 1.5rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }

/* ===== LOGO ===== */
.logo { font-size: 1.1rem; font-weight: 800; background: linear-gradient(135deg, #60a5fa, #a78bfa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.02em; }

/* === Buttons === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--background);
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 0 32px var(--accent-glow); }
.btn-primary:active { transform: none; }

.btn-secondary {
  background: var(--surface);
  color: var(--off-white);
  border: 1px solid var(--border);
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--accent-border); background: var(--accent-dim); }

.btn-ghost {
  background: transparent;
  color: var(--warm-gray);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--off-white); border-color: var(--accent-border); }

.btn-sm { padding: 0.35rem 0.9rem; font-size: 0.7rem; }
.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--warm-gray);
  padding: 0.25rem;
  transition: color 0.2s;
}
.btn-icon:hover { color: var(--off-white); }

.btn-google {
  background: var(--off-white);
  color: var(--background);
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.btn-google:hover { background: #fff; filter: none; box-shadow: 0 4px 16px rgba(0,0,0,0.6); }

.btn-group { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.btn-option {
  background: var(--surface);
  color: var(--warm-gray);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-option.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent-border);
}

/* === Tool header === */
.tool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--background);
  z-index: 100;
}
.tool-header .logo {
  /* Brand wordmark in the tool header — matches site-nav-logo. */
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--off-white);
  background: none !important;
  -webkit-text-fill-color: var(--off-white) !important;
}
.tool-header .logo span { color: var(--accent); }

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tier-badge {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.tier-badge.starter { color: var(--warm-gray); }
.tier-badge.lab { color: var(--accent); border-color: var(--accent-border); background: var(--accent-dim); }
.tier-badge.workshop { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }

.usage-counter {
  /* Numeric counter readout — mono is correct here. */
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  color: var(--warm-gray);
  letter-spacing: 0.06em;
}

.tool-body { padding-top: 2rem; padding-bottom: 4rem; }

.tab-lock { font-size: 0.8rem; margin-left: 0.25rem; }

/* === Mode tabs === */
.mode-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.mode-tab {
  background: none;
  border: none;
  color: var(--warm-gray);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.mode-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.mode-tab:hover { color: var(--off-white); }

/* === Voice grid (shared landing + tool) === */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.voice-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
  text-align: left;
}
.voice-card:hover { border-color: var(--accent-border); transform: translateY(-1px); }
.voice-card.selected {
  border-color: var(--accent);
  border-width: 2px;
  padding: calc(1rem - 1px);
}
.voice-card.locked { opacity: 0.55; }
.voice-card.locked:hover { opacity: 0.85; }
.voice-level {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 0.5rem;
}
.voice-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--off-white);
}
.voice-method {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--off-white);
  opacity: 0.88;
  margin-bottom: 0.5rem;
}
.voice-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.4rem;
}
.voice-pillar {
  font-family: 'Inter', sans-serif;
  font-size: 0.55rem;
  font-weight: 500;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
}
.voice-attribution {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--warm-gray);
  opacity: 0.85;
  line-height: 1.4;
}
.voice-lock-overlay {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  font-size: 0.85rem;
}
.voice-free-dot {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}
.voice-glow { position: absolute; inset: 0; pointer-events: none; }

/* === Empty state === */
.empty-state {
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin: 1.5rem 0;
  padding: 1.25rem;
  border: 1px dashed var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--warm-gray);
}
.empty-state.hidden { display: none; }

/* === Form elements === */
.tab-content { }
textarea, input[type="text"] {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 1rem;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea:focus, input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
textarea::placeholder, input::placeholder { color: var(--warm-gray); }
#thread-input { margin-bottom: 1rem; }
#analyze-btn, #sequence-btn { margin-top: 0.5rem; }

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--warm-gray);
}

/* === Results === */
.result-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
  padding: 22px 22px 14px;
  background: #1A1A22;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.result-header .score-meta { flex: 1; min-width: 0; }
.result-header .vibe-label {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--warm-gray);
  margin-bottom: 4px;
}
.result-header .vibe-value {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--off-white);
}
.score-block, .vibe-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.score-label, .vibe-label {
  /* Report section header — Inter 700, Title Case, sized for readability. */
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--warm-gray);
}
.score-value {
  font-family: 'Inter', sans-serif;
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.score-max {
  font-size: 1rem;
  color: var(--warm-gray);
  margin-left: 0.15rem;
}
.vibe-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--off-white);
}

.audit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.audit-col {
  background: #0F0F14;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
}
.green-col { border-top: 2px solid var(--success-green); }
.red-col { border-top: 2px solid var(--risk-red); }
.audit-header {
  /* Report section header (What Worked / What to Burn) — Manrope 700, Title Case, with sentiment icon. */
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 0.75rem;
  color: var(--off-white);
}
.audit-header .audit-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.green-header .audit-icon { color: var(--success-green); }
.red-header .audit-icon { color: var(--risk-red); }
.audit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.audit-list li {
  font-size: 0.9rem;
  color: var(--off-white);
  opacity: 0.85;
  padding-left: 0.75rem;
  border-left: 2px solid var(--accent-border);
}

.momentum-block, .rewrite-block {
  background: var(--surface);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.rewrite-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--off-white);
  white-space: pre-wrap;
  margin-top: 0.75rem;
}
.rewrite-gated { text-align: center; padding: 1rem 0; }
.rewrite-gated p { color: var(--warm-gray); margin-bottom: 0.75rem; }

/* Legacy upsell-card — kept until Task 11 replaces the markup. */
.upsell-card {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 1rem;
}
.upsell-card p { font-size: 0.9rem; color: var(--off-white); opacity: 0.85; margin-bottom: 0.75rem; }

/* Sequence results */
.sequence-message {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}
.sequence-message .msg-purpose {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.sequence-message .msg-content {
  font-size: 0.95rem;
  line-height: 1.7;
  white-space: pre-wrap;
  color: var(--off-white);
}

/* ===== LOADING ===== */
.loading-card { text-align: center; padding: 3rem; }

.progress-bar {
  width: 100%;
  max-width: 320px;
  height: 4px;
  margin: 0 auto 1.25rem;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 50%, transparent 100%);
  border-radius: 100px;
  animation: sweep 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ===== HISTORY ===== */
.history-panel { margin-top: 3rem; border-top: 1px solid var(--border); padding-top: 2rem; }
.history-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.history-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; margin-bottom: .5rem; cursor: pointer; transition: border-color .2s; }
.history-item:hover { border-color: var(--border-hover); }
.history-item-meta { font-size: .75rem; color: var(--text-muted); margin-bottom: .35rem; }
.history-item-preview { font-size: .85rem; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* === Lock modal === */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}
.modal-content {
  position: relative;
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  width: min(90vw, 560px);
  max-height: 85vh;
  overflow-y: auto;
  z-index: 1;
}
.modal-sm { width: min(90vw, 420px); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.modal-close { position: absolute; top: 1rem; right: 1rem; }

#lock-modal-content { text-align: center; }
.lock-icon-lg {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent);
}
.lock-modal-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--off-white);
  margin-bottom: 0.75rem;
}
.lock-modal-body {
  color: var(--off-white);
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.lock-modal-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lock-modal-ctas .btn-ghost.hidden { display: none; }

/* === Settings modal & inline lock overlay (in Sequence tab) — lighter polish only. === */
.voice-active-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--success-green);
  margin-bottom: 1.5rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-green);
}
.char-count {
  /* Numeric character counter — mono is correct here. */
  font-family: 'Geist Mono', monospace;
  font-weight: 400;
  color: var(--warm-gray);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  margin-left: 0.5rem;
}
.stored-note { font-size: 0.8rem; color: var(--warm-gray); margin-top: 0.35rem; }
.save-status { font-size: 0.85rem; margin-top: 0.75rem; color: var(--success-green); }

.lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,11,0.92);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lock-overlay-inner { text-align: center; padding: 2rem; max-width: 400px; }
.lock-overlay-inner h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--off-white);
}
.lock-overlay-inner p {
  color: var(--off-white);
  opacity: 0.75;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.voice-active-badge {
  font-family: 'Inter', sans-serif;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  margin-left: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .audit-grid { grid-template-columns: 1fr; }
  .result-header { flex-wrap: wrap; gap: 1rem; }

  .landing-h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .gap-headline { font-size: 1.15rem; }
  .workshop-cta-headline { font-size: 1.1rem; }
  .teaser-row { flex-wrap: wrap; }
  .teaser-lock { margin-left: auto; }

  .tool-header { padding: 0.75rem 1rem; }
  .container { padding: 0 1rem; }

  .modal-content { padding: 1.5rem; border-radius: 14px; }
}

/* === Grain overlay (landing + result header band only) === */
.grain-bg {
  position: relative;
}
.grain-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* === Drifting orbs (landing only) === */
.orb-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  background: var(--accent);
  opacity: 0.12;
}
.orb-1 { width: 360px; height: 360px; top: -120px; left: -120px; animation: orb-drift 24s ease-in-out infinite alternate; }
.orb-2 { width: 240px; height: 240px; bottom: -80px; right: -80px; opacity: 0.08; animation: orb-drift 30s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 180px; height: 180px; top: 40%; left: 50%; opacity: 0.06; animation: orb-drift 36s ease-in-out infinite; }

@keyframes orb-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 30px); }
}

#landing-section { position: relative; overflow: hidden; }
#landing-section .container { position: relative; z-index: 1; }

/* === Landing typography & layout === */
#landing-section {
  padding: 5rem 0 4rem;
  text-align: center;
}
#landing-section .logo {
  display: block;
  margin-bottom: 3rem;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--off-white);
}
#landing-section .logo span { color: var(--accent); }

.landing-h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}
.landing-h1 .serif {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 700;
}
.landing-h1 .accent-italic { color: var(--accent); }

.landing-sub {
  margin-bottom: 3rem;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
}

.voice-preview-label {
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

#google-signin-btn { margin: 2.5rem auto 1rem; }
.signin-footnote {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
}

/* === Block 1: Gap diagnosis === */
.gap-block {
  background: linear-gradient(135deg, var(--accent-dim), rgba(170,255,0,0.02));
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.gap-pin {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--background);
  background: var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.gap-headline {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--off-white);
  margin-bottom: 0.5rem;
}
.gap-headline em {
  font-style: italic;
  color: var(--accent);
}
.gap-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--off-white);
  opacity: 0.85;
}

/* === Block 2: Next-voice teaser === */
.teaser-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}
.teaser-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.teaser-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
}
.teaser-meta { flex: 1; min-width: 0; }
.teaser-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.teaser-name {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--off-white);
}
.teaser-lock {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--accent-border);
  border-radius: 999px;
  flex-shrink: 0;
}
.teaser-peek {
  margin-top: 0.85rem;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--off-white);
  opacity: 0.7;
  line-height: 1.55;
  border-left: 2px solid var(--accent-border);
  padding-left: 0.85rem;
}

/* === Block 3: Workshop CTA === */
.workshop-cta-block {
  background: linear-gradient(135deg, rgba(170,255,0,0.1), rgba(170,255,0,0.02));
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}
.workshop-cta-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.workshop-cta-headline {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--off-white);
  margin-bottom: 1rem;
}
.workshop-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: var(--background);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 0 28px var(--accent-glow);
  transition: filter 0.2s, transform 0.15s;
}
.workshop-cta-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* ===== LANDING REBUILD UTILITIES ===== */

/* Gradient accent text. Wrap the hero accent line in <span class="gradient-text">. */
.gradient-text {
  background: linear-gradient(135deg, #AAFF00 0%, #00E5B3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Reflekt-style scroll reveal. Add .reveal to any element, .reveal-delay-1..4 for stagger. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* Hero radial orb. Place a single <div class="hero-orb" aria-hidden="true"></div>
   absolutely positioned behind the hero h1. */
.hero-orb {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 520px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, #7B2FF7 0%, #F107A3 55%, transparent 75%);
  filter: blur(100px);
  opacity: 0.16;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-orb { width: 100%; max-width: 380px; height: 340px; top: -60px; filter: blur(60px); }
}

/* ===== SITE NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.site-nav-logo {
  /* Brand wordmark — Big Shoulders for industrial brand identity. */
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--off-white);
  text-decoration: none;
}
.site-nav-logo span { color: var(--accent); }
.site-nav-actions { display: flex; gap: 0.75rem; align-items: center; }
.btn-signin-nav { font-size: 0.65rem; }
.btn-sm-nav { padding: 0.55rem 1.1rem; font-size: 0.75rem; }
@media (max-width: 768px) {
  .site-nav-inner { padding: 0.75rem 1rem; }
  .btn-signin-nav { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 2rem 0 2rem;
  overflow: hidden;
  text-align: center;
}
/* Purple-tinted grain overlay on hero only. Layers over the standard grain + orb. Kept subtle to let the headline breathe. */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.48 0 0 0 0 0.18 0 0 0 0 0.97 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.hero-h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 auto 0.85rem;
  max-width: 820px;
}
.hero-sub {
  max-width: 620px;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--off-white);
  opacity: 0.9;
  font-weight: 400;
}
.hero-bullets {
  list-style: none;
  max-width: 540px;
  margin: 0 auto 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}
.hero-bullets li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--off-white);
  opacity: 0.92;
}
.hero-bullets li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(170, 255, 0, 0.5);
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.hero-footnote {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--off-white);
  opacity: 0.7;
}
.workshop-cta-trust {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--warm-gray);
  opacity: 0.7;
  margin-top: 0.85rem;
}
@media (max-width: 768px) {
  .hero { padding: 4rem 0 3.5rem; }
  .hero-sub { font-size: 0.95rem; }
}

/* ===== TEACHING SECTIONS ===== */
.teach-section {
  padding: 5rem 0;
  position: relative;
}
.teach-section + .teach-section { border-top: 1px solid var(--border); }
.section-eyebrow {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: block;
  color: var(--accent);
}
.section-h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1rem;
}

/* Stat-headline block — giant display number paired with a smaller headline. One strong visual moment per section. */
.stat-block {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.stat-num {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: clamp(5rem, 12vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #AAFF00 0%, #00E5B3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}
.stat-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--off-white);
  flex: 1;
  min-width: 280px;
  margin: 0;
}
@media (max-width: 640px) {
  .stat-block { gap: 0.5rem; }
}
/* Centered variant for stat-block in CTA cards. */
.stat-block-center {
  justify-content: center;
  text-align: center;
}
.stat-block-center .stat-headline { flex: 0 1 auto; text-align: center; }

/* Vertical variant — stat-num is words stacked top-to-bottom, lime gradient. */
.stat-block-vertical {
  align-items: flex-start;
  gap: 2rem;
}
.stat-num-stacked {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.stat-num-stacked span { display: block; }
.stat-block-vertical .stat-meta {
  flex: 1;
  min-width: 240px;
  padding-top: 0.5rem;
}
.stat-block-vertical .stat-meta p { margin: 0; }

/* Tier ladder — 3-row tier comparison with price tag + meta. */
.tier-ladder {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 540px;
  margin: 1.5rem auto;
  text-align: left;
}
.tier-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.tier-row-active {
  background: rgba(170, 255, 0, 0.05);
  border-color: rgba(170, 255, 0, 0.35);
  box-shadow: inset 0 1px 0 rgba(170, 255, 0, 0.08);
}
.tier-price {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--warm-gray);
  flex-shrink: 0;
  min-width: 64px;
}
.tier-row-active .tier-price {
  background: linear-gradient(135deg, #AAFF00 0%, #00E5B3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tier-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tier-meta strong {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--off-white);
}
.tier-meta span {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--warm-gray);
  opacity: 0.85;
  line-height: 1.4;
}

/* Centered lead paragraph in CTA card. */
.workshop-cta-lead {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--off-white);
  opacity: 0.92;
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

/* Larger CTA button for the workshop final CTA. */
.workshop-cta-cta {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 14px 28px !important;
  margin: 0.5rem auto 0;
  display: inline-block;
}

/* Bulleted list utility for section subheads — lime glow-dot bullets. */
.section-bullets {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 540px;
}
.section-bullets li {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--off-white);
  opacity: 0.92;
}
.section-bullets li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(170, 255, 0, 0.5);
}
.section-sub {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--off-white);
  opacity: 0.95;
  max-width: 680px;
  margin-bottom: 2.5rem;
}
.prose p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--off-white);
  opacity: 0.92;
  font-weight: 500;
}
.prose p:last-child { margin-bottom: 0; }
.prose p.lead {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--off-white);
  opacity: 1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.prose p.pull {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--off-white);
  opacity: 1;
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 1.5rem 0;
}
.prose p.rhythm {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 1;
  margin: 1.25rem 0 1.5rem;
}
.callout {
  background: rgba(170, 255, 0, 0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem;
  margin-top: 2rem;
}
.callout p { font-size: 1.1rem; font-weight: 500; line-height: 1.6; color: var(--off-white); margin-bottom: 0.5rem; opacity: 0.95; }
.callout p:last-child { margin-bottom: 0; }

/* ===== BAD DM CARDS ===== */
.bad-dm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}
.bad-dm-card {
  position: relative;
  background: rgba(255, 59, 48, 0.06);
  border: 1px solid rgba(255, 59, 48, 0.32);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 0 36px rgba(255, 59, 48, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.bad-dm-num {
  font-family: 'Big Shoulders Display', sans-serif;
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #FF3B30 0%, #FF8C00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.bad-dm-num + .bad-dm-tag {
  display: block;
  margin-top: -0.25rem;
  margin-bottom: 0.85rem;
  opacity: 0.7;
}
.bad-dm-tag {
  font-family: 'Inter', sans-serif;
  color: var(--risk-red);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
/* Real iMessage-style DM bubble with avatar, sender label, timestamp, and proper rounded shape with a tail. */
.dm-thread { margin: 0 0 1rem; }
.dm-message {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.dm-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #2A2A36, #1A1A22);
  border: 1px solid #2F2F3C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  color: var(--warm-gray);
  margin-bottom: 4px;
}
.dm-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.dm-meta {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--warm-gray);
  opacity: 0.8;
  margin-left: 8px;
  text-transform: uppercase;
}
.dm-bubble {
  position: relative;
  background: #2C2C36;
  border-radius: 18px 18px 18px 4px;
  padding: 10px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--off-white);
  align-self: flex-start;
  max-width: 100%;
}
.dm-bubble::before {
  /* Tail curl bottom-left, matching the bubble color. Sits behind via z-index. */
  content: '';
  position: absolute;
  bottom: 0;
  left: -6px;
  width: 12px;
  height: 14px;
  background: #2C2C36;
  border-bottom-right-radius: 14px;
  z-index: -1;
}
.bad-dm-why {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--off-white);
  opacity: 0.88;
  margin: 0;
}
.bad-dm-why strong { color: var(--risk-red); font-weight: 700; }
@media (max-width: 768px) { .bad-dm-grid { grid-template-columns: 1fr; } }

/* ===== SLAP CARDS ===== */
.slap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.slap-card {
  background: rgba(170, 255, 0, 0.015);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(170, 255, 0, 0.28);
  border-radius: 16px;
  padding: 1.75rem;
  transition: background 0.4s cubic-bezier(0.22,1,0.36,1),
              border-color 0.4s cubic-bezier(0.22,1,0.36,1),
              transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.slap-card:hover {
  background: rgba(170, 255, 0, 0.04);
  border-color: rgba(170, 255, 0, 0.55);
  transform: translateY(-4px);
}
.slap-letter {
  /* Display letter (S L A P) — Manrope 900 oversized with tight tracking. */
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 5rem;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, #AAFF00 0%, #00E5B3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.4rem;
}
.slap-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 6px;
}
.slap-name { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.4rem; }
.slap-oneliner { font-size: 0.95rem; color: var(--accent); margin-bottom: 0.85rem; opacity: 0.9; }
.slap-card p:last-child { font-size: 0.95rem; line-height: 1.6; opacity: 0.78; }
@media (max-width: 768px) { .slap-grid { grid-template-columns: 1fr; } }

/* ===== ACCORDION ===== */
.accordion { display: flex; flex-direction: column; gap: 0.5rem; }
.accordion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s cubic-bezier(0.22,1,0.36,1);
}
.accordion-item.open { border-color: var(--accent-border); }
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  text-align: left;
  color: var(--off-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.2s;
}
.accordion-header:hover { background: rgba(170, 255, 0, 0.03); }
.accordion-num {
  /* Numeric step counter (01, 02, ...) — mono is correct here. */
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.accordion-title { flex: 1; line-height: 1.4; }
.accordion-arrow {
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
  flex-shrink: 0;
}
.accordion-item.open .accordion-arrow { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 0 1.5rem 1.5rem 4rem;
}
.accordion-item.open .accordion-body { display: block; }
.accordion-body p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  color: var(--off-white);
  opacity: 0.95;
  margin-bottom: 0.75rem;
}
.accordion-body p:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .accordion-header { padding: 1rem 1.1rem; gap: 0.6rem; font-size: 0.88rem; }
  .accordion-body { padding: 0 1.1rem 1.1rem 3rem; }
}

/* ===== FOUR LINES GRID ===== */
.four-lines-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.line-card {
  background: rgba(170, 255, 0, 0.015);
  border: 1px solid rgba(170, 255, 0, 0.28);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.4s, transform 0.4s, background 0.4s;
}
.line-card:hover {
  border-color: rgba(170, 255, 0, 0.55);
  background: rgba(170, 255, 0, 0.04);
  transform: translateY(-4px);
}
.line-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}
.line-when { font-size: 0.95rem; font-weight: 500; opacity: 0.95; margin-bottom: 1rem; line-height: 1.55; color: var(--off-white); }
.line-quote {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--off-white);
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1rem;
  margin-bottom: 1rem;
}
.line-why { font-size: 0.95rem; font-weight: 500; opacity: 0.9; line-height: 1.6; color: var(--off-white); }
@media (max-width: 768px) { .four-lines-grid { grid-template-columns: 1fr; } }

/* ===== AUDIT ===== */
.audit-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.audit-question {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  transition: border-color 0.3s;
}
.audit-question.answered { border-color: var(--accent-border); }
.audit-q-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  color: var(--off-white);
}
.audit-q-num {
  /* Numeric question counter — mono is correct here. */
  font-family: 'Geist Mono', monospace;
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.5rem;
}
.audit-opts { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.audit-opt {
  background: var(--background-alt);
  border: 1px solid var(--border);
  color: var(--warm-gray);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.audit-opt:hover { color: var(--off-white); border-color: var(--accent-border); }
.audit-opt.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent);
}
.audit-cta-wrap { text-align: center; margin: 2rem 0; }
.audit-result {
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.audit-result-score {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  background: linear-gradient(135deg, #AAFF00 0%, #00E5B3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}
.audit-result-max { font-size: 1rem; color: var(--warm-gray); margin-bottom: 1rem; }
.audit-result-tier {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.audit-result-headline {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.audit-result-body { font-size: 0.95rem; line-height: 1.6; opacity: 0.85; max-width: 540px; margin: 0 auto 1.5rem; }
.audit-gaps {
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  text-align: left;
  margin-top: 1.25rem;
}
.audit-gaps-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 0.5rem;
}
.audit-gap-item { font-size: 0.9rem; line-height: 1.5; opacity: 0.85; padding: 0.25rem 0; }

/* ===== ANALYZER CARD ===== */
.analyzer-section { padding: 4rem 0 5rem; }
.analyzer-card {
  background: var(--surface);
  border: 1px solid var(--accent-border);
  border-radius: 18px;
  padding: 2rem;
}
.analyzer-eyebrow {
  /* Matches .section-eyebrow visually — Big Shoulders inherits from .mono-label, this just sets the section-eyebrow sizing/color. */
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.analyzer-coach-help {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
  opacity: 0.95;
  color: var(--off-white);
  margin-bottom: 1.25rem;
}
.lead-input-label { display: block; margin: 1.5rem 0 0.65rem; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.08em; color: var(--accent); }
#lead-thread-input { margin-bottom: 0.5rem; }
.input-hint { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; opacity: 0.88; margin-bottom: 1rem; color: var(--warm-gray); text-transform: none; }
#lead-analyze-btn {
  display: inline-flex;
  width: auto;
  margin: 0.5rem auto 0;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px var(--accent-glow), 0 8px 24px rgba(170, 255, 0, 0.18);
}
#lead-analyze-btn:hover {
  box-shadow: 0 0 40px rgba(170, 255, 0, 0.45), 0 12px 32px rgba(170, 255, 0, 0.25);
}
.analyzer-card { text-align: center; }
.analyzer-card #lead-thread-input,
.analyzer-card .lead-input-label,
.analyzer-card .analyzer-coach-help,
.analyzer-card .analyzer-eyebrow,
.analyzer-card .input-hint { text-align: left; }

.audit-list-result { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.audit-list-result li {
  font-size: 0.9rem;
  color: var(--off-white);
  opacity: 0.85;
  padding-left: 0.75rem;
  border-left: 2px solid var(--accent-border);
}

/* ===== EMAIL GATE ===== */
.email-gate {
  background: linear-gradient(135deg, rgba(170,255,0,0.06), rgba(170,255,0,0.01));
  border: 1px solid var(--accent-border);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 1rem;
}
.email-gate-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}
.email-gate-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.email-gate-sub { font-size: 0.9rem; opacity: 0.75; margin-bottom: 1.25rem; }
.email-gate-form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.email-gate-form input[type="email"] { flex: 1; min-width: 200px; }
.email-gate-error { color: var(--risk-red); font-size: 0.85rem; margin-top: 0.5rem; }

/* ===== WORKSHOP CTA CARD ===== */
.workshop-cta-card {
  background: linear-gradient(135deg, rgba(170,255,0,0.10), rgba(0,229,179,0.04));
  border: 1px solid rgba(170, 255, 0, 0.55);
  border-radius: 18px;
  padding: 2rem;
  margin-top: 1.5rem;
  text-align: center;
}
.workshop-cta-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}
.workshop-cta-h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.workshop-cta-card p { font-size: 0.95rem; line-height: 1.6; opacity: 0.85; margin-bottom: 0.75rem; }
.workshop-cta-bullets { list-style: none; text-align: left; max-width: 520px; margin: 1rem auto 1.5rem; }
.workshop-cta-bullets li {
  font-size: 0.9rem;
  line-height: 1.55;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.6rem;
  opacity: 0.85;
}
.workshop-cta-bullets li::before {
  content: '';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 700;
}
.workshop-cta-tier-ladder {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.7;
  margin-top: 1.5rem;
  text-align: left;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.workshop-cta-tier-ladder strong { color: var(--accent); }
/* Workshop CTA trust line — sentence case, soft, beneath the CTA. Overridden by .workshop-cta-trust above. */

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; margin-top: 4rem; }
.site-footer-inner { text-align: center; }
.site-footer p { font-size: 0.85rem; opacity: 0.55; }
