:root {
  color-scheme: dark;
  --bg: #07111d;
  --bg-deep: #040914;
  --panel: #0d1c31;
  --panel-strong: #122845;
  --ink: #f2f7ff;
  --muted: #a9b7c8;
  --line: rgba(185, 205, 232, 0.18);
  --cyan: #69d2ff;
  --blue: #4f7dff;
  --violet: #a46cff;
  --green: #42e8a9;
  --orange: #ffb15f;
  --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:
    linear-gradient(115deg, rgba(105, 210, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 85% 6%, rgba(164, 108, 255, 0.2), transparent 26rem),
    radial-gradient(circle at 14% 26%, rgba(66, 232, 169, 0.11), transparent 30rem),
    linear-gradient(180deg, var(--bg) 0, #091522 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.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

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

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

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5vw, 5.6rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.1rem);
}

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(--cyan);
  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(--cyan);
  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(7, 17, 29, 0.88);
  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;
  min-width: 0;
  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(105, 210, 255, 0.5);
  border-radius: 13px;
  color: var(--cyan);
  background:
    linear-gradient(135deg, rgba(105, 210, 255, 0.12), rgba(164, 108, 255, 0.18)),
    rgba(12, 26, 44, 0.96);
  box-shadow: inset 0 0 18px rgba(105, 210, 255, 0.14), 0 12px 30px rgba(0, 0, 0, 0.26);
}

.site-nav {
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  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(--cyan);
}

.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(--cyan);
  box-shadow: 0 14px 32px rgba(105, 210, 255, 0.18);
}

.button {
  padding: 13px 22px;
}

.button.primary {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 16px 34px rgba(66, 232, 169, 0.18);
}

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

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

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.82fr);
  gap: clamp(32px, 4vw, 58px);
  align-items: center;
  min-height: clamp(500px, calc(100vh - 76px), 610px);
  padding: clamp(34px, 4.5vw, 58px) 0 clamp(36px, 4.5vw, 58px);
}

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

.hero h1 {
  max-width: 780px;
  font-size: clamp(2.9rem, 3.65vw, 4.15rem);
  line-height: 1.03;
}

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

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

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

.hero-visual::before {
  position: absolute;
  inset: 8% -5% -8% 16%;
  z-index: -1;
  border-radius: 38% 62% 47% 53%;
  background: linear-gradient(135deg, rgba(105, 210, 255, 0.18), rgba(164, 108, 255, 0.18));
  content: "";
  filter: blur(2px);
}

.hero-visual img {
  display: block;
  width: 100%;
  max-height: min(44vh, 390px);
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(18, 40, 69, 0.76), rgba(7, 17, 29, 0.98));
  box-shadow: var(--shadow);
}

.signal-card {
  position: absolute;
  right: clamp(12px, 4vw, 34px);
  bottom: clamp(14px, 2vw, 24px);
  width: min(330px, calc(100% - 34px));
  padding: 18px;
  border: 1px solid rgba(105, 210, 255, 0.28);
  border-radius: 18px;
  background: rgba(7, 17, 29, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

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

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

.intro-panel,
.story-band,
.panel-card,
.showcase-card,
.final-cta,
.resource-band {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(13, 28, 49, 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(105, 210, 255, 0.1), rgba(164, 108, 255, 0.1)),
    rgba(13, 28, 49, 0.78);
}

.intro-panel p:not(.eyebrow),
.story-band p,
.section-heading p,
.feature-grid p,
.stacked-cards p,
.showcase-card p,
.corridor p,
.panel-card 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: 850px;
  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(13, 28, 49, 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(105, 210, 255, 0.28);
  border-radius: 13px;
  color: var(--cyan);
  background: rgba(105, 210, 255, 0.09);
  font-weight: 900;
}

.story-band {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 76px);
  background:
    linear-gradient(135deg, rgba(164, 108, 255, 0.18), rgba(66, 232, 169, 0.08)),
    rgba(13, 28, 49, 0.86);
}

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

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

.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(105, 210, 255, 0.25);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(105, 210, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
}

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

.showcase-card,
.panel-card {
  padding: clamp(28px, 4vw, 42px);
}

.showcase-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-card.accent {
  background:
    radial-gradient(circle at 80% 18%, rgba(105, 210, 255, 0.2), transparent 16rem),
    linear-gradient(135deg, rgba(164, 108, 255, 0.2), rgba(13, 28, 49, 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;
}

.panel-card {
  min-height: 360px;
}

.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(66, 232, 169, 0.18), transparent 20rem),
    linear-gradient(135deg, rgba(105, 210, 255, 0.15), rgba(164, 108, 255, 0.18)),
    rgba(13, 28, 49, 0.9);
}

.final-cta h2,
.final-cta p {
  max-width: 820px;
  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: 960px;
  padding: clamp(66px, 8vw, 112px) 0 clamp(44px, 6vw, 70px);
}

.page-hero > p:not(.eyebrow) {
  max-width: 780px;
  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(105, 210, 255, 0.12), rgba(164, 108, 255, 0.12)),
    rgba(13, 28, 49, 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, 14vw, 4.8rem);
  }

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

  .showcase-card,
  .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;
    padding-right: 0;
    padding-left: 0;
  }

  .site-header::before {
    inset: 0;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav-cta,
  .hero-actions .button,
  .resource-band .button {
    width: 100%;
  }

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

  .site-nav {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    gap: 8px;
    overflow-x: visible;
    white-space: normal;
  }

  .site-nav a {
    min-height: 36px;
    padding: 6px 9px;
  }

  h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.6rem);
    line-height: 1.07;
  }

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

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

  .hero {
    display: block;
  }

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

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

  .signal-card {
    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;
  }
}
