:root {
  --page: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #edf3f8;
  --ink: #101722;
  --ink-muted: #566273;
  --line: #d9e1ea;
  --line-strong: #bac7d5;
  --blue: #0877f9;
  --blue-deep: #075cca;
  --blue-dark: #073671;
  --navy: #061426;
  --navy-soft: #0c2038;
  --white: #f8fbff;
  --text-on-dark: #aebed1;
  --accent-on-dark: #70dce8;
  --orange: #dc8a00;
  --font-sans: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --nav-width: min(1400px, calc(100vw - 64px));
  --content-width: min(1240px, calc(100vw - 64px));
  --wide-width: min(1440px, calc(100vw - 48px));
  --section-space: clamp(104px, 11vw, 176px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { text-wrap: balance; }
code {
  padding: .08em .3em;
  border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: .84em;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--blue-deep);
}

.nav-shell { width: var(--nav-width); margin-inline: auto; }
.section-shell { width: var(--content-width); margin-inline: auto; }
.section { padding-block: var(--section-space); }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--page);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 180ms ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(22, 42, 70, .08);
}
.site-header .nav-shell {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand {
  width: max-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 760;
  letter-spacing: .11em;
  text-decoration: none;
}
.brand img { width: 30px; height: 30px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-muted);
  font-size: .84rem;
  font-weight: 560;
  text-decoration: none;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease);
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.github-link {
  min-height: 48px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 680;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms var(--ease), box-shadow 160ms ease;
}
.github-link svg { width: 18px; height: 18px; fill: currentColor; }
.github-link-header {
  justify-self: end;
  color: var(--white);
  background: var(--ink);
}
.github-link-header:hover,
.github-link-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(8, 119, 249, .22);
}
.github-link:active { transform: translateY(0) scale(.98); }

.hero {
  position: relative;
  min-height: 100vh;
  padding: clamp(144px, 14vw, 208px) 0 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(19, 73, 142, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 73, 142, .055) 1px, transparent 1px),
    var(--page);
  background-size: 64px 64px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100vw - 48px));
  margin-inline: auto;
  text-align: center;
}
.hero-kicker,
.section-label {
  margin-bottom: 24px;
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .11em;
  line-height: 1.4;
  text-transform: uppercase;
}
.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(4.25rem, 7.4vw, 7.4rem);
  font-weight: 720;
  letter-spacing: -.072em;
  line-height: .88;
}
.hero-lead {
  max-width: 780px;
  margin: 0 auto 36px;
  color: var(--ink-muted);
  font-size: clamp(1.2rem, 2vw, 1.48rem);
  letter-spacing: -.025em;
  line-height: 1.48;
}
.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.github-link-primary {
  min-height: 56px;
  padding-inline: 24px;
  color: var(--white);
  background: var(--ink);
  font-size: .98rem;
}
.hero-actions p {
  margin-bottom: 0;
  display: flex;
  gap: 12px;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: .72rem;
}
.hero-product {
  position: relative;
  z-index: 2;
  width: var(--wide-width);
  margin: clamp(64px, 7vw, 96px) auto 0;
}
.hero-product a {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(8, 92, 202, .28);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: var(--surface);
  box-shadow: 0 28px 72px rgba(4, 27, 59, .2);
  transition: transform 220ms var(--ease), box-shadow 220ms ease;
}
.hero-product a:hover { transform: translateY(-4px); box-shadow: 0 34px 84px rgba(4, 27, 59, .29); }
.hero-product img { width: 100%; height: auto; }
.hero-proof {
  position: relative;
  z-index: 3;
  width: var(--wide-width);
  min-height: 80px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  list-style: none;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--surface);
}
.hero-proof li {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}
.hero-proof li:last-child { border-right: 0; }

