:root {
  --ink-deep: #010d18;
  --slate: #23313e;
  --blue: #0a2b66;
  --green: #0df26c;
  --green-dark: #0bc75b;
  --text: #eee5e5;
  --text-soft: rgba(238, 229, 229, 0.68);
  --line: rgba(238, 229, 229, 0.14);
  --radius: 14px;
  --shell: 1080px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--text);
  background: var(--ink-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark, .btn, .step-num {
  font-family: "Syne", -apple-system, BlinkMacSystemFont, sans-serif;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.shell.narrow {
  max-width: 720px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(1, 13, 24, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.wordmark img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--green);
}

.site-nav .nav-cta {
  color: var(--ink-deep);
  background: var(--green);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.site-nav .nav-cta:hover {
  background: var(--green-dark);
  color: var(--ink-deep);
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(1, 13, 24, 0) 70%), var(--ink-deep);
  color: var(--text);
  padding: 96px 0 110px;
  overflow: hidden;
}

.hero-inner {
  max-width: 760px;
}

.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(13, 242, 108, 0.45);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-soft);
  max-width: 620px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 14px;
  color: rgba(238, 229, 229, 0.5);
}

.hero-wave {
  display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--green);
  color: var(--ink-deep);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(238, 229, 229, 0.35);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-wide {
  width: 100%;
  margin-top: 6px;
}

/* Sections */
.section {
  padding: 84px 0;
}

.section h2 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: #ffffff;
}

.section-sub {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 40px;
}

.section-sub.light {
  color: var(--text-soft);
}

.section-sub a {
  color: var(--green);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--green);
}

.feature p {
  font-size: 14.5px;
  color: var(--text-soft);
}

/* Dark section */
.section-dark {
  background: linear-gradient(180deg, rgba(10, 43, 102, 0.55), rgba(10, 43, 102, 0.15)), var(--ink-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center / 14px no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6L9 17l-5-5"/></svg>') center / 14px no-repeat, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* Steps */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: step;
}

.step {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink-deep);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #ffffff;
}

.step p {
  font-size: 14.5px;
  color: var(--text-soft);
}

/* Access form */
.section-access {
  background: linear-gradient(180deg, rgba(10, 43, 102, 0.35), rgba(1, 13, 24, 0)), var(--ink-deep);
  border-top: 1px solid var(--line);
}

#access-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#access-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.optional {
  font-weight: 400;
  color: var(--text-soft);
}

#access-form input,
#access-form select,
#access-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--slate);
  color: var(--text);
  width: 100%;
}

#access-form input::placeholder,
#access-form textarea::placeholder {
  color: rgba(238, 229, 229, 0.4);
}

#access-form input:focus,
#access-form select:focus,
#access-form textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}

#access-form textarea {
  resize: vertical;
}

.form-hint {
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  padding: 26px 0;
  font-size: 14px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer a {
  color: var(--green);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green-dark);
}

/* Terms page */
.terms-page {
  padding: 56px 0 84px;
}

.terms-page h1 {
  font-size: clamp(30px, 4.5vw, 40px);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: #ffffff;
}

.terms-meta {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 36px;
}

.terms-page h2 {
  font-size: 20px;
  margin: 32px 0 8px;
  color: var(--green);
}

.terms-page p,
.terms-page li {
  font-size: 15px;
  color: var(--text);
}

.terms-page a {
  color: var(--green);
}

.terms-page ul {
  margin: 8px 0 0 22px;
  display: grid;
  gap: 6px;
}

.terms-page p + p {
  margin-top: 10px;
}

@media print {
  .site-header,
  .site-footer,
  .print-hide {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .terms-page {
    padding: 0;
  }

  .terms-page h1,
  .terms-page h2,
  .terms-page p,
  .terms-page li,
  .terms-meta {
    color: #000;
  }

  .terms-page a {
    color: #000;
  }

  .terms-page h1 {
    font-size: 22px;
  }

  .terms-page h2 {
    margin: 18px 0 4px;
    font-size: 15px;
  }

  .terms-meta {
    margin-bottom: 18px;
  }

  .terms-page p,
  .terms-page li {
    font-size: 11.5px;
    line-height: 1.45;
  }
}

/* Company pages */
.company-hero {
  position: relative;
  background: linear-gradient(180deg, var(--blue) 0%, rgba(1, 13, 24, 0) 70%), var(--ink-deep);
  padding: 72px 0 56px;
}

.company-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.company-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 18px;
}

.company-hero .hero-art {
  width: 100%;
  max-width: 360px;
  justify-self: center;
  border-radius: var(--radius);
}

.prose {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.prose p {
  font-size: 16px;
  color: var(--text);
}

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

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.waitlist-card {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  max-width: 620px;
}

.waitlist-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffffff;
}

.waitlist-card p {
  color: var(--text-soft);
  font-size: 15px;
  margin-bottom: 14px;
}

.waitlist-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.waitlist-card li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text);
}

.waitlist-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 48px;
  align-items: start;
}

.about-photo {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.about-art {
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius);
  margin-top: 24px;
}

/* Screenshot gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.gallery figure {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.gallery figcaption {
  font-size: 13.5px;
  color: var(--text-soft);
  text-align: center;
}

.footer-legal {
  display: grid;
  gap: 4px;
  font-size: 12.5px;
  color: rgba(238, 229, 229, 0.45);
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 720px) {
  .company-hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 72px 0 90px;
  }

}

/* Pricing page */
.waitlist-card .price-figure {
  font-size: 40px;
  margin-bottom: 4px;
}

.muted-inline {
  color: var(--text-soft);
  font-size: 16px;
  font-weight: 400;
  font-family: "Space Mono", ui-monospace, monospace;
}

.waitlist-card a:not(.btn) {
  color: var(--green);
}

/* Hamburger nav (pure CSS checkbox toggle — the site CSP disallows inline JS) */
.nav-toggle-check {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-sizing: border-box;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 880px) {
  .header-row {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle-check:checked ~ .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 12px 24px;
    font-size: 16px;
  }

  .site-nav .nav-cta {
    margin: 10px 24px 0;
    text-align: center;
  }

  .nav-toggle-check:checked ~ .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle-check:checked ~ .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-check:checked ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
