html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
}

#facts-root {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  color: #17243a;
  background:
    radial-gradient(circle at 8% 4%, rgba(70, 164, 219, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 12%, rgba(64, 162, 71, 0.12), transparent 30rem),
    #f3f6fa;
  font-family: "Times New Roman", Times, serif;
}

body,
#facts-root,
#facts-root * {
  font-family: "Times New Roman", Times, serif !important;
}

#facts-root *,
#facts-root *::before,
#facts-root *::after {
  box-sizing: border-box;
}

#facts-root .lang-block,
#facts-root nav,
#facts-root header,
#facts-root main,
#facts-root section,
#facts-root footer,
#facts-root .wrap,
#facts-root .nav-inner {
  width: 100%;
  min-width: 0;
}

#facts-root .compare > *,
#facts-root .who-grid > *,
#facts-root .problems > *,
#facts-root .stats-grid > *,
#facts-root .vac-grid > *,
#facts-root .contact-grid > *,
#facts-root .cta-buttons > * {
  min-width: 0;
}

#facts-root p,
#facts-root li,
#facts-root td,
#facts-root th,
#facts-root a,
#facts-root button,
#facts-root code {
  overflow-wrap: anywhere;
}

#facts-root img,
#facts-root svg {
  height: auto;
}

#facts-root .reveal.in {
  transform: none;
}

#facts-root h1,
#facts-root h2,
#facts-root h3,
#facts-root h4,
#facts-root .brand,
#facts-root .btn,
#facts-root button {
  font-family: "Times New Roman", Times, serif;
}

#facts-root .notice-bar {
  padding: 10px 20px;
  background: linear-gradient(90deg, #13294d, #1f3a6e);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset;
}

#facts-root nav {
  top: 0;
  border-bottom-color: rgba(214, 220, 230, 0.8);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 10px 35px rgba(19, 41, 77, 0.08);
}

#facts-root .nav-inner {
  height: 72px;
}

#facts-root .brand .badge,
#facts-root .hero-badge {
  background: linear-gradient(145deg, #203c73 0%, #2d5b88 52%, #45a44c 100%);
  box-shadow: 0 12px 30px rgba(31, 58, 110, 0.24);
}

#facts-root .badge--logo,
#facts-root .hero-badge--logo {
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border: 1px solid rgba(31, 58, 110, 0.12);
  background: #fff;
}

#facts-root .brand .badge--logo {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

#facts-root .hero-badge--logo {
  width: 112px;
  height: 112px;
  padding: 5px;
  border-radius: 24px;
}

#facts-root .fbrand .badge--logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

#facts-root .badge--logo img,
#facts-root .hero-badge--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

#facts-root .nav-cta,
#facts-root .btn-primary,
#facts-root .generate-btn,
#facts-root .apply-btn {
  border: 0;
  background: linear-gradient(135deg, #4da852, #2f7d39);
  box-shadow: 0 10px 24px rgba(47, 125, 57, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

#facts-root .nav-cta:hover,
#facts-root .btn-primary:hover,
#facts-root .generate-btn:hover,
#facts-root .apply-btn:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(47, 125, 57, 0.28);
}

#facts-root header.hero {
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.98)),
    #fff;
}

#facts-root header.hero::before,
#facts-root header.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

#facts-root header.hero::before {
  top: -210px;
  left: -120px;
  background: rgba(70, 164, 219, 0.1);
}

#facts-root header.hero::after {
  right: -150px;
  bottom: -230px;
  background: rgba(64, 162, 71, 0.11);
}

#facts-root header.hero > * {
  position: relative;
  z-index: 1;
}

#facts-root header.hero h1 {
  max-width: 840px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

#facts-root header.hero .lede {
  max-width: 700px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}

#facts-root .eyebrow,
#facts-root .kicker {
  font-family: "Times New Roman", Times, serif;
}

#facts-root section {
  padding: 76px 0;
}

#facts-root .section-head {
  max-width: 740px;
  margin-bottom: 44px;
}

#facts-root .section-head h2 {
  font-size: clamp(27px, 3.4vw, 38px);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

#facts-root .section-head p {
  font-size: 16px;
  line-height: 1.75;
}

