/* Steel-on-dark palette echoing the pill itself. */
:root {
  --bg: #0c0d10;
  --surface: #14161c;
  --surface-2: #1a1d24;
  --stroke: rgba(220, 226, 236, 0.10);
  --stroke-hi: rgba(220, 226, 236, 0.20);
  --text: #e6e8ec;
  --muted: #8b9098;
  --steel-hi: #e8edf3;
  --steel-mid: #9ea5b0;
  --steel-low: #3d4148;
  --accent: #ffb000;
  --accent-soft: #ffb00020;
  --phosphor: #6affb0;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

main { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ============================================================ topbar */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 980px; margin: 0 auto;
  padding: 22px 24px;
  border-bottom: 1px solid var(--stroke);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
}
.brand__mark {
  width: 14px; height: 14px; border-radius: 4px;
  background: linear-gradient(180deg, var(--steel-hi), var(--steel-mid), var(--steel-low));
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 0 0 0.5px rgba(0,0,0,0.6);
}
.topbar__nav a { margin-left: 22px; font-size: 14px; color: var(--muted); text-decoration: none; }
.topbar__nav a:hover { color: var(--text); }

/* ============================================================ hero */
.hero { padding: 80px 0 60px; text-align: left; }
.hero__eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 18px;
}
.hero__title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(40px, 7vw, 72px); line-height: 1.05; font-weight: 400;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: italic;
  background: linear-gradient(180deg, var(--steel-hi), var(--steel-mid), var(--steel-low));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lede { max-width: 640px; color: var(--muted); font-size: 17px; line-height: 1.6; margin-bottom: 28px; }

.hero__cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 60px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px; border-radius: 8px;
  border: 1px solid var(--stroke-hi);
  background: var(--surface);
  color: var(--text);
  font-family: inherit; font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}
.btn:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #1a1500; border-color: var(--accent); }
.btn--primary:hover { background: #ffc340; color: #1a1500; }
.btn--ghost { background: transparent; }

/* hero pill mock — visual decoration */
.hero__pill-mock {
  width: 200px; height: 52px;
  background: rgba(20, 23, 28, 0.85);
  border-radius: 26px;
  border: 1px solid var(--stroke-hi);
  box-shadow: 0 14px 36px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,0.05) inset;
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
}
.hero__pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff3d3d; box-shadow: 0 0 8px rgba(255,61,61,0.85);
  animation: pulse 1.6s infinite ease-in-out;
}
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.55; transform: scale(0.85);} }
.hero__pill-bars { display: flex; flex: 1; align-items: center; gap: 2px; height: 36px; }
.hero__pill-bars i {
  display: block; flex: 1; min-width: 2px; max-width: 3px;
  background: linear-gradient(180deg, var(--steel-hi), var(--steel-mid) 50%, var(--steel-low));
  border-radius: 1.5px;
  animation: jitter 1.4s infinite ease-in-out;
}
.hero__pill-bars i:nth-child(odd)  { animation-delay: 0.10s; }
.hero__pill-bars i:nth-child(3n)   { animation-delay: 0.25s; }
.hero__pill-bars i:nth-child(7n)   { animation-delay: 0.18s; }
@keyframes jitter {
  0%,100% { height: 6px; } 25% { height: 22px; } 50% { height: 12px; } 75% { height: 30px; }
}

/* ============================================================ how / sections */
section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 400;
  margin: 60px 0 24px;
}

.how__steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.how__steps li { background: var(--surface); border: 1px solid var(--stroke); border-radius: 12px; padding: 22px; }
.how__num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  margin-bottom: 14px;
}
.how__steps h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.how__steps p { color: var(--muted); font-size: 14px; }
kbd {
  font-family: 'JetBrains Mono', monospace;
  background: var(--surface-2); border: 1px solid var(--stroke-hi);
  border-radius: 4px; padding: 1px 6px; font-size: 12px;
}

/* ============================================================ pricing */
.pricing__subtitle { color: var(--muted); max-width: 600px; margin-bottom: 32px; }
.pricing__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.pricing__card {
  background: var(--surface); border: 1px solid var(--stroke); border-radius: 12px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.pricing__card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255,176,0,0.04), transparent 40%), var(--surface);
}
.pricing__tier {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--accent); letter-spacing: 0.16em; text-transform: uppercase;
}
.pricing__price { font-family: 'Instrument Serif', serif; font-size: 48px; line-height: 1; }
.pricing__price span { font-style: italic; }
.pricing__price small { font-size: 14px; color: var(--muted); font-family: inherit; font-style: normal; margin-left: 6px; }
.pricing__card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.pricing__card ul li:before { content: "·  "; color: var(--accent); }
.pricing__card .btn { margin-top: 6px; }
.pricing__note { font-size: 12px; color: var(--muted); }

/* ============================================================ why */
.why p { color: var(--muted); max-width: 720px; }
.why em { color: var(--text); font-style: italic; }

/* ============================================================ recover + thanks */
.recover, .thanks { max-width: 560px; margin: 80px auto 60px; padding: 0 24px; }
.recover h1, .thanks h1 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(32px, 5vw, 48px); margin-bottom: 16px;
}
.thanks em { font-style: italic; color: var(--accent); }
.recover p, .thanks p { color: var(--muted); margin-bottom: 18px; }
.recover__form { display: flex; gap: 8px; margin: 20px 0; }
.recover__form input {
  flex: 1; padding: 12px 14px; font-size: 14px;
  background: var(--surface); border: 1px solid var(--stroke-hi); border-radius: 8px;
  color: var(--text); font-family: inherit;
}
.recover__form input:focus { outline: none; border-color: var(--accent); }
.recover__result { color: var(--phosphor); font-size: 14px; min-height: 22px; }
.recover__small { font-size: 12px; color: var(--muted); }

/* ============================================================ footer */
.footer {
  max-width: 980px; margin: 80px auto 0;
  padding: 24px; border-top: 1px solid var(--stroke);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--muted); font-size: 13px;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }

/* ============================================================ responsive */
@media (max-width: 720px) {
  .how__steps { grid-template-columns: 1fr; }
  .pricing__cards { grid-template-columns: 1fr; }
  .hero__pill-mock { display: none; }
  .topbar__nav a:first-child { display: none; }
}
