:root {
  --ink: #f3f0ff;
  --muted: #a99fc7;
  --subtle: #746b91;
  --paper: #0d0a18;
  --panel: #141023;
  --panel-strong: #1b1430;
  --line: rgba(170, 142, 255, 0.2);
  --accent: #a98cff;
  --accent-strong: #8d6cff;
  --accent-soft: rgba(169, 140, 255, 0.13);
  --white: #fbfaff;
  --shadow: 0 30px 90px rgba(4, 2, 14, 0.48);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(169, 140, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(169, 140, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 54% 34%, rgba(111, 78, 205, 0.25), transparent 24rem),
    linear-gradient(115deg, #100d1d 0%, #0b0914 58%, #120f20 100%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  color: var(--ink);
  font-family: Sora, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 10, 24, 0), rgba(13, 10, 24, 0.64) 58%, rgba(13, 10, 24, 0.92));
}

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

.site-header,
.hero,
.section,
.waitlist,
footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  text-decoration: none;
}
.brand svg,
.footer-brand svg {
  width: 42px;
  height: 39px;
  flex: 0 0 auto;
}
.brand span,
.footer-brand span {
  color: var(--white);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

nav { display: flex; align-items: center; gap: 22px; }
nav a {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}
nav a:hover { color: var(--white); }

main { position: relative; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(460px, 1.22fr);
  gap: 48px;
  align-items: start;
  min-height: calc(100vh - 72px);
  padding: 44px 0 72px;
}

.hero-copy {
  padding-top: 42px;
}

.eyebrow,
.role,
.pill {
  margin: 0;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--white); line-height: 1.02; }

h1 {
  max-width: 730px;
  margin: 26px 0 28px;
  font-size: clamp(4rem, 8.8vw, 7.9rem);
  font-weight: 800;
}

h1::first-line { color: var(--white); }
h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4.4vw, 4.55rem); font-weight: 700; }
h3 { margin-bottom: 12px; font-size: 1.42rem; font-weight: 700; }

.hero-text {
  max-width: 530px;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.8;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button, button {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  font: inherit;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.primary, button { background: var(--accent); color: #100d1d; }
.secondary { background: rgba(169, 140, 255, 0.06); color: var(--ink); }

.hero-showcase {
  position: relative;
  min-height: 640px;
  transform: translate(10px, -3%);
  overflow: visible;
}
.hero-product {
  position: absolute;
  border: 1px solid rgba(169, 140, 255, 0.34);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.hero-product-main {
  top: 122px;
  right: 12px;
  z-index: 1;
  width: min(82%, 596px);
}
.hero-product-small {
  z-index: 2;
  width: min(47%, 336px);
}
.hero-product-small.top {
  top: 28px;
  left: -12px;
  transform: translateY(-3%);
}
.hero-product-small.bottom {
  right: 32px;
  bottom: 14px;
  z-index: 3;
  width: min(53%, 386px);
}

.section { padding: 86px 0; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.42fr) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.development-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 20px;
}
.development-list p {
  flex: 0 0 100%;
  margin: 0 0 2px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.development-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(169, 140, 255, 0.22);
  border-radius: 999px;
  min-height: 30px;
  padding: 6px 11px;
  background: rgba(169, 140, 255, 0.05);
  color: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-grid { display: grid; grid-template-columns: 1.18fr 0.9fr; gap: 16px; }
.product-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 16, 35, 0.78);
}
.product-card.featured { grid-row: span 2; }
.product-image { display: grid; min-height: 230px; place-items: center; padding: 24px; background: linear-gradient(145deg, rgba(169, 140, 255, 0.12), rgba(8, 6, 16, 0.2)); }
.product-card.featured .product-image { min-height: 420px; }
.product-image img { width: 100%; border-radius: 3px; }
.product-content { padding: 24px; }
.product-content p, .person-copy p, .waitlist p { color: var(--muted); line-height: 1.65; }
.pill { display: inline-flex; margin-bottom: 14px; border: 1px solid rgba(169, 140, 255, 0.34); border-radius: 999px; padding: 6px 10px; background: rgba(169, 140, 255, 0.07); }

.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.52fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(13, 10, 24, 0.74);
}
.person-card img { width: 100%; aspect-ratio: 4 / 5; border-radius: 4px; object-fit: cover; filter: saturate(0.82) contrast(1.04); }
.person-copy h3 { margin-top: 8px; font-size: 1.7rem; }

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.72fr);
  gap: 36px;
  align-items: center;
  margin-top: 70px;
  margin-bottom: 40px;
  border: 1px solid rgba(169, 140, 255, 0.36);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
  background: linear-gradient(135deg, rgba(169, 140, 255, 0.16), rgba(16, 12, 29, 0.92));
}
.waitlist-note { margin-bottom: 0; color: var(--ink); }

form { display: grid; gap: 14px; }
.hidden-field { display: none; }
label { display: grid; gap: 7px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 14px 15px; background: rgba(10, 8, 18, 0.82); color: var(--ink); font: inherit; }
input:focus, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--subtle);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-brand {
  justify-self: center;
}
.footer-brand svg {
  width: 34px;
  height: 32px;
}
.footer-brand span {
  font-size: 0.78rem;
}
footer a { color: var(--muted); justify-self: end; }

.thanks-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 0; }
.thanks-panel { margin-top: 0; }

@media (max-width: 980px) {
  .hero, .waitlist, .section-heading, .product-grid, .team-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { padding-top: 0; }
  .hero-showcase { min-height: 560px; transform: translateY(-3%); }
  .development-list { grid-column: auto; }
  .product-card.featured { grid-row: auto; }
  footer { grid-template-columns: 1fr; }
  footer a { justify-self: start; }
}

@media (max-width: 640px) {
  .site-header { align-items: flex-start; }
  .brand svg { width: 36px; height: 34px; }
  .brand span { font-size: 0.95rem; }
  nav { justify-content: flex-end; flex-wrap: wrap; gap: 8px 14px; }
  nav a { font-size: 0.66rem; }
  h1 { font-size: clamp(3.45rem, 17vw, 5.8rem); }
  .hero { gap: 22px; padding-top: 30px; }
  .hero-showcase { min-height: 458px; transform: translateY(-3%); }
  .hero-product-main { top: 104px; right: 0; width: 88%; }
  .hero-product-small { width: 55%; }
  .hero-product-small.top { top: 16px; left: 0; transform: translateY(-3%); }
  .hero-product-small.bottom { width: 56%; right: 6px; bottom: 20px; }
  .product-image { padding: 16px; }
  .person-card { grid-template-columns: 1fr; }
  .person-card img { max-height: 440px; }
}
