/* ==========================================================================
   Real Health Coverage — shared stylesheet for standalone pages
   (about.html, reviews.html, faq.html). Mirrors the design tokens and
   components used on the homepage so the subpages stay visually consistent.
   ========================================================================== */

:root {
  --bg: #f0f5ff;
  --bg-soft: #e6eeff;
  --paper: #ffffff;
  --ink: #0d3b8c;
  --ink-soft: #4a6fa5;
  --blue: #2196f3;
  --blue-soft: #d8eaff;
  --blue-deep: #1048a3;
  --line: rgba(13, 59, 140, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.display {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.mono {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---- Tagline bar + nav ---------------------------------------------------- */
.tagline-bar { text-align: center; padding: 14px 20px 10px; background: var(--bg); }
.tagline-bar .tag {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--ink);
}
.tagline-bar .tag em { font-style: normal; color: var(--blue); font-weight: 500; }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 245, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: 1240px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(16,72,163,0.18));
}
.logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  line-height: 1.05;
}
.logo-text small {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 3px;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 0.92rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--ink); font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--ink);
  cursor: pointer;
}
.btn:hover { background: var(--blue); color: var(--paper); border-color: var(--blue); transform: translateY(-1px); }
.btn.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn svg { transition: transform 0.3s; }
.btn:hover svg { transform: translateX(3px); }

@media (max-width: 820px) { .nav-links { display: none; } }

/* ---- Engaging page hero (subpages) --------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 76px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 88% -10%, rgba(33,150,243,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 6% 120%, rgba(16,72,163,0.16) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
/* faint dotted grid for texture */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13,59,140,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.page-hero-copy { max-width: 640px; }
.page-hero .eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px -16px rgba(13,59,140,0.5);
}
.page-hero .eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(33,150,243,0.18);
}
.page-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--ink);
  margin-bottom: 22px;
  text-wrap: balance;
}
.page-hero h1 span { color: var(--blue); }
.page-hero .lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.55;
  max-width: 540px;
}
.page-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.page-hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.page-hero-chips span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Decorative gradient panel with rotating badge + floating stat */
.page-hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 380px;
  margin-left: auto;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(13,59,140,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.28), transparent 45%),
    radial-gradient(circle at 85% 95%, rgba(0,0,0,0.28), transparent 55%);
  pointer-events: none;
}
.page-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.page-hero-visual .visual-grade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,59,140,0.55) 0%, transparent 55%);
  z-index: 1;
}
.hero-badge {
  position: absolute;
  z-index: 3;
  width: 128px;
  height: 128px;
  top: -22px;
  right: -22px;
  animation: rhc-spin 26s linear infinite;
}
.hero-badge svg { width: 100%; height: 100%; }
.hero-badge text {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  fill: var(--blue-soft);
  font-weight: 700;
}
@keyframes rhc-spin { to { transform: rotate(360deg); } }
.float-card {
  position: absolute;
  z-index: 3;
  background: var(--paper);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 24px 50px -22px rgba(13,59,140,0.6);
  border: 1px solid var(--line);
}
.float-card.bottom-left { left: -18px; bottom: 22px; }
.float-card .big {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--ink);
  line-height: 1;
}
.float-card .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
}
.float-card .stars { color: var(--blue); letter-spacing: 2px; font-size: 0.85rem; margin-bottom: 4px; }

@media (max-width: 920px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .page-hero-visual { margin: 0 auto; max-width: 340px; }
}
@media (max-width: 540px) {
  .page-hero { padding: 60px 0 56px; }
  .float-card.bottom-left { left: 8px; }
}

/* ---- Marquee -------------------------------------------------------------- */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--ink);
}
.marquee-track { display: inline-flex; gap: 50px; animation: rhc-slide 40s linear infinite; }
.marquee-track span {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 50px;
  letter-spacing: -0.01em;
}
.marquee-track span::after { content: "✦"; color: var(--blue); font-weight: 400; font-size: 1.1rem; }
@keyframes rhc-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Section head --------------------------------------------------------- */
section.block { padding: 110px 0; position: relative; }
/* First section acting as the page header gets extra breathing room up top. */
section.block.about-hero,
section.block.reviews-hero,
section.block.faq-hero { padding-top: 130px; }
@media (max-width: 640px) {
  section.block.about-hero,
  section.block.reviews-hero,
  section.block.faq-hero { padding-top: 72px; }
}
.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head .mono {
  color: var(--blue);
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--blue);
}
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 20px; font-weight: 800; }
.section-head h2 span { color: var(--blue); }
.section-head p { font-size: 1.05rem; color: var(--ink-soft); max-width: 560px; }