#facts-root .card,
#facts-root .myth-item,
#facts-root .who-cell,
#facts-root .p-card,
#facts-root .faq-item,
#facts-root .compare-cell,
#facts-root .ditem {
  border-color: rgba(214, 220, 230, 0.82);
  box-shadow:
    0 1px 2px rgba(19, 41, 77, 0.04),
    0 18px 45px rgba(19, 41, 77, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#facts-root .myth-item:hover,
#facts-root .who-cell:hover,
#facts-root .p-card:hover,
#facts-root .compare-cell:hover,
#facts-root .ditem:hover {
  transform: translateY(-4px);
  border-color: rgba(64, 162, 71, 0.45);
  box-shadow:
    0 2px 4px rgba(19, 41, 77, 0.05),
    0 24px 55px rgba(19, 41, 77, 0.11);
}

#facts-root .claim-box,
#facts-root .fact-box,
#facts-root .callout,
#facts-root .law-quote {
  border-radius: 12px;
}

#facts-root .fact-box {
  background: linear-gradient(135deg, #f0f9f3, #f8fcf9);
}

#facts-root .claim-box {
  background: linear-gradient(135deg, #fdf4f4, #fffafa);
}

#facts-root .imposter-warning {
  margin: 22px 0 16px;
  padding: 22px 24px;
  border: 2px solid #b0332a;
  border-left-width: 8px;
  border-radius: 14px;
  color: #6f1d18;
  background: linear-gradient(135deg, #fff1f0, #fff9f8);
  box-shadow: 0 16px 36px rgba(176, 51, 42, 0.13);
}

#facts-root .imposter-warning > strong {
  display: block;
  margin-bottom: 8px;
  color: #9a241c;
  font-size: clamp(17px, 2vw, 21px);
  letter-spacing: 0.025em;
}

#facts-root .imposter-warning p {
  margin: 0 0 12px;
  color: #57211e;
  font-size: 15px;
  line-height: 1.65;
}

#facts-root .imposter-warning code {
  padding: 2px 5px;
  border-radius: 5px;
  color: #7d1f19;
  background: rgba(176, 51, 42, 0.08);
}

#facts-root .imposter-warning a {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  color: #fff;
  background: #b0332a;
  font-weight: 700;
  text-decoration: none;
}

#facts-root .imposter-warning a:hover {
  background: #8f261f;
}

#facts-root .table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 12px 30px rgba(19, 41, 77, 0.06);
}

#facts-root .url-pill {
  max-width: 100%;
  white-space: normal;
}

#facts-root .stats-grid .stat-box {
  border: 1px solid rgba(214, 220, 230, 0.8);
  background: linear-gradient(145deg, #fff, #f5f8fb);
  box-shadow: 0 12px 28px rgba(19, 41, 77, 0.06);
}

#facts-root .cta-banner {
  position: relative;
  overflow: hidden;
  padding: 48px 36px;
  background:
    radial-gradient(circle at 20% 0%, rgba(70, 164, 219, 0.32), transparent 20rem),
    linear-gradient(135deg, #1f3a6e 0%, #13294d 100%);
  box-shadow: 0 24px 60px rgba(19, 41, 77, 0.22);
}

.hero-vote-link {
  display: flex;
  justify-content: center;
  margin: 0 auto 24px;
}

#facts-root .hero-vote-link .btn {
  padding: 13px 26px;
  font-size: 14px;
  text-decoration: none;
}

.signature-demo-viewer {
  min-height: 220px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.signature-demo-viewer img {
  width: 100%;
  max-width: 360px;
  max-height: 125px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.signature-demo-viewer strong {
  color: var(--navy);
  font-size: 13px;
}

.signature-demo-viewer > span,
.signature-demo-empty {
  color: var(--muted);
  font-size: 12px;
}

.signature-demo-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.signature-demo-controls button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 18px;
  padding: 7px 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
}

.signature-demo-controls button:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

#facts-root .modal-panel {
  width: min(560px, calc(100vw - 32px));
  max-width: 560px;
  max-height: min(85vh, 760px);
  max-height: min(85dvh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: 0 30px 90px rgba(19, 41, 77, 0.3);
}

#facts-root footer {
  background:
    radial-gradient(circle at 80% 0%, rgba(70, 164, 219, 0.12), transparent 24rem),
    #13294d;
}

