:root {
  --ink: #10223f;
  --muted: #5d6b7c;
  --blue: #0a4aa2;
  --blue-strong: #06326f;
  --red: #d8233a;
  --line: #dfe6ef;
  --panel: #f7faff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(9, 35, 76, 0.12);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 230, 239, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-strong);
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(10, 74, 162, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #0a4aa2, #10223f);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 13px;
  color: #253952;
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #eef5ff;
  color: var(--blue-strong);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

main {
  overflow: hidden;
}

.section {
  padding: 86px 0;
}

.section.compact {
  padding: 58px 0;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: end;
  padding: 84px 0 42px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 24, 54, 0.84), rgba(6, 24, 54, 0.52) 50%, rgba(6, 24, 54, 0.14)),
    url("assets/voluntech-network.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 680px);
  gap: 26px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ff6a78;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 780;
}

h2 {
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 760;
}

h3 {
  font-size: 1.22rem;
  font-weight: 750;
}

.lead {
  max-width: 690px;
  margin: 0;
  color: #dce8f8;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.section .lead,
.page-hero .lead {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 740;
  line-height: 1;
  text-decoration: none;
}

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(216, 35, 58, 0.28);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.button.light {
  border-color: var(--line);
  background: var(--white);
  color: var(--blue-strong);
}

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

.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 72px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.hero-strip div {
  padding: 22px;
  background: rgba(10, 27, 59, 0.58);
}

.hero-strip strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.04rem;
}

.hero-strip span {
  color: #d8e6f7;
  font-size: 0.94rem;
}

.intro-grid,
.split-grid,
.feature-grid,
.resource-grid,
.coming-grid {
  display: grid;
  gap: 22px;
}

.intro-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.split-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.resource-grid {
  grid-template-columns: repeat(2, 1fr);
}

.coming-grid {
  grid-template-columns: 1fr 1fr;
}

.card,
.resource-card,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card {
  padding: 28px;
}

.card p,
.resource-card p,
.notice p {
  margin: 12px 0 0;
  color: var(--muted);
}

.card ul,
.resource-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.card li,
.resource-card li {
  margin: 8px 0;
}

.section-tint {
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.kicker {
  display: inline-flex;
  margin-bottom: 14px;
  border: 1px solid rgba(10, 74, 162, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  background: #f1f6ff;
  color: var(--blue-strong);
  font-size: 0.8rem;
  font-weight: 760;
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--blue-strong);
  color: var(--white);
  font-weight: 800;
}

.step p {
  margin: 4px 0 0;
  color: var(--muted);
}

.signal {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(9, 42, 94, 0.95), rgba(13, 74, 152, 0.86)),
    url("assets/voluntech-network.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.signal::before,
.signal::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.signal::before {
  inset: 52px;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.signal::after {
  right: 74px;
  bottom: 74px;
  width: 18px;
  height: 18px;
  background: var(--red);
  box-shadow:
    -180px -120px 0 rgba(255, 255, 255, 0.9),
    -80px -230px 0 rgba(255, 255, 255, 0.78),
    -250px 20px 0 rgba(255, 255, 255, 0.72),
    0 0 0 10px rgba(216, 35, 58, 0.18);
}

.page-hero {
  padding: 78px 0 54px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.notice {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px;
  background: var(--panel);
}

.resource-card {
  padding: 24px;
}

.resource-card a {
  color: var(--blue);
  font-weight: 720;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #243a54;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdd8e5;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}

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

.form-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note.success {
  color: #17643a;
}

.form-note.error {
  color: #a01527;
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.footer a {
  color: var(--blue-strong);
  font-weight: 700;
}

@media (max-width: 820px) {
  .nav {
    width: min(100% - 28px, 1120px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 72px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    border-radius: 8px;
    padding: 12px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    min-height: auto;
    padding: 72px 0 32px;
  }

  .hero-strip,
  .intro-grid,
  .split-grid,
  .feature-grid,
  .resource-grid,
  .coming-grid,
  .notice {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .signal {
    min-height: 300px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-strip div,
  .card,
  .resource-card,
  .contact-form,
  .notice {
    padding: 20px;
  }
}