/* ---- Testimonials / reviews ---------------------------------------------- */
.testimonials { background: var(--ink); color: var(--paper); border-block: 1px solid var(--ink); position: relative; overflow: hidden; }
.testimonials::before {
  content: "";
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(33,150,243,0.3), transparent 70%);
  filter: blur(60px);
}
.testimonials .section-head h2 { color: var(--paper); }
.testimonials .section-head h2 span { color: var(--blue); }
.testimonials .section-head .mono { color: var(--blue-soft); border-color: var(--blue-soft); }
.testimonials .section-head p { color: rgba(255,255,255,0.7); }

.t-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; position: relative; z-index: 2; }
.t-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s;
}
.t-card:hover { background: rgba(33,150,243,0.10); border-color: var(--blue); }
.t-card summary { display: grid; gap: 12px; cursor: pointer; list-style: none; }
.t-card summary::-webkit-details-marker { display: none; }
.t-stars { color: var(--blue); letter-spacing: 2px; font-size: 0.95rem; }
.t-quote { font-family: "DM Sans", sans-serif; font-size: 1.05rem; line-height: 1.5; color: var(--paper); font-weight: 400; }
.t-full { color: rgba(255,255,255,0.76); font-size: 0.94rem; line-height: 1.6; padding-top: 4px; }
.read-more {
  color: var(--blue-soft);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.t-card[open] .read-more { color: var(--paper); }
.t-author { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); margin-top: auto; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.t-author-meta strong { display: block; font-weight: 500; font-size: 0.95rem; color: var(--paper); }
.t-author-meta .mono { color: var(--blue-soft); margin-top: 2px; }
@media (max-width: 1100px) { .t-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .t-grid { grid-template-columns: 1fr; }
}

/* ---- About + team --------------------------------------------------------- */
.about { background: var(--paper); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.about-body h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 28px; font-weight: 800; }
.about-body h2 span { color: var(--blue); }
.about-body p { color: var(--ink-soft); margin-bottom: 20px; font-size: 1.05rem; }
.about-body p:first-of-type {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.signature { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.signature .mono { color: var(--blue); margin-bottom: 4px; display: block; }
.signature strong { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.08rem; color: var(--ink); }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.about-value { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; }
.about-value .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  display: block;
  margin-bottom: 10px;
}
.about-value strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.about-value p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .about-values { grid-template-columns: 1fr; } }

.team { background: var(--bg-soft); border-block: 1px solid var(--line); padding: 100px 0; overflow: hidden; }
.team-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.team-head-left .mono { color: var(--blue); display: inline-block; margin-bottom: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--blue); }
.team-head h2 { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.02em; color: var(--ink); }
.team-head h2 span { color: var(--blue); }
.team-controls { display: flex; gap: 12px; }
.team-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.team-btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-1px); }
.team-track-wrap { overflow: hidden; margin: 0 -8px; }
.team-track {
  display: flex;
  gap: 20px;
  padding: 8px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.team-track::-webkit-scrollbar { display: none; }
.team-card {
  flex: 0 0 calc((100% - 60px) / 4);
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(13,59,140,0.35); }
.team-photo { aspect-ratio: 3/4; background: linear-gradient(160deg, var(--blue-soft), var(--blue) 70%, var(--blue-deep)); position: relative; overflow: hidden; }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
@media (max-width: 1100px) { .team-card { flex-basis: calc((100% - 40px) / 3); } }
@media (max-width: 820px) { .team-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 540px) { .team-card { flex-basis: 80%; } .team { padding: 80px 0; } }

/* ---- FAQ ------------------------------------------------------------------ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.faq-item { border-top: 1px solid var(--line); padding: 24px 0; cursor: pointer; transition: all 0.3s; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.faq-q .plus { font-family: "DM Sans", sans-serif; font-weight: 300; font-size: 1.7rem; color: var(--blue); transition: transform 0.3s; line-height: 1; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin-top 0.3s ease; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }
.faq-item.open .faq-a { max-height: 360px; margin-top: 16px; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- CTA ------------------------------------------------------------------ */
.cta { background: var(--bg-soft); padding: 130px 0; text-align: center; position: relative; overflow: hidden; border-block: 1px solid var(--line); }
.cta::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.25;
  filter: blur(100px);
  top: -200px; left: 50%;
  transform: translateX(-50%);
}
.cta-inner { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); margin-bottom: 28px; max-width: 900px; margin-inline: auto; font-weight: 800; }
.cta h2 span { color: var(--blue); }
.cta p { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 40px; max-width: 560px; margin-inline: auto; }

