/* landing.css — all visual styles for the landing page */

/* ── Design tokens ───────────────────────────────────────────── */
:root {
  --bg:          #0c0c0e;
  --surface:     #141417;
  --border:      #242428;
  --text:        #e8e6e1;
  --muted:       #888884;
  --accent:      #f0a500;
  --accent-dim:  rgba(240, 165, 0, 0.12);
  --serif:       'Instrument Serif', serif;
  --sans:        'Satoshi', system-ui, sans-serif;
  --radius:      6px;
  --max-w:       680px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  min-height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ── Layout ──────────────────────────────────────────────────── */
.wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ─────────────────────────────────────────────────────── */
nav {
  padding: 28px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

.logo span { color: var(--accent); }

.nav-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(240, 165, 0, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero { padding: 96px 0 72px; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.subhead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 48px;
}

/* ── Hero visual slot ────────────────────────────────────────── */
.hero-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 64px;
  overflow: hidden;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(240,165,0,0.06) 0%, transparent 70%);
}

.hero-visual-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--border);
  font-weight: 600;
  position: relative;
}

.hero-visual-icon {
  width: 48px;
  height: 48px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual-icon svg { opacity: 0.3; }

/* ── Value props ─────────────────────────────────────────────── */
.props {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 72px;
}

.prop {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.prop:first-child { border-top: 1px solid var(--border); }

.prop-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--accent);
  padding-top: 2px;
}

.prop-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.prop-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Waitlist form ───────────────────────────────────────────── */
.waitlist-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 36px;
  margin-bottom: 80px;
}

.waitlist-section h2 {
  font-family: var(--serif);
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.waitlist-section p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.form-row {
  display: flex;
  gap: 10px;
}

input[type="email"] {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.95rem;
  font-family: var(--sans);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

input[type="email"]::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

input[type="email"]:focus { border-color: var(--accent); }

button[type="submit"] {
  background: var(--accent);
  color: #0c0c0e;
  border: none;
  border-radius: var(--radius);
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--sans);
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.1s ease;
}

button[type="submit"]:hover { opacity: 0.88; }
button[type="submit"]:active { transform: scale(0.98); }
button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; }

.form-message {
  margin-top: 12px;
  font-size: 0.85rem;
  min-height: 20px;
  transition: opacity 0.3s ease;
}

.form-message.success { color: #4ade80; }
.form-message.error   { color: #f87171; }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 520px) {
  .hero { padding: 64px 0 48px; }
  .form-row { flex-direction: column; }
  .waitlist-section { padding: 28px 20px; }
  nav { padding: 20px 0 0; }
}

/* ── Entrance animations ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero, .props, .waitlist-section {
  animation: fadeUp 0.5s ease both;
}

.props { animation-delay: 0.08s; }
.waitlist-section { animation-delay: 0.14s; }