@media (max-width: 860px) {
  #facts-root .nav-inner {
    position: relative;
    height: 64px;
  }

  #facts-root .nav-links {
    top: 64px;
    width: 100%;
    max-width: 100vw;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
    padding: 12px 20px max(28px, env(safe-area-inset-bottom));
  }

  #facts-root .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  #facts-root .burger,
  #facts-root .lang-switch button {
    min-width: 42px;
    min-height: 42px;
  }
}

@media (max-width: 720px) {
  #facts-root section {
    padding: 52px 0;
  }

  #facts-root header.hero {
    padding: 52px 18px 0;
  }

  #facts-root header.hero h1 {
    font-size: clamp(30px, 9vw, 44px);
    letter-spacing: -0.035em;
  }

  #facts-root header.hero .lede {
    font-size: 16px;
    line-height: 1.65;
  }

  #facts-root .hero-badge--logo {
    width: 92px;
    height: 92px;
    border-radius: 20px;
  }

  #facts-root .nav-inner,
  #facts-root .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  #facts-root .card,
  #facts-root .myth-item,
  #facts-root .who-cell,
  #facts-root .p-card {
    padding: 20px;
  }

  #facts-root .cta-banner {
    padding: 34px 20px;
  }

  #facts-root .section-head {
    margin-bottom: 32px;
  }

  #facts-root .imposter-warning {
    padding: 19px 18px;
    border-left-width: 6px;
  }

  #facts-root .imposter-warning a {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
  }

  #facts-root .modal-overlay {
    align-items: flex-end;
    padding: 12px;
  }

  #facts-root .modal-panel {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 24px 20px max(20px, env(safe-area-inset-bottom));
    border-radius: 18px;
  }

  #facts-root .signature-demo-viewer {
    min-height: 190px;
    padding: 12px;
  }

  #facts-root .signature-demo-controls button,
  #facts-root .generate-btn,
  #facts-root .see-example-btn {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  #facts-root .notice-bar {
    padding: 8px 12px;
    font-size: 11.5px;
    line-height: 1.45;
  }

  #facts-root .nav-inner,
  #facts-root .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  #facts-root .nav-inner {
    gap: 8px;
  }

  #facts-root .brand {
    gap: 7px;
    min-width: 0;
    font-size: 14px;
  }

  #facts-root .brand .badge--logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  #facts-root .nav-right {
    gap: 7px;
  }

  #facts-root .lang-switch button {
    min-width: 38px;
    padding: 5px 8px;
  }

  #facts-root .burger {
    min-width: 38px;
    padding: 5px;
  }

  #facts-root header.hero {
    padding: 42px 14px 0;
  }

  #facts-root header.hero h1 {
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1.12;
  }

  #facts-root .eyebrow {
    max-width: 100%;
    padding: 6px 12px;
    white-space: normal;
  }

  #facts-root .status-strip {
    padding: 12px 14px;
  }

  #facts-root section {
    padding: 44px 0;
  }

  #facts-root .section-head h2 {
    font-size: clamp(25px, 8vw, 32px);
  }

  #facts-root .card,
  #facts-root .myth-item,
  #facts-root .who-cell,
  #facts-root .p-card,
  #facts-root .compare-cell,
  #facts-root .ditem {
    padding: 18px 16px;
  }

  #facts-root .claim-box,
  #facts-root .fact-box,
  #facts-root .callout,
  #facts-root .law-quote,
  #facts-root .hiring-box {
    padding: 16px;
  }

  #facts-root .ditem {
    gap: 12px;
  }

  #facts-root .faq-q,
  #facts-root .faq-a-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  #facts-root .cta-banner {
    padding: 30px 16px;
    border-radius: 15px;
  }

  #facts-root .cta-buttons {
    flex-direction: column;
  }

  #facts-root .cta-buttons .btn,
  #facts-root .hero-vote-link .btn {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  #facts-root footer .fwrap {
    align-items: flex-start;
    flex-direction: column;
  }

  #facts-root footer .flinks {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  #facts-root .modal-overlay {
    padding: 0;
    justify-content: flex-start;
  }

  #facts-root .modal-panel {
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 18px 18px 0 0;
    padding: 22px 16px max(18px, env(safe-area-inset-bottom));
  }

  #facts-root .signature-demo-controls {
    width: 100%;
  }

  #facts-root .signature-demo-controls button {
    flex: 1;
  }

  #facts-root .generate-btn {
    width: 100%;
  }
}
