:root {
  --bg: #000000;
  --nav-bg: rgba(224, 224, 224, 0.15);
  --field: #1b1b1b;
  --field-focus: #242424;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.5);
  --placeholder: rgba(255, 255, 255, 0.2);
  --purple: #8f51c4;
  --purple-hover: #7e44b0;
  --maxw: 1130px; /* 1090 content + 2x20 padding => 175px margins at 1440 */
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: inherit;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, opacity .2s ease;
}
.btn:active { transform: scale(.98); }

/* Nav "Email us": black pill, white text */
.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 0 24px;
  height: 35px;
  border-radius: 35px;
  text-decoration: none;
}
.btn-nav:hover { background: #161616; }

/* ---------- Navbar ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 20px 14px;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav {
  max-width: 1090px;
  margin: 0 auto;
  height: 57px;
  background: var(--nav-bg);
  border-radius: 15px;
  padding: 0 11px 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}
.brand-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: inline-block;
  /* artwork has transparent padding; scale up & pull in so it reads as ~30px */
  margin: -10px -6px -10px -10px;
  filter: brightness(2.2);
}
.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- Hero ---------- */
.hero {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  padding: clamp(60px, 18vh, 200px) 20px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-title {
  font-size: clamp(40px, 6.4vw, 64px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 26px;
  max-width: 820px;
}
.grad-serif {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  background: linear-gradient(100deg, #c4b4f5 0%, #a9a7e8 30%, #7fd7a6 62%, #2bbd5d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding: 0 0.04em;
}

.hero-copy { max-width: 711px; }
.lead {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 24px;
}
.lead strong { font-weight: 700; color: var(--text); }
.sub {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 40px;
}

/* Join the waitlist */
.btn-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #1b1b1b;
  color: var(--text);
  height: 47px;
  padding: 0 6px 0 18px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 600;
}
.btn-cta:hover { background: #242424; }
.cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 35px;
  border-radius: 25px;
  background: var(--purple);
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.btn-cta:hover .cta-arrow { background: var(--purple-hover); transform: translate(2px, -2px); }

/* ---------- Sections (shared) ---------- */
.section {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(70px, 11vh, 130px) 20px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 56px;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: #0e0e0e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 30px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.card:hover {
  border-color: rgba(143, 81, 196, 0.55);
  background: #121212;
  transform: translateY(-4px);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(143, 81, 196, 0.14);
  color: #c9a7ec;
  margin-bottom: 22px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Getting started card ---------- */
.gs-section {
  width: 100%;
  padding: clamp(40px, 7vh, 80px) 20px;
}
.getstarted-card {
  max-width: 1244px;
  margin: 0 auto;
  background: #202020;
  border-radius: 35px;
  padding: clamp(32px, 4.4vw, 64px);
}
.gs-eyebrow {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #f97fc5 0%, #b06ae6 60%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  width: fit-content;
}
.gs-title { margin-bottom: 20px; }
.gs-sub {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.gs-sub strong { color: #fff; font-weight: 600; }

.gs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gs-card {
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 26px 26px 30px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.gs-card:hover {
  border-color: rgba(143, 81, 196, 0.5);
  background: #2f2f2f;
  transform: translateY(-3px);
}
.gs-num {
  display: block;
  font-size: clamp(34px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  background: linear-gradient(125deg, #c4b4f5 0%, #9a8ee8 35%, #7fd7a6 75%, #34c46f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gs-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}
.gs-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Stats band ---------- */
.stats-band {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: clamp(44px, 6vw, 64px);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  font-size: 18px;
  font-weight: 600;
  position: relative;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--purple);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: #c9a7ec; }
.faq-item p {
  padding: 0 44px 26px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: -4px;
}

/* ---------- Final CTA band ---------- */
.cta-band {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 13vh, 150px) 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-sub {
  font-size: 18px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 36px;
}
.cta-band .btn-cta { align-self: center; }

/* ---------- Privacy page ---------- */
.privacy-main {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 80px) 20px 0;
}
.privacy-content {
  max-width: 942px;
  margin-left: 52px; /* indent to match Figma's 227px left vs nav's 175px */
  color: #979191;
}
.privacy-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.privacy-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #979191;
}
.privacy-tag {
  font-size: 12px;
  font-weight: 400;
  color: #5a5a5a;
  white-space: nowrap;
}
.privacy-updated { margin-bottom: 26px; }
.privacy-content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #979191;
  margin-bottom: 18px;
}
.privacy-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #b3b3b3;
  margin: 42px 0 14px;
}
.privacy-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 18px;
}
.privacy-content li {
  font-size: 16px;
  line-height: 1.6;
  color: #979191;
  margin-bottom: 4px;
}
.privacy-content a {
  color: #ab7ae0;
  text-decoration: none;
  font-weight: 500;
}
.privacy-content a:hover { text-decoration: underline; }
.privacy-cta { margin: 54px 0 96px; }

/* ---------- Footer ---------- */
.footer {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 400;
}
.footer > span { color: var(--muted); }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { opacity: .7; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(42, 27, 27, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade .2s ease;
}
.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 557px;
  background: #000000;
  border-radius: 25px;
  padding: 46px 82px 48px;
  animation: pop .22s cubic-bezier(.2,.8,.2,1);
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  line-height: 0;
}
.modal-close:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.modal-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.form { display: flex; flex-direction: column; gap: 14px; }
.field {
  background: var(--field);
  border: 1px solid transparent;
  border-radius: 10px;
  height: 47px;
  padding: 0 20px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  transition: border .2s ease, background .2s ease;
}
.field::placeholder { color: var(--placeholder); font-weight: 500; }
.field:focus {
  outline: none;
  background: var(--field-focus);
  border-color: var(--purple);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--placeholder);
  margin: 8px 0 14px;
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border: 1.5px solid #3a3a3a;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: background .15s ease, border .15s ease;
}
.consent input:checked {
  background: var(--purple);
  border-color: var(--purple);
}
.consent input:checked::after {
  content: "";
  position: absolute;
  left: 4.5px; top: 1px;
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Submit */
.btn-submit {
  background: var(--purple);
  color: #fff;
  height: 47px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 600;
  width: 100%;
  margin-top: 4px;
}
.btn-submit:hover { background: var(--purple-hover); }

.form-success {
  text-align: center;
  color: #4ade80;
  font-size: 15px;
  font-weight: 500;
  margin-top: 4px;
}

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

body.modal-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .gs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav-wrap { padding-top: 14px; }
  .hero { min-height: auto; padding-top: 90px; padding-bottom: 60px; }
  .hero-title { margin-bottom: 22px; }

  /* Sections: tighter vertical rhythm + smaller headings */
  .section { padding: 60px 18px; }
  .section-title { font-size: 28px; }
  .section-sub { font-size: 16px; margin-bottom: 32px; }

  /* "What it does" cards */
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px 20px; border-radius: 16px; }
  .card:hover { transform: none; }
  .card-icon { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 16px; }
  .card-icon svg { width: 22px; height: 22px; }
  .card h3 { font-size: 17px; margin-bottom: 8px; }
  .card p { font-size: 14px; }

  /* "Getting started" card */
  .gs-section { padding: 30px 18px; }
  .getstarted-card { padding: 26px 18px; border-radius: 22px; }
  .gs-sub { font-size: 15px; margin-bottom: 32px; }
  .gs-grid { grid-template-columns: 1fr; gap: 14px; }
  .gs-card { padding: 20px 18px; border-radius: 14px; }
  .gs-card:hover { transform: none; }
  .gs-num { font-size: 30px; margin-bottom: 12px; }
  .gs-card h3 { font-size: 17px; margin-bottom: 8px; }
  .gs-card p { font-size: 13.5px; }

  .stats-band { grid-template-columns: 1fr; gap: 36px; }
  .footer { flex-direction: column; gap: 10px; align-items: flex-start; }
  .modal { padding: 40px 24px 32px; }
  .modal-title { font-size: 24px; }
  .privacy-content { margin-left: 0; }
  .privacy-tag { display: none; }
  .privacy-cta { margin: 44px 0 64px; }
}

/* Extra-small phones */
@media (max-width: 400px) {
  .section { padding: 52px 14px; }
  .gs-section { padding: 26px 14px; }
  .getstarted-card { padding: 22px 14px; border-radius: 20px; }
  .gs-card, .card { padding: 18px 16px; }
  .gs-num { font-size: 28px; }
}
