:root {
  color-scheme: light;
  --navy: #071827;
  --ink: #101923;
  --muted: #626d7a;
  --red: #e21b2d;
  --green: #149a48;
  --blue: #0b63ce;
  --paper: #f4f7fb;
  --line: rgba(7, 24, 39, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 24, 39, 0.14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 6%, rgba(226, 27, 45, 0.12), transparent 22rem),
    radial-gradient(circle at 8% 22%, rgba(11, 99, 206, 0.08), transparent 24rem),
    linear-gradient(180deg, #f8fbff 0, #ffffff 46rem, var(--paper) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.02; letter-spacing: 0; }

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 5.7vw, 6rem);
  font-weight: 860;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.05rem, 3.8vw, 3.9rem);
  font-weight: 820;
}

h3 { margin-bottom: 10px; font-size: 1.08rem; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  color: #ffffff;
  background: #111827;
  border-radius: 10px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

.site-header,
main,
.site-footer {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 76px;
  padding: 12px 0;
  background: rgba(248, 251, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  isolation: isolate;
}

.site-header::before {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: inherit;
  border-bottom: 1px solid var(--line);
  content: "";
}

.brand,
.site-nav,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--white);
  background: var(--red);
  box-shadow: inset -10px 0 0 rgba(7, 24, 39, 0.16);
}

.site-nav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.site-nav a,
.footer-links a,
.footer-brand,
.text-link { text-decoration: none; }

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--red);
  background: #ffffff;
  border-color: var(--line);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta { padding: 10px 18px; color: var(--white); background: var(--red); }
.button { padding: 13px 22px; }
.button.primary { color: var(--white); background: var(--red); box-shadow: 0 14px 28px rgba(226, 27, 45, 0.22); }
.button.secondary { color: var(--navy); background: var(--white); border: 1px solid var(--line); }

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--navy);
  font-weight: 900;
}

.text-link::after { margin-left: 8px; content: "->"; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 4.8vw, 64px);
  align-items: center;
  min-height: clamp(590px, calc(100vh - 76px), 720px);
  padding: clamp(48px, 6vw, 78px) 0 clamp(48px, 6vw, 70px);
}

.hero-copy { max-width: 820px; }
.hero h1 { font-size: clamp(3rem, 5vw, 5.3rem); }
.hero-text { max-width: 700px; color: var(--muted); font-size: clamp(1.08rem, 1.45vw, 1.24rem); }
.hero-actions { flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-art {
  position: relative;
  min-width: 0;
}

.hero-art::before {
  position: absolute;
  inset: 9% -4% -6% 8%;
  z-index: -1;
  border-radius: 42% 58% 46% 54%;
  background: rgba(226, 27, 45, 0.1);
  content: "";
}

.hero-art img {
  width: 100%;
  max-height: min(54vh, 520px);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.intro-panel,
.story-band,
.panel-card,
.trust-band,
.final-cta,
.resource-band {
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 56px rgba(7, 24, 39, 0.1);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  color: #ffffff;
  background: var(--navy);
}

.intro-panel .eyebrow,
.intro-panel h2,
.intro-panel p { color: #ffffff; }

.section { padding: clamp(64px, 8vw, 104px) 0; }
.section-heading { max-width: 880px; margin-bottom: 34px; }

.section-heading p,
.feature-grid p,
.story-band p,
.panel-card p,
.stacked-cards p,
.trust-band p,
.final-cta p,
.resource-card p,
.resource-card li,
.resource-band p,
.site-footer p { color: var(--muted); }

.feature-grid,
.two-column,
.resource-section {
  display: grid;
  gap: 18px;
}

.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resource-section { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 0 clamp(64px, 8vw, 96px); }
.resource-section-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-grid article,
.panel-card,
.stacked-cards article,
.resource-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(7, 24, 39, 0.08);
}

.feature-grid article { min-height: 250px; padding: 26px; }
.feature-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 12px;
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
}

.story-band {
  padding: clamp(34px, 7vw, 76px);
  color: #ffffff;
  background:
    radial-gradient(circle at 84% 22%, rgba(226, 27, 45, 0.26), transparent 18rem),
    var(--navy);
}

.story-band h2,
.story-band p,
.story-band .eyebrow { color: #ffffff; }
.story-band h2, .story-band p { max-width: 920px; }

.panel-card {
  min-height: 370px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 4vw, 42px);
}

.panel-card.accent { background: linear-gradient(135deg, #ffffff, #fff2f3); }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr);
  gap: 42px;
  align-items: start;
}

.sticky-copy { position: sticky; top: 112px; margin-bottom: 0; }
.stacked-cards { display: grid; gap: 18px; }
.stacked-cards article, .resource-card { padding: 28px; }

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--red);
  background: #fff1f2;
  font-size: 0.78rem;
  font-weight: 900;
}

