/* ═══════════════════════════════════════════════════════════
   Resume Whisperer — styles.css
   Mobile-first responsive CSS. Breakpoints: 375px (base), 768px, 1280px
   Design system: navy/slate/amber/white — no framework, no web fonts
═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  --navy:        #1B2B4B;
  --slate:       #334155;
  --amber:       #F59E0B;
  --amber-dark:  #D97706;
  --white:       #ffffff;
  --light-gray:  #f8fafc;
  --text-muted:  rgba(255, 255, 255, 0.7);
  --text-dimmed: rgba(255, 255, 255, 0.5);
  --success-bg:  rgba(16, 185, 129, 0.15);
  --success-border: #10b981;
  --error-bg:    rgba(239, 68, 68, 0.15);
  --error-border: #ef4444;
  --font-body:   -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius:      8px;
  --radius-lg:   12px;
  --transition:  0.2s ease;
}

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

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

body {
  background-color: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: var(--amber);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ─── Utility ─────────────────────────────────────────────── */
.hidden {
  display: none !important;
}

/* Honeypot — visually and functionally hidden */
#website {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
  tab-index: -1;
}

/* ─── Layout Containers ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container--narrow {
  max-width: 640px;
}

/* ─── Sections ────────────────────────────────────────────── */
section {
  padding: 3rem 0;
}

/* ─── CTA Button ──────────────────────────────────────────── */
.cta-btn {
  display: inline-block;
  background-color: var(--amber);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--amber);
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  min-height: 48px;
  line-height: 1.2;
}

