:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --fg: #111827;
  --muted: #5a6678;
  --panel: #ffffff;
  --panel-soft: #eef4f8;
  --line: #d6dfeb;
  --ink: #0f172a;
  --teal: #0f766e;
  --teal-soft: #dff6f2;
  --blue: #2563eb;
  --amber: #b45309;
  --paper: #fbfdff;
  --shadow: 0 24px 70px rgb(15 23 42 / 12%);
  --shadow-soft: 0 12px 34px rgb(15 23 42 / 7%);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  text-rendering: geometricPrecision;
}

.scroll-progress {
  background: transparent;
  height: 4px;
  inset: 0 0 auto;
  position: fixed;
  z-index: 100;
}

.scroll-progress span {
  background: linear-gradient(90deg, var(--teal), var(--blue));
  display: block;
  height: 100%;
  width: 0;
}

.scroll-top {
  align-items: center;
  background: var(--ink);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 8px;
  bottom: 22px;
  box-shadow: var(--shadow);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.1rem;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 22px;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
  width: 44px;
  z-index: 20;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--teal);
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: saturate(140%) blur(16px);
  background: rgb(248 251 253 / 88%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgb(255 255 255 / 70%);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 850;
  gap: 12px;
  text-decoration: none;
}

.mark {
  align-items: center;
  background: var(--teal);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.84rem;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
  min-width: 0;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.site-header nav a:hover,
.doc-links a:hover,
.doc-next a:hover {
  color: var(--teal);
}

.hero {
  isolation: isolate;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  position: relative;
}

.hero-visual {
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  opacity: 0.96;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgb(9 14 25 / 96%) 0%, rgb(9 14 25 / 82%) 42%, rgb(9 14 25 / 36%) 76%, rgb(9 14 25 / 12%) 100%),
    linear-gradient(180deg, rgb(9 14 25 / 18%) 0%, rgb(9 14 25 / 76%) 100%);
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero-content {
  color: #ffffff;
  margin-left: max(32px, calc((100vw - var(--content)) / 2 + 32px));
  max-width: 820px;
  padding: 11vh 32px 128px 0;
}

.hero h1 {
  font-size: 4.75rem;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 22px;
  max-width: 800px;
}

.lead {
  color: rgb(255 255 255 / 82%);
  font-size: 1.22rem;
  line-height: 1.55;
  max-width: 62ch;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7de7d9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2 {
  color: var(--ink);
  font-size: 3rem;
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 16px;
  max-width: 860px;
}

h3 {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  min-height: 46px;
  padding: 0 20px;
  text-decoration: none;
}

.button.primary {
  background: #ffffff;
  color: var(--ink);
}

.button:hover {
  background: rgb(255 255 255 / 18%);
  border-color: rgb(255 255 255 / 48%);
  transform: translateY(-1px);
}

.button.primary:hover {
  background: var(--teal-soft);
  border-color: #99d8cf;
  color: var(--ink);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #7de7d9;
  outline-offset: 3px;
}

.hero-strip {
  align-items: center;
  background: rgb(255 255 255 / 92%);
  border-top: 1px solid rgb(255 255 255 / 40%);
  bottom: 0;
  color: var(--ink);
  display: flex;
  gap: 10px;
  inset-inline: 0;
  min-height: 72px;
  overflow-x: auto;
  padding: 14px max(32px, calc((100vw - var(--content)) / 2 + 32px));
  position: absolute;
}

.hero-strip a {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 36px;
  padding: 7px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.hero-strip a:hover {
  background: var(--teal-soft);
  border-color: #99d8cf;
  color: var(--teal);
}

.problem,
.visual-proof,
.workflow,
.showcase,
.preview-band,
.feature-grid,
.metrics-band,
.docs-strip,
.quickstart,
.objection {
  margin: 0 auto;
  max-width: var(--content);
  padding: 88px 32px;
}

.quickstart,
.visual-proof,
.preview-band,
.docs-strip {
  background: #ffffff;
  box-shadow: 0 0 0 100vmax #ffffff;
  clip-path: inset(0 -100vmax);
}

.problem,
.workflow,
.feature-grid {
  background: var(--bg);
  box-shadow: 0 0 0 100vmax var(--bg);
  clip-path: inset(0 -100vmax);
}

.objection,
.metrics-band {
  background: #eef4f8;
  box-shadow: 0 0 0 100vmax #eef4f8;
  clip-path: inset(0 -100vmax);
}

.showcase {
  background: #111827;
  box-shadow: 0 0 0 100vmax #111827;
  clip-path: inset(0 -100vmax);
  color: #ffffff;
}

.quickstart,
.objection {
  border-top: 1px solid var(--line);
}

.quickstart-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  margin-top: 34px;
}

.quickstart-aside {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.quickstart-aside p {
  color: var(--muted);
  margin-bottom: 14px;
}

.quickstart-aside .button {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
  margin-top: 4px;
}

.quickstart-aside .button:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.status-note {
  background: #effaf8;
  border: 1px solid #b8e4dd;
  border-radius: 8px;
  color: #134e4a !important;
  padding: 14px;
}

.status-note strong {
  color: var(--teal);
}

.hero-proof {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-weight: 700;
  gap: 12px;
  margin-top: 24px;
  max-width: 780px;
}

.hero-proof > span {
  min-width: 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  min-height: 34px;
  padding: 6px 12px;
}

.hero-proof-before {
  color: rgb(255 255 255 / 58%);
  text-decoration: line-through;
}

.hero-proof-arrow {
  color: #7de7d9;
  font-weight: 900;
}

.hero-proof-after {
  background: rgb(125 231 217 / 16%);
  border: 1px solid rgb(125 231 217 / 42%);
  border-radius: 7px;
  color: #d7fff8;
  max-width: 28rem;
  overflow-wrap: anywhere;
  padding: 6px 12px;
}

.hero-proof-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  max-width: 38rem;
}

.hero-proof-note code {
  font-size: 0.8rem;
}

.figure-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 12px 0 0;
}

.showcase .figure-note {
  grid-column: 1 / -1;
}

.objection-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.objection-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.objection-grid h3 {
  color: var(--ink);
}

.objection-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.docs-hub {
  display: grid;
  gap: 32px;
}

.docs-hub-group h2 {
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.section-heading {
  max-width: 780px;
}

.section-heading p,
.showcase-copy p,
.feature-grid p,
.timeline p,
.compare li,
.metrics span {
  color: var(--muted);
}

.section-heading > p:not(.eyebrow),
.showcase-copy p {
  font-size: 1.06rem;
  line-height: 1.62;
}

.compare {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.compare article,
.timeline article,
.feature-grid article,
.metrics article {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.compare article:hover,
.timeline article:hover,
.feature-grid article:hover,
.metrics article:hover,
.objection-grid article:hover {
  border-color: #b8c7d8;
}

.compare ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.compare li {
  margin: 8px 0;
}

.workflow,
.metrics-band,
.preview-band {
  border-top: 1px solid var(--line);
}

.visual-frame {
  margin-top: 30px;
}

.visual-frame img {
  background: #ffffff;
  border: 1px solid #cfd9e6;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgb(15 23 42 / 13%);
  display: block;
  height: auto;
  width: 100%;
}

.demo-steps {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.demo-steps article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.demo-steps span {
  align-items: center;
  background: var(--teal-soft);
  border-radius: 50%;
  color: var(--teal);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  margin-bottom: 12px;
  width: 28px;
}

.demo-steps strong {
  display: block;
  margin-bottom: 10px;
}

.demo-steps code {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.timeline {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.timeline span {
  color: var(--teal);
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.showcase {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 42px;
  grid-template-columns: 0.9fr 1.1fr;
}

.showcase h2 {
  color: #ffffff;
}

.showcase .eyebrow {
  color: #7de7d9;
}

.showcase-copy p,
.showcase .figure-note {
  color: rgb(226 232 240 / 72%);
}

.terminal {
  background: #0f172a;
  border: 1px solid #28364a;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgb(0 0 0 / 24%);
  color: #d5e2f2;
  overflow: hidden;
}

.terminal-bar {
  align-items: center;
  background: #172235;
  border-bottom: 1px solid #28364a;
  display: flex;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
}

.terminal-bar span {
  background: #64748b;
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.terminal pre {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  overflow: auto;
  padding: 22px;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 0;
}

.metrics {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 32px;
}

.metric-label {
  color: var(--teal) !important;
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.metrics strong {
  display: block;
  font-size: 2.35rem;
  line-height: 0.95;
  margin-bottom: 10px;
}

.metrics-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 18px 0 0;
  max-width: 740px;
}

.metrics-preview {
  margin-top: 18px;
}

.docs-strip {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 0.8fr 1.2fr;
}

.doc-links {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-links a {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 800;
  padding: 14px;
  text-decoration: none;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 28px 32px;
}

.doc-body {
  background: #f6f8fb;
}

.doc-main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 64px 28px 90px;
}

.doc-hero {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-bottom: 44px;
  padding-bottom: 42px;
}

.doc-hero h1 {
  color: var(--ink);
  font-size: 4rem;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

.doc-hero .lead {
  color: var(--muted);
}

.doc-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 38px rgb(15 23 42 / 7%);
  padding: 22px;
}

.doc-card strong {
  color: var(--ink);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.doc-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.doc-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 260px minmax(0, 1fr);
}

.doc-nav {
  align-self: start;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: grid;
  gap: 8px;
  padding: 0;
  position: sticky;
  top: 86px;
}

.doc-nav a {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  display: flex;
  font-weight: 750;
  justify-content: flex-start;
  min-width: 0;
  padding: 13px 14px;
  text-decoration: none;
}

.doc-nav a.active,
.doc-nav a[aria-current="true"] {
  background: var(--panel);
  border-color: #99d8cf;
  box-shadow: inset 4px 0 0 var(--teal), 0 10px 28px rgb(15 23 42 / 7%);
  color: var(--ink);
}

.doc-nav a:hover {
  background: #ffffff;
  border-color: #99d8cf;
  color: var(--teal);
}

.doc-nav a::before {
  content: "";
}

.doc-article {
  min-width: 0;
}

.doc-section {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 26px;
}

.doc-section h2 {
  font-size: 2.2rem;
}

.doc-section p,
.doc-section li {
  color: var(--muted);
}

.doc-section ul {
  margin-bottom: 0;
  padding-left: 20px;
}

.doc-section li {
  margin: 8px 0;
}

.doc-code {
  background: #101826;
  border: 1px solid #28364a;
  border-radius: 8px;
  color: #d5e2f2;
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 18px;
  white-space: pre-wrap;
}

.doc-code code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: inherit;
}

.callout {
  background: var(--teal-soft);
  border: 1px solid #b8e4dd;
  border-radius: 8px;
  color: #134e4a;
  margin-top: 18px;
  padding: 16px;
}

.doc-next {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doc-next a {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  padding: 16px;
  text-decoration: none;
}

.blog-list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  min-height: 260px;
  padding: 24px;
  text-decoration: none;
}

.blog-card:hover {
  border-color: #99d8cf;
  box-shadow: 0 12px 38px rgb(15 23 42 / 8%);
  color: inherit;
  transform: translateY(-1px);
}

.blog-card span,
.article-meta {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.blog-card h2 {
  font-size: 1.85rem;
  line-height: 1.08;
  margin-bottom: 0;
}

.blog-card p,
.article-body p,
.article-body li {
  color: var(--muted);
}

.article-body {
  margin: 0 auto;
  max-width: 820px;
}

.article-body .doc-section {
  padding: 34px;
}

.article-body h2 {
  font-size: 2.35rem;
}

@media (max-width: 980px) {
  .site-header {
    padding: 12px 24px;
  }

  .site-header nav {
    gap: 12px 16px;
  }

  .site-header nav a {
    font-size: 0.88rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .doc-hero h1 {
    font-size: 3.2rem;
  }

  .doc-section h2,
  .article-body h2 {
    font-size: 2rem;
  }

  .timeline,
  .demo-steps,
  .blog-list,
  .feature-grid,
  .objection-grid,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase,
  .docs-strip,
  .quickstart-grid,
  .doc-hero,
  .doc-grid {
    grid-template-columns: 1fr;
  }

  .doc-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: static;
  }

  .doc-nav a {
    justify-content: center;
    text-align: center;
  }

  .doc-nav a.active,
  .doc-nav a[aria-current="true"] {
    box-shadow: inset 0 4px 0 var(--teal), 0 10px 28px rgb(15 23 42 / 7%);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
    position: static;
  }

  .site-header nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    margin-left: 0;
    padding: 56px 22px 120px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .lead {
    font-size: 1.06rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .doc-hero h1 {
    font-size: 2.55rem;
  }

  .doc-section h2,
  .article-body h2 {
    font-size: 1.72rem;
  }

  .terminal pre {
    font-size: 0.84rem;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgb(9 14 25 / 95%) 0%, rgb(9 14 25 / 78%) 52%, rgb(9 14 25 / 44%) 100%);
  }

  .hero-strip {
    padding-inline: 20px;
  }

  .problem,
  .visual-proof,
  .workflow,
  .showcase,
  .preview-band,
  .feature-grid,
  .metrics-band,
  .docs-strip,
  .quickstart,
  .objection {
    padding: 58px 20px;
  }

  .compare,
  .timeline,
  .demo-steps,
  .blog-list,
  .feature-grid,
  .objection-grid,
  .quickstart-grid,
  .metrics,
  .doc-links,
  .doc-next {
    grid-template-columns: 1fr;
  }

  .doc-main {
    padding: 46px 20px 70px;
  }

  .doc-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
