/* ============================================================================
   homepage.css -- thin-shell extraction of /index.html inline CSS
   ---------------------------------------------------------------------------
   v13 thin-shell pass. Lifted from the inline <style> block in /index.html
   so the homepage HTML drops from ~97 KB to ~52 KB and the critical inline
   <style> drops from ~43 KB to under 500 bytes.

   Tokens come from /shared/firm.css. The legacy aliases used by this file
   (--primary, --dark, --text, --text-sec, --text-muted, --bg, --gold,
   --green, --upwork-green, --card) are remapped at the top of this file
   so existing rules keep working without rewriting every selector.

   This file is preloaded from /index.html and applied via the standard
   preload + onload stylesheet swap. The pre-paint :root token aliases
   need to live in the small critical <style> in /index.html so the
   hero paints with correct colors before this stylesheet finishes.

   Voice / brand rules apply to any CSS that includes generated text or
   pseudo-element content: no em-dashes anywhere.
   ========================================================================== */

/* Legacy token aliases used by the homepage. These mirror the original
   inline :root block. firm.css already publishes the canonical --accent,
   --surface, --text-primary, etc; this block keeps the legacy names
   alive so the rules below do not need rewriting. */
:root {
  --primary: var(--accent);
  --primary-dark: var(--text-primary);
  --dark: var(--text-primary);
  --dark-mid: #1e293b;
  --bg: var(--surface);
  --text: var(--text-primary);
  --text-sec: var(--text-secondary);
  --text-muted: var(--text-tertiary);
  --gold: #f59e0b;
  --green: #10b981;
  --upwork-green: #14a800;
  --color-primary: var(--accent);
  --color-text: var(--text-primary);
  --color-text-secondary: var(--text-secondary);
  --card: var(--surface-elevated);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
}

/* ============================================================================
   LANGUAGE FLAG BAR
   ============================================================================ */
