/* ============================================================
   Landing Page — Dark editorial theme
   Palette: Ink black · Warm off-white · Amber accent
   Fonts: Fraunces (display) · system stack (body)
   ============================================================ */

:root {
  --bg:          #0d0d0b;
  --bg-alt:      #141410;
  --surface:     #1c1c18;
  --border:      rgba(255,255,255,0.08);
  --text:        #e8e4d9;
  --text-muted:  #8a8478;
  --accent:      #e8a427;
  --accent-dark: #c48a18;
  --white:       #faf8f3;
  --font-display:'Fraunces', Georgia, serif;
  --font-body:   -apple-system, 'Helvetica Neue', sans-serif;
  --max-w:       1120px;
  --radius:      4px;
  --ease:        0.22s ease;
}

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

html { scroll-behavior:smooth; font-size:16px; }

body {
  font-family:var(--font-body);
  background-color:var(--bg);
  color:var(--text);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

img { display:block; max-width:100%; }
a   { color:inherit; text-decoration:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }

/* ── Nav ── */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  border-bottom:1px solid var(--border);
  background:rgba(13,13,11,0.88);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.nav-inner {
  max-width:var(--max-w); margin:0 auto; padding:0 32px;
  height:60px; display:flex; align-items:center; justify-content:space-between;
}
.logo { font-family:var(--font-display); font-weight:700; font-size:1.15rem; color:var(--white); }
.nav-links { display:flex; align-items:center; gap:28px; }
.nav-links a { font-size:.875rem; color:var(--text-muted); transition:color var(--ease); }
.nav-links a:hover { color:var(--text); }
.nav-links .nav-cta {
  padding:7px 18px; border:1px solid var(--accent); color:var(--accent);
  border-radius:var(--radius); font-weight:500;
  transition:background var(--ease),color var(--ease);
}
.nav-links .nav-cta:hover { background:var(--accent); color:var(--bg); }

/* ── Hero ── */
.hero {
  position:relative; min-height:100vh; display:flex; align-items:center;
  padding:120px 32px 80px; overflow:hidden;
}
.hero-inner { position:relative; z-index:1; max-width:780px; margin:0 auto; width:100%; }
.hero-accent {
  position:absolute; top:20%; right:-10%; width:600px; height:600px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(232,164,39,.07) 0%,transparent 70%);
  pointer-events:none;
}

.hero-label {
  display:inline-block; font-size:.75rem; letter-spacing:.12em;
  text-transform:uppercase; color:var(--accent); margin-bottom:24px;
  padding:5px 12px; border:1px solid rgba(232,164,39,.3); border-radius:2px;
}

.hero-headline {
  font-family:var(--font-display);
  font-size:clamp(2.8rem,6vw,5rem);
  font-weight:700; line-height:1.05; letter-spacing:-.025em;
  color:var(--white); margin-bottom:28px;
}
.hero-headline em { font-style:italic; font-weight:300; color:var(--accent); }

.hero-subhead {
  font-size:1.125rem; color:var(--text-muted);
  max-width:540px; line-height:1.7; margin-bottom:44px;
}

/* ── Forms ── */
.waitlist-form { margin-bottom:20px; }
.form-row { display:flex; gap:10px; max-width:480px; }
.form-row input[type="email"] {
  flex:1; padding:13px 16px;
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); color:var(--text);
  font-family:var(--font-body); font-size:.9375rem; outline:none;
  transition:border-color var(--ease);
}
.form-row input[type="email"]::placeholder { color:var(--text-muted); }
.form-row input[type="email"]:focus {
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(232,164,39,.12);
}
.form-row button {
  padding:13px 24px; background:var(--accent); color:var(--bg);
  border-radius:var(--radius); font-size:.9375rem; font-weight:600;
  white-space:nowrap; transition:background var(--ease),transform .1s ease;
}
.form-row button:hover { background:var(--accent-dark); }
.form-row button:active { transform:scale(.98); }
.form-row button:disabled { opacity:.6; cursor:not-allowed; transform:none; }

.btn-loading { display:none; }
.form-row button.is-loading .btn-text  { display:none; }
.form-row button.is-loading .btn-loading { display:inline; }

