/* ═══════════════════════════════════════════════════════════════════
   LandShield by Airealent — Luxury Real Estate Document Risk Checker
   Custom CSS — Bricolage Grotesque + Inter
   ═══════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1E293B;
  background: #FAFAF9;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: 0; }
a { color: inherit; text-decoration: none; }

:root {
  --sky-mist: #E0F2FE;
  --sky-mid: #7DD3FC;
  --sky-deep: #0EA5E9;
  --cloud: #FFFFFF;
  --charcoal: #0F172A;
  --ink: #1E293B;
  --slate: #475569;
  --slate-light: #94A3B8;
  --sage: #65A30D;
  --sand: #FEF3C7;
  --gold: #D97706;
  --safe: #16A34A;
  --caution: #EA580C;
  --danger: #DC2626;
  --off-white: #FAFAF9;
  --subtle: #F5F5F4;
  --border: #E5E5E5;
}

/* ═══ HERO ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(224,242,254,0.6) 0%, rgba(125,211,252,0.4) 40%, rgba(254,243,199,0.5) 100%),
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2400&q=85') center center / cover no-repeat,
    linear-gradient(180deg, #E0F2FE 0%, #7DD3FC 60%, #FEF3C7 100%);
  z-index: -2;
}
.hero-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 30%, transparent 0%, rgba(15,23,42,0.15) 100%);
  z-index: -1;
}

.hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  position: relative;
  z-index: 10;
}
.brand-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--cloud);
  text-shadow: 0 2px 12px rgba(15,23,42,0.25);
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--cloud);
  opacity: 0.85;
  text-shadow: 0 1px 8px rgba(15,23,42,0.3);
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; border-bottom: 2px solid var(--cloud); padding-bottom: 4px; }

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  z-index: 10;
}
.byline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cloud);
  opacity: 0.85;
  margin-bottom: 20px;
  text-shadow: 0 1px 8px rgba(15,23,42,0.3);
}
.wordmark {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(80px, 18vw, 280px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--cloud);
  text-shadow: 0 4px 32px rgba(15,23,42,0.3);
  margin-bottom: 32px;
}
.subhead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--cloud);
  opacity: 0.95;
  text-shadow: 0 2px 16px rgba(15,23,42,0.3);
  max-width: 720px;
}

/* ═══ SCAN BAR ═══ */
.scan-bar-wrap {
  padding: 0 24px 40px;
  position: relative;
  z-index: 10;
}
.scan-bar {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-radius: 999px;
  padding: 12px 12px 12px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 20px 60px -10px rgba(15,23,42,0.35), 0 4px 16px rgba(15,23,42,0.08);
  border: 1px solid rgba(255,255,255,0.6);
}
.scan-cell {
  flex: 1;
  border-right: 1px solid var(--border);
  padding-right: 24px;
}
.scan-cell:last-of-type { border-right: 0; }
.scan-cell label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 4px;
}
.scan-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal);
}
.caret { color: var(--slate-light); margin-left: 4px; font-size: 13px; }
.scan-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--charcoal);
  color: var(--cloud);
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}
.scan-cta:hover { background: #000; transform: translateY(-1px); }
.scan-sub {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--cloud);
  opacity: 0.85;
  text-shadow: 0 1px 8px rgba(15,23,42,0.3);
}

/* ═══ TRUST STRIP ═══ */
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 64px;
  padding: 48px 48px;
  background: var(--cloud);
  border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  color: var(--ink);
  max-width: 340px;
}
.trust-icon {
  width: 32px;
  height: 32px;
  color: var(--sage);
  flex-shrink: 0;
}

/* ═══ SECTION HEADERS ═══ */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}
.section-h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 19px;
  color: var(--slate);
  max-width: 600px;
  margin: 0 auto;
}

/* ═══ HOW IT WORKS ═══ */
.how-it-works { padding: 120px 48px; background: var(--off-white); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.how-card {
  background: var(--cloud);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.how-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(15,23,42,0.1); }
.how-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-light);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.how-icon {
  width: 56px;
  height: 56px;
  background: var(--sky-mist);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-deep);
  margin-bottom: 24px;
}
.how-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.how-card p { color: var(--slate); font-size: 16px; line-height: 1.55; }

