:root {
  --page: #0c0d0f;
  --raised: #0f1012;
  --border: #23262a;
  --badge-bg: #1a140f;
  --badge-border: #3a2a1f;
  --primary: #f2efe9;
  --secondary: #9ba0a6;
  --accent: #ff6a39;
  --accent-hover: #ff8a5c;
  --terminal-bg: #0a0a0a;
  --font-heading: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--primary);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: 1152px; margin: 0 auto; padding: 0 1.5rem; }

@media (min-width: 768px) { .wrap { padding: 0 3rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 6rem; } }

/* Nav */
.site-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
}
@media (min-width: 768px) { .site-nav { padding: 1.25rem 3rem; } }
@media (min-width: 1024px) { .site-nav { padding: 1.25rem 6rem; } }

.site-nav .brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--primary);
  transition: color 0.2s;
}
.site-nav .brand:hover { color: var(--accent); }

.site-nav .links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav .links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--secondary);
  transition: color 0.2s;
}
.site-nav .links a:hover,
.site-nav .links a.active { color: var(--primary); }

/* Glow */
.glow {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 0;
  height: 900px;
  width: 100%;
  opacity: 0;
  background: radial-gradient(ellipse 90% 65% at 50% 100%, #ff6a39 0%, #ff8a5c 30%, transparent 70%);
  animation: glow-fade 4s ease-out forwards;
}
@keyframes glow-fade {
  0% { opacity: 0; }
  20% { opacity: 0.18; }
  50% { opacity: 0.15; }
  100% { opacity: 0.1; }
}

main { position: relative; z-index: 10; flex: 1; display: flex; flex-direction: column; }

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  padding: 5rem 1.5rem 8rem;
}
@media (min-width: 768px) { .hero { padding: 5rem 3rem 8rem; } }
@media (min-width: 1024px) { .hero { padding: 5rem 6rem 8rem; } }
.hero-inner { max-width: 48rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--badge-border);
  background: var(--badge-bg);
  padding: 0.375rem 1rem;
}
.badge .dot { position: relative; display: flex; height: 0.5rem; width: 0.5rem; }
.badge .dot::before, .badge .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #22c55e;
}
.badge .dot::before { animation: ping 1.8s cubic-bezier(0,0,0.2,1) infinite; opacity: 0.75; }
@keyframes ping { 75%,100% { transform: scale(2.2); opacity: 0; } }
.badge span.label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 800; letter-spacing: -0.02em; color: var(--primary); margin: 0; }
h1 { font-size: 2.25rem; line-height: 1.1; }
h2 { font-size: 1.875rem; line-height: 1.25; }
h3 { font-size: 1.125rem; font-weight: 700; }
@media (min-width: 768px) { h1 { font-size: 3.75rem; } h2 { font-size: 3rem; } }
@media (min-width: 1024px) { h1 { font-size: 4.5rem; } }

.accent { color: var(--accent); }

p { color: var(--secondary); margin: 0; }
p.lede { max-width: 36rem; font-size: 1rem; line-height: 1.7; }
@media (min-width: 768px) { p.lede { font-size: 1.125rem; } }

.cta-row { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 640px) { .cta-row { flex-direction: row; } }

.btn {
  display: inline-flex;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 10px 25px -8px rgba(255,106,57,0.45); }
.btn-secondary { background: transparent; border-color: var(--border); color: var(--primary); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Feature strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--raised); }
.strip-grid { display: grid; grid-template-columns: 1fr; max-width: 1152px; margin: 0 auto; }
@media (min-width: 768px) { .strip-grid { grid-template-columns: repeat(3, 1fr); } }
.strip-cell { display: flex; flex-direction: column; gap: 1rem; padding: 4rem 2rem; border-top: 1px solid var(--border); }
.strip-cell:first-child { border-top: none; }
@media (min-width: 768px) {
  .strip-cell { border-top: none; border-right: 1px solid var(--border); }
  .strip-cell:last-child { border-right: none; }
}
.emoji { font-size: 1.5rem; }