.form-note { font-size:.8125rem; color:var(--text-muted); margin-top:10px; }
.form-feedback { font-size:.875rem; margin-top:12px; min-height:20px; }
.form-feedback.success { color:#6fcf97; }
.form-feedback.error   { color:#eb5757; }

.social-proof { display:flex; gap:10px; margin-top:24px; font-size:.8125rem; color:var(--text-muted); }
.social-proof strong { color:var(--text); }

/* ── Features ── */
.features { padding:100px 32px; border-top:1px solid var(--border); background:var(--bg-alt); }
.features-inner { max-width:var(--max-w); margin:0 auto; }
.features-header { margin-bottom:64px; }
.section-label {
  display:inline-block; font-size:.75rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--text-muted); margin-bottom:16px;
}
.features-header h2 {
  font-family:var(--font-display);
  font-size:clamp(2rem,4vw,3rem); font-weight:700;
  line-height:1.1; letter-spacing:-.02em; color:var(--white); max-width:600px;
}
.features-header h2 em { font-style:italic; font-weight:300; color:var(--accent); }
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2px; }
.feature-card { padding:40px 36px; background:var(--surface); transition:background var(--ease); }
.feature-card:hover { background:#222218; }
.feature-icon {
  font-family:var(--font-display); font-size:2.5rem; font-weight:700;
  color:var(--accent); opacity:.4; margin-bottom:24px; line-height:1;
}
.feature-card h3 {
  font-family:var(--font-display); font-size:1.25rem; font-weight:700;
  color:var(--white); margin-bottom:12px; letter-spacing:-.01em;
}
.feature-card p { font-size:.9375rem; color:var(--text-muted); line-height:1.7; }

/* ── CTA section ── */
.cta-section { padding:120px 32px; border-top:1px solid var(--border); }
.cta-inner { max-width:640px; margin:0 auto; }
.cta-inner h2 {
  font-family:var(--font-display); font-size:clamp(2rem,4vw,3.2rem);
  font-weight:700; line-height:1.1; letter-spacing:-.02em;
  color:var(--white); margin-bottom:20px;
}
.cta-inner h2 em { font-style:italic; font-weight:300; color:var(--accent); }
.cta-inner > p { color:var(--text-muted); font-size:1.0625rem; margin-bottom:40px; line-height:1.7; }
.waitlist-form--light .form-row input[type="email"] { border-color:rgba(232,164,39,.2); }

/* ── Footer ── */
.footer { border-top:1px solid var(--border); padding:60px 32px 32px; background:var(--bg-alt); }
.footer-inner {
  max-width:var(--max-w); margin:0 auto;
  display:flex; justify-content:space-between; gap:48px; margin-bottom:48px;
}
.footer-brand { max-width:280px; }
.footer-brand .logo { display:block; color:var(--white); margin-bottom:10px; }
.footer-brand p { font-size:.875rem; color:var(--text-muted); line-height:1.6; }
.footer-links { display:flex; gap:48px; }
.footer-col { display:flex; flex-direction:column; gap:10px; }
.footer-col-heading {
  font-size:.75rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--text-muted); margin-bottom:4px;
}
.footer-col a { font-size:.875rem; color:var(--text-muted); transition:color var(--ease); }
.footer-col a:hover { color:var(--text); }
.footer-bottom {
  max-width:var(--max-w); margin:0 auto; padding-top:24px;
  border-top:1px solid var(--border);
  display:flex; justify-content:space-between; align-items:center;
  font-size:.8125rem; color:var(--text-muted);
}
.footer-social { display:flex; gap:16px; }
.footer-social a { color:var(--text-muted); transition:color var(--ease); }
.footer-social a:hover { color:var(--text); }

/* ── Responsive ── */
@media (max-width:900px) {
  .features-grid { grid-template-columns:1fr; }
  .footer-inner { flex-direction:column; gap:40px; }
  .footer-links { flex-wrap:wrap; gap:32px; }
}
@media (max-width:640px) {
  .nav-inner { padding:0 20px; }
  .hero { padding:100px 20px 60px; }
  .form-row { flex-direction:column; }
  .form-row button,.form-row input[type="email"] { width:100%; }
  .features { padding:60px 20px; }
  .feature-card { padding:28px 24px; }
  .cta-section { padding:80px 20px; }
  .footer { padding:48px 20px 24px; }
  .nav-links a:not(.nav-cta) { display:none; }
  .footer-bottom { flex-direction:column; gap:12px; text-align:center; }
}