.cta-btn:hover {
  background-color: var(--amber-dark);
  border-color: var(--amber-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.cta-btn:active {
  transform: translateY(0);
}

.cta-btn--outline {
  background-color: transparent;
  color: var(--amber);
  border-color: var(--amber);
}

.cta-btn--outline:hover {
  background-color: var(--amber);
  color: var(--navy);
}

.cta-btn--full {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
}

.cta-btn--sm {
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  min-height: 40px;
  margin-top: 1rem;
}

.cta-btn.btn--loading {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* ─── Hero Section ────────────────────────────────────────── */
.hero {
  padding: 3.5rem 0 3rem;
  background-color: var(--navy);
  text-align: center;
}

.brand {
  margin-bottom: 1.5rem;
}

.brand-logo {
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.brand-logo strong {
  color: var(--amber);
}

.social-proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.proof-divider {
  color: var(--slate);
}

.hero h1 {
  font-size: clamp(1.875rem, 7vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--amber);
}

.hero-subheadline {
  font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.hero-cta {
  font-size: 1.0625rem;
  padding: 1rem 2.25rem;
}

/* ─── Needs Check Section ─────────────────────────────────── */
.needs-check {
  background-color: var(--slate);
  text-align: left;
}

.needs-check h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
}

.checklist {
  list-style: none;
  margin-bottom: 2rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.checklist li:last-child {
  border-bottom: none;
}

.check-icon {
  color: var(--amber);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1em;
}

/* ─── Form Section ────────────────────────────────────────── */
.form-section {
  background-color: var(--navy);
  text-align: left;
}

.form-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-section .section-subtitle {
  text-align: center;
  margin-bottom: 2rem;
}

/* ─── Form Groups ─────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.required {
  color: var(--amber);
}

.optional {
  color: var(--text-dimmed);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.75rem;
}

/* ─── Input Elements ──────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
  display: block;
  width: 100%;
  background-color: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.75rem 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  min-height: 44px;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

input[type="text"].invalid,
input[type="email"].invalid,
input[type="url"].invalid,
select.invalid,
textarea.invalid {
  border-color: #ef4444;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B2B4B' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

/* ─── Dropzone ────────────────────────────────────────────── */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 120px;
  padding: 1.5rem 1rem;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  background-color: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--transition), background-color var(--transition);
}

.dropzone:hover,
.dropzone:focus {
  border-color: var(--amber);
  background-color: rgba(245, 158, 11, 0.05);
  outline: none;
}

.dropzone--dragover {
  border-color: var(--amber);
  border-style: solid;
  background-color: rgba(245, 158, 11, 0.08);
}

.dropzone--has-file {
  border-color: var(--amber);
  border-style: solid;
  background-color: rgba(245, 158, 11, 0.05);
}

.dropzone--error {
  border-color: #ef4444;
  border-style: solid;
}

.dropzone-icon {
  font-size: 2rem;
  line-height: 1;
}

#dropzone-text {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.dropzone-hint {
  font-size: 0.8125rem;
  color: var(--text-dimmed);
}

.file-info {
  font-size: 0.875rem;
  color: var(--amber);
  font-weight: 600;
}

.file-remove {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  min-height: 32px;
}

.file-remove:hover {
  border-color: #ef4444;
  color: #ef4444;
}

/* ─── Field Validation Errors ────────────────────────────── */
.field-error input,
.field-error select,
.field-error textarea {
  border-color: #ef4444;
}

.field-error .dropzone {
  border-color: #ef4444;
  border-style: solid;
}

.error-msg {
  display: block;
  font-size: 0.8125rem;
  color: #fca5a5;
  margin-top: 0.375rem;
  line-height: 1.4;
}

/* ─── Consent Checkbox ────────────────────────────────────── */
.form-group--consent {
  margin-top: 1.5rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

input[type="checkbox"]#consent {
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  flex-shrink: 0;
  margin-top: 0.1em;
  accent-color: var(--amber);
  cursor: pointer;
}

/* Larger tap target for checkbox row */
.form-group--consent .consent-label::before {
  content: '';
  position: absolute;
  inset: -8px;
}

/* ─── Turnstile Widget ────────────────────────────────────── */
.turnstile-widget {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

/* ─── Form Disclaimer ─────────────────────────────────────── */
.form-disclaimer {
  font-size: 0.8125rem;
  color: var(--text-dimmed);
  text-align: center;
  margin-top: 0.875rem;
}

/* ─── Success / Error States ──────────────────────────────── */
.form-success {
  background-color: var(--success-bg);
  border: 1px solid var(--success-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-success h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #6ee7b7;
}

.form-success p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.success-email {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.form-error {
  background-color: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-error h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #fca5a5;
}

.form-error p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ─── Stats Section ───────────────────────────────────────── */
.stats-section {
  background-color: var(--slate);
  text-align: center;
}

.stat-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-pct {
  font-size: 1.75rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── Testimonials ────────────────────────────────────────── */
.testimonials h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: left;
}

.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-quote::before {
  content: '\201C';
  color: var(--amber);
  font-size: 1.5rem;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 0.2em;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonial-author strong {
  font-size: 0.9375rem;
  color: var(--white);
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--text-dimmed);
}

/* ─── FAQ Accordion ───────────────────────────────────────── */
.faq-section {
  background-color: var(--navy);
}

.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.125rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--white);
  gap: 1rem;
  min-height: 44px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--amber);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
}

details[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-brand strong {
  color: var(--amber);
}

.footer-address {
  font-size: 0.875rem;
  color: var(--text-dimmed);
  font-style: normal;
  margin-bottom: 0.5rem;
}

.footer-privacy {
  font-size: 0.8125rem;
  color: var(--text-dimmed);
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: underline;
}

.footer-link:hover {
  color: var(--amber);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-dimmed);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════ */

/* ─── Tablet: 768px ───────────────────────────────────────── */
@media (min-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .stat-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-btn--full {
    display: block;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .form-section h2 {
    font-size: 1.75rem;
  }

  .needs-check h2,
  .faq-section h2 {
    font-size: 1.75rem;
  }
}

/* ─── Desktop: 1280px ─────────────────────────────────────── */
@media (min-width: 1280px) {
  section {
    padding: 5rem 0;
  }

  .hero {
    padding: 6rem 0 5rem;
  }

  .container {
    padding: 0 2rem;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .stat-number {
    font-size: 3.5rem;
  }

  .faq-section h2,
  .form-section h2,
  .needs-check h2,
  .testimonials h2 {
    font-size: 2rem;
  }
}

/* ─── Print ───────────────────────────────────────────────── */
@media print {
  body {
    background: white;
    color: black;
  }
}

/* ═══════════════════════════════════════════════════════════
   STATUS PAGE — Phase 22
   Scoped class names: .status-*, .stepper-*, .download-*
═══════════════════════════════════════════════════════════ */

/* ─── Status page body / layout ──────────────────────────── */
.status-body {
  background-color: var(--navy);
  min-height: 100vh;
}

.status-header {
  background-color: var(--navy);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.status-page {
  padding: 2rem 1.25rem 3rem;
}

/* ─── Status card (shared wrapper) ───────────────────────── */
.status-card {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 1.5rem;
}

/* ─── Loading spinner ─────────────────────────────────────── */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(245,158,11,0.25);
  border-top-color: var(--amber);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.status-loading-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ─── Stepper ─────────────────────────────────────────────── */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1.5rem 0 1.25rem;
}

.stepper-stage {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 0;
}

.stepper-icon {
  font-size: 1.25rem;
  line-height: 1;
  width: 2rem;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.1em;
  transition: color var(--transition);
}

.stepper-info {
  flex: 1;
}

.stepper-label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.stepper-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.stepper-connector {
  width: 2px;
  height: 1.25rem;
  background-color: rgba(255,255,255,0.12);
  margin-left: calc(1rem - 1px);
}

/* Stage states */
.stepper-stage--pending .stepper-icon {
  color: rgba(255,255,255,0.3);
}
.stepper-stage--pending .stepper-label {
  color: var(--text-muted);
}

.stepper-stage--active .stepper-icon {
  color: var(--amber);
  animation: pulse 1.5s ease-in-out infinite;
}
.stepper-stage--active .stepper-label {
  color: var(--white);
}

.stepper-stage--complete .stepper-icon {
  color: #10b981;
}
.stepper-stage--complete .stepper-label {
  color: var(--text-muted);
}
.stepper-stage--complete .stepper-desc {
  color: rgba(255,255,255,0.35);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

/* ─── Pro Tip callout ─────────────────────────────────────── */
.pro-tip {
  border-left: 3px solid var(--amber);
  background-color: rgba(245,158,11,0.07);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 1rem 0;
  line-height: 1.5;
}

.pro-tip strong {
  color: var(--amber);
}

/* ─── Download section ────────────────────────────────────── */
.downloads-grid {
  margin-top: 1.5rem;
}

.downloads-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--white);
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.25rem;
  background-color: var(--amber);
  color: var(--navy);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: background-color var(--transition), transform var(--transition);
  margin-bottom: 0.75rem;
  min-height: 56px;
}

.download-btn:hover {
  background-color: var(--amber-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

.dl-icon {
  font-size: 1.375rem;
  flex-shrink: 0;
}

.dl-label {
  flex: 1;
}

.dl-label small {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.7;
  display: block;
}

/* ─── Error / Invalid states ──────────────────────────────── */
.status-error-card {
  border-color: var(--error-border);
  background-color: var(--error-bg);
}

.status-error-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fca5a5;
}

.status-invalid-card {
  border-color: rgba(255,255,255,0.15);
}

.status-invalid-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* ─── Responsive: Tablet 768px ────────────────────────────── */
@media (min-width: 768px) {
  .stepper {
    gap: 0;
  }

  .stepper-connector {
    height: 1.5rem;
    margin-left: calc(1rem - 1px);
  }

  .downloads-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .downloads-title {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
  }

  .download-btn {
    margin-bottom: 0;
  }
}

/* ─── Responsive: Mobile 375px (override) ─────────────────── */
@media (max-width: 480px) {
  .status-card {
    padding: 1.5rem 1rem;
  }

  .download-btn {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   INSTANT TEASER — Phase 26
   JD field hint, analyzing spinner, gated teaser, chips, lock hint
═══════════════════════════════════════════════════════════ */

/* ─── JD field helper text ────────────────────────────────── */
.field-hint {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-dimmed);
  margin-top: 0.375rem;
  line-height: 1.4;
}

/* ─── Analyzing (polling) panel ───────────────────────────── */
.form-analyzing {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.analyzing-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 0.25rem;
}

/* ─── Teaser result card ──────────────────────────────────── */
.form-teaser {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.teaser-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.teaser-score {
  line-height: 1;
  margin-bottom: 0.5rem;
}

.teaser-score-num {
  font-size: 4rem;
  font-weight: 800;
  color: var(--amber);
}

.teaser-score-pct {
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
}

.teaser-score-caption {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ─── Stat chips ──────────────────────────────────────────── */
.teaser-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.teaser-chip {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 0.875rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.teaser-chip-num {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.teaser-chip-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-dimmed);
  line-height: 1.3;
}

/* ─── Top-3 missing sample ────────────────────────────────── */
.teaser-sample {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  word-break: break-word;
}

/* ─── Locked-rows visual hint ─────────────────────────────── */
.teaser-locked {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.teaser-locked-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  filter: blur(0.4px);
  opacity: 0.7;
}

.teaser-lock-icon {
  font-size: 0.875rem;
  flex-shrink: 0;
}

.teaser-lock-bar {
  flex: 1;
  height: 0.625rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
}

/* ─── Teaser CTA ──────────────────────────────────────────── */
.teaser-cta {
  margin-top: 0;
}

.teaser-cta--urgent {
  animation: teaser-cta-pulse 1.8s ease-in-out infinite;
}

@keyframes teaser-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.35); }
  50%      { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

.teaser-inbox {
  font-size: 0.8125rem;
  color: var(--text-dimmed);
  margin-top: 0.875rem;
}

/* ─── Unknown-role variant ────────────────────────────────── */
.form-teaser--unknown {
  border-color: rgba(255, 255, 255, 0.15);
}

.teaser-unknown-msg {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.teaser-unknown-retry {
  margin-bottom: 0.875rem;
}

/* ─── Teaser responsive ───────────────────────────────────── */
@media (max-width: 480px) {
  .teaser-score-num {
    font-size: 3.25rem;
  }

  .teaser-chip-num {
    font-size: 1.375rem;
  }

  .teaser-chip-label {
    font-size: 0.625rem;
  }
}
