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

:root {
  --bg:           #0a090f;
  --surface:      #0f0e16;
  --surface-2:    #15131e;
  --border:       rgba(255, 255, 255, 0.055);
  --border-hover: rgba(255, 255, 255, 0.10);
  --text:         #d8d3e3;
  --text-dim:     #847e94;
  --accent:       #c4a24e;
  --accent-dim:   #96793a;
  --accent-subtle:rgba(196, 162, 78, 0.06);
  --accent-glow:  rgba(196, 162, 78, 0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Typography ── */
h1, h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: #ede9f4;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 9, 15, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1040px; margin: 0 auto;
  padding: 18px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px; font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.3px;
}
.nav-cta {
  font-size: 13px; font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-cta:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 200px 32px 70px;
  max-width: 760px;
  margin: 0 auto;
}
.hero-kicker {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-style: italic;
  color: var(--accent-dim);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 44px;
}

/* ── Button ── */
.btn {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  padding: 13px 30px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  color: #0a090f;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}
.btn-primary:hover {
  background: #ceac58;
  box-shadow: 0 0 60px rgba(196, 162, 78, 0.18);
  transform: translateY(-1px);
}

/* ── Divider ── */
.divider {
  max-width: 1040px;
  margin: 0 auto;
  height: 1px;
  background: var(--border);
}

/* ── Section ── */
.section {
  padding: 96px 32px;
}
.section-inner {
  max-width: 880px;
  margin: 0 auto;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 16px;
}
.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 52px;
}
.section-sub.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ── Prose (problem section) ── */
.prose {
  max-width: 600px;
}
.prose p {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 20px;
}
.prose p:last-child { margin-bottom: 0; }
.prose em {
  font-style: italic;
  color: var(--text);
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.feature-card {
  padding: 36px 32px;
  background: var(--surface);
  transition: background 0.25s;
}
.feature-card:hover {
  background: var(--surface-2);
}
.feature-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px; font-weight: 500;
  color: #ede9f4;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Steps ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 560px;
  margin-top: 52px;
}
.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--accent-dim);
  opacity: 0.5;
  width: 32px;
  text-align: center;
  padding-top: 2px;
}
.step h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px; font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.step p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ── Security Grid ── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
}
.security-item h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.security-item p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Waitlist Form ── */
.section-cta {
  text-align: center;
}
.section-cta h2 {
  text-align: center;
}
.waitlist-form {
  max-width: 540px;
  margin: 0 auto;
}
.form-row {
  display: flex;
  gap: 8px;
}
.form-row input,
.form-row select {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
}
.form-row input {
  flex: 2;
}
.form-row input::placeholder {
  color: var(--text-dim);
  opacity: 0.5;
}
.form-row select {
  flex: 1;
  cursor: pointer;
  -webkit-appearance: none;
}
.form-row select option { background: var(--surface); }
.form-row input:focus,
.form-row select:focus {
  border-color: var(--accent-dim);
}
.form-row button {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px; font-weight: 600;
  color: #0a090f;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.form-row button:hover {
  background: #ceac58;
  transform: translateY(-1px);
}
.form-row button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.form-message {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}
.form-message.success { color: #6ee7b7; }
.form-message.error { color: #ef6b6b; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1040px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-dim);
  opacity: 0.4;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding: 160px 24px 100px; }
  .section { padding: 72px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { flex-direction: column; }
  .form-row button { width: 100%; }
  .nav-cta { display: none; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
