:root {
  --bg: #0B0F14;
  --bg-1: #0F1620;
  --bg-2: #121A26;
  --line: #1F2A3A;
  --line-2: #2A3A52;
  --text: #E6EDF6;
  --text-2: #A6AFC2;
  --text-3: #7E8A9C;
  --accent: #5EE6E6;
  --accent-deep: #0EA5E9;
  --warn: #F59E0B;
  --bad: #FB7185;
  --good: #34D399;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Top nav (shared across marketing pages) */
.nav {
  display: flex; align-items: center; gap: 28px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.nav .brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em;
  color: var(--text); font-weight: 600;
}
.nav .brand-mark {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  position: relative;
}
.nav .brand-mark::after {
  content: ""; position: absolute; inset: 3px;
  background: var(--accent); border-radius: 50%; opacity: 0.85;
}
.nav .links {
  display: flex; gap: 22px; margin-left: 32px;
  font-size: 13.5px; color: var(--text-2);
}
.nav .links a { color: var(--text-2); }
.nav .links a:hover { color: var(--text); text-decoration: none; }
.nav .cta-group { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav .btn-secondary {
  color: var(--text-2); padding: 7px 14px; font-size: 13px;
}
.nav .btn-primary {
  background: var(--accent); color: #001018;
  padding: 7px 16px; border-radius: 6px;
  font-weight: 600; font-size: 13px;
}
.nav .btn-primary:hover { background: #7EE9E9; text-decoration: none; }

/* Hero */
.hero {
  padding: 96px 28px 64px;
  text-align: center;
  max-width: 920px; margin: 0 auto;
}
.hero h1 {
  font-size: 56px; font-weight: 700;
  margin: 0 0 20px; letter-spacing: -0.02em;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 0%, #A6AFC2 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .lede {
  font-size: 19px; color: var(--text-2);
  max-width: 640px; margin: 0 auto 32px;
}
.hero .cta {
  display: inline-flex; gap: 14px; align-items: center;
}
.hero .btn-primary {
  background: var(--accent); color: #001018;
  padding: 12px 24px; border-radius: 7px;
  font-weight: 600; font-size: 15px; display: inline-block;
}
.hero .btn-primary:hover { background: #7EE9E9; text-decoration: none; }
.hero .btn-link {
  color: var(--text-2); padding: 12px 16px; font-size: 15px;
}

/* Hero canvas illustration — sits below the CTAs on the homepage and at the
   top of each long-form SEO article. Stylized SVG (not a screenshot) with an
   "Illustration" annotation baked in so we're honest about what visitors see. */
.hero-canvas {
  margin: 56px auto 0;
  max-width: 1080px;
  padding: 0 28px;
}
.hero-canvas img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-1);
  /* Soft drop so the SVG reads as a "canvas surface" floating on the page. */
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.article-hero-canvas {
  margin: 0 auto 32px;
  max-width: 100%;
}
.article-hero-canvas img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-1);
}
@media (max-width: 720px) {
  .hero-canvas { margin-top: 32px; padding: 0 14px; }
}

/* Feature blocks */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1080px; margin: 32px auto 96px; padding: 0 28px;
}
.feature {
  background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 10px; padding: 28px;
}
.feature h3 {
  margin: 0 0 10px; font-size: 18px; font-weight: 600;
  color: var(--text);
}
.feature p { color: var(--text-2); margin: 0; font-size: 14px; }
.feature .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(94,230,230,0.12);
  display: grid; place-items: center;
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--accent);
}
.feature .icon svg { width: 18px; height: 18px; display: block; }

/* Section blocks (used on /features etc) */
.section {
  max-width: 920px; margin: 0 auto; padding: 64px 28px;
}
.section h2 {
  font-size: 32px; font-weight: 700; margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.section h3 {
  font-size: 22px; font-weight: 600; margin: 28px 0 8px;
}
.section p { color: var(--text-2); }
.section .screenshot-placeholder {
  margin: 16px 0 32px;
  padding: 60px;
  background: var(--bg-1);
  border: 1px dashed var(--line-2);
  border-radius: 10px;
  text-align: center;
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 12px;
}

/* Pricing */
.pricing-card {
  max-width: 480px; margin: 32px auto 96px;
  padding: 36px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
}
.pricing-card h2 { margin: 0 0 8px; font-size: 28px; }
.pricing-card .price {
  font-size: 48px; font-weight: 700; color: var(--accent);
  margin: 16px 0;
}
.pricing-card .small { color: var(--text-3); font-size: 13px; }
.pricing-card .btn-primary {
  display: inline-block; margin-top: 24px;
  background: var(--accent); color: #001018;
  padding: 12px 32px; border-radius: 7px;
  font-weight: 600;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 28px;
  text-align: center;
  color: var(--text-3);
  font-size: 13px;
  background: var(--bg-1);
}
.footer .links { display: inline-flex; gap: 22px; margin-bottom: 12px; }

/* Mobile hamburger toggle (injected by <script> at end of each marketing
   HTML page; class is added to <html> when JS runs so we can hide the
   button on no-JS clients without affecting the desktop layout). */
.nav-hamburger {
  display: none;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: 6px; padding: 6px 10px; cursor: pointer;
  color: var(--text); font-size: 18px; line-height: 1;
}
.nav-hamburger:hover { background: var(--bg-2); }

/* Responsive */
@media (max-width: 720px) {
  .hero h1 { font-size: 36px; }
  .hero .lede { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  .nav {
    gap: 12px; padding: 14px 18px;
    flex-wrap: wrap;
  }
  .nav .cta-group { margin-left: auto; }
  /* Hamburger replaces the inline links list. */
  .js .nav-hamburger { display: inline-block; order: 3; }
  .nav .links {
    display: none;
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    gap: 12px; margin: 8px 0 0;
    padding: 12px 0 4px;
    border-top: 1px solid var(--line);
  }
  .nav .links.open { display: flex; }
  /* No-JS fallback: show the links inline as a wrapped row so the nav
     never has zero affordance. */
  html:not(.js) .nav .links {
    display: flex; flex-direction: row; flex-wrap: wrap;
    margin-left: 0; gap: 16px;
  }
}
