/* Stylesheet for the generated static SEO landing pages.
   Deliberately standalone (no Tailwind build step) so the pages are plain
   HTML + CSS that any crawler can read without executing JavaScript.
   Palette mirrors the React marketing site: slate text on white, violet accent. */

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --bg: #ffffff;
  --soft: #f8fafc;
  --accent: #6c3bf4;
  --accent-soft: #f2eeff;
  --radius: 14px;
  --wrap: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--accent);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
}

::selection {
  background: rgba(108, 59, 244, 0.25);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* Narrow bands keep the same left gutter as full-width bands so section
   edges line up down the page; only the measure is constrained. */
.wrap.narrow > * {
  max-width: 780px;
}

.band-cta .wrap.narrow > * {
  margin-left: auto;
  margin-right: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.header-nav a {
  color: var(--muted);
  font-weight: 500;
}

.header-nav a:hover {
  color: var(--ink);
}

.header-nav .btn {
  color: #fff;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #1e293b;
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink-soft);
  background: #fff;
}

.btn-ghost:hover {
  border-color: #cbd5e1;
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 45%, #ffffff 100%);
  padding: 56px 0 64px;
}

.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.crumbs a {
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--ink);
}

.crumb-sep {
  margin: 0 8px;
  color: #cbd5e1;
}

.kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  max-width: 18ch;
}

.hero .lede {
  margin-top: 20px;
  max-width: 62ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- bands ---------- */

.band {
  padding: 64px 0;
  border-top: 1px solid var(--line-soft);
}

.band-alt {
  background: var(--soft);
}

.band h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 24ch;
}

.section-lede {
  margin-top: 14px;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.band .wrap > p {
  color: var(--ink-soft);
  max-width: 68ch;
}

.band .wrap > h2 + p,
.band .wrap > .kicker + h2 + p {
  margin-top: 16px;
}

/* ---------- cards ---------- */

.cards {
  margin-top: 36px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- steps ---------- */

.steps {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.steps h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- callout ---------- */

.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px 30px;
}

.callout h2 {
  font-size: 1.35rem;
  max-width: none;
}

.callout p {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.callout-note {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- checklist ---------- */

.checklist {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- link grid ---------- */

.link-grid {
  margin-top: 32px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease;
}

.link-card:hover {
  border-color: #cbd5e1;
  background: var(--soft);
}

.link-card-title {
  font-weight: 600;
  color: var(--ink);
}

.link-card-sub {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ---------- faq ---------- */

.faq {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

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

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  display: inline;
  font-size: 1.02rem;
  font-weight: 600;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 16px;
  font-size: 1.4rem;
  color: var(--muted);
  line-height: 1;
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  max-width: 68ch;
}

/* ---------- cta band ---------- */

.band-cta {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  text-align: center;
}

.band-cta h2 {
  max-width: none;
}

.band-cta .section-lede {
  margin-left: auto;
  margin-right: auto;
}

.band-cta .cta-row {
  justify-content: center;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 56px 0 32px;
  font-size: 0.94rem;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.4fr repeat(4, 1fr);
}

.footer-brand p {
  margin-top: 12px;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 16px;
  color: var(--muted);
}

.footer-social a {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0 0 8px;
}

.footer-note {
  max-width: 78ch;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .band {
    padding: 48px 0;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .header-nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  /* Keep the two hub links reachable on phones; drop the product links. */
  .header-nav .nav-secondary {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
