@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg-0: #0e0f13;
  --bg-1: #14151b;
  --bg-2: #17181f;
  --bg-3: #1c1e26;
  --surface-0: #0e0f13;
  --surface-1: #17181f;
  --border: #262832;
  --border-strong: #2a2c36;
  --input-bg: #14151b;

  --text-primary: #f4f5f6;
  --text-secondary: #e8e9ec;
  --text-tertiary: #a7a9b2;
  --text-muted: #8a8d99;
  --text-faint: #6b6d78;
  --text-disabled: #565962;
  --text-code: #c8cad4;

  --amber: #e0a340;
  --amber-ink: #1c1e26;
  --success: #7ec488;
  --warning: #e0b45c;
  --error: #e08a8a;
  --link: #7fb3d9;
  --link-hover: #a3c9e6;

  --radius-sm: 3px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-0);
  font-family: var(--font-body);
  color: var(--text-secondary);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 84px 40px;
}

section { border-top: 1px solid var(--border); }
section:first-of-type { border-top: none; }

.bg-0 { background: var(--bg-0); }
.bg-1 { background: var(--bg-1); }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }

/* ---------- HERO ---------- */
.hero .wrap {
  padding: 88px 40px 76px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 52px;
}

.brand svg { width: 26px; height: 26px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  color: var(--text-secondary);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  max-width: 760px;
  margin: 0 0 24px;
}

.hero h1 .accent { color: var(--amber); }

.hero .subhead {
  font-weight: 500;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--text-tertiary);
  max-width: 620px;
  margin: 0 0 36px;
}

.waitlist-form {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.waitlist-form input[type="email"] {
  width: 260px;
  background: var(--input-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  outline: none;
}

.waitlist-form input[type="email"]::placeholder { color: var(--text-disabled); }

.waitlist-form button {
  background: var(--amber);
  color: var(--amber-ink);
  border: none;
  border-radius: var(--radius-md);
  padding: 13px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  white-space: nowrap;
}

.waitlist-form button:hover { opacity: 0.92; }

.waitlist-success {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--success);
  display: none;
}

.waitlist-success.is-visible { display: block; }
.waitlist-form.is-hidden { display: none; }

.hero .microcopy {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-disabled);
  max-width: 560px;
}

/* ---------- PROBLEM ---------- */
.problem h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.28;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 0 14px;
}

.problem .lede {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.terminal {
  background: var(--bg-0);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3c47;
}

.terminal-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

.terminal-body {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
}

.terminal-body.tight { padding: 26px 26px 28px; line-height: 1.9; }

.line-error { color: var(--error); }
.line-warning { color: var(--warning); }
.line-note {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 12px;
  color: var(--text-disabled);
}

.terminal-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.terminal-rule {
  border-top: 1px solid var(--border);
  margin: 10px 0 4px;
}

.terminal-close {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ---------- PILLARS ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 32px;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
  margin-bottom: 12px;
}

.pillar-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.3;
  color: var(--text-secondary);
  margin: 0 0 10px;
}

.pillar-body {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.pillar-quote {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-code);
}

.pillars-footnote {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- HOW IT WORKS ---------- */
.how h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0 0 18px;
}

.how .terminal { max-width: 780px; }
.how .terminal-body div { color: var(--text-muted); }
.how .terminal-body .you { color: var(--text-secondary); }
.how .terminal-body .verified { color: var(--success); }
.how .terminal-body .shipped { color: var(--amber); font-weight: 600; margin-top: 0; }
.how .terminal-body .step-record { margin-bottom: 10px; }

.screens {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  max-width: 780px;
}

.screen-card { flex: 1; }

.screen-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
}

.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screen-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ---------- CREDIBILITY ---------- */
.credibility-list { display: flex; flex-direction: column; }

.credibility-row {
  display: flex;
  gap: 48px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.credibility-row:last-child { border-bottom: 1px solid var(--border); }

.credibility-title {
  width: 260px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: var(--text-secondary);
}

.credibility-body {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq .wrap { max-width: 780px; }

.faq h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

.faq-item {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.faq-list { border-bottom: 1px solid var(--border); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text-secondary);
}

.faq-toggle {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-answer {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 680px;
  display: none;
}

.faq-item.is-open .faq-answer { display: block; }

/* ---------- FOOTER ---------- */
.footer-cta .wrap {
  max-width: 900px;
  padding: 96px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-cta h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 29px;
  line-height: 1.35;
  color: var(--text-primary);
  max-width: 680px;
  margin: 0 0 30px;
}

.footer-cta .waitlist-form { justify-content: center; }

.footer-links {
  margin-top: 22px;
  font-size: 13px;
  color: var(--text-faint);
}

.disclaimer {
  margin-top: 28px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--text-disabled);
  max-width: 620px;
}

/* ---------- BLOG / ARTICLE ---------- */
.site-header {
  border-top: none;
  padding: 28px 40px;
}

.site-header .wrap {
  padding: 0;
  max-width: 1160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .back-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.site-header .back-link:hover { color: var(--link-hover); }

.post { padding-bottom: 40px; }

.post-wrap {
  max-width: 680px;
  padding: 20px 40px 84px;
}

.post-meta {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.post h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 36px;
}

.post h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
  line-height: 1.3;
  color: var(--text-secondary);
  margin: 48px 0 18px;
}

.post p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 22px;
}

.post strong { color: var(--text-primary); font-weight: 700; }
.post em { font-style: italic; }

.post a { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }
.post a:hover { text-decoration-color: var(--link-hover); }

.post .callout {
  background: var(--bg-2);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 0 0 22px;
}

.post .callout p:last-child { margin-bottom: 0; }

.post .lessons {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.post .lessons li { padding-left: 44px; position: relative; }

.post .lessons .num {
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
}

.post .lessons p { margin-bottom: 0; }

.post-cta {
  margin: 44px 0 40px;
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.post-cta p {
  font-size: 15.5px;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.post-cta .btn-cta {
  display: inline-block;
  background: var(--amber);
  color: var(--amber-ink);
  border-radius: var(--radius-md);
  padding: 13px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
}

.post-cta .btn-cta:hover { opacity: 0.92; }

.post-bio {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}

.site-footer .wrap {
  max-width: 1160px;
  padding: 0;
}

.site-footer .footer-links,
.site-footer .disclaimer { margin-top: 0; }
.site-footer .disclaimer { margin-top: 14px; }

@media (max-width: 860px) {
  .post h1 { font-size: 30px; }
}

@media (max-width: 860px) {
  .hero h1 { font-size: 40px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .credibility-row { flex-direction: column; gap: 12px; }
  .credibility-title { width: auto; }
  .screens { flex-direction: column; }
  .waitlist-form { flex-direction: column; align-items: stretch; }
  .waitlist-form input[type="email"] { width: 100%; }
}