/* ═══ SCANNER SECTION ═══ */
.scanner-section {
  padding: 120px 48px;
  background: linear-gradient(180deg, var(--cloud) 0%, var(--off-white) 100%);
}
.scanner-widget {
  max-width: 880px;
  margin: 0 auto;
  background: var(--cloud);
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -20px rgba(15,23,42,0.15);
  overflow: hidden;
}

/* Upload zone */
.upload-zone {
  padding: 80px 48px;
  text-align: center;
  border: 3px dashed var(--border);
  border-radius: 32px;
  margin: 24px;
  transition: border-color 0.2s, background 0.2s;
}
.upload-zone.dragover {
  border-color: var(--sky-deep);
  background: var(--sky-mist);
}
.upload-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: var(--sky-mist);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-deep);
}
.upload-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.upload-sub { color: var(--slate); margin-bottom: 32px; font-size: 15px; }
.upload-btn {
  background: var(--charcoal);
  color: var(--cloud);
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
  margin-bottom: 40px;
}
.upload-btn:hover { background: #000; transform: translateY(-1px); }
.upload-or {
  font-size: 13px;
  color: var(--slate-light);
  font-weight: 500;
  margin-bottom: 16px;
}
.sample-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sample-btn {
  background: var(--subtle);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.2s;
}
.sample-btn:hover { background: var(--cloud); border-color: var(--charcoal); }

/* Processing zone */
.processing-zone { padding: 48px; }
.processing-header { text-align: center; margin-bottom: 32px; }
.processing-header h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.processing-header p { color: var(--slate); font-size: 15px; }
.processing-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--off-white);
  border-radius: 12px;
  margin-bottom: 12px;
}
.proc-icon { font-size: 24px; }
.proc-info { flex: 1; }
.proc-name { font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.proc-status { font-size: 13px; color: var(--slate); }
.proc-bar {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 6px;
}
.proc-bar-fill {
  height: 100%;
  background: var(--sky-deep);
  border-radius: 999px;
  transition: width 0.3s;
}
.proc-status.done { color: var(--safe); }
.proc-bar-fill.done { background: var(--safe); }

/* Report zone */
.report-zone { padding: 0; }
.report-header {
  padding: 48px;
  background: linear-gradient(135deg, var(--charcoal) 0%, #1E293B 100%);
  color: var(--cloud);
  border-radius: 32px 32px 0 0;
}
.report-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}
.report-subtitle { font-size: 14px; opacity: 0.7; margin-bottom: 32px; }
.risk-score-block { display: flex; align-items: center; gap: 48px; }
.risk-score-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 180px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.risk-zone-label {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.risk-summary { font-size: 17px; line-height: 1.5; opacity: 0.9; max-width: 380px; }
.score-safe { color: #4ADE80; }
.score-caution { color: #FB923C; }
.score-danger { color: #F87171; }

.report-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  background: var(--cloud);
}
.report-tab {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.report-tab.active { color: var(--charcoal); border-color: var(--charcoal); }
.report-tab:hover { color: var(--charcoal); }
.report-body { padding: 48px; }

.fields-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.fields-table th, .fields-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.fields-table th {
  background: var(--off-white);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate);
}
.field-name { font-weight: 600; color: var(--charcoal); }
.field-match { color: var(--safe); }
.field-mismatch { background: rgba(220,38,38,0.06); color: var(--danger); font-weight: 600; }
.field-missing { color: var(--slate-light); font-style: italic; }
.field-warn { background: rgba(234,88,12,0.06); color: var(--caution); }

.flag-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(220,38,38,0.04);
  border-left: 3px solid var(--danger);
  border-radius: 8px;
  margin-bottom: 12px;
}
.flag-item .flag-emoji { font-size: 20px; }
.flag-text { flex: 1; }
.flag-text strong { color: var(--danger); display: block; margin-bottom: 4px; }
.flag-text p { color: var(--slate); font-size: 14px; }

.next-step {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--off-white);
  border-radius: 8px;
  margin-bottom: 12px;
}
.next-step-num {
  width: 32px; height: 32px;
  background: var(--charcoal);
  color: var(--cloud);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.next-step-text { flex: 1; font-size: 15px; }
.next-step-text strong { color: var(--charcoal); display: block; margin-bottom: 4px; }

.report-actions {
  display: flex;
  gap: 12px;
  padding: 24px 48px;
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-radius: 0 0 32px 32px;
}
.report-btn {
  background: var(--cloud);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  transition: background 0.2s;
}
.report-btn:hover { background: var(--subtle); }
.report-btn.primary { background: var(--charcoal); color: var(--cloud); border-color: var(--charcoal); }
.report-btn.primary:hover { background: #000; }

.privacy-note {
  max-width: 880px;
  margin: 32px auto 0;
  padding: 20px 24px;
  background: var(--sand);
  border-radius: 16px;
  font-size: 14px;
  color: var(--ink);
  text-align: center;
}

/* ═══ RED FLAGS GRID ═══ */
.red-flags { padding: 120px 48px; background: var(--off-white); }
.flags-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.flag-card {
  background: var(--cloud);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.flag-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(15,23,42,0.08); }
.flag-icon { font-size: 32px; margin-bottom: 16px; }
.flag-card h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.flag-card p { font-size: 14px; color: var(--slate); line-height: 1.5; }

/* ═══ WHY BUILT ═══ */
.why-built { padding: 120px 48px; background: var(--cloud); }
.why-content { max-width: 720px; margin: 0 auto; }
.why-body { margin-top: 32px; }
.why-body p { font-size: 19px; color: var(--ink); margin-bottom: 20px; line-height: 1.6; }
.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--sage);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

/* ═══ DISCLAIMER ═══ */
.disclaimer { padding: 80px 48px; background: var(--off-white); }
.disclaimer-box {
  max-width: 720px;
  margin: 0 auto;
  background: var(--cloud);
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 40px;
}
.disclaimer-icon { font-size: 32px; margin-bottom: 16px; }
.disclaimer-box h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.disclaimer-box p { color: var(--ink); margin-bottom: 16px; }
.disclaimer-box ul { padding-left: 24px; margin-bottom: 16px; }
.disclaimer-box li { color: var(--ink); margin-bottom: 8px; line-height: 1.55; }
.disclaimer-end { font-style: italic; color: var(--slate); }

/* ═══ FAQ ═══ */
.faq { padding: 120px 48px; background: var(--cloud); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--off-white);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 12px;
  transition: background 0.2s;
}
.faq-item:hover { background: var(--subtle); }
.faq-item summary {
  font-weight: 600;
  font-size: 17px;
  color: var(--charcoal);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 32px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 24px;
  color: var(--slate);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 12px; color: var(--slate); line-height: 1.6; }

/* ═══ CTA BACK ═══ */
.cta-back { padding: 100px 48px; background: var(--charcoal); }
.cta-content { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-content h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--cloud);
  margin-bottom: 16px;
  line-height: 1.1;
}
.cta-content p { color: rgba(255,255,255,0.7); font-size: 19px; margin-bottom: 32px; }
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cloud);
  color: var(--charcoal);
  padding: 18px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s;
}
.cta-button:hover { transform: translateY(-2px); }

