:root {
  color-scheme: dark;
  --green: #00e676;
  --cyan: #00dcf8;
  --violet: #9237fd;
  --black: #000000;
  --ink: #050505;
  --panel: rgba(15, 16, 18, 0.9);
  --panel-strong: rgba(22, 24, 28, 0.96);
  --line: rgba(255, 255, 255, 0.15);
  --line-strong: rgba(255, 255, 255, 0.24);
  --white: #ffffff;
  --text: #e7e7e7;
  --text-soft: #c4c4c4;
  --text-muted: #969aa3;
  --max-width: 1160px;
  --header-height: 74px;
  --shadow-green: 0 0 28px rgba(0, 230, 118, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    var(--black);
  background-size: 84px 84px;
  color: var(--white);
  font-family: Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::selection {
  background: var(--green);
  color: var(--black);
}

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

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-180%);
  border-radius: 6px;
  background: var(--green);
  color: var(--black);
  padding: 0.7rem 0.9rem;
  font-weight: 900;
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 5vw;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.18));
  border-bottom: 1px solid transparent;
  transition: background 160ms ease, border-color 160ms ease, backdrop-filter 160ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(0, 0, 0, 0.92);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.brand-mark,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  font-weight: 900;
}

.brand-mark span:last-child,
.footer-brand {
  overflow-wrap: anywhere;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 230, 118, 0.55);
  border-radius: 6px;
  background: rgba(0, 230, 118, 0.1);
  color: var(--green);
  box-shadow: var(--shadow-green);
  font-family: "League Gothic", "Roboto Condensed", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.3rem;
  line-height: 1;
}

.site-menu,
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-soft);
  padding: 0.5rem 0.72rem;
  transition: color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.site-nav a:hover {
  border-color: rgba(0, 230, 118, 0.46);
  color: var(--white);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 0.65rem;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.82rem 1.08rem;
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease, opacity 160ms ease;
}

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

.button-primary {
  background: var(--green);
  color: var(--black);
  box-shadow: var(--shadow-green);
}

.button-primary:hover {
  box-shadow: 0 0 34px rgba(0, 230, 118, 0.58);
}

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

.button-secondary:hover {
  border-color: rgba(0, 220, 248, 0.58);
  box-shadow: 0 0 22px rgba(0, 220, 248, 0.18);
}

.button.is-disabled,
.button[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
  box-shadow: none;
}

.button.is-disabled:hover,
.button[aria-disabled="true"]:hover {
  transform: none;
}

.header-cta {
  min-height: 44px;
  padding: 0.62rem 0.9rem;
}

.hero {
  position: relative;
  min-height: calc(94svh - var(--header-height));
  display: grid;
  align-items: end;
  margin-top: calc(var(--header-height) * -1);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.76) 42%, rgba(0, 0, 0, 0.44) 78%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.94));
}

.hero-content {
  width: min(var(--max-width), 90vw);
  margin: 0 auto;
  padding: calc(var(--header-height) + 5.5rem) 0 7rem;
}

.eyebrow,
.section-kicker,
.card-kicker {
  margin: 0 0 0.75rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "League Gothic", "Roboto Condensed", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-style: italic;
  letter-spacing: 0;
  line-height: 0.95;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4.5rem, 13vw, 11rem);
  text-shadow: 0 0 34px rgba(0, 230, 118, 0.2);
}

h2 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
}

h3 {
  font-size: clamp(1.7rem, 3.7vw, 2.75rem);
}

p {
  color: var(--text-soft);
}

.hero-subtitle {
  max-width: 680px;
  margin: 1rem 0 0;
  color: var(--white);
  font-size: clamp(1.14rem, 2vw, 1.55rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 660px;
  margin: 0.8rem 0 0;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.section {
  padding: clamp(4.3rem, 9vw, 7.4rem) 0;
}

.section-quiet {
  background: rgba(5, 5, 5, 0.88);
  border-block: 1px solid var(--line);
}

.section-shell {
  width: min(var(--max-width), 90vw);
  margin: 0 auto;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 2rem;
}

.section-heading p {
  max-width: 720px;
  font-size: 1.08rem;
}

.section-cta {
  margin-top: 1.2rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  padding: clamp(1rem, 2vw, 1.25rem);
}

.info-card h3 {
  max-width: 100%;
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.info-card p:last-child {
  margin-bottom: 0;
}

.portal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.portal-panel {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--panel-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.portal-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.3rem;
  border-bottom: 1px solid var(--line);
  padding: 0 1rem;
  color: var(--white);
}

.portal-bar span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--shadow-green);
}

.portal-list {
  display: grid;
}

.portal-list article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.85rem;
  border-bottom: 1px solid var(--line);
  padding: 1rem;
}

.portal-list article:last-child {
  border-bottom: 0;
}

.portal-list article > span {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(0, 220, 248, 0.38);
  border-radius: 6px;
  color: var(--cyan);
  font-weight: 900;
}

.portal-list h3 {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1;
}

.portal-list p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-band,
.work-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.11), rgba(0, 220, 248, 0.06), rgba(146, 55, 253, 0.11));
  padding: clamp(1.25rem, 4vw, 2.3rem);
}

.feature-band p,
.work-panel p {
  max-width: 720px;
  margin-bottom: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.stacked-copy {
  display: grid;
  gap: 1rem;
}

.stacked-copy p {
  margin: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #000000;
  padding: 2.5rem 0;
}

.footer-shell {
  width: min(var(--max-width), 90vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 1.5rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-column h2 {
  color: var(--green);
  font-family: Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--text-soft);
  width: fit-content;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-about p {
  max-width: 22rem;
  margin: 0.4rem 0 0;
}

@media (max-width: 900px) {
  .site-header {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    inset: 100% 5vw auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.96);
    padding: 0.8rem;
  }

  .site-header.is-open .site-menu {
    display: flex;
  }

  .site-nav {
    display: grid;
    gap: 0.25rem;
  }

  .site-nav a {
    border-radius: 6px;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    margin-top: -70px;
    min-height: calc(90svh - 70px);
  }

  .hero-content {
    padding-top: 10rem;
    padding-bottom: 4.5rem;
  }

  .three-up,
  .portal-layout,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .feature-band,
  .work-panel {
    display: grid;
  }

  .feature-band .button,
  .work-panel .button {
    width: fit-content;
  }

  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body {
    background-size: 58px 58px;
  }

  .brand-mark span:last-child {
    max-width: 14rem;
  }

  h1 {
    font-size: clamp(4.2rem, 19vw, 6.2rem);
  }

  .hero-actions,
  .hero-actions .button,
  .feature-band .button,
  .work-panel .button {
    width: 100%;
  }

  .section {
    padding-block: 4rem;
  }

  .portal-list article {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    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;
  }
}
