:root {
  --bg: #0a0b0f;
  --bg-2: #0f1117;
  --panel: #12141c;
  --panel-2: #161925;
  --border: #232838;
  --text: #e7eaf3;
  --muted: #9aa3b8;
  --accent: #5b8cff;
  --accent-2: #7aa2ff;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
  backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-lockup { height: 40px; width: auto; display: block; }
.brand-word { font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.tm { font-size: 10px; vertical-align: super; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text) !important;
}
.nav-cta:hover { border-color: var(--accent); }

/* Layout helpers */
main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 72px 0; border-bottom: 1px solid var(--border); }
h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.15; }
.section-lede { color: var(--muted); max-width: 640px; margin-top: 10px; }

/* Hero */
.hero { text-align: center; padding: 80px 0 88px; }
.hero-mark { height: 168px; width: auto; display: block; margin: 0 auto 28px; filter: drop-shadow(0 10px 48px rgba(91,140,255,0.35)); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--accent-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 26px;
}
.hero h1 { font-size: clamp(44px, 8vw, 76px); font-weight: 800; }
.lede { color: var(--muted); font-size: clamp(17px, 2.4vw, 21px); max-width: 640px; margin: 22px auto 0; }
.lede strong { color: var(--text); }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 20px; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }

/* Wedge */
.wedge { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.wedge-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.wedge-card h3 { font-size: 20px; margin-bottom: 10px; }
.wedge-card p { color: var(--muted); font-size: 15px; }
.wedge-card--accent { border-color: var(--accent); background: linear-gradient(180deg, rgba(91,140,255,0.10), var(--panel)); }
.wedge-arrow { color: var(--accent); font-size: 28px; }

/* Workflow */
.workflow h2 { font-size: clamp(28px, 4vw, 38px); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.steps li { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: var(--panel-2); color: var(--accent-2); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.steps h4 { font-size: 16px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 13.5px; }

/* Pricing */
.pricing h2 { font-size: clamp(26px, 3.6vw, 34px); max-width: 760px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.plan { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 28px; position: relative; }
.plan--pro { border-color: var(--accent); background: linear-gradient(180deg, rgba(91,140,255,0.08), var(--panel)); }
.plan-badge { position: absolute; top: -11px; left: 24px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 100px; }
.plan h3 { font-size: 22px; }
.plan-price { color: var(--accent-2); font-weight: 700; margin: 4px 0 16px; }
.plan ul { list-style: none; display: grid; gap: 10px; }
.plan li { color: var(--muted); font-size: 15px; padding-left: 22px; position: relative; }
.plan li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pricing-note { color: var(--muted); font-size: 13.5px; margin-top: 22px; max-width: 720px; }

/* Ecosystem */
.ecosystem h2 { font-size: clamp(26px, 3.6vw, 34px); }
.eco-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.eco-card { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 24px; transition: border-color 0.15s ease, transform 0.08s ease; }
.eco-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.eco-card h4 { font-size: 18px; margin-bottom: 8px; }
.eco-card p { color: var(--muted); font-size: 14px; }
.eco-link { display: inline-block; margin-top: 14px; color: var(--accent-2); font-size: 13.5px; font-weight: 600; }

/* Waitlist */
.waitlist { text-align: center; }
.waitlist h2 { font-size: clamp(28px, 4vw, 40px); }
.waitlist > p { color: var(--muted); max-width: 520px; margin: 12px auto 0; }
.waitlist-form { display: flex; gap: 10px; justify-content: center; margin: 28px auto 0; max-width: 480px; flex-wrap: wrap; }
.waitlist-form input[type=email] {
  flex: 1;
  min-width: 220px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
}
.waitlist-form input[type=email]:focus { outline: none; border-color: var(--accent); }
.waitlist-note { color: var(--muted); font-size: 12.5px; margin-top: 14px; }

/* Footer */
.footer { border-bottom: none; padding: 48px 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-lockup { height: 32px; width: auto; display: block; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer-legal { color: var(--muted); font-size: 12.5px; text-align: right; }
.footer-legal p { margin-bottom: 4px; }

/* Responsive */
@media (max-width: 860px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .wedge { grid-template-columns: 1fr; }
  .wedge-arrow { transform: rotate(90deg); justify-self: center; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans, .eco-grid { grid-template-columns: 1fr; }
  .footer-legal { text-align: left; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}
