:root {
  --blue: #0D6EFD;
  --green: #16A34A;
  --text: #1F2937;
  --bg: #F8FAFC;
  --yellow: #F59E0B;
  --white: #FFFFFF;
  --line: #E5E7EB;
  --muted: #64748B;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Montserrat, Inter, sans-serif;
  line-height: 1.12;
  letter-spacing: 0;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.1rem, 4.8vw, 4.6rem); max-width: 980px; }
h2 { font-size: clamp(1.8rem, 3vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; }
a { color: var(--blue); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--blue);
  color: var(--white);
  padding: 10px 14px;
  z-index: 50;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
}
.nav-links .nav-cta {
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  padding: 10px 14px;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  position: relative;
  overflow: hidden;
  background: #EFF6FF;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(248,250,252,.98) 0%, rgba(248,250,252,.86) 42%, rgba(248,250,252,.18) 78%);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 104px 0 86px;
}
.lead {
  max-width: 720px;
  font-size: 1.18rem;
  color: #334155;
}
.eyebrow {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.conversion-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.conversion-row span {
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #0F3F91;
  font-weight: 800;
  padding: 9px 12px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button.primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(13,110,253,.18);
}
.button.secondary {
  background: #EAF7EF;
  color: #0B7A34;
}
.button.full { width: 100%; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 170px));
  gap: 12px;
  margin: 28px 0 0;
}
.hero-stats div {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.hero-stats dt {
  font-family: Montserrat, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green);
}
.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .92rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}
.section-heading {
  max-width: 800px;
  margin-bottom: 28px;
}
.section-heading p { color: #475569; }
.calculator-section { padding-top: 92px; }
.lead-magnets {
  padding-top: 72px;
}
.magnet-grid,
.service-grid,
.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.magnet-card,
.service-card,
.hub-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.magnet-card {
  border-top: 5px solid var(--blue);
}
.magnet-card span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #EFF6FF;
  color: var(--blue);
  font-weight: 900;
  margin-bottom: 14px;
}
.magnet-card a {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 900;
  text-decoration: none;
}
.hub-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border-top: 5px solid var(--blue);
}
.hub-card a {
  font-weight: 900;
  text-decoration: none;
}
.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-card {
  display: grid;
  align-content: start;
  gap: 12px;
}
.service-card.featured {
  border-color: rgba(13,110,253,.45);
  box-shadow: 0 18px 42px rgba(13,110,253,.11);
}
.service-card ul {
  margin: 0;
  padding-left: 20px;
  color: #475569;
}
.badge {
  display: inline-flex;
  width: max-content;
  margin: 0;
  border-radius: 8px;
  background: #EFF6FF;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 900;
  padding: 6px 9px;
  text-transform: uppercase;
}
.badge.green {
  background: #EAF7EF;
  color: #0B7A34;
}
.badge.yellow {
  background: #FFF7E6;
  color: #A15C00;
}
.proof-grid,
.intent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.proof-card,
.intent-grid a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.proof-card.strong {
  border-color: rgba(22,163,74,.45);
  background: #F0FDF4;
}
.proof-card span {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 12px;
}
.intent-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.intent-grid a {
  display: grid;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}
