:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --bg-deep: #050505;
  --panel: #0d0d0d;
  --panel-raised: #0f0f0f;
  --text: #f5f2ec;
  --muted: rgba(245, 242, 236, 0.68);
  --subtle: rgba(245, 242, 236, 0.52);
  --line: rgba(245, 242, 236, 0.12);
  --line-soft: rgba(245, 242, 236, 0.08);
  --orange: #ff6a00;
  --orange-hover: #ff8a3d;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--orange);
  color: var(--bg);
  font-weight: 700;
}

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

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

.shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.eyebrow {
  margin: 0;
  color: var(--subtle);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.anvil-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(78vw, 860px);
  height: auto;
  transform: translate(-50%, -50%);
  fill: #9a9a9a;
  opacity: 0.06;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-deep);
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(5, 5, 5, 0) 40%, rgba(5, 5, 5, 0.55) 100%),
    repeating-linear-gradient(
      135deg,
      #111 0 14px,
      #0c0c0c 14px 28px
    );
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  padding-bottom: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 22px;
  height: 22px;
  flex: none;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 1180px;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  max-width: 1030px;
  margin: 0;
  font-size: clamp(42px, 7vw, 92px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--orange);
}

.hero-copy {
  max-width: 580px;
  margin: 26px 0 0;
  color: rgba(245, 242, 236, 0.76);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button-primary {
  background: var(--orange);
  color: var(--bg);
}

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

.button-secondary {
  border-color: rgba(245, 242, 236, 0.25);
  color: var(--text);
}

.button-secondary:hover {
  border-color: rgba(245, 242, 236, 0.55);
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.scroll-cue {
  position: relative;
  z-index: 2;
  padding: 0 20px 28px;
  text-align: center;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.section {
  padding-top: clamp(72px, 10vw, 140px);
  padding-bottom: clamp(72px, 10vw, 140px);
  scroll-margin-top: 20px;
}

.section-kicker {
  margin-bottom: 16px;
  color: var(--orange);
}

.section h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
}

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

.resource-card {
  min-height: 264px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(13, 13, 13, 0.9);
}

.resource-shape {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  background: var(--orange);
}

.shape-grant {
  clip-path: polygon(50% 0, 100% 38%, 82% 100%, 18% 100%, 0 38%);
}

.shape-compute {
  clip-path: inset(0);
}

.shape-cloud {
  border-radius: 50%;
}

.shape-hardware {
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.resource-card h3,
.steps-grid h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
}

.resource-card p,
.steps-grid p,
.callout p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.section-band {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--panel-raised);
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.split-layout h2 {
  font-size: clamp(28px, 4.5vw, 48px);
}

.section-copy {
  max-width: 820px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.callout {
  max-width: 470px;
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 106, 0, 0.35);
  border-radius: 6px;
  background: rgba(255, 106, 0, 0.06);
}

.callout h3 {
  margin: 0;
  font-size: 16px;
}

.eligibility-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.eligibility-list li {
  position: relative;
  padding: 18px 20px 18px 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: rgba(245, 242, 236, 0.86);
}

.eligibility-list li::before {
  position: absolute;
  top: 50%;
  left: 22px;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--orange);
  content: "";
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 48px 0 0;
  list-style: none;
}

.steps-grid li {
  padding-top: 22px;
  border-top: 2px solid var(--orange);
}

.step-number {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 106, 0, 0.9);
  font-family: "IBM Plex Mono", monospace;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}

.section-divider {
  position: relative;
  z-index: 1;
  width: 100%;
  border-top: 1px solid var(--line-soft);
}

.narrow-copy {
  max-width: 840px;
}

.join-section {
  background: var(--panel-raised);
}

.join-inner {
  width: min(calc(100% - 40px), 650px);
  margin-inline: auto;
  text-align: center;
}

.join-inner h2 {
  margin-inline: auto;
}

.join-inner > p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.waitlist-form {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.waitlist-form input[type="email"] {
  min-width: 220px;
  min-height: 54px;
  flex: 1;
  padding: 15px 18px;
  border: 1px solid rgba(245, 242, 236, 0.24);
  border-radius: 5px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
}

.waitlist-form input[type="email"]::placeholder {
  color: rgba(245, 242, 236, 0.45);
}

.waitlist-form input[type="email"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.18);
  outline: none;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.form-status.is-error {
  color: #ff9b73;
}

.success-card {
  margin-top: 36px;
  padding: 30px;
  border: 1px solid rgba(255, 106, 0, 0.55);
  border-radius: 8px;
  background: rgba(255, 106, 0, 0.08);
}

.success-card h3 {
  margin: 0;
  font-size: 22px;
}

.success-card p {
  margin: 8px 0 0;
  color: rgba(245, 242, 236, 0.72);
  font-size: 15px;
}

.trust-line {
  color: rgba(245, 242, 236, 0.58) !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px !important;
}

.noscript-message {
  color: #ff9b73 !important;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line-soft);
}

.brand-small {
  font-size: 16px;
}

.brand-small .brand-mark {
  width: 18px;
  height: 18px;
}

.footer-copy {
  color: rgba(245, 242, 236, 0.58);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}

.footer-copy p {
  margin: 0;
}

.footer-copy p + p {
  margin-top: 6px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .card-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .shell {
    padding-inline: 20px;
  }

  .topbar {
    gap: 14px;
    padding-top: 24px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 20px;
    height: 20px;
  }

  .topbar-tagline {
    font-size: 9px;
    letter-spacing: 0.17em;
    text-align: right;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-copy {
    font-size: 16px;
  }

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

  .hero-actions .button {
    width: fit-content;
  }

  .card-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 0;
  }

  .join-inner {
    width: min(calc(100% - 40px), 650px);
  }

  .waitlist-form {
    align-items: stretch;
    flex-direction: column;
  }

  .waitlist-form input[type="email"],
  .waitlist-form .button {
    width: 100%;
  }

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

  .footer-copy {
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
