:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --text: #f3f3ef;
  --muted: #9b9b94;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.2);
  --accent: #d9ff43;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 18%, rgba(217,255,67,.055), transparent 22rem),
    var(--bg);
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

::selection {
  color: #0a0a0a;
  background: var(--accent);
}

.page-shell {
  position: relative;
  width: min(100%, var(--max));
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 var(--pad);
  overflow: hidden;
  isolation: isolate;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: calc((100vw - (2 * var(--pad))) / 6) 100%;
  mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.site-header,
.site-footer,
.hero,
.about {
  position: relative;
  z-index: 2;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.025em;
}

.brand-mark {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 28px rgba(217,255,67,.36);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 64px;
  min-height: clamp(610px, 72svh, 860px);
  padding: clamp(74px, 11vw, 150px) 0 clamp(58px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

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

.eyebrow,
.section-label {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 1100px;
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(64px, 9.4vw, 148px);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.072em;
}

.accent {
  color: var(--accent);
}

.intro {
  max-width: 590px;
  margin: 42px 0 0;
  color: #c9c9c3;
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.56;
  letter-spacing: -.018em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 20px;
  cursor: pointer;
  transition:
    transform .22s ease,
    background-color .22s ease,
    border-color .22s ease,
    color .22s ease;
}

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

.button:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.button--primary {
  background: var(--text);
  color: #0b0b0b;
}

.button--primary:hover {
  background: var(--accent);
}

.button--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.button--ghost:hover {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.045);
}

.button-icon {
  font-size: 17px;
  line-height: 1;
}

.hero-index {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  min-width: 24px;
  color: #676761;
  font-size: 10px;
  letter-spacing: .08em;
}

.hero-index-line {
  width: 1px;
  height: 100%;
  min-height: 90px;
  margin: 0 auto;
  background: var(--line);
}

.about {
  display: grid;
  grid-template-columns: minmax(160px, .7fr) minmax(0, 1.3fr);
  gap: 64px;
  padding: clamp(64px, 10vw, 132px) 0;
  border-bottom: 1px solid var(--line);
}

.about-copy {
  max-width: 760px;
}

.about-copy p {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(26px, 3.6vw, 50px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.045em;
}

.about-copy .muted {
  margin-top: 34px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.55;
  letter-spacing: -.018em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 110px;
  color: #6f6f69;
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

.ambient {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(8px);
  opacity: .5;
}

.ambient--one {
  width: clamp(260px, 32vw, 520px);
  aspect-ratio: 1;
  top: 14%;
  right: -17%;
  background: radial-gradient(circle, rgba(217,255,67,.06), transparent 68%);
  animation: drift 10s ease-in-out infinite alternate;
}

.ambient--two {
  width: clamp(180px, 22vw, 350px);
  aspect-ratio: 1;
  bottom: 8%;
  left: -12%;
  background: radial-gradient(circle, rgba(255,255,255,.035), transparent 68%);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 10;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  background: var(--text);
  color: #0a0a0a;
  padding: 10px 15px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes pulse {
  0%, 100% { opacity: .4; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes drift {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-28px,22px,0); }
}

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

  .status {
    font-size: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 96px;
  }

  .hero-index {
    display: none;
  }

  h1 {
    font-size: clamp(62px, 16vw, 106px);
  }

  .intro {
    margin-top: 34px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 520px) {
  :root {
    --pad: 18px;
  }

  .site-header {
    align-items: flex-start;
    padding: 22px 0;
  }

  .status {
    max-width: 116px;
    line-height: 1.35;
    text-align: right;
    justify-content: flex-end;
  }

  .hero {
    padding: 76px 0 60px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 88px);
    letter-spacing: -.07em;
  }

  .eyebrow {
    max-width: 260px;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .footer-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