.lang-flag-bar {
  background: #0a0f1c;
  padding: 8px 16px;
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  font-size: 0.85rem; color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.lang-flag-bar a {
  font-size: 1.45rem; text-decoration: none; opacity: .55;
  transition: opacity .2s, transform .2s; line-height: 1;
  min-height: 32px; min-width: 32px; display: inline-flex;
  align-items: center; justify-content: center;
}
.lang-flag-bar a:hover { opacity: .9; transform: scale(1.1); }
.lang-flag-bar a.active { opacity: 1; transform: scale(1.15); }
@media (max-width: 480px) {
  .lang-flag-bar { padding: 6px 12px; gap: 10px; }
  .lang-flag-bar a { font-size: 1.3rem; }
}

/* ============================================================================
   NAV
   ============================================================================ */
nav { position: sticky; top: 0; z-index: 100; background: var(--dark); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.nav-logo { font-weight: 800; font-size: 1.1rem; color: #fff; text-decoration: none; letter-spacing: -.02em; }
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: #94a3b8; text-decoration: none; font-size: .85rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta { background: var(--primary); color: #fff !important; padding: 7px 18px; border-radius: 8px; font-weight: 600; }
.nav-links .nav-cta:hover { background: var(--primary-dark); }
@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-inner { padding: 0 1rem; }
}

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  background: linear-gradient(165deg, #000 0%, var(--dark) 30%, #0c1929 60%, #0f172a 100%);
  padding: 4rem 1.5rem 3rem;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: center; }
.hero-text { min-width: 0; overflow-wrap: break-word; word-wrap: break-word; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25); border-radius: 100px;
  font-size: .78rem; font-weight: 600; color: #86efac; margin-bottom: 1rem;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(16,185,129,.4)} 50%{box-shadow:0 0 0 6px rgba(16,185,129,0)} }
.hero-text h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
}
.hero-text h1 .hero-highlight { color: #93c5fd; }
.hero-credentials {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem;
}
.hero-credentials .sep { color: #475569; }
.hero-credentials a { color: #93c5fd; text-decoration: underline; text-decoration-color: rgba(147,197,253,.3); }
.hero-credentials a:hover { text-decoration-color: #93c5fd; }
.hero-bio {
  font-size: .95rem; color: #cbd5e1; line-height: 1.65;
  margin-bottom: 1.25rem; max-width: 560px;
}
.hero-bio strong { color: #fff; font-weight: 600; }
.hero-trust-pills {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.hero-trust-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); border-radius: 100px;
  font-size: .75rem; color: #94a3b8; white-space: nowrap;
}
.hero-trust-pill .pill-icon { color: var(--green); }
a.hero-trust-pill { text-decoration: none; color: inherit; }
.hero-cta-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-cta-sub { font-size: .85rem; color: var(--text-sec, #475569); margin-top: .5rem; }
.hero-cta-sub a { color: var(--primary, #2563eb); text-decoration: underline; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff; padding: 13px 24px;
  border-radius: 10px; font-weight: 700; font-size: .92rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,99,235,.4); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); color: #fff; padding: 13px 24px;
  border-radius: 10px; font-weight: 600; font-size: .92rem;
  text-decoration: none; border: 1px solid rgba(255,255,255,.1); cursor: pointer;
  transition: background .15s;
}
.btn-secondary:hover { background: rgba(255,255,255,.12); }

/* Hero photo */
.hero-photo-col { display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.hero-photo-wrap {
  width: 220px; height: 280px;
  border-radius: 16px; overflow: hidden;
  border: 2px solid rgba(37,99,235,.25);
  box-shadow: 0 25px 70px rgba(0,0,0,.5), 0 0 50px rgba(37,99,235,.1);
  position: relative;
}
.hero-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-photo-bar {
  font-size: .75rem; color: #93c5fd; font-weight: 500; text-decoration: none;
}
.hero-photo-bar:hover { text-decoration: underline; }
.hero-photo-status {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; color: #86efac; font-weight: 500;
}
.hero-photo-status .dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }

@media (max-width: 768px) {
  .hero { padding: 2.5rem 1rem 2rem; }
  .hero::before { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .hero-text h1 { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  .hero-bio { margin-left: auto; margin-right: auto; font-size: .88rem; }
  .hero-trust-pills { justify-content: center; }
  .hero-trust-pill { font-size: .7rem; padding: 4px 9px; white-space: normal; }
  .hero-cta-row { justify-content: center; flex-wrap: wrap; }
  .hero-credentials { justify-content: center; font-size: .78rem; }
  .hero-photo-col { flex-direction: row; justify-content: center; gap: 1rem; }
  .hero-photo-wrap { width: 140px; height: 180px; }
  .btn-primary, .btn-secondary { padding: 12px 18px; font-size: .85rem; }
}
@media (max-width: 480px) {
  .hero { padding: 2rem .75rem 1.5rem; }
  .hero-text h1 { font-size: 1.45rem; }
  .hero-bio { font-size: .84rem; }
  .hero-trust-pill { font-size: .68rem; padding: 4px 8px; gap: 3px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 13px 16px; font-size: .88rem; }
  .hero-photo-wrap { width: 120px; height: 155px; }
}

/* ============================================================================
   PROBLEM CHIP STRIP (below hero, above stats)
   ============================================================================ */
.problem-chips {
  background: #0f172a; border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .85rem 1.5rem; text-align: center;
}
.problem-chips-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap;
}
.problem-chips-label {
  /* a11y: was #64748b (slate-500), failed WCAG AA on #0f172a bg.
     #cbd5e1 (slate-300) gives ~11.6:1, passes AAA. */
  display: block; width: 100%; font-size: .68rem; color: #cbd5e1;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: .35rem;
}
.problem-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08); border-radius: 100px;
  font-family: inherit; font-size: .78rem; color: #cbd5e1;
  text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.problem-chip:hover { background: rgba(37,99,235,.15); border-color: rgba(37,99,235,.3); color: #e2e8f0; }
.problem-chip .chip-icon { font-size: .85rem; }
@media (max-width: 640px) {
  .problem-chips { padding: .65rem .75rem; }
  .problem-chip { font-size: .72rem; padding: 6px 10px; }
}

/* ============================================================================
   STATS BAR
   ============================================================================ */
.stats-bar { background: #fff; border-bottom: 1px solid var(--border); padding: .85rem 1.5rem; }
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-value { font-size: 1.35rem; font-weight: 800; color: var(--text); }
/* a11y: stat-label sits on white .stats-bar; --text-muted (#94a3b8) failed AA.
   --text-sec (#475569) gives ~6.6:1 on white, passes AA. */
.stat-label { font-size: .68rem; color: var(--text-sec); text-transform: uppercase; letter-spacing: .05em; }
@media (max-width: 640px) {
  .stats-inner { gap: 1.25rem; }
  .stat-value { font-size: 1.1rem; }
}

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

/* ============================================================================
   THREE SERVICE LANES
   ============================================================================ */
.service-lanes { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem 2rem; content-visibility: auto; contain-intrinsic-size: 0 800px; }
.lanes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.lane {
  background: #fff; border-radius: 16px; padding: 2rem;
  border: 2px solid var(--border); position: relative; overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.lane:hover { border-color: #93c5fd; box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.lane.primary-lane { border-color: var(--primary); }
.lane.primary-lane::before {
  content: 'MOST POPULAR';
  position: absolute; top: 0; left: 0; right: 0;
  background: var(--primary); color: #fff; text-align: center;
  font-size: .68rem; font-weight: 700; padding: 4px; letter-spacing: .08em;
}
/* Locale overrides for the MOST POPULAR ribbon. */
html[lang="es"] .lane.primary-lane::before { content: 'MÁS POPULAR'; }
html[lang="ru"] .lane.primary-lane::before { content: 'САМАЯ ПОПУЛЯРНАЯ'; }
.lane.primary-lane { padding-top: 2.75rem; }
.lane-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.lane h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: .25rem; }
.lane .lane-price { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: .6rem; }
.lane .lane-price span { font-size: .82rem; color: var(--text-muted); font-weight: 500; }
.lane .lane-desc { font-size: .88rem; color: var(--text-sec); margin-bottom: 1rem; line-height: 1.6; }
.lane .tier-chooser { font-size: .82rem; color: var(--text-sec); margin: .75rem 0 1rem; line-height: 1.5; font-style: italic; }
.lane ul { list-style: none; margin-bottom: 1.25rem; }
.lane ul li { padding: 4px 0; font-size: .85rem; color: var(--text-sec); display: flex; align-items: baseline; gap: 7px; }
.lane ul li::before { content: '\2713'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.lane-cta {
  display: block; width: 100%; text-align: center;
  padding: 12px; border-radius: 10px; font-weight: 700; font-size: .92rem;
  text-decoration: none; transition: all .15s; margin-bottom: .75rem;
}
.lane.primary-lane .lane-cta { background: var(--primary); color: #fff; }
.lane.primary-lane .lane-cta:hover { background: var(--primary-dark); }
.lane:not(.primary-lane) .lane-cta { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.lane:not(.primary-lane) .lane-cta:hover { background: #e2e8f0; }
.lane-testimonial {
  background: var(--bg); border-radius: 10px; padding: .75rem 1rem;
  border-left: 3px solid var(--gold);
}
.lane-testimonial .stars { color: var(--gold); font-size: .75rem; letter-spacing: 1px; margin-bottom: .2rem; }
.lane-testimonial blockquote { font-size: .8rem; color: var(--text-sec); font-style: italic; line-height: 1.5; margin-bottom: .15rem; }
.lane-testimonial cite { font-size: .7rem; color: var(--text-muted); font-style: normal; }
.lane-testimonial cite strong { color: var(--green); font-weight: 600; }
@media (max-width: 1024px) {
  .lanes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .lanes-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .lane.primary-lane { order: -1; }
}

/* Upload form inside contract review lane */
.lane-upload-form {
  display: flex; flex-direction: column; gap: .6rem;
  margin-top: .75rem; padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.lane-upload-label {
  display: flex; flex-direction: column; gap: 4px;
  font-size: .8rem; font-weight: 600; color: var(--text-sec);
}
.lane-upload-label input[type="file"],
.lane-upload-label input[type="text"],
.lane-upload-label input[type="email"] {
  padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px;
  font-size: .85rem; font-family: inherit; background: var(--bg);
  transition: border-color .15s;
}
.lane-upload-label input:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.lane-upload-label input[type="file"] {
  padding: 10px; cursor: pointer;
}
@media (max-width: 768px) {
  .lane-upload-label input { font-size: 16px; min-height: 44px; }
}

/* ============================================================================
   SERVICE STRIP (link bar between lanes and practice areas)
   ============================================================================ */
.service-strip { background: #1e293b; padding: 14px 20px; text-align: center; }
.service-strip-inner { max-width: 960px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.service-strip-label { color: #94a3b8; font-size: 13px; font-weight: 600; white-space: nowrap; }
.service-strip-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.service-strip-links a { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 6px; font-size: 12.5px; font-weight: 600; text-decoration: none; color: #e2e8f0; background: rgba(99,102,241,.15); border: 1px solid rgba(99,102,241,.25); transition: all .15s; }
.service-strip-links a:hover { background: rgba(99,102,241,.3); color: #fff; }
.service-price { font-size: 11px; font-weight: 800; color: #818cf8; }
@media(max-width:600px) {
  .service-strip-inner { flex-direction: column; gap: 8px; }
  .service-strip-links { gap: 6px; }
}

/* ============================================================================
   PRACTICE AREAS STRIP (v9 vertical entry strip)
   ============================================================================ */
.practice-areas-strip {
  padding: 56px 24px;
  background: #0f172a;
  color: #fff;
  content-visibility: auto;
  contain-intrinsic-size: 0 800px;
}
.practice-areas-strip .pas-inner { max-width: 1100px; margin: 0 auto; }
.practice-areas-strip .pas-header { text-align: center; margin-bottom: 32px; }
.practice-areas-strip .pas-header h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 0 0 10px; }
.practice-areas-strip .pas-lede { color: #94a3b8; max-width: 680px; margin: 0 auto; font-size: .96rem; line-height: 1.55; }
.practice-areas-strip .pas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.practice-areas-strip .pas-card {
  display: block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 18px;
  text-decoration: none;
  color: #fff;
  transition: border-color .12s, background .12s;
}
.practice-areas-strip .pas-card:hover { border-color: #60a5fa; background: rgba(255,255,255,0.08); }
.practice-areas-strip .pas-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.practice-areas-strip .pas-card-desc { font-size: .82rem; color: #94a3b8; line-height: 1.45; }
.practice-areas-strip .pas-card-niche {
  background: rgba(99,102,241,0.10);
  border-color: rgba(99,102,241,0.35);
}
.practice-areas-strip .pas-card-niche:hover { border-color: #a5b4fc; background: rgba(99,102,241,0.18); }
.practice-areas-strip .pas-card-niche .pas-card-desc { color: #c7d2fe; }
.practice-areas-strip .pas-niche-tag {
  font-size: .7rem; color: #c7d2fe; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; margin-left: 6px;
}
.practice-areas-strip .pas-footer {
  text-align: center; margin-top: 24px;
  display: flex; gap: 18px; justify-content: center;
  flex-wrap: wrap; font-size: .88rem;
}
.practice-areas-strip .pas-footer a { color: #93c5fd; text-decoration: underline; text-underline-offset: 3px; }
.practice-areas-strip .pas-footer .pas-sep { color: #475569; }

/* ============================================================================
   HOW IT WORKS (split DL / CR)
   ============================================================================ */
.how-section { padding: 2.5rem 1.5rem 3rem; background: #fff; border-top: 1px solid var(--border); content-visibility: auto; contain-intrinsic-size: 0 600px; }
.how-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-header h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: .4rem; }
.section-header p { color: var(--text-sec); font-size: .95rem; }
.how-lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.how-lane { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; }
.how-lane-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: 1rem; font-weight: 700; margin: 0 0 1.25rem 0; color: var(--text);
}
.how-lane-title .icon { font-size: 1.2rem; }
.how-steps { counter-reset: step; }
.how-step {
  counter-increment: step; position: relative;
  padding-left: 2.5rem; margin-bottom: 1rem;
}
.how-step:last-child { margin-bottom: 0; }
.how-step::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #fff; font-weight: 700; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
}
.how-step h4 { font-size: .9rem; font-weight: 700; margin-bottom: .15rem; }
.how-step p { font-size: .82rem; color: var(--text-sec); line-height: 1.5; }
@media (max-width: 1024px) {
  .how-lanes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .how-lanes { grid-template-columns: 1fr; }
}

/* ============================================================================
   AI INTAKE / CHAT SECTION
   ============================================================================ */
.intake-section { padding: 3rem 1.5rem; background: var(--bg); border-top: 1px solid var(--border); }
.intake-inner { max-width: 1200px; margin: 0 auto; }
.intake-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start;
}

/* AI Analyst disclaimer inside intake section header */
.ai-analyst-disclaimer {
  max-width: 720px; margin: 0.5rem auto 0; padding: 0.7rem 1rem;
  color: #475569; font-size: 0.8rem; line-height: 1.55; text-align: center;
  background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 8px;
}

/* Loading-state fallback shown until lazy chat engine loads */
.ilc-fallback {
  padding: 2rem 1.25rem; text-align: center;
  color: var(--color-text-secondary, var(--text-sec));
  font-size: .95rem; line-height: 1.6;
}
.ilc-fallback p { margin: 0 0 1rem; }
.ilc-fallback .ilc-fallback-title { margin: 0 0 .75rem; font-weight: 600; color: var(--color-text, var(--text)); }
.ilc-fallback .ilc-fallback-fineprint { font-size: .85rem; color: #64748b; margin: 0; }
.ilc-fallback .ilc-fallback-fineprint a {
  color: #1d4ed8; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.ilc-noscript {
  padding: 1rem 1.25rem; background: #fff7ed;
  border: 1px solid #fed7aa; border-radius: 8px;
  margin-top: .75rem; text-align: center;
  font-size: .85rem; color: #7c2d12;
}
.ilc-noscript a { color: #1d4ed8; font-weight: 600; }

/* Trust Card Sidebar */
.trust-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 1.5rem; position: sticky; top: 80px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.trust-card-header {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.trust-card-photo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.trust-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.trust-card-name { font-size: .92rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.trust-card-bar { font-size: .72rem; color: var(--text-muted); }
.trust-card-stats { font-size: .75rem; color: var(--text-sec); }
.price-list { margin-bottom: 1.25rem; }
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .45rem 0; border-bottom: 1px solid #f1f5f9;
}
.price-row:last-child { border-bottom: none; }
.price-label { font-size: .82rem; color: var(--text-sec); }
.price-value { font-size: .85rem; font-weight: 700; color: var(--text); }
.trust-card .btn-hire {
  display: block; width: 100%; padding: .7rem;
  background: var(--primary); color: #fff; border-radius: 8px;
  font-size: .88rem; font-weight: 600; text-align: center;
  text-decoration: none; margin-bottom: .5rem; transition: background .15s;
}
.trust-card .btn-hire:hover { background: var(--primary-dark); }
.trust-card .btn-schedule {
  display: block; width: 100%; text-align: center; padding: .4rem;
  font-size: .8rem; font-weight: 500; color: var(--primary);
  text-decoration: none; transition: color .15s;
}
.trust-card .btn-schedule:hover { color: var(--primary-dark); }

@media (max-width: 768px) {
  .intake-grid { grid-template-columns: 1fr; }
  .trust-card { position: static; }
}

/* ============================================================================
   INLINE CHAT (ilc) - Universal AI Chat styles
   ============================================================================ */
.ilc-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 480px; /* v10: reserve space to prevent CLS when lazy-chat loads */
  display: flex;
  flex-direction: column;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.ilc-messages { flex: 1; overflow-y: auto; padding: 0 1.5rem; display: flex; flex-direction: column; gap: 12px; }
.ilc-messages:empty { display: none; }
.ilc-input-zone {
  padding: 0.75rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  position: sticky;
  bottom: 0;
  z-index: 5;
}
.ilc-input-card {
  background: #fff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  padding: 4px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ilc-input-card:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.ilc-input-row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
}
.ilc-input-row textarea {
  flex: 1; border: none; outline: none; resize: none;
  font-family: inherit; font-size: 15px;
  padding: 10px 8px; min-height: 44px; max-height: 120px;
  background: transparent; color: #0f172a; line-height: 1.5;
}
.ilc-input-row textarea::placeholder { color: #94a3b8; }
.ilc-btn {
  background: none; border: none; cursor: pointer;
  width: 38px; height: 38px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; transition: all 0.15s; flex-shrink: 0;
}
.ilc-btn:hover { color: #475569; background: #f1f5f9; }
.ilc-btn.mic-on { color: #ef4444; animation: ilc-pulse 1.2s infinite; }
@keyframes ilc-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.ilc-send {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--primary); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.15s;
}
.ilc-send:hover { background: #1d4ed8; }
.ilc-send:disabled { background: #cbd5e1; color: #94a3b8; cursor: not-allowed; }
.ilc-input-note { text-align: center; padding: 6px 0 0; font-size: 11px; color: #94a3b8; }
@keyframes ilcPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Action bar */
.ilc-actions { display: none; flex-wrap: wrap; gap: 6px; padding: 8px 0 4px; }
.ilc-actions.active { display: flex; }
.ilc-action-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 14px; border-radius: 20px;
  border: 1px solid #c7d2fe; background: #f0f4ff;
  color: #4338ca; font-size: 12px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: all 0.15s;
}
.ilc-action-btn:hover { background: #e0e7ff; border-color: #818cf8; }
.ilc-action-btn.primary { background: #4338ca; color: #fff; border-color: #4338ca; }
.ilc-action-btn.primary:hover { background: #3730a3; }
.ilc-action-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Draft letter CTA */
.ilc-draft-cta {
  display: none; background: linear-gradient(135deg, #eef2ff, #faf5ff);
  border: 1px solid #c7d2fe; border-radius: 10px;
  padding: 12px 16px; margin: 8px 0; text-align: center;
}
.ilc-draft-cta.active { display: block; }
.ilc-draft-cta p { font-size: 13px; color: #475569; margin: 0 0 8px; }
.ilc-draft-cta button {
  padding: 8px 20px; border-radius: 8px; border: none;
  background: #4338ca; color: #fff; font-size: 13px;
  font-weight: 600; cursor: pointer; font-family: inherit;
}
.ilc-draft-cta button:hover { background: #3730a3; }
.ilc-draft-sub { font-size: 11px; color: #94a3b8; margin-top: 6px !important; }

/* Resume banner */
.ilc-resume-banner {
  display: none; background: #f0f4ff; border: 1px solid #c7d2fe;
  border-radius: 10px; padding: 12px 16px; margin: 0 0 8px;
  font-size: 13px; color: #1e293b;
  align-items: center; justify-content: space-between; gap: 8px;
}
.ilc-resume-banner.active { display: flex; }
.ilc-resume-banner span { flex: 1; }
.ilc-resume-btn {
  padding: 6px 14px; border-radius: 8px; border: none;
  font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.ilc-resume-btn.primary { background: #4338ca; color: #fff; }
.ilc-resume-btn.primary:hover { background: #3730a3; }
.ilc-resume-btn.secondary { background: #e2e8f0; color: #475569; }
.ilc-resume-btn.secondary:hover { background: #cbd5e1; }

/* File upload */
.ilc-file-list { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 12px; }
.ilc-file-list:empty { display: none; }
.ilc-file-item {
  display: inline-flex; align-items: center; gap: 4px;
  background: #f1f5f9; border: 1px solid #e2e8f0;
  padding: 3px 8px; border-radius: 6px;
  font-size: 11px; color: #64748b;
}
.ilc-file-item .ilc-rm { cursor: pointer; color: #ef4444; font-weight: 700; margin-left: 2px; }
.ilc-upload-zone {
  display: none; border: 1px dashed #e2e8f0; border-radius: 8px;
  padding: 10px 14px; margin: 4px 8px;
  align-items: center; gap: 8px; cursor: pointer;
  font-size: 12px; color: #94a3b8; transition: all 0.15s;
}
.ilc-upload-zone.visible { display: flex; }
.ilc-upload-zone:hover, .ilc-upload-zone.dragover { border-color: #3b82f6; background: #eff6ff; }

/* Tool links */
.ilc-tool-links { padding: 8px 0; }
.ilc-tool-links-label {
  font-size: 11px; font-weight: 600; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px;
}
.ilc-tool-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 10px; text-decoration: none; color: #166534;
  font-size: 13px; font-weight: 600; margin-bottom: 4px;
  transition: all 0.15s; min-height: 44px;
}
.ilc-tool-link:hover { background: #dcfce7; border-color: #86efac; }
.ilc-tool-link-icon { font-size: 16px; flex-shrink: 0; }
.ilc-tool-link svg { margin-left: auto; color: #86efac; flex-shrink: 0; }

/* Intent Chips */
.ilc-chips { padding: 10px 1.5rem 6px; }
.ilc-chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.ilc-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 100px;
  padding: 8px 14px; font-size: 13px; font-weight: 500;
  color: #475569; cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.ilc-chip:hover { border-color: #93c5fd; color: #1e40af; background: #f0f7ff; transform: translateY(-1px); }
.ilc-chip.primary {
  background: var(--primary); border-color: var(--primary);
  color: #fff; font-weight: 600; box-shadow: 0 2px 8px rgba(37,99,235,0.2);
}
.ilc-chip.primary:hover { background: #1d4ed8; box-shadow: 0 4px 14px rgba(37,99,235,0.3); }
.ilc-chip.lang { border-style: dashed; color: #94a3b8; }
.ilc-chip.lang:hover { color: #475569; }

/* How this works */
.ilc-how {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 10px 16px; margin: 4px 1.5rem 8px; text-align: left;
}
.ilc-how summary {
  font-size: 13px; font-weight: 600; color: #64748b;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 6px;
}
.ilc-how summary::-webkit-details-marker { display: none; }
.ilc-how summary::before {
  content: "\25B8"; font-size: 10px;
  color: var(--primary); transition: transform 0.15s;
}
.ilc-how[open] summary::before { transform: rotate(90deg); }
.ilc-how-list {
  margin-top: 10px; font-size: 13px; color: #64748b;
  line-height: 1.8; list-style: none; padding: 0;
}
.ilc-how-list li::before { content: "\2192 "; color: var(--primary); }

/* Chat Messages */
.ilc-msg { display: flex; gap: 10px; animation: ilcFadeUp 0.3s ease; }
@keyframes ilcFadeUp { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }
.ilc-msg-user { flex-direction: row-reverse; }
.ilc-msg-av {
  width: 32px; height: 32px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0; background: #e2e8f0;
}
.ilc-msg-av img { width: 100%; height: 100%; object-fit: cover; }
.ilc-msg-body {
  max-width: 85%; background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 12px; padding: 12px 16px; font-size: 14px;
  line-height: 1.65; color: #1e293b;
}
.ilc-msg-user .ilc-msg-body {
  background: var(--primary); border-color: var(--primary);
  color: #fff; border-radius: 12px 12px 0 12px;
}
.ilc-msg-body p { margin: 0 0 8px; }
.ilc-msg-body p:last-child { margin: 0; }
.ilc-msg-body ul, .ilc-msg-body ol { padding-left: 18px; margin: 6px 0; }
.ilc-msg-body li { margin-bottom: 4px; }
.ilc-msg-body strong { font-weight: 600; }
.ilc-msg-body code {
  background: rgba(0,0,0,.06); padding: 1px 5px;
  border-radius: 3px; font-size: 13px;
}

/* Email gate */
.ilc-email-gate {
  background: #f0f4ff; border: 1px solid #c7d2fe;
  border-radius: 10px; padding: 14px 16px;
  margin: 10px 1.5rem; text-align: center;
}
.ilc-email-gate p { font-size: 13px; color: #475569; margin-bottom: 8px; }
.ilc-email-gate input {
  padding: 8px 12px; border: 1px solid #c7d2fe;
  border-radius: 8px; font-size: 14px; width: 100%;
  max-width: 280px; font-family: inherit;
}
.ilc-email-gate button {
  padding: 8px 16px; border: none; border-radius: 8px;
  background: var(--primary); color: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer;
  margin-left: 6px; font-family: inherit;
}

/* ILC Mobile Overrides */
@media (max-width: 768px) {
  .ilc-wrap { border-radius: 12px; max-height: none; }
  .ilc-chips { padding: 10px 1rem 6px; }
  .ilc-chips-wrap { gap: 6px; justify-content: center; }
  .ilc-chip { padding: 10px 14px; font-size: 13px; min-height: 44px; white-space: normal; text-align: center; }
  .ilc-input-zone { padding: 0.6rem 1rem; }
  .ilc-input-row textarea { font-size: 16px; min-height: 44px; }
  .ilc-messages { padding: 0 1rem; }
  .ilc-msg-body { max-width: 92%; font-size: 14px; padding: 10px 14px; }
  .ilc-email-gate { margin: 10px 1rem; padding: 12px; }
  .ilc-email-gate input { max-width: 100%; }
  .ilc-email-gate button { margin-left: 0; margin-top: 8px; width: 100%; }
  .ilc-how { margin: 4px 1rem 8px; }
  /* Override uchat fixed input on homepage: keep it relative to avoid sticky CTA overlap */
  #uchat-panel.uchat-homepage-panel .uchat-input-area {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
}

/* ============================================================================
   TESTIMONIALS - Upwork Style
   ============================================================================ */
.testimonials { padding: 2.5rem 0; background: #1a1a1a; overflow: hidden; content-visibility: auto; contain-intrinsic-size: 0 700px; }
.testimonials-header { text-align: center; margin-bottom: 1.5rem; padding: 0 1.5rem; }
.testimonials-header h2 { font-size: 1.4rem; font-weight: 700; color: white; margin-bottom: .4rem; }
.testimonials-header p { color: #94a3b8; font-size: .88rem; }
/* a11y: link no longer relies on color alone, visible underline at rest. */
.testimonials-header a { color: var(--upwork-green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.testimonials-header a:hover { text-decoration-thickness: 2px; }
.testimonials-disclaimer {
  max-width: 900px; margin: 0 auto 1.25rem; padding: 0.75rem 1.5rem;
  color: #94a3b8; font-size: 0.78rem; line-height: 1.55; text-align: center;
  border-left: 2px solid #475569; border-right: 2px solid #475569;
}
.testimonials-grid {
  display: flex; flex-direction: column; gap: 0;
  max-width: 900px; margin: 0 auto; padding: 0 1.5rem;
}
.upwork-review { background: #1a1a1a; border-bottom: 1px solid #333; padding: 20px 0; }
.upwork-review:first-child { border-top: 1px solid #333; }
.upwork-job-title { color: var(--upwork-green); font-size: 16px; font-weight: 500; margin-bottom: 10px; line-height: 1.3; }
.upwork-rating-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.upwork-stars { display: flex; align-items: center; gap: 1px; }
.upwork-star { color: #f4c150; font-size: 15px; }
.upwork-score { font-weight: 600; color: #fff; font-size: 13px; margin-left: 4px; }
.upwork-divider { color: #666; font-size: 13px; margin: 0 4px; }
.upwork-date { color: #999; font-size: 13px; }
.upwork-review-text { color: #e0e0e0; font-size: 13.5px; line-height: 1.65; margin-bottom: 12px; }
.upwork-review-meta { display: flex; gap: 40px; flex-wrap: wrap; }
.upwork-meta-value { font-weight: 400; color: #fff; font-size: 13px; }
.upwork-meta-label { color: #999; font-size: 13px; margin-left: 6px; }
.testimonials-dots { display: none; }

@media (max-width: 768px) {
  .testimonials-grid {
    flex-direction: row; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
    gap: 0; padding-bottom: 8px; scrollbar-width: none;
    max-width: 100%; width: 100%;
  }
  .testimonials-grid::-webkit-scrollbar { display: none; }
  .upwork-review {
    flex-shrink: 0; width: 85vw; scroll-snap-align: start;
    border-bottom: none; border-right: 1px solid #333; padding: 20px 16px;
  }
  .upwork-review:first-child { border-top: none; }
  .testimonials-dots {
    display: flex; justify-content: center; gap: 6px; margin-top: 10px;
  }
  .testimonials-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #444;
    transition: background .2s;
  }
  .testimonials-dot.active { background: var(--upwork-green, #14a800); }
}

/* ============================================================================
   AI TEASER SECTION (single 60-word teaser linking to /showcase/)
   ============================================================================ */
.ai-teaser-section {
  padding: 2.5rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.ai-teaser-section .ai-teaser-inner {
  max-width: 760px; margin: 0 auto; text-align: center;
}
.ai-teaser-section .ai-teaser-eyebrow {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #475569; margin: 0 0 .6rem;
}
.ai-teaser-section h3 {
  font-size: 1.1rem; font-weight: 700;
  color: #0f172a; margin: 0 0 .8rem;
}
.ai-teaser-section .ai-teaser-body {
  color: #475569; font-size: .92rem; line-height: 1.55;
  max-width: 620px; margin: 0 auto 1rem;
}
.ai-teaser-section .ai-teaser-body a {
  color: #1d4ed8; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ============================================================================
   WHAT I'VE BUILT - site depth grid
   ============================================================================ */
.built-section { padding: 3rem 1.5rem 2.5rem; background: var(--bg); border-top: 1px solid var(--border); content-visibility: auto; contain-intrinsic-size: 0 400px; }
.built-inner { max-width: 900px; margin: 0 auto; }
.built-inner .section-header { text-align: center; margin-bottom: 1.5rem; }
.built-inner .section-header h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: .35rem; }
.built-inner .section-header p { font-size: .88rem; color: var(--text-sec); max-width: 540px; margin: 0 auto; line-height: 1.55; }
.built-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.built-card {
  padding: 1.3rem 1rem; border-radius: 12px; border: 1px solid var(--border);
  background: #fff; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.built-card:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(37,99,235,.1); }
.built-card-count {
  font-size: 1.7rem; font-weight: 900; color: var(--primary); line-height: 1.1;
  margin-bottom: .2rem; letter-spacing: -.02em;
}
.built-card-label { font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
.built-card-desc { font-size: .74rem; color: var(--text-sec); line-height: 1.45; }
.built-blog-link {
  display: block; text-align: center; margin-top: 1rem;
  font-size: .85rem; color: var(--primary); font-weight: 600; text-decoration: none;
}
.built-blog-link:hover { text-decoration: underline; }

/* ============================================================================
   BEST FIT / NOT THE BEST FIT (v8) - judgment signal
   ============================================================================ */
.fit-section { padding: 3rem 1.5rem 2.5rem; background: #fff; border-top: 1px solid var(--border); content-visibility: auto; contain-intrinsic-size: 0 500px; }
.fit-inner { max-width: 1100px; margin: 0 auto; }
.fit-inner .section-header { text-align: center; margin-bottom: 1.75rem; }
.fit-inner .section-header h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: .4rem; }
.fit-inner .section-header p { font-size: .92rem; color: var(--text-sec); max-width: 580px; margin: 0 auto; line-height: 1.55; }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.fit-col {
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid var(--border); border-radius: 12px;
  background: #fff;
}
.fit-col-yes { border-top: 3px solid var(--green, #22c55e); }
.fit-col-no  { border-top: 3px solid #94a3b8; }
.fit-col-heading {
  font-size: 1rem; font-weight: 700; margin: 0 0 .9rem;
  color: var(--text); letter-spacing: -.01em;
}
.fit-col-yes .fit-col-heading { color: #047857; }
.fit-col-no  .fit-col-heading { color: #475569; }
.fit-list { list-style: none; padding: 0; margin: 0; }
.fit-list li {
  font-size: .9rem; color: var(--text-sec); line-height: 1.55;
  padding: .45rem 0 .45rem 1.4rem; position: relative;
  border-bottom: 1px dashed rgba(148,163,184,.25);
}
.fit-list li:last-child { border-bottom: 0; }
.fit-col-yes .fit-list li::before {
  content: "\2713"; position: absolute; left: 0; top: .4rem;
  color: var(--green, #22c55e); font-weight: 700;
}
.fit-col-no .fit-list li::before {
  content: "\2717"; position: absolute; left: 0; top: .4rem;
  color: #94a3b8; font-weight: 700; font-size: .9rem;
}
@media (max-width: 768px) {
  .fit-grid { grid-template-columns: 1fr; gap: 1rem; }
  .fit-inner .section-header h2 { font-size: 1.25rem; }
}
@media (max-width: 768px) {
  .built-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .built-card-count { font-size: 1.45rem; }
  .built-card { padding: 1.1rem .8rem; }
}
@media (max-width: 380px) {
  .built-grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .built-card-count { font-size: 1.3rem; }
}

/* ============================================================================
   BOTTOM CTA
   ============================================================================ */
.bottom-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  padding: 3rem 1.5rem; text-align: center;
}
.bottom-cta h2 { color: #fff; font-size: clamp(1.3rem, 3.5vw, 1.85rem); font-weight: 800; margin-bottom: .5rem; }
.bottom-cta p { color: rgba(255,255,255,.8); margin-bottom: 1.5rem; font-size: .95rem; }
.bottom-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.bottom-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--primary); padding: 13px 28px;
  border-radius: 12px; font-weight: 700; font-size: .95rem;
  text-decoration: none; transition: transform .15s;
}
.bottom-cta a:hover { transform: translateY(-2px); }
.bottom-cta a.bottom-cta-sec { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.bottom-cta a.bottom-cta-sec:hover { background: rgba(255,255,255,.25); }

/* ============================================================================
   FAQ BLOCK
   ============================================================================ */
.faq-block {
  max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem 2rem;
  content-visibility: auto; contain-intrinsic-size: 0 600px;
}
.faq-block h2 {
  font-size: 1.25rem; font-weight: 800; color: var(--text); text-align: center; margin-bottom: 1.5rem;
}
.faq-grid { display: flex; flex-direction: column; gap: .75rem; }
.faq-grid details {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 0; overflow: hidden;
}
.faq-grid summary {
  padding: .85rem 1.1rem; font-size: .9rem; font-weight: 600; color: var(--text);
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: .75rem;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: '+'; font-size: 1.1rem; color: var(--text-muted); flex-shrink: 0; transition: transform .2s; }
.faq-grid details[open] summary::after { content: '\2212'; }
.faq-grid details p {
  padding: 0 1.1rem 1rem; margin: 0; font-size: .85rem; color: var(--text-sec); line-height: 1.65;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
footer {
  background: var(--dark); padding: 2rem 1.5rem; text-align: center;
  color: #64748b; font-size: .78rem; line-height: 1.8;
}
footer a { color: #94a3b8; text-decoration: none; }
footer a:hover { color: #fff; }
.footer-links { margin-bottom: .75rem; display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .78rem; }
.footer-fineprint { margin-top: 6px; font-size: .72rem; }

/* ============================================================================
   STICKY MOBILE CTA
   ============================================================================ */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: #fff; border-top: 1px solid var(--border);
  padding: 10px 16px; box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.sticky-cta-inner {
  display: flex; gap: 8px; max-width: 500px; margin: 0 auto;
}
.sticky-cta a {
  flex: 1; min-width: 0; text-align: center; padding: 11px 8px;
  border-radius: 8px; font-weight: 700; font-size: .82rem;
  text-decoration: none; transition: background .15s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sticky-cta .sticky-primary { background: var(--primary); color: #fff; }
.sticky-cta .sticky-primary:hover { background: var(--primary-dark); }
.sticky-cta .sticky-secondary { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.sticky-cta .sticky-secondary:hover { background: #e2e8f0; }
@media (max-width: 768px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
}
</content>
</invoke>