/* ═══ FOOTER ═══ */
.footer { padding: 64px 48px 32px; background: var(--ink); color: rgba(255,255,255,0.7); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 48px;
}
.footer-brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--cloud);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.footer-tagline { font-size: 14px; margin-bottom: 16px; }
.footer-address { font-size: 13px; line-height: 1.6; }
.footer-h {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cloud);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cloud); }
.footer-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .hero-nav { padding: 16px 20px; }
  .nav-links { gap: 16px; font-size: 13px; }
  .scan-bar { flex-direction: column; border-radius: 24px; padding: 16px; gap: 12px; }
  .scan-cell { width: 100%; border-right: 0; border-bottom: 1px solid var(--border); padding: 8px 0; }
  .scan-cell:last-of-type { border-bottom: 0; }
  .scan-cta { width: 100%; justify-content: center; }
  .trust-strip { flex-direction: column; gap: 24px; padding: 32px 24px; }
  .trust-item { max-width: 100%; }
  .how-it-works, .scanner-section, .red-flags, .why-built, .faq, .cta-back { padding: 64px 24px; }
  .how-grid { grid-template-columns: 1fr; }
  .flags-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-meta { flex-direction: column; gap: 8px; text-align: center; }
  .upload-zone { padding: 48px 24px; margin: 16px; }
  .risk-score-block { flex-direction: column; gap: 24px; text-align: center; }
  .risk-score-num { font-size: 120px; }
  .report-header, .report-body, .report-actions { padding: 24px; }
  .report-tabs { padding: 0 16px; overflow-x: auto; }
  .fields-table { font-size: 12px; }
  .fields-table th, .fields-table td { padding: 10px 8px; }
}
@media (max-width: 600px) {
  .flags-grid { grid-template-columns: 1fr; }
}/* ═══ MOBILE FIXES (June 2026) ═══ */

