:root {
  --navy: #222e50;
  --navy-2: #16213f;
  --red: #ec0d00;
  --blue: #2457c5;
  --ink: #172033;
  --muted: #647084;
  --line: #e7ebf3;
  --paper: #ffffff;
  --soft: #f6f8fc;
  --mint: #dff6ec;
  --shadow: 0 20px 55px rgba(25, 39, 76, 0.12);
  --small-shadow: 0 10px 30px rgba(25, 39, 76, 0.1);
  font-family: "Red Hat Display", ui-sans-serif, system-ui, sans-serif;
}

button,input,select,textarea{font-family:"Red Hat Display",sans-serif}.page-hero{min-height:520px;padding:clamp(70px,8vw,118px) clamp(18px,5vw,72px);display:grid;grid-template-columns:1.1fr .7fr;gap:clamp(40px,7vw,90px);align-items:center;background:linear-gradient(135deg,#fff,#f5f8fd)}.page-hero h1{margin:0 0 24px;color:var(--navy-2);font-size:clamp(2.7rem,5.5vw,5.3rem);line-height:1.02}.page-hero>div>p:not(.eyebrow){font-size:1.18rem;color:var(--muted)}.page-hero aside{padding:30px;background:var(--navy);color:#fff;border-radius:8px;box-shadow:var(--shadow);display:grid}.page-hero aside b{padding:16px 0;border-bottom:1px solid #ffffff24}.page-split{display:grid;grid-template-columns:.8fr 1fr;gap:70px}.page-split>div:last-child{font-size:1.08rem;color:var(--muted)}.page-grid{margin-top:26px}.service-search{width:100%;padding:17px;border:1px solid var(--line);border-radius:6px;font-size:1rem}.service-card b{display:block;margin-top:22px;color:var(--red)}.article-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.page-cta{background:var(--navy);color:#fff;align-items:center}.page-cta h2{color:#fff}.page-cta p:not(.eyebrow){color:#cbd4e5}.update-list article{display:grid;grid-template-columns:180px 1fr;gap:35px;padding:28px 0;border-top:1px solid var(--line)}.update-list time{color:var(--red);font-weight:850}.update-list h2{font-size:1.55rem}.contact-page{display:grid;grid-template-columns:1fr 340px;gap:40px;align-items:start}.contact-details{padding:30px;background:var(--soft)}.reveal{opacity:0;transform:translateY(16px);transition:.55s ease}.reveal.visible{opacity:1;transform:none}@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}@media(max-width:1080px){.page-hero,.page-split,.contact-page{grid-template-columns:1fr}}@media(max-width:820px){.article-grid{grid-template-columns:1fr}.update-list article{grid-template-columns:1fr;gap:5px}.page-hero{min-height:auto}}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.sr-only, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 99;
  padding: 10px 14px;
  background: var(--navy);
  color: white;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 235, 243, 0.8);
}
.brand img { width: min(260px, 48vw); }
.primary-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}
.primary-nav a:hover { color: var(--red); }
.header-cta {
  border: 1px solid var(--line);
  box-shadow: var(--small-shadow);
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 750;
}
.nav-toggle { display: none; }

.section {
  padding: clamp(74px, 9vw, 128px) clamp(18px, 5vw, 72px);
}
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  background:
    radial-gradient(circle at 88% 18%, rgba(36, 87, 197, 0.13), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8faff 55%, #fff 100%);
}
.hero h1, .section-heading h2, .cta-section h2 {
  margin: 0;
  color: var(--navy-2);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: 0;
}
.hero h1 { font-size: clamp(2.55rem, 6vw, 5.9rem); max-width: 1050px; }
.hero-description {
  margin: 26px 0 0;
  max-width: 760px;
  color: #42506a;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--red);
  color: white;
  box-shadow: 0 14px 34px rgba(236, 13, 0, 0.24);
}
.button.secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: var(--small-shadow);
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 42px;
}
.trust-row div, .feature-card, .service-card, .knowledge-card, .update-card, .calculator-shell, .lead-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--small-shadow);
}
.trust-row div { padding: 17px; }
.trust-row strong {
  display: block;
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
}
.trust-row span { color: var(--muted); font-size: 0.9rem; }

