:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d8dee7;
  --paper: #f8fafc;
  --soft: #edf2f7;
  --teal: #14b8a6;
  --teal-dark: #0f766e;
  --orange: #f97316;
  --blue: #2563eb;
  --violet: #6d28d9;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button {
  font: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 64px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(17, 24, 39, .12);
  background: rgba(248, 250, 252, .92);
  backdrop-filter: blur(16px);
}

.brand,
.nav nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 12px;
}

.nav nav {
  justify-content: center;
  gap: 8px;
}

.nav nav a,
.nav-cta,
.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 700;
}

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

.nav nav a:hover {
  color: var(--ink);
  background: rgba(17, 24, 39, .06);
}

.nav-cta,
.button.primary {
  border: 0;
  background: var(--ink);
  color: white;
  cursor: pointer;
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
}

.hero {
  min-height: calc(82svh - 64px);
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(420px, 1.14fr);
  gap: 36px;
  align-items: center;
  padding: 32px 28px 36px;
  border-bottom: 1px solid rgba(17, 24, 39, .12);
  background:
    linear-gradient(110deg, rgba(20, 184, 166, .14), transparent 36%),
    linear-gradient(275deg, rgba(249, 115, 22, .12), transparent 44%),
    var(--soft);
}

.hero-copy {
  max-width: 620px;
  padding-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-weight: 800;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 74px;
  line-height: .95;
}

h2 {
  margin-bottom: 16px;
  font-size: 40px;
  line-height: 1.05;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.lede {
  max-width: 540px;
  color: #344054;
  font-size: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 46px;
  padding-inline: 18px;
}

.product-scene {
  min-width: 0;
  border: 1px solid rgba(17, 24, 39, .18);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 28px 72px rgba(17, 24, 39, .18);
  background: #111827;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #cbd5e1;
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #ef4444;
}

.browser-bar span:nth-child(2) {
  background: #f59e0b;
}

.browser-bar span:nth-child(3) {
  background: #22c55e;
}

.browser-bar code {
  margin-left: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #94a3b8;
}

.sample-page {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: 150px 1fr;
  background: #f8fafc;
}

.sample-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 18px;
  border-right: 1px solid #d8dee7;
  background: #fff;
}

.sample-logo,
.sample-sidebar a,
.sample-kicker {
  border-radius: 8px;
  background: #dbeafe;
}

.sample-logo {
  width: 42px;
  height: 42px;
  background: var(--violet);
}

.sample-sidebar a {
  width: 100%;
  height: 14px;
}

.sample-content {
  align-self: center;
  max-width: 310px;
  padding: 38px;
}

.sample-kicker {
  width: 84px;
  height: 12px;
  margin-bottom: 22px;
  background: var(--orange);
}

.sample-content h2 {
  margin-bottom: 14px;
  font-size: 34px;
}

.sample-content p {
  color: var(--muted);
}

.sample-button {
  margin-top: 12px;
  border: 0;
  border-radius: 7px;
  background: var(--teal);
  color: #0f172a;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 44px;
  padding: 0 18px;
  box-shadow: 0 14px 28px rgba(20, 184, 166, .28);
}

.target-outline {
  position: absolute;
  left: 188px;
  top: 282px;
  width: 142px;
  height: 44px;
  border: 2px solid var(--teal);
  background: rgba(20, 184, 166, .14);
  pointer-events: none;
}

.inspector-panel {
  position: absolute;
  right: 22px;
  top: 62px;
  width: min(330px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  overflow: hidden;
  background: #111827;
  color: #f8fafc;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .28);
}

.inspector-panel header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.inspector-panel header span {
  color: #8dd8cf;
}

.inspector-panel code {
  display: block;
  margin: 12px;
  padding: 8px;
  border-radius: 6px;
  background: #020617;
  color: #a7f3d0;
}

.preview-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 12px 10px;
}

.preview-metrics span {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 99px;
  padding: 2px 7px;
  color: #cbd5e1;
  font-size: 12px;
}

.inspector-panel pre {
  margin: 0 12px 12px;
  max-height: 210px;
  overflow: auto;
  border-radius: 8px;
  background: #020617;
  color: #e2e8f0;
  padding: 10px;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.band,
.compare,
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 28px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

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

.feature-grid article,
.price-panel,
.pricing-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 20px;
}

.proof-shot {
  margin: 26px 0 0;
}

.proof-shot img {
  display: block;
  width: 100%;
  border: 1px solid rgba(17, 24, 39, .14);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, .12);
}

.proof-shot figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid p,
.compare p,
.split p {
  color: var(--muted);
}

