:root {
  --bg: #07111f;
  --bg-soft: #0b1629;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef2ff;
  --muted: #b0bad5;
  --accent: #8fb4ff;
  --accent-2: #dfe8ff;
  --success: #8ce3b1;
  --danger: #ff9da4;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behaviour: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(143, 180, 255, 0.18), transparent 32%),
    radial-gradient(circle at left 16%, rgba(223, 232, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #091427 42%, #07111f 100%);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.container {
  width: min(calc(100% - 1.5rem), var(--max));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #e7eeff 0%, #90b4ff 48%, #4b69c7 100%);
  position: relative;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.35), 0 10px 24px rgba(79, 111, 197, 0.28);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.75);
  transform: rotate(45deg);
}

.brand-mark::after { inset: 35%; }

.header-cta,
.waitlist-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #dce7ff 0%, #8fb4ff 100%);
  color: #07111f;
  font-weight: 700;
  transition: transform 160ms ease, opacity 160ms ease;
}

.header-cta:hover,
.waitlist-form button:hover { transform: translateY(-1px); }

.hero {
  padding: 5rem 0 3.2rem;
  text-align: center;
}

.hero-inner {
  max-width: 56rem;
}

.eyebrow,
.story-kicker,
.problem-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--accent-2);
  font-size: 0.92rem;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-top: 1rem;
}

h2 { font-size: clamp(2rem, 4vw, 3.3rem); }

.hero-copy,
.section-head p,
.feature-card p,
.story-copy p,
.footer-cta-card p,
.microcopy,
.form-feedback {
  color: var(--muted);
}

.hero-copy {
  max-width: 48rem;
  margin: 1.15rem auto 0;
  font-size: 1.12rem;
}

.waitlist-form {
  margin: 1.65rem auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  max-width: 34rem;
}

.waitlist-form input {
  min-width: 0;
  width: 100%;
  padding: 0.98rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.waitlist-form input::placeholder { color: #9ca8c7; }
.waitlist-form input:focus {
  outline: 2px solid rgba(143,180,255,0.4);
  outline-offset: 2px;
}

.microcopy {
  margin-top: 0.9rem;
  font-size: 0.94rem;
}

.problem-strip {
  padding: 0.8rem 0;
  background: rgba(255,255,255,0.04);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.problem-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.problem-label { margin-right: 0.2rem; }
.stack-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  color: var(--muted);
}
.stack-items span::after {
  content: "+";
  margin-left: 0.7rem;
  color: rgba(255,255,255,0.22);
}
.stack-items span:last-child::after { content: ""; margin: 0; }

.features,
.founder-story,
.footer-cta-section {
  padding: 4rem 0;
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.footer-cta-card,
.image-placeholder {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 1.35rem;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.feature-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: stretch;
}

.image-placeholder {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(143,180,255,0.16), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
}

.founder-photo {
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.08), rgba(7, 17, 31, 0.5)),
    radial-gradient(circle at top right, rgba(143, 180, 255, 0.2), transparent 28%),
    url('../assets/founder-photo.jpeg') center 20% / cover no-repeat,
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
}

.founder-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 22%, transparent 70%, rgba(7, 17, 31, 0.35));
  z-index: 0;
}

.founder-photo__frame {
  position: absolute;
  inset: 1.1rem;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  z-index: 1;
}

.founder-photo__badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 2;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.72);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-copy {
  padding: 1rem 0.3rem;
}

.story-copy .story-kicker {
  margin-bottom: 1rem;
}

.story-copy h2 {
  margin-bottom: 1rem;
}

.story-copy p + p { margin-top: 0.95rem; }

.footer-cta-card {
  padding: 1.6rem;
}

.waitlist-form--footer {
  margin: 1.25rem 0 0;
  max-width: 38rem;
}

.form-feedback {
  min-height: 1.4rem;
  margin-top: 0.9rem;
}

.form-feedback.success { color: var(--success); }
.form-feedback.error { color: var(--danger); }

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}

@media (max-width: 960px) {
  .feature-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .footer-inner,
  .waitlist-form {
    grid-template-columns: 1fr;
  }

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

  .waitlist-form {
    display: grid;
  }

  .hero { padding-top: 4rem; }
  .image-placeholder { min-height: 22rem; }
}
