:root {
  color-scheme: dark;
  --bg: #101215;
  --bg-soft: #171b20;
  --panel: #1d2228;
  --panel-strong: #232a31;
  --text: #f3f6f4;
  --muted: #aeb8b4;
  --line: rgba(255, 255, 255, 0.14);
  --green: #56d68a;
  --cyan: #6cc5df;
  --amber: #f2c65b;
  --red: #ff7c72;
  --ink: rgba(8, 10, 12, 0.86);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

.brand-text {
  white-space: nowrap;
}

.brand-badge,
.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(108, 197, 223, 0.34);
  background: rgba(108, 197, 223, 0.1);
  color: #c9eef7;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.brand-badge {
  padding: 6px 9px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 32px clamp(24px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.48;
  filter: saturate(0.9) contrast(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 18, 21, 0.94), rgba(16, 18, 21, 0.72) 42%, rgba(16, 18, 21, 0.44)),
    linear-gradient(0deg, rgba(16, 18, 21, 0.95), rgba(16, 18, 21, 0.18) 48%, rgba(16, 18, 21, 0.74));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(360px, 430px);
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.hero-content {
  min-width: 0;
  transform: translate(-22px, 18px);
  padding-left: 0;
}

.hero-form {
  width: min(100%, 430px);
  justify-self: end;
  transform: translateX(22px);
}

.product-id {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 800;
}

.reassurance-line {
  margin: 0 0 14px;
  color: #baf3d0;
  font-size: 14px;
  font-weight: 740;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 14px;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 20px;
  color: #d9e1dd;
  font-size: clamp(17px, 1.7vw, 21px);
}

.primary-link,
.secondary-link,
.submit-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 760;
  cursor: pointer;
}

.primary-link,
.submit-button {
  background: var(--green);
  color: #07120c;
}

.primary-link:hover,
.submit-button:hover {
  background: #7be6a7;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.secondary-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  color: var(--text);
}

.secondary-link:hover {
  background: rgba(255, 255, 255, 0.13);
}

.db-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.db-strip img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.88);
  padding: 4px;
}

.intro-section,
.features-section {
  padding: clamp(54px, 7vw, 86px) clamp(20px, 5vw, 78px);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(420px, 1.42fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  background: var(--bg-soft);
}

.section-copy p,
.waitlist-copy p,
.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.form-heading {
  margin-bottom: 12px;
}

.form-heading h2 {
  margin: 0 0 5px;
  font-size: 26px;
  line-height: 1.12;
}

.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.mini-label {
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.product-frame {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #0c0e12;
  box-shadow: var(--shadow);
}

.product-frame img {
  width: 100%;
}

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.proof-tags span,
.feature-strip span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(17, 21, 26, 0.62);
  color: #dce5e1;
  padding: 0 12px;
  font-size: 14px;
}

.features-section {
  background: #121512;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.waitlist-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.hero-form {
  background: rgba(35, 42, 49, 0.92);
  backdrop-filter: blur(16px);
}

.marketplace-proof {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.marketplace-proof a {
  color: #c9eef7;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.field-group,
.feature-vote {
  margin: 0 0 12px;
}

label,
legend {
  display: block;
  margin-bottom: 7px;
  color: #edf3f0;
  font-weight: 720;
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: #11151a;
  color: var(--text);
  font: inherit;
  padding: 10px 12px;
  outline: none;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  border-color: rgba(86, 214, 138, 0.7);
  box-shadow: 0 0 0 3px rgba(86, 214, 138, 0.13);
}

textarea {
  min-height: 116px;
  resize: vertical;
}

.feature-vote {
  padding: 0;
  border: 0;
}

.feature-vote label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  margin: 5px 0;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 7px;
  background: rgba(17, 21, 26, 0.78);
  color: #dce5e1;
  font-weight: 620;
}

.compact-vote {
  margin-bottom: 10px;
}

.compact-vote label {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 14px;
}

.feature-vote input[type="radio"] {
  accent-color: var(--green);
  flex: 0 0 auto;
}

.other-input {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  height: 0;
  min-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  transition: opacity 0.12s ease;
}

.other-input.visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  height: auto;
  min-height: 0;
  margin-top: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-width: 1px;
}

.field-error {
  min-height: 19px;
  margin: 6px 0 0;
  color: #ffbbb5;
  font-size: 13px;
}

.submit-button {
  width: 100%;
  border: 0;
  font-size: 16px;
  min-height: 42px;
}

.secondary-submit {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}

.secondary-submit:hover {
  background: rgba(255, 255, 255, 0.13);
}

.post-submit-question {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.post-submit-title {
  margin-bottom: 10px;
  color: #baf3d0;
  font-weight: 800;
}

.post-submit-question textarea {
  margin-bottom: 10px;
}

.form-note,
.form-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status.success {
  color: #baf3d0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 78px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #0d0f12;
  font-size: 14px;
}

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

.footer-badge {
  margin-left: 8px;
  padding: 5px 8px;
  vertical-align: middle;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero {
    min-height: auto;
  }

  .hero-form {
    max-width: 640px;
    transform: none;
  }

}

@media (max-width: 1400px) {
  .hero {
    padding: 24px clamp(22px, 3.5vw, 48px);
  }

  .hero-grid {
    width: min(1120px, 100%);
    grid-template-columns: minmax(0, 600px) minmax(360px, 410px);
    gap: clamp(34px, 4.5vw, 64px);
  }

  .hero-form {
    width: min(100%, 410px);
  }

  .hero-content {
    transform: translate(-18px, 10px);
  }

  h1 {
    max-width: 590px;
    font-size: clamp(34px, 4vw, 54px);
  }

  .hero-copy {
    max-width: 570px;
    font-size: 18px;
  }
}

@media (max-height: 820px) {
  .hero {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .product-id {
    margin-bottom: 7px;
  }

  .reassurance-line {
    margin-bottom: 10px;
    font-size: 13px;
  }

  h1 {
    margin-bottom: 10px;
    font-size: clamp(32px, 3.8vw, 50px);
  }

  .hero-copy {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.38;
  }

  .waitlist-form {
    padding: 18px;
  }

  .form-heading {
    margin-bottom: 9px;
  }

  .form-heading h2 {
    font-size: 24px;
  }

  .form-heading p,
  .marketplace-proof,
  .form-note,
  .form-status {
    font-size: 12px;
  }

  .field-group,
  .feature-vote {
    margin-bottom: 9px;
  }

  label,
  legend {
    margin-bottom: 5px;
  }

  input[type="email"],
  input[type="text"],
  textarea {
    padding: 8px 10px;
  }

  .feature-vote label,
  .compact-vote label {
    min-height: 29px;
    margin: 4px 0;
    padding: 5px 9px;
  }

  .compact-vote {
    margin-bottom: 8px;
  }

  .submit-button {
    min-height: 39px;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

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

  .intro-section,
  .features-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-badge {
    display: none;
  }

  .db-strip span {
    flex-basis: 100%;
  }
}
