:root {
  --ink-black: #0a1020;
  --ink-charcoal: #0f1628;
  --ink-slate: #1a2332;
  --ink-border: #2a3544;
  --bone: #e8ecf0;
  --bone-muted: #9ba3b0;
  --bone-dim: #5c6573;
  --teal: #2ec4b6;
  --teal-dim: #1e9a8f;
  --purple: #9b59b6;
  --radius: 12px;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bone);
  background: var(--ink-black);
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(10, 16, 32, 0.85);
  border-bottom: 1px solid var(--ink-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--bone);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--bone-muted);
}

.nav a:hover {
  color: var(--bone);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dim));
  color: var(--ink-black);
}

.btn-ghost {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--ink-border);
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 40px rgba(46, 196, 182, 0.2);
}

.eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 16ch;
  margin-inline: auto;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--bone-muted);
  max-width: 42ch;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Features */
.section {
  padding: 3.5rem 0;
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 0.5rem;
}

.section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  margin: 0 0 2rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.feature-card {
  background: var(--ink-charcoal);
  border: 1px solid var(--ink-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.feature-card h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
  color: var(--bone);
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--bone-muted);
}

/* Waitlist */
.waitlist {
  background: var(--ink-charcoal);
  border-block: 1px solid var(--ink-border);
}

.waitlist-inner {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.waitlist-form input[type='email'] {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--ink-border);
  background: var(--ink-slate);
  color: var(--bone);
  font: inherit;
}

.waitlist-form input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--bone-dim);
  margin-top: 0.5rem;
}

.form-success,
.form-error {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.form-success {
  background: rgba(90, 143, 123, 0.15);
  border: 1px solid rgba(90, 143, 123, 0.4);
  color: #8fc9a8;
}

.form-error {
  background: rgba(196, 92, 110, 0.12);
  border: 1px solid rgba(196, 92, 110, 0.35);
  color: #e8a0ab;
}

.form-success.visible,
.form-error.visible {
  display: block;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--ink-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--bone-dim);
}

.site-footer p {
  margin: 0.25rem 0;
}

/* Privacy page */
.legal {
  padding: 3rem 0 4rem;
  max-width: 680px;
}

.legal h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal .updated {
  color: var(--bone-dim);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.15rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--bone);
}

.legal p,
.legal li {
  color: var(--bone-muted);
}

.legal ul {
  padding-left: 1.25rem;
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 2.5rem;
  }
}
