:root {
  --navy: #0f2f45;
  --blue: #2f6f8f;
  --teal: #2f9e9b;
  --red: #b94747;
  --soft-red: #f8ecec;
  --cream: #fbf8f3;
  --light: #f5f7f9;
  --text: #20313d;
  --muted: #667784;
  --white: #ffffff;
  --border: #e4e9ed;
  --shadow: 0 18px 45px rgba(15,47,69,.10);
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  margin-bottom: 12px;
}

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

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -.02em;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red), var(--teal));
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 22px;
  box-shadow: 0 10px 24px rgba(185,71,71,.18);
}

.brand span {
  display: block;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0;
  font-size: .72rem;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #455762;
  font-weight: 700;
  font-size: .94rem;
}

.nav-links a:hover { color: var(--red); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(185,71,71,.20);
}

.button-primary:hover { background: #a93d3d; }

.button-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
  box-shadow: 0 10px 24px rgba(15,47,69,.06);
}

.button-dark {
  background: var(--navy);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(47,158,155,.22), transparent 30%),
    radial-gradient(circle at 84% 24%, rgba(185,71,71,.18), transparent 28%),
    linear-gradient(180deg, var(--cream) 0%, var(--white) 88%);
}

.hero-inner {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 58px;
  padding: 72px 0;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.35rem);
  line-height: .96;
  letter-spacing: -.07em;
  margin: 0 0 24px;
  color: var(--navy);
}

.hero p {
  font-size: 1.21rem;
  color: #41525d;
  max-width: 620px;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  max-width: 620px;
}

.trust-pill {
  background: rgba(255,255,255,.78);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  color: #4f626e;
  font-weight: 750;
  font-size: .92rem;
}

.hero-card {
  position: relative;
  background: var(--white);
  border-radius: 34px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(228,233,237,.85);
}

.hero-visual {
  min-height: 468px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(rgba(15,47,69,.05), rgba(15,47,69,.05)),
    url('assets/hero-community.svg') center/cover no-repeat;
  position: relative;
}

.floating-panel {
  position: absolute;
  left: -18px;
  bottom: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  width: 260px;
  box-shadow: 0 18px 40px rgba(15,47,69,.14);
}

.floating-panel strong {
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.floating-panel span { color: var(--muted); font-size: .91rem; }

.section {
  padding: 86px 0;
}

.section-soft {
  background: var(--light);
}

.section-cream {
  background: var(--cream);
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 54px;
  align-items: center;
}

.section h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  margin: 0 0 18px;
}

.lead {
  font-size: 1.13rem;
  color: #52636d;
  margin: 0 0 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 28px rgba(15,47,69,.05);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: var(--soft-red);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.18;
}

.card p { margin: 0; color: var(--muted); }

.feature-image {
  min-height: 390px;
  border-radius: 30px;
  background: url('assets/screening-support.svg') center/cover no-repeat;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.values-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.value-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47,158,155,.14);
  color: var(--teal);
  font-weight: 900;
}

.cta-band {
  background: linear-gradient(135deg, var(--navy), #17465f);
  color: var(--white);
  border-radius: 34px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.cta-band p {
  margin: 0;
  color: rgba(255,255,255,.78);
  max-width: 760px;
}

.page-hero {
  background: linear-gradient(180deg, var(--cream), var(--white));
  padding: 78px 0 60px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.06em;
  margin: 0 0 18px;
  max-width: 930px;
}

.page-hero p {
  color: #52636d;
  font-size: 1.16rem;
  max-width: 780px;
  margin: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
}

.stat strong {
  color: var(--red);
  font-size: 2rem;
  line-height: 1;
  display: block;
  letter-spacing: -.04em;
}

.stat span {
  color: var(--muted);
  font-size: .94rem;
}

.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full { grid-column: 1 / -1; }

label {
  font-weight: 800;
  color: var(--navy);
  font-size: .93rem;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #ccd7df;
  border-radius: 15px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

.helper {
  color: var(--muted);
  font-size: .88rem;
  margin-top: -2px;
}

.form-note {
  background: var(--cream);
  border: 1px solid #eee1cf;
  padding: 18px;
  border-radius: 18px;
  color: #5e5144;
  margin: 22px 0;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #4f626e;
}

.checkbox-row input { width: auto; margin-top: 5px; }

.footer {
  background: #0b2435;
  color: rgba(255,255,255,.78);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, .75fr);
  gap: 34px;
  margin-bottom: 34px;
}

.footer h3, .footer h4 {
  color: var(--white);
  margin: 0 0 12px;
}

.footer p, .footer a {
  color: rgba(255,255,255,.70);
}

.footer a:hover { color: var(--white); }

.footer-links {
  display: grid;
  gap: 8px;
}

.legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px;
  font-size: .88rem;
  color: rgba(255,255,255,.58);
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
  .nav-links { flex-wrap: wrap; gap: 12px; }
  .hero-inner, .split, .two-col { grid-template-columns: 1fr; }
  .trust-row, .card-grid, .stat-row { grid-template-columns: 1fr; }
  .hero-inner { padding: 52px 0; }
  .hero-visual { min-height: 340px; }
  .floating-panel { position: static; margin: -44px 18px 0; width: auto; }
  .cta-band { grid-template-columns: 1fr; padding: 34px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav-links a:not(.button) { display: none; }
  .section { padding: 62px 0; }
  .card, .form-wrap { padding: 22px; }
}