:root {
  --bg: #0a0a0f;
  --bg-2: #11121a;
  --bg-3: #161826;
  --fg: #f5f5f7;
  --muted: #8a8a96;
  --gold: #d4b48a;
  --gold-2: #e8c79b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --gold-bg: rgba(212, 180, 138, 0.08);
  --gold-border: rgba(212, 180, 138, 0.28);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
}

.bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 18% 8%, rgba(212, 180, 138, 0.14), transparent 40%),
    radial-gradient(circle at 82% 92%, rgba(212, 180, 138, 0.08), transparent 50%),
    var(--bg);
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 760px; }

a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
a:hover { border-bottom-color: var(--gold-2); }
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.muted { color: var(--muted); }
.gold { color: var(--gold-2); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 12px;
  background: var(--gold);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: 6px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--fg);
  border-bottom: none;
  letter-spacing: -0.01em;
}
.brand:hover { border-bottom: none; }
.brand-name { font-size: 16px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.nav-links {
  list-style: none; margin: 0 0 0 auto; padding: 0;
  display: flex; gap: 6px;
}
.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  border-radius: 6px;
  border-bottom: none;
}
.nav-links a:hover { color: var(--fg); border-bottom: none; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  letter-spacing: -0.005em;
  text-align: center;
  white-space: nowrap;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-full { width: 100%; padding: 13px 22px; }
.btn-primary {
  background: var(--gold);
  color: #1a1409;
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  border-bottom: 1px solid var(--gold-2);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.btn:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}
.btn:active { transform: translateY(1px); }

/* Hero */
.hero {
  padding: 80px 0 64px;
  position: relative;
}
@media (min-width: 800px) {
  .hero { padding: 120px 0 96px; }
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--gold-2);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

h1 {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.02;
  margin: 0 0 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, var(--fg) 0%, #c8c8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 880px;
}
h1 .gold {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(17px, 1.9vw, 21px);
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 36px;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

/* Hero illustration card */
.hero-card {
  margin-top: 48px;
  max-width: 720px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(212, 180, 138, 0.06);
}
.hero-card-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--line);
}
.dot-light { width: 10px; height: 10px; border-radius: 50%; opacity: 0.7; }
.dot-light.red { background: #ff5f57; }
.dot-light.yellow { background: #febc2e; }
.dot-light.green { background: #28c840; }
.hero-card-addr {
  margin-left: 14px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 12px;
  color: var(--muted);
}
.hero-card-body { padding: 8px 0; }
.hero-row {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.hero-row:last-child { border-bottom: none; }
.hero-row.muted { opacity: 0.6; }
.hero-from { font-weight: 500; color: var(--fg); }
.hero-subject { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-time { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) {
  .hero-row { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .hero-from { grid-column: 1 / 2; }
  .hero-time { grid-column: 2 / 3; grid-row: 1; }
  .hero-subject { grid-column: 1 / 3; grid-row: 2; }
}

/* Sections */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 800px) { .section { padding: 112px 0; } }

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-lede {
  font-size: clamp(16px, 1.7vw, 19px);
  color: var(--muted);
  max-width: 600px;
  margin: 0 0 48px;
}

/* Grid */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }

/* Card */
.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--line-strong); }
.card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  color: var(--gold-2);
  margin-bottom: 4px;
}
.icon svg { width: 20px; height: 20px; }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step-num {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Pricing */
.pricing .price-card {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.price-card.featured {
  border-color: var(--gold-border);
  background:
    linear-gradient(180deg, rgba(212, 180, 138, 0.06) 0%, transparent 60%),
    var(--bg-2);
  box-shadow: 0 0 0 1px var(--gold-border), 0 20px 60px -20px rgba(212, 180, 138, 0.15);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--gold);
  color: #1a1409;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}
.price-name {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 600;
}
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-amount {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.price-period { color: var(--muted); font-size: 14px; }
.price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--fg);
  flex: 1;
}
.price-features li {
  padding-left: 22px;
  position: relative;
  color: var(--fg);
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
}
.price-features .muted { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 500;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 50px;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 22px;
  font-weight: 300;
  transition: transform .2s ease;
  line-height: 1;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: var(--radius-sm); }
.faq details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Waitlist */
.waitlist-card {
  background: var(--bg-2);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(212, 180, 138, 0.04), 0 30px 80px -30px rgba(212, 180, 138, 0.12);
}
.waitlist-card .section-title { text-align: center; }
.waitlist-card .section-lede { margin-left: auto; margin-right: auto; text-align: center; margin-bottom: 28px; }
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.waitlist-form input[type="email"] {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  color: var(--fg);
  font-family: inherit;
  min-width: 0;
}
.waitlist-form input[type="email"]::placeholder { color: var(--muted); }
.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(212, 180, 138, 0.18);
}
.waitlist-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 520px) {
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn { width: 100%; }
}
.form-status {
  margin: 16px 0 0;
  font-size: 14px;
  min-height: 1.4em;
  color: var(--muted);
}
.form-status.success { color: var(--gold-2); }
.form-status.error { color: #ff8a7a; }
.form-meta { font-size: 12px; margin-top: 18px; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 64px;
  margin-top: 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 40px;
  align-items: start;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-brand .brand { margin-bottom: 12px; }
.footer-tag { font-size: 13px; margin: 4px 0 0; }
.footer-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-nav a {
  color: var(--muted);
  font-size: 14px;
  border-bottom: none;
}
.footer-nav a:hover { color: var(--fg); border-bottom: none; }
.footer-nav .admin-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 10px;
  border: 1px solid rgba(212, 180, 138, 0.28);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(212, 180, 138, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.footer-nav .admin-link::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.footer-nav .admin-link:hover {
  color: var(--gold-2);
  border-color: rgba(212, 180, 138, 0.55);
  background: rgba(212, 180, 138, 0.12);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.social {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  transition: color .15s ease, border-color .15s ease;
}
.social:hover { color: var(--fg); border-color: rgba(255, 255, 255, 0.22); border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.social svg { width: 16px; height: 16px; }