@media (max-width: 700px) {
  /* Hide nav links on mobile - single-page anyway */
  .nav-links { display: none; }
  .hero-nav { padding: 16px 24px; }
  .brand-name { font-size: 20px; }

  /* Lighter overlay so hero photo shows through */
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(224,242,254,0.25) 0%, rgba(125,211,252,0.20) 50%, rgba(254,243,199,0.30) 100%),
      url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1000&q=80') center center / cover no-repeat,
      linear-gradient(180deg, #E0F2FE 0%, #7DD3FC 60%, #FEF3C7 100%);
  }

  /* Stronger text shadow so white text reads well on photo */
  .wordmark, .subhead, .byline, .scan-sub {
    text-shadow: 0 2px 20px rgba(15,23,42,0.6), 0 1px 4px rgba(15,23,42,0.3);
  }

  /* Slightly smaller wordmark on phone */
  .wordmark { font-size: clamp(72px, 22vw, 140px); }

  /* Subhead more compact */
  .subhead { font-size: 18px; max-width: 360px; padding: 0 16px; }

  /* Scan bar mobile improvements */
  .scan-bar { padding: 16px; gap: 8px; border-radius: 20px; }
  .scan-cell { padding: 10px 0; }
  .scan-cell label { font-size: 10px; }
  .scan-value { font-size: 15px; }
  .scan-cta { padding: 14px 20px; font-size: 15px; }

  /* Mobile upload buttons - bigger touch targets */
  .upload-btn { padding: 18px 28px; font-size: 16px; min-height: 56px; }
  .mobile-action-row {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    justify-content: center;
    flex-wrap: wrap;
  }
  .mobile-action-row .upload-btn {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
  }
  .upload-btn.camera-btn {
    background: var(--sky-deep);
    color: var(--cloud);
  }
  .upload-btn.camera-btn:hover { background: var(--charcoal); }
}

@media (min-width: 701px) {
  .mobile-action-row { display: contents; }
  .mobile-action-row .upload-btn.camera-btn { display: none; }
}
/* ═══ HAMBURGER BUTTON + MOBILE DRAWER ═══ */

.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: rgba(15,23,42,0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 8px;
  z-index: 1001;
  position: relative;
}
.hamburger-btn span {
  width: 22px;
  height: 2px;
  background: var(--cloud);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.2s;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #0EA5E9 0%, #0F172A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-inner {
  text-align: center;
  padding: 80px 32px;
  width: 100%;
  max-width: 480px;
}
.drawer-link {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--cloud);
  padding: 16px;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s;
}
.mobile-drawer.open .drawer-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-drawer.open .drawer-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-drawer.open .drawer-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-drawer.open .drawer-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-drawer.open .drawer-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-drawer.open .drawer-link:nth-child(5) { transition-delay: 0.3s; }
.mobile-drawer.open .drawer-link:nth-child(6) { transition-delay: 0.35s; }
.drawer-link.active { color: var(--sky-mist); }
.drawer-link.active::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--cloud);
  margin: 8px auto 0;
  border-radius: 2px;
}
.drawer-link.drawer-back {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 32px;
  text-transform: none;
}
.mobile-drawer.open .drawer-link.drawer-back { opacity: 0.7; }

body.drawer-open { overflow: hidden; }

/* Show hamburger ONLY on mobile, hide desktop nav-links on mobile */
@media (max-width: 700px) {
  .hamburger-btn { display: flex; }
  .nav-links { display: none !important; }
}
@media (min-width: 701px) {
  .hamburger-btn { display: none !important; }
  .mobile-drawer { display: none !important; }
}
/* ═══ EMERGENCY FIXES (v3) — overflow + hamburger force ═══ */