.intent-grid a:hover {
  border-color: var(--blue);
}
.intent-grid strong {
  font-family: Montserrat, sans-serif;
  color: var(--blue);
}
.intent-grid span {
  color: #475569;
}
.calculator-grid,
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 28px;
  align-items: start;
}
.tool-panel,
.result-panel,
.lead-form,
.highlight-box,
.source-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.tool-panel,
.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
label {
  display: grid;
  gap: 7px;
  font-weight: 700;
}
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}
textarea { resize: vertical; }
.tool-panel .full,
.lead-form .full,
.lead-form textarea,
.lead-form .consent { grid-column: 1 / -1; }
.honeypot {
  position: absolute;
  left: -100vw;
}
.result-panel {
  border-top: 5px solid var(--green);
}
.result-number {
  font-family: Montserrat, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
  font-weight: 800;
  color: var(--green);
  margin: 12px 0;
}
.result-list {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.result-list span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.compact-table-wrap table {
  min-width: 0;
}
.compact-trend-table {
  table-layout: fixed;
}
.compact-trend-table th,
.compact-trend-table td {
  padding: 10px 12px;
  font-size: .92rem;
  line-height: 1.35;
}
.compact-trend-table th:nth-child(1),
.compact-trend-table td:nth-child(1) {
  width: 18%;
}
.compact-trend-table th:nth-child(2),
.compact-trend-table td:nth-child(2),
.compact-trend-table th:nth-child(3),
.compact-trend-table td:nth-child(3) {
  width: 22%;
}
.compact-trend-table th:nth-child(4),
.compact-trend-table td:nth-child(4) {
  width: 38%;
}
caption {
  text-align: left;
  padding: 16px 18px;
  font-weight: 800;
  color: var(--blue);
}
th, td {
  padding: 15px 18px;
  text-align: left;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: #EFF6FF;
  color: #0F3F91;
}
.steps {
  display: grid;
  gap: 14px;
  padding-left: 22px;
}
.highlight-box {
  border-left: 5px solid var(--yellow);
}
.intro-split {
  margin-top: 28px;
  margin-bottom: 28px;
}
.source-note {
  margin-top: 18px;
  color: #64748B;
  font-size: .94rem;
}
.trend-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 28px;
}
.price-chart {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.price-chart figcaption {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.chart-bars {
  height: 270px;
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 1fr));
  gap: 12px;
  align-items: end;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 10px 0;
}
.chart-bar {
  min-height: 48px;
  height: var(--bar);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #DBEAFE;
  border: 1px solid #BFDBFE;
  border-radius: 8px 8px 0 0;
  color: #0F3F91;
  padding: 10px 4px 8px;
  font-weight: 900;
}
.chart-bar.highlight {
  background: #DCFCE7;
  border-color: #86EFAC;
  color: #0B7A34;
}
.chart-bar strong {
  font-size: .8rem;
  text-align: center;
}
.price-chart p {
  color: #64748B;
  font-size: .92rem;
  margin: 14px 0 0;
}
.cards.three,
.answer-grid,
.topic-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.info-card,
.answer-grid p,
.topic-links a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.topic-links a {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.topic-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.city-grid a {
  display: flex;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  padding: 12px 14px;
}
.city-grid a:hover {
  border-color: var(--green);
  color: #0B7A34;
}
.offer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
  gap: 28px;
  align-items: center;
  background: #0F3F91;
  color: var(--white);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
}
.offer-panel .eyebrow,
.offer-panel p {
  color: #DDEBFF;
}
.deliverables {
  display: grid;
  gap: 12px;
}
.deliverables span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 13px 14px;
  font-weight: 800;
}
.quick-answers {
  background: transparent;
}
.reviews-shell {
  display: grid;
  gap: 18px;
}
.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow: hidden;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 12px;
  animation: reviewPulse 9s ease-in-out infinite;
}
.review-card:nth-child(2) { animation-delay: 1.5s; }
.review-card:nth-child(3) { animation-delay: 3s; }
.stars {
  color: var(--yellow);
  letter-spacing: .08em;
  font-size: 1.1rem;
}
.review-card p {
  color: #334155;
  margin: 0;
}
.review-card span {
  color: var(--muted);
  font-weight: 700;
}
@keyframes reviewPulse {
  0%, 100% { transform: translateY(0); box-shadow: none; }
  50% { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15, 23, 42, .08); }
}
.lead-section {
  width: 100%;
  max-width: none;
  background: #EFF6FF;
  padding-left: max(20px, calc((100% - 1180px)/2));
  padding-right: max(20px, calc((100% - 1180px)/2));
}
.lead-form {
  max-width: 980px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
}
.faq p { margin-top: 12px; color: #475569; }
.eeat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  gap: 28px;
}
.source-box {
  border-top: 5px solid var(--blue);
}
.policy-page {
  max-width: 980px;
}
.policy-content {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}
.policy-content section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.policy-content h2 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}
.policy-content p:last-child {
  margin-bottom: 0;
}
.article-page {
  max-width: 980px;
}
.summary-box {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 22px;
  margin: 24px 0;
}
.summary-box ul {
  margin: 0;
  padding-left: 20px;
}
.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 26px;
}
.keyword-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 9px 12px;
  font-weight: 800;
}
.related-block {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}
.related-block h2 {
  grid-column: 1 / -1;
}
.related-block a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.related-block a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.service-hero {
  background: #EFF6FF;
  padding: 86px max(20px, calc((100% - 1180px)/2)) 58px;
}
.service-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .55fr);
  gap: 34px;
  align-items: center;
}
.service-hero h1 {
  font-size: clamp(2rem, 4vw, 4rem);
}
.service-summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}
.service-summary strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 2.2rem;
  color: var(--green);
}
.service-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .45fr);
  gap: 28px;
  align-items: start;
}
.service-aside {
  position: sticky;
  top: 90px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  padding: 22px;
}
.footer {
  padding: 54px max(20px, calc((100% - 1180px)/2)) 26px;
  background: #111827;
  color: var(--white);
}
.footer p { color: #CBD5E1; margin: 6px 0 0; }
.footer a { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
}
.footer-grid h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--white);
}
.footer-grid a {
  display: block;
  color: #CBD5E1;
  text-decoration: none;
  margin: 0 0 10px;
}
.footer-grid a:hover {
  color: var(--white);
}
.footer-company strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  margin-top: 32px;
  padding-top: 20px;
  color: #94A3B8;
  font-size: .9rem;
}
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(680px, calc(100% - 28px));
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
  padding: 10px 12px 10px 18px;
}
.sticky-cta span {
  flex: 1;
  font-weight: 900;
}
.sticky-cta .button {
  min-height: 42px;
  padding: 10px 16px;
}

@media (max-width: 900px) {
  .nav { align-items: flex-start; }
  .nav-links { display: none; }
  .hero { min-height: auto; }
  .hero::after { background: rgba(248,250,252,.88); }
  .hero-copy { padding: 84px 0 54px; }
  .hero-stats,
  .calculator-grid,
  .split,
  .cards.three,
  .answer-grid,
  .topic-links,
  .magnet-grid,
  .service-grid,
  .hub-grid,
  .proof-grid,
  .intent-grid,
  .city-grid,
  .offer-panel,
  .trend-layout,
  .service-hero-inner,
  .service-page-grid,
  .reviews-track,
  .trust-section,
  .tool-panel,
  .lead-form {
    grid-template-columns: 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .section,
  .hero-copy { width: min(100% - 28px, 1180px); }
  .button { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .conversion-row { display: grid; }
  .tool-panel,
  .result-panel,
  .lead-form,
  .highlight-box,
  .source-box { padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .related-block { grid-template-columns: 1fr; }
  .sticky-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
  }
}