/* ---- Footer --------------------------------------------------------------- */
footer { background: var(--ink); color: var(--paper); padding: 80px 0 32px; position: relative; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.foot-brand .logo { color: var(--paper); margin-bottom: 20px; }
.foot-brand .logo .logo-text { color: var(--paper); }
.foot-brand .logo .logo-text small { color: var(--blue-soft); }
.foot-brand p { color: rgba(255,255,255,0.65); max-width: 340px; font-size: 0.95rem; }
.foot-tagline { margin-top: 24px; font-family: "DM Sans", sans-serif; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.25em; color: var(--paper); }
.foot-tagline em { font-style: normal; color: var(--blue-soft); }
.foot-col h4 { font-family: "JetBrains Mono", monospace; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 20px; font-weight: 500; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.foot-col a:hover { color: var(--blue-soft); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }

/* ---- Inline quote-start widget (dark-blue hero widget) -------------------- */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(216,234,255,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(216,234,255,0); }
}
.hero-quote {
  position: relative;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -32px rgba(13,59,140,0.55);
  align-self: start;
}
.hero-quote .hero-badge {
  top: -26px;
  right: -26px;
  width: 120px;
  height: 120px;
  z-index: 5;
}
.hero-quote-head {
  position: relative;
  padding: 30px 30px 24px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--paper);
}
.hero-quote-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.24), transparent 46%),
    radial-gradient(circle at 88% 96%, rgba(0,0,0,0.22), transparent 52%);
  pointer-events: none;
}
.hero-quote-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 14px;
}
.hero-quote-eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-soft);
  box-shadow: 0 0 0 4px rgba(216,234,255,0.2);
  animation: pulse 2s infinite;
}
.hero-quote-title {
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  padding-right: 78px;
  color: var(--paper);
}
.hero-quote-progress {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  overflow: hidden;
  margin-bottom: 10px;
}
.hero-quote-progress span {
  display: block;
  height: 100%;
  width: 14%;
  border-radius: 999px;
  background: var(--paper);
}
.hero-quote-step {
  position: relative;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--blue-soft);
}
.hero-quote-body { padding: 28px 30px 30px; }
.hero-quote-q {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.hero-quote-hint {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 300;
  margin-bottom: 20px;
}
.hero-quote-field { display: flex; gap: 10px; }
.hero-quote-field input {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  font-size: 1.05rem;
  font-family: inherit;
  color: var(--ink);
  background: #f6f9fd;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.hero-quote-field input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(33,110,210,0.14);
}
.hero-quote-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 24px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: var(--paper);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 14px 30px -12px rgba(13,59,140,0.7);
  transition: transform 0.15s, box-shadow 0.15s;
}
.hero-quote-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(13,59,140,0.8);
}
.hero-quote-error {
  color: #c0392b;
  font-size: 0.85rem;
  margin-top: 10px;
  font-weight: 500;
}
.hero-quote-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.hero-quote-foot span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-quote-foot span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
@media (max-width: 900px) {
  .hero-quote { max-width: 460px; margin: 0 auto; }
}
@media (max-width: 540px) {
  .hero-quote-field { flex-direction: column; }
  .hero-quote-next { justify-content: center; }
}

/* ---- Reveal on scroll ----------------------------------------------------- */
/* Fail-safe: content is visible by default. Only when JS is active (the
   <html class="js-reveal"> flag is set) do we hide-then-animate, so a blocked
   or slow observer can never leave the page blank. */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js-reveal .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-badge { animation: none; }
}
