:root {
  color-scheme: dark;
  --ink: #f7efe2;
  --muted: #c7b8a6;
  --subtle: #8f8173;
  --coal: #0d1014;
  --panel: #18181a;
  --line: rgba(247, 239, 226, 0.17);
  --rust: #d34f2f;
  --amber: #f4b35f;
  --cyan: #8fe7e0;
  --green: #86d17c;
  --shadow: rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--coal);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body > main {
  flex: 1;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(13, 16, 20, 0.72);
  border-bottom: 1px solid rgba(247, 239, 226, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand span {
  white-space: nowrap;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
}

.site-header nav a,
.site-footer nav a,
.text-link {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover,
.text-link:hover {
  color: var(--ink);
}

.header-cta,
.button,
.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.header-cta,
.button.primary,
.waitlist-form button {
  background: var(--amber);
  color: #1b1007;
  box-shadow: 0 12px 34px rgba(244, 179, 95, 0.2);
}

.button.secondary {
  border-color: rgba(247, 239, 226, 0.3);
  color: var(--ink);
  background: rgba(13, 16, 20, 0.48);
}

.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 136px clamp(18px, 6vw, 72px) 42px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 16, 20, 0.95) 0%, rgba(13, 16, 20, 0.72) 38%, rgba(13, 16, 20, 0.24) 78%),
    linear-gradient(0deg, rgba(13, 16, 20, 0.98) 0%, rgba(13, 16, 20, 0) 42%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 14vh;
  z-index: -1;
  background: linear-gradient(180deg, rgba(13, 16, 20, 0), var(--coal));
}

.hero-content {
  width: min(940px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 9vw, 6rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 920px;
  margin: 54px 0 0;
}

.hero-stats div,
.loop-grid article,
.feature-list article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 19, 19, 0.66);
  box-shadow: 0 18px 44px var(--shadow);
}

.hero-stats div {
  padding: 16px;
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  color: var(--ink);
  font-weight: 900;
}

.hero-stats dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.intro,
.split-section,
.feature-band,
.seo-section,
.waitlist-section,
.faq-section {
  padding: clamp(72px, 12vw, 132px) clamp(18px, 6vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 920px);
  gap: clamp(24px, 6vw, 72px);
  align-items: start;
}

.intro p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 3.3vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  background: #11161a;
}

.split-section > div:first-child {
  position: sticky;
  top: 112px;
}

.split-section p,
.feature-copy p,
.seo-section p,
.waitlist-copy p,
.faq-list p {
  color: var(--muted);
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.loop-grid article,
.feature-list article {
  padding: 22px;
}

.loop-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--amber);
  font-weight: 950;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(13, 16, 20, 0.96), rgba(13, 16, 20, 0.74)),
    url("/assets/hero.webp") center / cover scroll;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article:nth-child(1) {
  border-left: 4px solid var(--rust);
}

.feature-list article:nth-child(2) {
  border-left: 4px solid var(--cyan);
}

.feature-list article:nth-child(3) {
  border-left: 4px solid var(--green);
}

.seo-section {
  background: #f7efe2;
  color: #141110;
}

.seo-section .eyebrow {
  color: #8f311f;
}

.keyword-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 5vw, 58px);
}

.keyword-columns p {
  color: #42352d;
  font-size: 1.08rem;
}

.waitlist-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
  background: #15100f;
}

.waitlist-form {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #211b19;
}

.waitlist-form label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.waitlist-form input,
.waitlist-form textarea {
  width: 100%;
  border: 1px solid rgba(247, 239, 226, 0.22);
  border-radius: 6px;
  background: #0e1114;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.waitlist-form input {
  flex: 1 1 260px;
  min-height: 50px;
  padding: 0 14px;
}

.waitlist-form textarea {
  resize: vertical;
  min-height: 96px;
  padding: 12px 14px;
}

.waitlist-form input:focus,
.waitlist-form textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(143, 231, 224, 0.16);
}

.waitlist-form button {
  flex: 0 0 auto;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--cyan);
}

.faq-section {
  background: #0d1014;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 940px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 6vw, 72px);
  border-top: 1px solid var(--line);
  background: #090b0e;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.nav-devlog {
  display: none;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  font-weight: 800;
}

@media (min-width: 901px) {
  .nav-devlog {
    display: inline-flex;
  }
}

.nav-devlog:hover {
  color: var(--ink);
}

.platforms-section {
  padding: clamp(72px, 12vw, 132px) clamp(18px, 6vw, 72px);
  background: #11161a;
}

.platforms-section p {
  color: var(--muted);
  max-width: 680px;
}

.platform-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 32px;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 19, 19, 0.66);
}

.platform-icon {
  font-size: 1.6rem;
}

.platform-badge strong {
  display: block;
  font-size: 1rem;
}

.platform-badge span {
  color: var(--muted);
  font-size: 0.88rem;
}

.community-section {
  padding: clamp(72px, 12vw, 132px) clamp(18px, 6vw, 72px);
  background: var(--coal);
}

.community-section p {
  color: var(--muted);
  max-width: 680px;
}

.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.community-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid rgba(247, 239, 226, 0.3);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  background: rgba(13, 16, 20, 0.48);
}

.community-links a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .intro,
  .split-section,
  .feature-band,
  .waitlist-section,
  .keyword-columns,
  .platform-badges {
    grid-template-columns: 1fr;
  }

  .split-section > div:first-child {
    position: static;
  }

  .hero-stats,
  .loop-grid {
    grid-template-columns: 1fr;
  }

  .feature-band {
    background-attachment: scroll;
  }
}

@media (max-width: 580px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span {
    font-size: 0.95rem;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 100svh;
    padding: 116px 16px 30px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .button,
  .waitlist-form button {
    width: 100%;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }
}