/* Force hamburger to show on mobile, override anything cached */
@media (max-width: 700px) {
  .hamburger-btn {
    display: flex !important;
  }
  .nav-links {
    display: none !important;
  }
}

/* Fix wordmark overflowing on small phones */
.hero { overflow: hidden; }
.hero-content {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}
.wordmark {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (max-width: 600px) {
  .wordmark {
    font-size: clamp(56px, 16vw, 88px) !important;
  }
}
@media (max-width: 420px) {
  .wordmark {
    font-size: 56px !important;
  }
}

/* Ensure no horizontal scroll ever happens */
html, body { overflow-x: hidden; max-width: 100vw; }

/* ═══ HOW-TO-USE SECTION (v3) ═══ */

.how-to-use {
  padding: 100px 48px;
  background: linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow-warning {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(217,119,6,0.1);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.use-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.use-step {
  background: var(--cloud);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}

.use-step-num {
  width: 48px;
  height: 48px;
  background: var(--charcoal);
  color: var(--cloud);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 800;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.use-step h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.use-step p {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.doc-checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.doc-checklist li {
  font-size: 14px;
  color: var(--ink);
  padding: 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.doc-checklist .check {
  color: var(--safe);
  font-weight: 700;
  flex-shrink: 0;
}

.use-tip {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.use-tip-good {
  background: rgba(22,163,74,0.08);
  border-left: 3px solid var(--safe);
}

.use-tip-good strong { color: var(--safe); }

.use-tip-bad {
  background: rgba(220,38,38,0.06);
  border-left: 3px solid var(--danger);
}

.use-tip-bad strong { color: var(--danger); }

.report-explainer {
  padding-left: 20px;
  margin-top: 8px;
}

.report-explainer li {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 8px;
}

.single-doc-note {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 20px 24px;
  background: var(--cloud);
  border: 1px dashed var(--slate-light);
  border-radius: 16px;
  font-size: 15px;
  color: var(--ink);
  text-align: center;
}

.single-doc-note strong { color: var(--charcoal); }

.use-cta {
  display: block;
  max-width: 320px;
  margin: 32px auto 0;
  text-align: center;
  background: var(--charcoal);
  color: var(--cloud);
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}

.use-cta:hover { background: #000; transform: translateY(-2px); }

/* ═══ UPLOAD INSTRUCTIONS PANEL ═══ */

.upload-instructions {
  background: linear-gradient(135deg, #FEF3C7 0%, #FCD34D 100%);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
  text-align: center;
  border: 1px solid rgba(217,119,6,0.2);
}

.upload-instr-h {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #78350F;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.upload-instr-sub {
  font-size: 14px;
  color: #92400E;
  line-height: 1.4;
}

/* ═══ MOBILE RESPONSIVE FOR HOW-TO-USE ═══ */

@media (max-width: 900px) {
  .how-to-use { padding: 64px 24px; }
  .use-steps { grid-template-columns: 1fr; gap: 16px; }
  .use-step { padding: 24px; }
  .use-step h3 { font-size: 20px; }
  .use-cta { max-width: 100%; }
  .upload-instructions { padding: 16px 18px; margin-bottom: 24px; }
  .upload-instr-h { font-size: 16px; }
  .upload-instr-sub { font-size: 13px; }
}
/* ═══ UNRELATED DOCS NOTICE (v3) ═══ */
.score-neutral { color: #FCD34D !important; opacity: 0.9; }
.unrelated-notice {
  background: rgba(252,211,77,0.15);
  border-left: 4px solid #FCD34D;
  padding: 16px 20px;
  margin: 0 48px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: 12px;
  color: var(--cloud);
}
.unrelated-icon { font-size: 24px; flex-shrink: 0; }
.unrelated-text { flex: 1; font-size: 14px; line-height: 1.55; }
.unrelated-text strong { display: block; margin-bottom: 4px; font-family: 'Bricolage Grotesque', sans-serif; font-size: 16px; }
@media (max-width: 700px) {
  .unrelated-notice { margin: 0 16px 16px; padding: 14px 16px; }
}
