:root {
  --navy: #07172f;
  --navy-2: #0d2448;
  --blue: #2f8fd5;
  --sky: #9dd6ff;
  --ice: #f4fbff;
  --white: #ffffff;
  --black: #05070b;
  --muted: #5c6b7d;
  --line: rgba(13, 36, 72, 0.13);
  --shadow: 0 24px 80px rgba(7, 23, 47, 0.18);
  --radius: 8px;
}

* {
  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(--navy);
  background: var(--white);
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.76), rgba(5, 7, 11, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand-text {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 650;
}

.nav a {
  opacity: 0.82;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 132px clamp(18px, 5vw, 72px) 30px;
}

.hero-video,
.hero-fallback,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: saturate(0.72) contrast(1.08);
}

.hero-fallback {
  z-index: -4;
  background:
    linear-gradient(120deg, rgba(7, 23, 47, 0.88), rgba(7, 23, 47, 0.48)),
    url("https://images.pexels.com/photos/4107120/pexels-photo-4107120.jpeg?auto=compress&cs=tinysrgb&w=1800")
      center/cover;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.76), rgba(7, 23, 47, 0.43) 50%, rgba(5, 7, 11, 0.28)),
    linear-gradient(0deg, rgba(5, 7, 11, 0.88), rgba(5, 7, 11, 0.08) 54%, rgba(5, 7, 11, 0.48));
}

.hero-content {
  width: min(920px, 100%);
  padding-bottom: clamp(34px, 6vw, 92px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7.4rem);
  line-height: 0.91;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 700px;
  margin-bottom: 14px;
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-weight: 760;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.hero-actions,
.dashboard-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.dash-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 0.92rem;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.dash-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border: 1px solid var(--sky);
  color: var(--navy);
  background: var(--sky);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button-ghost {
  border: 1px solid rgba(157, 214, 255, 0.34);
  color: var(--white);
  background: rgba(7, 23, 47, 0.34);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(900px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.hero-metrics article {
  min-height: 94px;
  padding: 18px;
  background: rgba(7, 23, 47, 0.42);
}

.hero-metrics strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: end;
  margin-bottom: 40px;
}

.section-heading p,
.story p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.story {
  background: linear-gradient(180deg, var(--white), var(--ice));
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: center;
}

.story-layout > div {
  max-width: 790px;
}

.story-panel,
.dashboard,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.story-panel {
  padding: 28px;
}

.status-pill {
  display: inline-flex;
  margin-bottom: 28px;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--sky);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

dl {
  display: grid;
  gap: 20px;
  margin: 0;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 1.06rem;
  font-weight: 800;
}

.collaborate,
.needs {
  background: var(--white);
}

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

.support-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.transparency {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(7, 23, 47, 0.96), rgba(13, 36, 72, 0.93)),
    linear-gradient(90deg, var(--navy), var(--black));
}

.transparency .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.dashboard {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.14);
}

.dashboard-actions {
  align-content: start;
}

.dash-button {
  width: 100%;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.progress-list {
  display: grid;
  gap: 14px;
}

.progress-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(5, 7, 11, 0.2);
}

.progress-item > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.progress-item span {
  color: var(--sky);
  font-weight: 800;
}

.bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--sky), var(--blue));
}

.needs-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.needs-board label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--navy);
  background: var(--ice);
  font-weight: 750;
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(13, 36, 72, 0.18);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--navy);
  background: var(--white);
  font: inherit;
}

input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.needs-board label:has(input:checked) {
  border-color: rgba(47, 143, 213, 0.44);
  background: #eaf7ff;
}

.needs-board input:checked + span {
  text-decoration: line-through;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: start;
  background: linear-gradient(180deg, var(--ice), var(--white));
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

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

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

label {
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 850;
}

textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  min-height: 54px;
  cursor: pointer;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--black);
}

.footer strong {
  font-size: clamp(1.2rem, 2.2vw, 2rem);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 750;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .section-heading,
  .story-layout,
  .dashboard,
  .contact {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .needs-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-text {
    display: none;
  }

  .hero {
    min-height: 100svh;
    padding: 116px 16px 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-metrics,
  .card-grid,
  .needs-board,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-metrics article {
    min-height: auto;
  }

  .field-full {
    grid-column: auto;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
