:root {
  color-scheme: dark;
  --bg: #05070a;
  --bg-deep: #020407;
  --panel: #0b1118;
  --panel-strong: #111b26;
  --ink: #f4f7fb;
  --muted: #a8b4c1;
  --line: rgba(218, 229, 242, 0.16);
  --blue: #7db7ff;
  --teal: #66d6c2;
  --violet: #a98cff;
  --amber: #e0a64b;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 7%, rgba(125, 183, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 12% 14%, rgba(102, 214, 194, 0.1), transparent 28rem),
    radial-gradient(circle at 86% 62%, rgba(169, 140, 255, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0, #081019 48rem, var(--bg-deep) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 58px 58px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 6.2vw, 6.3rem);
  font-weight: 780;
}

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

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: var(--bg-deep);
  background: var(--teal);
  border-radius: 10px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--teal);
  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: 22px;
  align-items: center;
  min-height: 76px;
  padding: 12px 0;
  background: rgba(5, 7, 10, 0.9);
  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: "";
  pointer-events: none;
}

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

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(125, 183, 255, 0.42);
  border-radius: 50%;
  color: var(--teal);
  background:
    linear-gradient(135deg, rgba(125, 183, 255, 0.14), rgba(102, 214, 194, 0.1)),
    rgba(11, 17, 24, 0.96);
  box-shadow: inset 0 0 18px rgba(125, 183, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.28);
}

.site-nav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  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: 10px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover,
.footer-brand:hover,
.text-link:hover {
  color: var(--teal);
}

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

.nav-cta {
  padding: 10px 18px;
  color: var(--bg-deep);
  background: var(--teal);
  box-shadow: 0 14px 32px rgba(102, 214, 194, 0.16);
}

.button {
  padding: 13px 22px;
}

.button.primary {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 16px 34px rgba(125, 183, 255, 0.2);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

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

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.88fr);
  gap: clamp(34px, 4.5vw, 64px);
  align-items: center;
  min-height: clamp(560px, calc(100vh - 76px), 720px);
  padding: clamp(48px, 6vw, 84px) 0 clamp(48px, 6vw, 76px);
}

.hero-copy {
  max-width: 820px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 5.2vw, 5.8rem);
}

.hero-text {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.26rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

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

.hero-art::before {
  position: absolute;
  inset: 8% -4% -7% 12%;
  z-index: -1;
  border-radius: 44% 56% 46% 54%;
  background: linear-gradient(135deg, rgba(125, 183, 255, 0.16), rgba(102, 214, 194, 0.12));
  content: "";
}

.hero-art img {
  width: 100%;
  max-height: min(52vh, 500px);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(17, 27, 38, 0.86), rgba(5, 7, 10, 0.96));
  box-shadow: var(--shadow);
}

.signal-note {
  position: absolute;
  right: clamp(12px, 3vw, 30px);
  bottom: clamp(14px, 2vw, 24px);
  width: min(340px, calc(100% - 28px));
  padding: 18px;
  border: 1px solid rgba(102, 214, 194, 0.3);
  border-radius: 18px;
  background: rgba(5, 7, 10, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.signal-note span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-note strong {
  display: block;
  line-height: 1.35;
}

.intro-panel,
.story-band,
.panel-card,
.final-cta,
.resource-band {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(11, 17, 24, 0.78);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.22);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(135deg, rgba(125, 183, 255, 0.1), rgba(102, 214, 194, 0.08)),
    rgba(11, 17, 24, 0.78);
}

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

.section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.section-heading {
  max-width: 870px;
  margin-bottom: 34px;
}

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

.feature-grid article,
.stacked-cards article,
.resource-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02)),
    rgba(11, 17, 24, 0.78);
}

.feature-grid article {
  min-height: 250px;
  padding: 26px;
}

.feature-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid rgba(125, 183, 255, 0.28);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(125, 183, 255, 0.09);
  font-weight: 900;
}

.story-band {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 76px);
  background:
    linear-gradient(135deg, rgba(125, 183, 255, 0.16), rgba(102, 214, 194, 0.08)),
    rgba(11, 17, 24, 0.86);
}

.story-band::after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 22rem;
  height: 22rem;
  border: 1px solid rgba(102, 214, 194, 0.18);
  border-radius: 999px;
  background: rgba(102, 214, 194, 0.05);
  content: "";
}

.story-band h2,
.story-band p {
  max-width: 940px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) 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 {
  padding: 28px;
}

.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(102, 214, 194, 0.25);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(102, 214, 194, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

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

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

.panel-card.accent {
  background:
    radial-gradient(circle at 80% 18%, rgba(125, 183, 255, 0.18), transparent 16rem),
    linear-gradient(135deg, rgba(102, 214, 194, 0.16), rgba(11, 17, 24, 0.92));
}

.corridor {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
  gap: 38px;
  align-items: center;
}

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

.mini-grid span {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
  font-weight: 850;
}

.final-cta {
  margin: 24px 0 88px;
  padding: clamp(38px, 7vw, 76px) clamp(22px, 5vw, 54px);
  text-align: center;
  background:
    radial-gradient(circle at 74% 18%, rgba(102, 214, 194, 0.18), transparent 20rem),
    linear-gradient(135deg, rgba(125, 183, 255, 0.15), rgba(169, 140, 255, 0.12)),
    rgba(11, 17, 24, 0.9);
}

.final-cta h2,
.final-cta p {
  max-width: 840px;
  margin-right: auto;
  margin-left: auto;
}

.center-actions {
  justify-content: center;
}

.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(--ink);
  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;
  max-width: 560px;
  color: var(--muted);
  font-weight: 760;
  text-align: right;
}

.page-hero {
  max-width: 980px;
  padding: clamp(66px, 8vw, 112px) 0 clamp(44px, 6vw, 70px);
}

.page-hero > p:not(.eyebrow) {
  max-width: 800px;
  color: var(--muted);
  font-size: 1.16rem;
}

.resource-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0 0 clamp(70px, 8vw, 104px);
}

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

.resource-card {
  min-height: 270px;
  padding: 30px;
}

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

.resource-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: 0 0 84px;
  padding: clamp(28px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(125, 183, 255, 0.12), rgba(102, 214, 194, 0.1)),
    rgba(11, 17, 24, 0.86);
}

@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;
    -webkit-overflow-scrolling: touch;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero,
  .intro-panel,
  .split-section,
  .corridor {
    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.8rem, 13vw, 4.4rem);
  }

  .feature-grid,
  .two-column,
  .resource-section,
  .resource-section-wide,
  .resource-band {
    grid-template-columns: 1fr;
  }

  .panel-card,
  .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,
  .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.55rem, 11.2vw, 3.5rem);
    line-height: 1.06;
  }

  .eyebrow {
    font-size: 0.68rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .hero,
  .hero-copy,
  .hero-text,
  .hero-art,
  .page-hero {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero {
    display: block;
  }

  .hero-text {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .hero-art img {
    margin-top: 34px;
    border-radius: 20px;
  }

  .signal-note {
    position: static;
    width: auto;
    margin-top: 14px;
  }

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

@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;
  }
}
