:root {
  /* Pulled from the screenshot */
  --bg: #eef0f3;
  --bg-soft: #f4f5f8;
  --surface: #ffffff;
  --ink: #0d0f12;
  --ink-soft: #4b5563;
  --ink-muted: #8a8f98;
  --line: rgba(13, 15, 18, 0.08);
  --accent: #1aa463;
  --shadow: 0 1px 2px rgba(13, 15, 18, 0.04),
             0 12px 40px -12px rgba(13, 15, 18, 0.10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 50% -10%, #ffffff 0%, transparent 60%),
    radial-gradient(900px 500px at 100% 100%, #e8ebef 0%, transparent 50%),
    var(--bg);
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 40px 80px;
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  align-items: center;
  height: 48px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-name {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.01em;
}

/* Carmada logo mark */
.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  margin: -10px -6px -10px -10px;
  /* The PNG ships on a white square — multiply blends the white into the page */
  mix-blend-mode: multiply;
}

/* ---------- Hero ---------- */
.hero {
  margin-top: 6vh;
  max-width: 760px;
}

.hero-title {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(42px, 6.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: var(--ink);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 560px;
}

.hero-cta-link {
  display: inline-block;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.hero-cta-link:hover {
  color: var(--ink);
  border-bottom-color: rgba(13,15,18,0.25);
}

/* ---------- Video ---------- */
.video-wrap {
  margin: 56px auto 0;
  max-width: 980px;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f5f8 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-placeholder {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- Waitlist ---------- */
.waitlist {
  margin: 40px auto 0;
  max-width: 560px;
  text-align: center;
}

.waitlist-copy {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 15px;
}

.waitlist-success {
  margin: 0;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  box-shadow: var(--shadow);
  display: inline-block;
}

.waitlist-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.waitlist-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.waitlist-input::placeholder { color: var(--ink-muted); }

.waitlist-btn {
  height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.12s ease;
}
.waitlist-btn:hover { background: #1d4fd8; }
.waitlist-btn:active { transform: translateY(1px); }

@media (max-width: 480px) {
  .waitlist-form {
    flex-direction: column;
    border-radius: 18px;
    padding: 10px;
    gap: 10px;
  }
  .waitlist-input { width: 100%; }
  .waitlist-btn { width: 100%; }
}

/* ---------- Contact ---------- */
.contact {
  margin: 40px auto 0;
  text-align: center;
}

.contact-copy {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 15px;
}

.contact-email {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
.contact-email:hover {
  border-bottom-color: rgba(13,15,18,0.4);
}

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  .page { padding: 20px 22px 60px; }
  .hero { margin-top: 4vh; }
  .hero-sub { font-size: 16px; }
}