.positioning { background: var(--surface); }
.positioning-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr);
  gap: clamp(64px, 9vw, 144px);
  align-items: start;
}
.positioning h2,
.section-intro h2,
.modes-copy h2,
.open-source-copy h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 5.8vw, 6.3rem);
  font-weight: 690;
  letter-spacing: -.065em;
  line-height: .96;
}
.positioning-copy { padding-top: 56px; }
.positioning-copy p {
  margin-bottom: 24px;
  color: var(--ink-muted);
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  letter-spacing: -.02em;
  line-height: 1.58;
}
.positioning-copy p:last-child { margin-bottom: 0; color: var(--ink); }
.strengths-grid {
  margin-top: clamp(72px, 9vw, 128px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strengths-grid article { min-height: 284px; padding: 32px; border-right: 1px solid var(--line); }
.strengths-grid article:last-child { border-right: 0; }
.strengths-grid article > span,
.feature-index {
  color: var(--blue-deep);
  font-family: var(--font-mono);
  font-size: .72rem;
}
.strengths-grid h3 { margin: 72px 0 16px; font-size: 1.35rem; letter-spacing: -.025em; }
.strengths-grid p { margin-bottom: 0; color: var(--ink-muted); line-height: 1.65; }

.workflow {
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.section-intro { max-width: 860px; margin-bottom: clamp(64px, 8vw, 112px); }
.section-intro .section-label { color: var(--accent-on-dark); }
.section-intro h2 { margin-bottom: 28px; }
.section-intro > p:last-child {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--text-on-dark);
  font-size: 1.16rem;
  line-height: 1.6;
}
.product-stage { width: var(--wide-width); margin: 0 auto; }
.product-stage-inner {
  padding: clamp(16px, 2vw, 32px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    var(--navy-soft);
  background-size: 48px 48px;
}
.product-stage-inner a,
.modes-visual a {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 14px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
  transition: transform 220ms var(--ease);
}
.product-stage-inner a:hover,
.modes-visual a:hover { transform: translateY(-4px); }
.product-stage img { width: 100%; height: auto; }
.product-stage figcaption {
  margin-top: 28px;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.product-stage figcaption span { color: var(--accent-on-dark); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.product-stage figcaption p { max-width: 650px; margin-bottom: 0; color: var(--text-on-dark); font-size: 1.05rem; line-height: 1.65; }

.modes { background: var(--surface-soft); }
.modes-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(64px, 9vw, 136px); align-items: center; }
.modes-visual { position: relative; }
.modes-visual a { position: relative; z-index: 1; border-color: rgba(8, 92, 202, .24); box-shadow: 0 24px 64px rgba(8, 92, 202, .18); }
.modes-visual img { width: 100%; height: auto; }
.modes-copy .section-label { margin-bottom: 24px; }
.modes-copy h2 { margin-bottom: 56px; }
.mode-list { border-top: 1px solid var(--line-strong); }
.mode-list article {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 32px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line-strong);
}
.mode-list span { color: var(--blue-deep); font-family: var(--font-mono); font-size: .82rem; font-weight: 650; }
.mode-list p { margin-bottom: 0; color: var(--ink-muted); line-height: 1.65; }

.features { background: var(--navy); color: var(--white); }
.section-intro-dark { margin-left: auto; margin-right: auto; text-align: center; }
.section-intro-dark > p:last-child { margin-inline: auto; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .16);
  border-left: 1px solid rgba(255, 255, 255, .16);
}
.feature-grid article {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, .16);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: background 180ms ease;
}
.feature-grid article:hover { background: rgba(255, 255, 255, .045); }
.feature-grid h3 { margin: 88px 0 16px; font-size: 1.2rem; letter-spacing: -.02em; }
.feature-grid p { margin-bottom: 0; color: var(--text-on-dark); font-size: .94rem; line-height: 1.65; }
.feature-grid .feature-index { color: var(--accent-on-dark); }

.open-source {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: var(--white);
}
.open-source-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .65fr 1.35fr; gap: 96px; align-items: end; }
.open-source-brand img { width: 84px; height: 84px; margin-bottom: 24px; filter: brightness(0) invert(1); }
.open-source-brand p { margin-bottom: 0; display: flex; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: .9rem; font-weight: 650; letter-spacing: .05em; }
.open-source-brand p span { opacity: .62; }
.open-source-copy { max-width: 780px; }
.open-source-copy .section-label { color: var(--white); }
.open-source-copy h2 { margin-bottom: 28px; }
.open-source-copy > p:not(.section-label) { max-width: 660px; margin-bottom: 36px; color: var(--white); font-size: 1.14rem; line-height: 1.65; }
.github-link-light { color: var(--ink); background: var(--white); }
.github-link-light:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(3, 32, 72, .2); }

