:root {
  --font-heading: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(39px, 7vw, 78px);
}

h2 {
  font-size: clamp(31px, 5vw, 56px);
}

h3,
h4 {
  font-size: clamp(22px, 2.5vw, 30px);
}

p,
li,
a,
button,
summary,
input,
textarea {
  font-size: 16px;
}

.site-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f7f7fc 54%, #ffffff 100%);
}

.section-pad {
  padding: 78px 0;
}

.container-wide {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.container-editorial {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2B2BBC;
}

.logo-mark svg {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1;
  color: #111827;
  letter-spacing: -0.03em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.desktop-nav,
.desktop-phone {
  display: none !important;
}

.mobile-menu-button {
  display: inline-flex !important;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 70px 16px auto 16px;
  z-index: 90;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.14);
  box-shadow: 0 30px 80px rgba(16, 19, 50, 0.18);
}

.mobile-panel.open {
  display: block;
}

.nav-link {
  color: #111827;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link:focus {
  color: #2B2BBC;
  border-color: #ECBA43;
}

.btn-primary,
.btn-dark,
.btn-light {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 0;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn-primary {
  background: #2B2BBC;
  color: #ffffff !important;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.44);
  animation: buttonGlow 2.4s ease-in-out infinite;
}

.btn-primary:hover,
.btn-primary:focus {
  background: #18186F;
  transform: translateY(-2px);
}

.btn-dark {
  background: #111827;
  color: #ffffff !important;
}

.btn-light {
  background: #ffffff;
  color: #111827 !important;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-light:hover,
.btn-dark:hover {
  transform: translateY(-2px);
}

@keyframes buttonGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.05); }
}

.hero-section {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: #101332;
  color: #ffffff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  z-index: -3;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 50% 20%, rgba(93, 93, 222, 0.44), transparent 34%), linear-gradient(90deg, rgba(16, 19, 50, 0.94), rgba(16, 19, 50, 0.72));
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.hero-section h1,
.hero-section p {
  color: #ffffff;
}

.stars {
  color: #ECBA43;
  font-size: 28px;
  letter-spacing: 0.12em;
}

.review-icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.review-icon-row img {
  width: auto;
  height: 48px;
  max-width: 112px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.96);
  padding: 6px 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #18186F;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: #ECBA43;
}

.section-title-line {
  width: 72px;
  height: 3px;
  background: #ECBA43;
  margin-top: 18px;
}

.numbered-section {
  position: relative;
}

.section-number {
  font-family: var(--font-heading);
  color: rgba(43, 43, 188, 0.12);
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.8;
  position: absolute;
  top: 22px;
  right: max(16px, calc((100vw - 1180px) / 2));
  pointer-events: none;
}

.editorial-card {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  box-shadow: 0 28px 70px rgba(16, 19, 50, 0.07);
  border-radius: 0;
}

.gold-rule {
  width: 58px;
  height: 2px;
  background: #ECBA43;
  display: block;
  margin: 16px 0 18px;
}

.icon-tile {
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #ffffff;
  padding: 24px;
  min-height: 180px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.icon-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(43, 43, 188, 0.35);
  box-shadow: 0 22px 50px rgba(16, 19, 50, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: #2B2BBC;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.two-col-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.two-col-info .image-col img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.dark-band {
  background: #101332;
  color: #ffffff;
}

.dark-band h2,
.dark-band h3,
.dark-band p,
.dark-band li {
  color: #ffffff;
}

.dark-band .eyebrow {
  color: #ffffff;
}

.dark-band .editorial-card {
  background: #ffffff;
  color: #374151;
}

.dark-band .editorial-card h3,
.dark-band .editorial-card p,
.dark-band .editorial-card li {
  color: #111827;
}

.check-list li,
.disc-list li {
  margin-bottom: 9px;
}

.check-list li::marker {
  color: #2B2BBC;
}

.step-card {
  border-left: 3px solid #ECBA43;
  padding: 18px 20px;
  background: #ffffff;
}

.review-window {
  overflow: hidden;
}

.review-track {
  display: flex;
  transition: transform 360ms ease;
}

.review-card {
  flex: 0 0 100%;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.12);
  min-height: 252px;
}

.faq-item {
  border-top: 1px solid rgba(17, 24, 39, 0.14);
  padding: 20px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
  color: #111827;
  list-style: none;
}

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

.cta-band {
  background: linear-gradient(135deg, #2B2BBC 0%, #101332 100%);
  color: #ffffff;
}

.cta-band h2,
.cta-band p {
  color: #ffffff;
}

.mobile-sticky-call {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: none !important;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(16, 19, 50, 0.96);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.mobile-sticky-call.visible {
  display: block !important;
  transform: translateY(0);
  opacity: 1;
}

.mobile-sticky-call a {
  width: 100%;
  color: #ffffff !important;
}

.reveal-line {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background: #080A1D;
  color: #d8dcff;
  font-size: 14px;
}

.site-footer a,
.site-footer p,
.site-footer li {
  color: #d8dcff;
  font-size: 14px;
}

.site-footer h3,
.site-footer .logo-text {
  color: #ffffff;
}

@media (min-width: 640px) {
  .review-card {
    flex-basis: calc(50% - 10px);
    margin-right: 20px;
  }
}

@media (min-width: 768px) {
  .desktop-nav,
  .desktop-phone {
    display: flex !important;
  }

  .mobile-menu-button,
  .mobile-panel,
  .mobile-sticky-call,
  .mobile-sticky-call.visible {
    display: none !important;
  }

  .two-col-info {
    grid-template-columns: minmax(0, 7fr) minmax(240px, 3fr);
  }

  .two-col-info.reverse {
    grid-template-columns: minmax(240px, 3fr) minmax(0, 7fr);
  }

  .two-col-info.reverse .image-col {
    order: -1;
  }

  .review-card {
    flex-basis: calc(33.333% - 14px);
    margin-right: 21px;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 39px; }
  h2 { font-size: 31px; }
  .hero-section { min-height: 720px; padding: 104px 0 72px; }
  .section-pad { padding: 58px 0; }
  .btn-primary, .btn-dark, .btn-light { width: 100%; padding-left: 14px; padding-right: 14px; }
  .review-icon-row { gap: 8px; }
  .review-icon-row img { height: 42px; max-width: 92px; }
}
