:root {
  --ink-950: #0e1a26;
  --ink-800: #1f3347;
  --ink-700: #304a63;
  --sky-500: #2f8cff;
  --teal-500: #17b8a6;
  --sand-100: #f7f6f1;
  --white: #ffffff;
  --muted: #6c7a88;
  --line: #dce4eb;
  --hero-gradient: radial-gradient(circle at 20% 15%, rgba(47, 140, 255, 0.27), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(23, 184, 166, 0.24), transparent 32%),
    linear-gradient(150deg, #07111b 0%, #102338 55%, #173a55 100%);
  --shadow: 0 20px 40px rgba(9, 23, 37, 0.14);
  --radius-md: 14px;
  --radius-lg: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink-950);
  background: linear-gradient(180deg, #f8fafc 0%, #edf3f7 100%);
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.95rem;
  color: var(--ink-700);
}

.main-nav a {
  padding: 0.4rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink-950);
  border-color: var(--sky-500);
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(120deg, var(--sky-500), #5fbcff);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(47, 140, 255, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--ink-950);
  border: 1px solid var(--line);
}

.mobile-toggle {
  display: none;
}

.hero {
  color: var(--white);
  background: var(--hero-gradient);
  overflow: hidden;
}

.hero .container {
  padding-block: 5.3rem 4.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9cd5ff;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.hero p {
  max-width: 62ch;
  color: #d7e9fa;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-panel {
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
}

.metric {
  margin-bottom: 1rem;
}

.metric-value {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.metric-label {
  color: #cee4f6;
  font-size: 0.9rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--sand-100);
  border-block: 1px solid #ece8de;
}

.lead {
  color: var(--muted);
  max-width: 68ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: 0 8px 20px rgba(20, 35, 53, 0.05);
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.45rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.resource-card-link {
  display: block;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.resource-card-link:hover {
  transform: translateY(-3px);
  border-color: #b9c8d8;
  box-shadow: 0 16px 30px rgba(20, 35, 53, 0.1);
}

.resource-card-link:focus-visible {
  outline: 2px solid var(--sky-500);
  outline-offset: 2px;
}

.resource-meta {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-700);
}

.resource-detail {
  margin-top: 0.6rem !important;
  font-size: 0.9rem;
}

.resource-cta {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--ink-800);
}

.pill-list {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  border-radius: 999px;
  background: rgba(47, 140, 255, 0.1);
  color: var(--ink-800);
  padding: 0.36rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.page-intro {
  padding: 3.2rem 0 2rem;
}

.page-intro p {
  color: var(--muted);
  max-width: 70ch;
}

.cta-band {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: linear-gradient(135deg, #0f2a42, #214f73);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-shell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field label {
  font-weight: 700;
  font-size: 0.86rem;
}

.field input,
.field textarea,
.field select {
  border: 1px solid #c7d2dd;
  border-radius: 11px;
  font: inherit;
  padding: 0.72rem 0.78rem;
  color: var(--ink-950);
  background: #fcfdff;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.status {
  margin-top: 0.8rem;
  font-size: 0.93rem;
  min-height: 1.2rem;
}

.status.error {
  color: #b52424;
}

.status.success {
  color: #0f7a41;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  background: #f2f6fa;
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .logo-mark {
    width: 50px;
    height: 50px;
  }

  .hero-grid,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: fixed;
    right: 1rem;
    top: 76px;
    width: min(320px, calc(100% - 2rem));
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
}

@media (max-width: 600px) {
  .hero .container {
    padding-block: 4.2rem 3.8rem;
  }

  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }
}