.hero-panel {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 8px;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 42px solid rgba(236, 13, 0, 0.14);
}
.panel-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.panel-top img { width: 54px; filter: drop-shadow(0 12px 20px rgba(0,0,0,0.22)); }
.panel-top strong { display: block; font-size: 1.1rem; }
.panel-top span { color: #c6d0e6; }
.timeline { display: grid; gap: 16px; margin-top: 28px; }
.timeline div {
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.timeline span {
  display: inline-flex;
  margin-bottom: 9px;
  color: #ffaaa4;
  font-weight: 850;
  font-size: 0.78rem;
}
.timeline strong { display: block; }

.logo-band {
  padding: 28px clamp(18px, 5vw, 72px);
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 26px;
  overflow: hidden;
}
.logo-band p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
  white-space: nowrap;
}
.logo-strip {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.logo-strip span {
  min-width: 112px;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--navy);
  font-weight: 850;
  box-shadow: inset 0 0 0 1px var(--line);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 38px;
}
.section-heading.compact { margin: 0; }
.section-heading h2, .cta-section h2 { font-size: clamp(2rem, 4.2vw, 4rem); }
.section-heading p:not(.eyebrow), .cta-section p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 770px;
}
.tinted { background: var(--soft); }
.feature-grid, .service-grid, .knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-card, .service-card, .knowledge-card, .update-card { padding: 24px; }
.feature-card h3, .service-card h3, .knowledge-card h3, .update-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  line-height: 1.18;
}
.feature-card p, .service-card p, .knowledge-card p, .update-card p {
  margin: 0;
  color: var(--muted);
}
.feature-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--blue));
}
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.service-card li {
  display: flex;
  gap: 10px;
  color: #40506a;
}
.service-card li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--red);
}

.calculator-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.calculator-tabs button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  background: white;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}
.calculator-tabs button[aria-selected="true"] {
  background: var(--navy);
  color: white;
}
.calculator-shell {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 28px;
  padding: 28px;
}
.calculator-form {
  display: grid;
  gap: 16px;
}
label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: white;
}
textarea { resize: vertical; }
.result-box {
  min-height: 100%;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--navy), #304577);
  color: white;
  padding: 24px;
}
.result-box span { color: #b9c5df; }
.result-box strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}
.split-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 44px;
  align-items: start;
}
.knowledge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--mint);
  color: #126345;
  font-size: 0.75rem;
  font-weight: 850;
}
.updates-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.update-card time {
  display: inline-flex;
  color: var(--red);
  font-weight: 850;
  margin-bottom: 14px;
}
.cta-section {
  display: grid;
  grid-template-columns: 0.9fr 0.82fr;
  gap: 48px;
  align-items: start;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
}
.lead-form {
  padding: 28px;
  display: grid;
  gap: 16px;
}
.faq-section {
  padding-top: 0;
}
.faq-section details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.faq-section summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 850;
  font-size: 1.08rem;
}
.faq-section p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 850px;
}
.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.8fr;
  gap: 36px;
  padding: 54px clamp(18px, 5vw, 72px);
  background: var(--navy-2);
  color: white;
}
.site-footer img { width: min(270px, 72vw); margin-bottom: 18px; }
.site-footer p, .site-footer span, .site-footer a { color: #c9d2e6; }
.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}
.site-footer a, .site-footer span {
  display: block;
  margin: 8px 0;
}

@media (max-width: 1080px) {
  .hero, .split-section, .cta-section { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-cta { display: none; }
  .nav-toggle {
    display: inline-grid;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    place-content: center;
    background: white;
  }
  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
  }
  .primary-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    padding: 18px 0 6px;
    flex-direction: column;
    align-items: flex-start;
  }
  .primary-nav.is-open { display: flex; }
  .hero { min-height: auto; padding-top: 54px; }
  .trust-row, .service-grid, .knowledge-grid, .updates-list, .calculator-shell, .site-footer {
    grid-template-columns: 1fr;
  }
  .logo-band { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.35rem; }
  .section { padding-block: 58px; }
  .hero-actions .button { width: 100%; }
  .calculator-shell, .lead-form, .feature-card, .service-card, .knowledge-card, .update-card { padding: 20px; }
}