.feature-grid article h2 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.2;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(17, 24, 39, .12);
  border-bottom: 1px solid rgba(17, 24, 39, .12);
}

.price-panel span {
  color: var(--muted);
  font-weight: 700;
}

.price-panel strong {
  display: block;
  margin: 8px 0;
  font-size: 34px;
  line-height: 1;
}

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

.pricing-grid article {
  display: grid;
  align-content: start;
  gap: 12px;
}

.pricing-grid article.highlight {
  border-color: rgba(20, 184, 166, .5);
  box-shadow: 0 18px 48px rgba(20, 184, 166, .14);
}

.pricing-grid span {
  color: var(--teal-dark);
  font-weight: 800;
}

.pricing-grid strong {
  font-size: 38px;
  line-height: 1;
}

.pricing-grid p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: .7fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(4, minmax(132px, 1fr));
  gap: 30px;
  padding-top: 34px;
  padding-bottom: 38px;
  border-top: 1px solid rgba(17, 24, 39, .12);
  color: var(--muted);
}

.footer-brand strong,
.footer-group strong {
  color: var(--ink);
  font-weight: 800;
}

.footer-brand p {
  max-width: 300px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-group a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

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

.doc-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 70px 28px;
}

.doc-page h1 {
  font-size: 48px;
}

.doc-page li {
  margin-bottom: 10px;
}

.code-sample {
  max-height: 680px;
  overflow: auto;
  margin: 30px 0;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, .14);
  border-radius: 8px;
  background: #020617;
  color: #e2e8f0;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.code-sample code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.steps div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.steps strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}

.note {
  padding: 14px 16px;
  border-left: 4px solid var(--teal);
  background: rgba(20, 184, 166, .1);
  color: #344054;
}

.demo-shell {
  min-height: 100vh;
  background: #f8fafc;
}

.seo-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 28px 72px;
}

.seo-hero {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(360px, 1.05fr);
  gap: 34px;
  align-items: center;
  padding-bottom: 48px;
}

.seo-hero img {
  display: block;
  width: 100%;
  border: 1px solid rgba(17, 24, 39, .14);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, .12);
}

.seo-band {
  padding: 44px 0;
  border-top: 1px solid rgba(17, 24, 39, .12);
}

.compare.compact {
  padding: 44px 0 0;
}

.comparison-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: white;
}

.comparison-table div {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr;
}

.comparison-table div:first-child {
  background: #111827;
  color: white;
}

.comparison-table span,
.comparison-table strong {
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.comparison-table span:last-child,
.comparison-table strong:last-child {
  border-right: 0;
}

.demo-targets {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 28px;
}

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

.demo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 22px;
  box-shadow: 0 14px 38px rgba(17, 24, 39, .08);
}

.demo-card.accent {
  background: #111827;
  color: white;
}

.demo-card button {
  min-height: 40px;
  border: 0;
  border-radius: 7px;
  background: var(--orange);
  color: #111827;
  font-weight: 800;
  padding: 0 14px;
}

@media (max-width: 980px) {
  .hero,
  .compare,
  .split,
  .seo-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .feature-grid,
  .demo-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  h1 {
    font-size: 58px;
  }
}

@media (max-width: 680px) {
  .nav {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding-inline: 16px;
  }

  .nav nav {
    display: none;
  }

  .hero,
  .seo-page,
  .band,
  .compare,
  .footer,
  .demo-targets,
  .doc-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .band {
    padding-top: 36px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 22px;
  }

  .hero-copy,
  .product-scene {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .lede {
    max-width: 100%;
  }

  .sample-page {
    min-width: 0;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .hero-actions button {
    width: 100%;
    justify-content: center;
  }

  .browser-bar code {
    min-width: 0;
  }

  h1,
  .doc-page h1 {
    font-size: 42px;
  }

  h2,
  .sample-content h2 {
    font-size: 30px;
  }

  .sample-page {
    grid-template-columns: 1fr;
    min-height: 300px;
  }

  .sample-sidebar {
    display: none;
  }

  .sample-content {
    align-self: start;
    padding: 24px 28px;
  }

  .target-outline {
    left: 28px;
    top: 166px;
  }

  .inspector-panel {
    left: 18px;
    right: 18px;
    top: 210px;
    width: auto;
  }

  .inspector-panel pre {
    max-height: 70px;
  }

  .feature-grid,
  .demo-grid,
  .pricing-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .footer {
    gap: 22px;
    padding-top: 30px;
    padding-bottom: 34px;
  }
}
