/* ============================================================
   main.css — Landing page styles
   Dark theme with orange accent (#ff5722), Instrument Serif headings,
   Satoshi body. Mobile-first.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@400,500,700&display=swap');

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --bg-3:      #1a1a1a;
  --border:    rgba(255,255,255,0.08);
  --text:      #e8e8e4;
  --muted:     #777770;
  --accent:    #ff5722;
  --accent-dim: rgba(255, 87, 34, 0.12);
  --accent-glow: rgba(255, 87, 34, 0.25);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Satoshi', system-ui, sans-serif;
  --radius:    3px;
  --max-w:     720px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  /* Subtle grain texture via SVG data URI */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.75; }

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

/* ── Nav ────────────────────────────────────────────────────── */
.nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

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

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(255, 87, 34, 0.2);
  border-radius: 2px;
  padding: 4px 10px;
  margin-bottom: 28px;
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f0f0ea;
  margin-bottom: 20px;
  max-width: 620px;
}

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

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

/* ── Waitlist Form ──────────────────────────────────────────── */
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin-bottom: 16px;
}

.waitlist-form__input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-form__input::placeholder { color: var(--muted); }

.waitlist-form__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.waitlist-form__btn {
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.waitlist-form__btn:hover {
  background: #ff6b42;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.waitlist-form__btn:active { transform: translateY(0); }

.waitlist-form__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

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

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

/* ── Value Props ────────────────────────────────────────────── */
.value-props {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.value-props__label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

.value-props__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-prop {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

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

.value-prop:hover {
  background: var(--bg-2);
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}

.value-prop__number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent);
  padding-top: 3px;
  opacity: 0.7;
}

.value-prop__content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.value-prop__content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Section Label (shared) ─────────────────────────────────── */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
}

/* ── How It Works ───────────────────────────────────────────── */
.how-it-works {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 20px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}

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

.step:hover {
  background: var(--bg-2);
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
}

.step__number {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent);
  padding-top: 3px;
  opacity: 0.7;
}

.step__content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.step__content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── What It Actually Shipped ───────────────────────────────── */
.shipped {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.shipped__sub {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: -24px;
  margin-bottom: 36px;
}

.shipped-cards {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shipped-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.shipped-card:hover {
  border-color: rgba(255, 87, 34, 0.3);
  background: var(--bg-3);
}

.shipped-card__icon {
  font-size: 1.25rem;
  line-height: 1;
  padding-top: 2px;
  flex-shrink: 0;
}

.shipped-card__task {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.45;
}

.shipped-card__meta {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer__links a:hover { color: var(--text); opacity: 1; }

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 560px) {
  .hero { padding: 56px 0 48px; }

  .waitlist-form {
    flex-direction: column;
  }

  .waitlist-form__btn { width: 100%; }

  .value-prop:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .footer__inner { flex-direction: column; align-items: flex-start; }

  .step:hover {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .shipped-card {
    padding: 16px 18px;
  }
}