.trust-band,
.resource-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 42px);
  background: #ffffff;
}

.trust-band > div,
.resource-band > div { max-width: 860px; }

.final-cta {
  margin: 24px 0 84px;
  padding: clamp(38px, 7vw, 76px) clamp(22px, 5vw, 54px);
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 24%, rgba(226, 27, 45, 0.26), transparent 18rem),
    var(--navy);
}

.final-cta h2,
.final-cta p,
.final-cta .eyebrow { color: #ffffff; }
.final-cta h2, .final-cta p { max-width: 820px; margin-right: auto; margin-left: auto; }
.center-actions { justify-content: center; }

.page-hero { max-width: 980px; padding: clamp(66px, 8vw, 104px) 0 clamp(42px, 6vw, 66px); }
.page-hero > p:not(.eyebrow) { max-width: 800px; color: var(--muted); font-size: 1.16rem; }
.resource-card ul { display: grid; gap: 10px; margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.resource-band { margin: 0 0 84px; }

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 46px;
  border-top: 1px solid var(--line);
}

.footer-brand { display: inline-flex; margin-bottom: 8px; color: var(--navy); font-size: 1.18rem; font-weight: 900; }
.site-footer p { max-width: 560px; margin-bottom: 0; }
.footer-links { flex-wrap: wrap; justify-content: flex-end; gap: 12px 16px; color: var(--navy); font-weight: 760; text-align: right; }
.footer-links a:hover, .footer-brand:hover, .text-link:hover { color: var(--red); }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto auto; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; }
  .nav-cta { justify-self: end; }
  .hero, .intro-panel, .split-section, .trust-band, .resource-band { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .sticky-copy { position: static; }
}

@media (max-width: 820px) {
  .site-header, main, .site-footer { width: min(100% - 24px, 1220px); }
  h1 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
  .feature-grid, .two-column, .resource-section, .resource-section-wide { grid-template-columns: 1fr; }
  .panel-card, .feature-grid article, .resource-card { min-height: auto; }
  .site-footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; max-width: none; text-align: left; }
}

@media (max-width: 560px) {
  .site-header, main, .site-footer {
    width: calc(100vw - 24px);
    max-width: 366px;
    margin-right: 0;
    margin-left: 12px;
  }

  .site-header { grid-template-columns: 1fr; gap: 12px; }
  .site-header::before { inset: 0; }
  .nav-cta, .hero-actions .button, .trust-band .button, .resource-band .button { width: 100%; }
  .nav-cta { justify-self: stretch; }
  .site-nav { width: 100%; max-width: 100%; gap: 8px; overflow-x: visible; white-space: normal; }
  .site-nav a { min-height: 36px; padding: 6px 9px; }
  h1, .hero h1 { font-size: clamp(2.35rem, 10.4vw, 3.2rem); line-height: 1.06; }
  .hero-text, .page-hero > p:not(.eyebrow) { font-size: 1rem; }
  .hero { display: block; padding: 44px 0; }
  .hero-art img { margin-top: 34px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