/* Steps */
.steps { border-bottom: 1px solid var(--border); }
.steps-grid { display: grid; grid-template-columns: 1fr; max-width: 1152px; margin: 0 auto; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-cell { display: flex; flex-direction: column; gap: 1rem; padding: 4rem 2rem; border-top: 1px solid var(--border); }
.step-cell:first-child { border-top: none; }
@media (min-width: 768px) {
  .step-cell { border-top: none; border-right: 1px solid var(--border); }
  .step-cell:last-child { border-right: none; }
}
.step-num { font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.15em; color: var(--accent); }

.section-cta {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem;
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, #0f1012 0%, #0c0d0f 100%);
}
@media (min-width: 768px) { .section-cta { padding: 6rem 3rem; } }
@media (min-width: 1024px) { .section-cta { padding: 6rem 6rem; } }
.section-cta-inner { max-width: 32rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
p.lede-sm { max-width: 24rem; font-size: 1rem; line-height: 1.7; }

/* Waitlist */
.waitlist { background: linear-gradient(180deg, #0c0d0f 0%, #0a0a0a 100%); padding: 6rem 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
@media (min-width: 768px) { .waitlist { padding: 6rem 3rem; } }
@media (min-width: 1024px) { .waitlist { padding: 6rem 6rem; } }
.waitlist-inner { max-width: 32rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.waitlist-form { display: flex; width: 100%; max-width: 28rem; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .waitlist-form { flex-direction: row; } }
.waitlist-form input {
  flex: 1;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--page);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--primary);
  font-family: var(--font-body);
}
.waitlist-form input::placeholder { color: var(--secondary); }
.waitlist-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.fine-print { font-size: 0.75rem; color: var(--secondary); }
.form-note { font-size: 0.8rem; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 2rem 1.5rem; }
@media (min-width: 768px) { footer { padding: 2rem 3rem; } }
@media (min-width: 1024px) { footer { padding: 2rem 6rem; } }
.footer-inner { max-width: 1152px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
@media (min-width: 640px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-links { display: flex; gap: 1.5rem; font-size: 0.8rem; color: var(--secondary); }
.footer-links a:hover { color: var(--accent); }
.copyright { font-size: 0.875rem; color: var(--secondary); text-align: center; }

/* Product page terminal */
.product-hero {
  display: flex;
  min-height: calc(100vh - 4rem);
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 4rem 1.5rem;
}
@media (min-width: 768px) { .product-hero { flex-direction: row; padding: 4rem 2rem; } }
.terminal { width: 100%; overflow: hidden; border-radius: 0.75rem; border: 1px solid var(--border); box-shadow: 0 25px 50px -12px rgba(255,106,57,0.06); }
@media (min-width: 768px) { .terminal-col { width: 62%; } }
.terminal-bar { display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--border); background: var(--raised); padding: 0.75rem 1rem; }
.terminal-dots { display: flex; gap: 0.375rem; }
.terminal-dots span { height: 0.75rem; width: 0.75rem; border-radius: 999px; }
.terminal-dots span:nth-child(1) { background: #ef4444; }
.terminal-dots span:nth-child(2) { background: #eab308; }
.terminal-dots span:nth-child(3) { background: #22c55e; }
.terminal-path { margin-left: 0.75rem; font-size: 0.75rem; color: var(--secondary); font-family: var(--font-mono); }
.terminal-body { display: flex; min-height: 500px; flex-direction: column; gap: 0.35rem; background: var(--terminal-bg); padding: 1.75rem; font-family: var(--font-mono); font-size: 1.25rem; color: #c8d6e5; }
.terminal-body .prompt { color: var(--accent); }
.terminal-body .dim { color: var(--secondary); }
.cursor { display: inline-block; width: 0.5em; background: var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.product-copy { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; }
@media (min-width: 768px) { .product-copy { width: 38%; align-items: flex-start; text-align: left; } }
.eyebrow { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }

/* Pricing table */
.compare-section { border-bottom: 1px solid var(--border); background: var(--raised); }
.section-pad { padding: 6rem 1.5rem; max-width: 1152px; margin: 0 auto; }
@media (min-width: 768px) { .section-pad { padding: 6rem 3rem; } }
@media (min-width: 1024px) { .section-pad { padding: 6rem 6rem; } }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; margin-bottom: 3rem; }
.table-scroll { overflow-x: auto; border-radius: 0.75rem; border: 1px solid var(--border); }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.875rem; }
th, td { padding: 1rem 1.5rem; text-align: left; }
thead tr { border-bottom: 1px solid var(--border); }
th { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--secondary); }
th.orca-col { color: var(--accent); }
tbody tr { border-top: 1px solid var(--border); }
tbody td:first-child { font-weight: 500; color: var(--primary); }
td.orca-cell { font-weight: 600; color: var(--accent); }
td span.sub { display: block; color: var(--secondary); }

.everything-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--border); }
@media (min-width: 768px) { .everything-grid { grid-template-columns: repeat(2, 1fr); } }
.everything-cell { display: flex; flex-direction: column; gap: 1rem; background: var(--page); padding: 3rem 2rem; }

.faq-section { border-bottom: 1px solid var(--border); background: var(--raised); }
.faq-wrap { max-width: 48rem; margin: 0 auto; padding: 6rem 1.5rem; }
@media (min-width: 768px) { .faq-wrap { padding: 6rem 3rem; } }
.faq-wrap h2 { text-align: center; margin-bottom: 3rem; }
.faq-list { display: flex; flex-direction: column; gap: 1.5rem; }
.faq-item { display: flex; flex-direction: column; gap: 0.5rem; border-radius: 0.75rem; border: 1px solid var(--border); background: var(--page); padding: 1.5rem; }
.faq-item p { font-size: 0.875rem; line-height: 1.7; }

/* News / blog */
.news-hero { padding: 5rem 1.5rem 3rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
@media (min-width: 768px) { .news-hero { padding: 5rem 3rem 3rem; } }
.news-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: 1152px; margin: 0 auto; width: 100%; }
.news-card { background: var(--page); padding: 2.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; transition: background 0.2s; }
@media (min-width: 768px) { .news-card { padding: 2.5rem 3rem; flex-direction: row; align-items: baseline; gap: 2rem; } }
.news-card:hover { background: var(--raised); }
.news-meta { display: flex; flex-direction: column; gap: 0.35rem; flex-shrink: 0; width: 9rem; }
.news-date { font-family: var(--font-mono); font-size: 0.75rem; color: var(--secondary); }
.news-tag { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.news-body h3 { margin-bottom: 0.5rem; }
.news-body h3 a:hover { color: var(--accent); }
.news-excerpt { font-size: 0.9rem; line-height: 1.7; }

.post-header { padding: 5rem 1.5rem 2rem; max-width: 44rem; margin: 0 auto; width: 100%; }
@media (min-width: 768px) { .post-header { padding: 5rem 3rem 2rem; } }
.post-header .news-date { margin-bottom: 1rem; }
.post-header h1 { font-size: 2.25rem; }
@media (min-width: 768px) { .post-header h1 { font-size: 3rem; } }
.post-body { max-width: 44rem; margin: 0 auto; padding: 0 1.5rem 5rem; width: 100%; display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) { .post-body { padding: 0 3rem 5rem; } }
.post-body p { color: #c7c8cd; font-size: 1rem; line-height: 1.8; }
.post-body h2 { font-size: 1.375rem; margin-top: 1rem; }
.post-images { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 0.5rem 0; }
@media (min-width: 640px) { .post-images { grid-template-columns: 1fr 1fr; } }
.post-images figure { margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.post-images img { width: 100%; border-radius: 0.75rem; border: 1px solid var(--border); }
.post-images figcaption { font-size: 0.75rem; color: var(--secondary); text-align: center; }
.spec-list { display: flex; flex-direction: column; gap: 0.5rem; padding-left: 0; margin: 0; list-style: none; }
.spec-list li { font-size: 1rem; line-height: 1.7; color: #c7c8cd; padding-left: 1.25rem; position: relative; }
.spec-list li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: var(--accent); margin: 0 auto; max-width: 44rem; width: 100%; padding: 0 1.5rem; }
@media (min-width: 768px) { .back-link { padding: 0 3rem; } }