.site-footer { padding-block: 40px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: .7fr 1.3fr auto; gap: 48px; align-items: center; }
.brand-footer img { width: 28px; height: 28px; }
.site-footer p { max-width: 460px; margin-bottom: 0; color: var(--ink-muted); font-size: .85rem; }
.site-footer nav { display: flex; align-items: center; gap: 24px; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink-muted); font-size: .78rem; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color 160ms ease, text-decoration-color 160ms ease; }
.site-footer nav a:hover { color: var(--blue-deep); text-decoration-color: currentColor; }

@media (max-width: 1100px) {
  :root {
    --nav-width: min(100% - 40px, 1400px);
    --content-width: min(100% - 48px, 1240px);
    --wide-width: min(100% - 32px, 1440px);
  }
  .positioning-grid { grid-template-columns: 1fr; gap: 40px; }
  .positioning-copy { max-width: 740px; padding-top: 0; }
  .strengths-grid { grid-template-columns: 1fr; }
  .strengths-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .strengths-grid article:last-child { border-bottom: 0; }
  .strengths-grid h3 { margin-top: 40px; }
  .modes-grid { grid-template-columns: 1fr; }
  .modes-visual { width: min(780px, 100%); margin-inline: auto; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .open-source-grid { grid-template-columns: 1fr; gap: 64px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 840px) {
  .site-header .nav-shell { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
}

@media (max-width: 720px) {
  :root {
    --nav-width: calc(100% - 32px);
    --content-width: calc(100% - 32px);
    --wide-width: calc(100% - 16px);
    --section-space: 88px;
  }
  .site-header .nav-shell { min-height: 64px; gap: 16px; }
  .brand { font-size: .86rem; }
  .brand img { width: 28px; height: 28px; }
  .github-link-header { min-height: 44px; padding: 12px 16px; }
  .github-link-header svg { display: none; }
  .github-link-header span:first-of-type { font-size: 0; }
  .github-link-header span:first-of-type::after { content: "GitHub"; font-size: .82rem; }
  .hero { min-height: auto; padding-top: 132px; background-size: 40px 40px; }
  .hero-copy { width: calc(100% - 32px); }
  .hero-kicker { max-width: 290px; margin: 0 auto 20px; }
  .hero h1 { margin-bottom: 24px; font-size: clamp(3.45rem, 16.6vw, 5.1rem); line-height: .91; }
  .hero-lead { font-size: 1.08rem; line-height: 1.52; }
  .github-link-primary { width: 100%; max-width: 330px; }
  .hero-product { margin-top: 56px; }
  .hero-product a { border-radius: 10px 10px 0 0; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof li { min-height: 48px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-proof li:last-child { border-bottom: 0; }
  .positioning h2,
  .section-intro h2,
  .modes-copy h2,
  .open-source-copy h2 { font-size: clamp(2.7rem, 13vw, 4rem); line-height: .98; }
  .positioning-copy p { font-size: 1.05rem; }
  .strengths-grid article { padding: 24px 8px; }
  .strengths-grid h3 { margin-top: 32px; }
  .section-intro { margin-bottom: 56px; }
  .product-stage-inner { padding: 8px; border-radius: 12px; }
  .product-stage-inner a { border-radius: 8px; }
  .product-stage figcaption { grid-template-columns: 1fr; gap: 16px; padding-inline: 8px; }
  .modes-visual { width: 100%; }
  .modes-visual a { border-radius: 8px; }
  .modes-copy h2 { margin-bottom: 40px; }
  .mode-list article { grid-template-columns: 68px 1fr; gap: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 244px; padding: 24px; }
  .feature-grid h3 { margin-top: 64px; }
  .open-source-grid { gap: 48px; }
  .open-source-brand img { width: 64px; height: 64px; }
  .github-link-light { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .site-footer p { grid-column: auto; grid-row: auto; }
  .site-footer nav { flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
