:root {
  color-scheme: light;
  --black: #050505;
  --ink: #101010;
  --body: #4f5256;
  --muted: #70757a;
  --line: #e5e5df;
  --line-strong: #cbc9c1;
  --paper: #f7f7f2;
  --paper-2: #eeeee6;
  --white: #ffffff;
  --green: #10a37f;
  --green-2: #087a60;
  --blue: #2563eb;
  --code: #0d1117;
  --code-border: #262c36;
  --radius: 8px;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  color: var(--green-2);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(16, 163, 127, 0.42);
  outline-offset: 3px;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

:not(pre) > code {
  overflow-wrap: anywhere;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 50;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px 14px;
  color: var(--black);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 5, 5, 0.86);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.site-header.light {
  border-bottom-color: rgba(16, 16, 16, 0.1);
  background: rgba(247, 247, 242, 0.92);
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: inherit;
  font-weight: 680;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 620;
  transition: background 180ms ease, color 180ms ease;
}

.site-header.light .nav-link {
  color: var(--body);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.11);
  color: var(--white);
}

.site-header.light .nav-link:hover,
.site-header.light .nav-link.active {
  background: rgba(16, 163, 127, 0.1);
  color: var(--ink);
}

.nav-link.primary {
  background: var(--white);
  color: var(--black);
}

.site-header.light .nav-link.primary {
  background: var(--black);
  color: var(--white);
}

.nav-link.primary:hover {
  background: var(--green);
  color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    var(--black);
  background-size: 56px 56px, 56px 56px, auto;
  color: var(--white);
}

.hero-inner,
.section,
.doc-shell,
.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 72px;
  min-height: calc(100dvh - 72px);
  align-items: center;
  padding: 88px 0 72px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.94;
}

.hero-copy {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.58;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.button.primary:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.button.secondary {
  color: currentColor;
}

.button.secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.hero-console {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.console-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(16, 163, 127, 0.16);
}

.console-body {
  padding: 22px;
}

.metric {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  font-size: 22px;
  line-height: 1.1;
}

.metric span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.section.compact {
  padding-top: 48px;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section h2,
.doc-main h1 {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 62px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.03;
}

.section-lead,
.doc-main > p {
  max-width: 720px;
  color: var(--body);
  font-size: 18px;
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
}

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

.card,
.tool,
.faq-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 24px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.card:hover,
.tool:hover,
.faq-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: var(--white);
}

.card h3,
.tool h3,
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.card p,
.tool p,
.faq-card p {
  margin: 0;
  color: var(--body);
  overflow-wrap: anywhere;
}

.tool pre {
  margin-top: 16px;
  border-radius: 6px;
  box-shadow: none;
}

.code-panel {
  overflow: hidden;
  border: 1px solid var(--code-border);
  border-radius: var(--radius);
  background: var(--code);
  box-shadow: var(--shadow);
}

.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--code-border);
  padding: 14px 16px;
  color: #a8b3bd;
  font-size: 13px;
}

.code-pill {
  border: 1px solid rgba(16, 163, 127, 0.48);
  border-radius: 999px;
  padding: 3px 9px;
  color: #9ff1d7;
}

pre {
  margin: 0;
  overflow-x: auto;
  padding: 22px;
  color: #edf2f7;
  font-size: 14px;
  line-height: 1.72;
}

pre code {
  display: inline-block;
  min-width: 0;
}

.doc-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(16, 16, 16, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 16, 16, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
}

.doc-hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 58px;
}

.doc-hero h1 {
  max-width: 760px;
  color: var(--ink);
}

.doc-hero p {
  max-width: 720px;
  color: var(--body);
  font-size: 19px;
}

.doc-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 58px;
  padding: 50px 0 90px;
}

.toc {
  position: sticky;
  top: 96px;
  align-self: start;
  min-width: 0;
  max-width: 100%;
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.toc a {
  display: block;
  padding: 8px 0;
  color: var(--body);
  font-size: 14px;
  font-weight: 560;
}

.toc a:hover {
  color: var(--green-2);
}

.doc-main {
  min-width: 0;
  max-width: 860px;
}

.doc-main section {
  margin-top: 52px;
}

.doc-main h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.doc-main h3 {
  margin: 28px 0 12px;
  font-size: 21px;
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: 13px;
  font-weight: 760;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  padding: 18px 20px;
}

details[open] {
  background: var(--white);
  border-color: var(--line-strong);
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 720;
}

details p {
  margin: 14px 0 0;
  color: var(--body);
}

.callout {
  border: 1px solid rgba(16, 163, 127, 0.28);
  border-radius: var(--radius);
  background: rgba(16, 163, 127, 0.08);
  padding: 18px 20px;
  color: var(--body);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--body);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 960px) {
  .hero-inner,
  .split,
  .doc-shell {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    gap: 36px;
  }

  .grid-3,
  .steps,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 18px;
  }
}

@media (max-width: 620px) {
  .nav,
  .hero-inner,
  .section,
  .doc-shell,
  .doc-hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand span {
    display: none;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-link {
    padding: 0 9px;
    font-size: 13px;
  }

  .nav-link.primary {
    display: none;
  }

  .hero-inner {
    padding: 56px 0 54px;
  }

  h1 {
    font-size: 48px;
  }

  .section,
  .doc-shell {
    padding: 58px 0;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

.doc-page {
  --home-bg: #0b0c0c;
  --home-bg-2: #111312;
  --home-surface: #151716;
  --home-ink: #f4f4ef;
  --home-text: #c4c7c3;
  --home-muted: #8d938f;
  --home-accent: #10a37f;
  --home-accent-2: #8ee6c9;
  --home-line: rgba(244, 244, 239, 0.13);
  --home-line-strong: rgba(142, 230, 201, 0.42);
  background: var(--home-bg);
  color: var(--home-ink);
}

.doc-page .site-header {
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(11, 12, 12, 0.96), rgba(11, 12, 12, 0.82));
  box-shadow: 0 1px 0 rgba(244, 244, 239, 0.08);
  color: var(--home-ink);
}

.doc-page .home-nav {
  width: min(1360px, calc(100% - 144px));
  min-height: 88px;
  gap: 32px;
}

.doc-page .home-brand {
  color: var(--home-ink);
  font-size: 26px;
  font-weight: 680;
  gap: 10px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.doc-page .home-brand img {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(244, 244, 239, 0.08),
    0 10px 24px rgba(16, 163, 127, 0.16);
  transform: translateY(-1px);
}

.doc-page .home-nav-center,
.doc-page .home-nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.doc-page .nav-link {
  border-radius: 8px;
  color: rgba(244, 244, 239, 0.76);
  font-size: 16px;
  font-weight: 760;
  position: relative;
  white-space: nowrap;
}

.doc-page .nav-link:hover,
.doc-page .nav-link.active {
  background: transparent;
  color: var(--home-accent-2);
}

.doc-page .nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--home-accent);
}

.doc-page .nav-link.primary {
  min-width: 130px;
  min-height: 54px;
  border-radius: 12px;
  background: var(--home-ink);
  color: #0b0c0c;
  box-shadow: 0 14px 40px rgba(244, 244, 239, 0.12);
}

.doc-page .nav-link.primary:hover {
  background: var(--home-accent);
  color: #06100d;
}

.doc-page .doc-hero {
  border-bottom: 1px solid var(--home-line);
  background:
    radial-gradient(circle at 72% 28%, rgba(16, 163, 127, 0.16), transparent 30%),
    radial-gradient(circle at 16% 78%, rgba(244, 244, 239, 0.06), transparent 36%),
    linear-gradient(180deg, var(--home-bg), var(--home-bg-2));
  color: var(--home-ink);
}

.doc-page .doc-hero-inner,
.doc-page .doc-shell,
.doc-page .footer-inner {
  width: min(1280px, calc(100% - 144px));
}

.doc-page .doc-hero-inner {
  padding: 90px 0 58px;
}

.doc-page .doc-hero .eyebrow,
.doc-page .doc-main .eyebrow {
  color: var(--home-accent-2);
}

.doc-page .doc-hero h1 {
  max-width: 820px;
  color: var(--home-ink);
  font-size: clamp(46px, 4.4vw, 76px);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.doc-page .doc-hero p {
  max-width: 760px;
  color: var(--home-text);
  font-size: 18px;
  line-height: 1.7;
}

.doc-page .doc-shell {
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 54px;
  padding: 56px 0 92px;
}

.doc-page .toc {
  top: 112px;
  border-left: 0;
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(244, 244, 239, 0.075), rgba(244, 244, 239, 0.03)),
    rgba(244, 244, 239, 0.035);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(244, 244, 239, 0.035);
}

.doc-page .toc a {
  border-radius: 10px;
  color: var(--home-text);
  font-size: 14px;
  font-weight: 680;
  padding: 9px 11px;
}

.doc-page .toc a:hover {
  background: rgba(16, 163, 127, 0.12);
  color: var(--home-accent-2);
}

.doc-page .doc-main {
  max-width: 920px;
}

.doc-page .doc-main section {
  margin-top: 54px;
  scroll-margin-top: 120px;
}

.doc-page .doc-main section:first-child {
  margin-top: 0;
}

.doc-page .doc-main h2 {
  color: var(--home-ink);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 560;
  letter-spacing: -0.04em;
}

.doc-page .doc-main h3,
.doc-page summary {
  color: var(--home-ink);
}

.doc-page .doc-main p,
.doc-page details p,
.doc-page .tool p,
.doc-page .card p {
  color: var(--home-text);
}

.doc-page .card,
.doc-page .tool,
.doc-page details,
.doc-page .callout {
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(244, 244, 239, 0.075), rgba(244, 244, 239, 0.03)),
    rgba(244, 244, 239, 0.035);
  box-shadow: inset 0 1px 0 rgba(244, 244, 239, 0.035);
}

.doc-page details[open] {
  border-color: var(--home-line-strong);
  background: rgba(244, 244, 239, 0.065);
}

.doc-page summary {
  font-size: 18px;
}

.doc-page .step-number {
  background: var(--home-accent);
  color: #06100d;
}

.doc-page .code-panel {
  border-color: rgba(142, 230, 201, 0.22);
  background: #0d1117;
}

.doc-page .code-bar {
  background: rgba(244, 244, 239, 0.04);
  color: var(--home-ink);
}

.doc-page .code-pill {
  background: rgba(16, 163, 127, 0.14);
  color: var(--home-accent-2);
}

.doc-page .footer {
  border-top-color: rgba(244, 244, 239, 0.1);
  background: #080909;
}

.doc-page .footer-inner,
.doc-page .footer a {
  color: var(--home-text);
}

@media (max-width: 1180px) {
  .doc-page .home-nav,
  .doc-page .doc-hero-inner,
  .doc-page .doc-shell,
  .doc-page .footer-inner {
    width: min(100% - 48px, 1080px);
  }

  .doc-page .doc-shell {
    grid-template-columns: 1fr;
  }

  .doc-page .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
}

@media (max-width: 760px) {
  .doc-page .home-nav,
  .doc-page .doc-hero-inner,
  .doc-page .doc-shell,
  .doc-page .footer-inner {
    width: min(100% - 28px, 720px);
  }

  .doc-page .home-brand img {
    display: block;
  }

  .doc-page .home-brand span {
    display: none;
  }

  .doc-page .home-nav-center {
    margin-left: auto;
    gap: 4px;
  }

  .doc-page .home-nav-center .nav-link:nth-child(1),
  .doc-page .home-nav-center .nav-link:nth-child(2),
  .doc-page .home-nav-actions .login-link,
  .doc-page .nav-link.primary {
    display: none;
  }

  .doc-page .nav-link {
    padding: 0 8px;
    font-size: 14px;
  }

  .doc-page .doc-hero-inner {
    padding: 58px 0 42px;
  }

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

  .doc-page .doc-hero p {
    font-size: 16px;
  }

  .doc-page .doc-shell {
    padding: 46px 0 68px;
  }

  .doc-page .doc-main h2 {
    font-size: 32px;
  }
}

.home-page {
  --home-bg: #0b0c0c;
  --home-bg-2: #111312;
  --home-surface: #151716;
  --home-surface-2: #1d201f;
  --home-ink: #f4f4ef;
  --home-text: #c4c7c3;
  --home-muted: #8d938f;
  --home-accent: #10a37f;
  --home-accent-2: #8ee6c9;
  --home-accent-soft: rgba(16, 163, 127, 0.16);
  --home-line: rgba(244, 244, 239, 0.13);
  --home-line-strong: rgba(142, 230, 201, 0.42);
  background: var(--home-bg);
  color: var(--home-ink);
}

.home-page .home-header {
  position: sticky;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(11, 12, 12, 0.96), rgba(11, 12, 12, 0.82));
  box-shadow: 0 1px 0 rgba(244, 244, 239, 0.08);
  backdrop-filter: blur(20px);
}

.home-page .home-nav {
  width: min(1680px, calc(100% - 144px));
  min-height: 88px;
  gap: 32px;
}

.home-page .home-brand {
  color: var(--home-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 26px;
  font-weight: 680;
  gap: 10px;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: none;
}

.home-page .home-brand img {
  display: block;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow:
    0 0 0 1px rgba(244, 244, 239, 0.08),
    0 10px 24px rgba(16, 163, 127, 0.16);
  transform: translateY(-1px);
}

.home-nav-center,
.home-nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.home-page .nav-link {
  border-radius: 8px;
  color: rgba(244, 244, 239, 0.76);
  font-size: 16px;
  font-weight: 760;
  position: relative;
  touch-action: manipulation;
  white-space: nowrap;
}

.home-page .nav-link:hover,
.home-page .nav-link.active {
  background: transparent;
  color: var(--home-accent-2);
}

.home-page .nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--home-accent);
}

.home-page .nav-link.primary {
  min-width: 148px;
  min-height: 54px;
  border-radius: 12px;
  background: var(--home-ink);
  color: #0b0c0c;
  box-shadow: 0 14px 40px rgba(244, 244, 239, 0.12);
}

.home-page .nav-link.primary:hover {
  background: var(--home-accent);
  color: #06100d;
}

.home-page .home-hero {
  background:
    radial-gradient(circle at 74% 42%, rgba(16, 163, 127, 0.13), transparent 30%),
    radial-gradient(circle at 22% 84%, rgba(244, 244, 239, 0.055), transparent 34%),
    linear-gradient(180deg, var(--home-bg), var(--home-bg-2)),
    var(--home-bg);
  color: var(--home-ink);
}

.home-page .home-hero-inner {
  width: min(1680px, calc(100% - 144px));
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 0.74fr);
  min-height: min(760px, calc(100dvh - 88px));
  gap: 68px;
  padding: 84px 0 76px;
}

.home-hero-copy {
  max-width: 840px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0 0 42px;
  border: 1px solid rgba(244, 244, 239, 0.13);
  border-radius: 999px;
  background: rgba(244, 244, 239, 0.055);
  box-shadow: inset 0 1px 0 rgba(244, 244, 239, 0.06);
  padding: 0 23px;
  color: var(--home-ink);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 12px;
  border-radius: 999px;
  background: var(--home-accent);
  box-shadow: 0 0 18px rgba(16, 163, 127, 0.58);
}

.home-page h1 {
  max-width: 900px;
  color: var(--home-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(56px, 5.1vw, 88px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 1.02;
  text-wrap: balance;
}

.home-page h1 span {
  color: #cfd4cf;
}

.home-page .hero-copy {
  max-width: 820px;
  margin-top: 34px;
  color: var(--home-text);
  font-size: clamp(19px, 1.55vw, 26px);
  line-height: 1.52;
  text-wrap: pretty;
}

.home-page .hero-actions {
  gap: 28px;
  margin-top: 46px;
}

.home-page .button {
  min-height: 64px;
  border-radius: 999px;
  padding: 0 40px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(244, 244, 239, 0.08);
}

.home-page .button.primary {
  border-color: var(--home-accent);
  background: var(--home-accent);
  color: #06100d;
}

.home-page .button.primary:hover {
  border-color: #19c397;
  background: #19c397;
  color: #06100d;
}

.home-page .button.secondary {
  border-color: rgba(244, 244, 239, 0.22);
  background: rgba(244, 244, 239, 0.055);
  color: var(--home-ink);
}

.home-page .button.secondary:hover {
  border-color: var(--home-accent-2);
  color: var(--home-accent-2);
}

.model-orbit {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1.08 / 1;
  margin-left: auto;
  color: var(--home-accent-2);
  isolation: isolate;
}

.orbit-glow {
  position: absolute;
  inset: 13% 8% 9%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(16, 163, 127, 0.18), transparent 31%),
    radial-gradient(circle at 50% 68%, rgba(244, 244, 239, 0.07), transparent 42%);
  filter: blur(12px);
  opacity: 0.92;
  z-index: -1;
}

.orbit-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-lines line {
  stroke: rgba(142, 230, 201, 0.32);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 7 11;
  animation: orbit-dash 7.5s ease-in-out infinite;
}

.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-rows: 1fr auto auto auto 1fr;
  gap: 10px;
  place-items: center;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(142, 230, 201, 0.22);
  border-radius: 32px;
  background: linear-gradient(145deg, #16251f, #0d1513);
  box-shadow:
    0 0 0 28px rgba(16, 163, 127, 0.045),
    0 0 0 1px rgba(244, 244, 239, 0.08),
    0 0 38px rgba(16, 163, 127, 0.22);
  transform: translate(-50%, -50%);
  animation: center-breathe 3.8s ease-in-out infinite;
}

.orbit-center em {
  align-self: end;
  color: rgba(244, 244, 239, 0.74);
  font-size: 18px;
  font-style: normal;
  font-weight: 860;
  letter-spacing: 0.12em;
  line-height: 1;
}

.orbit-center::before {
  content: "";
  position: absolute;
  inset: -38px;
  border: 1px dashed rgba(16, 163, 127, 0.4);
  border-radius: 999px;
  animation: orbit-spin 18s linear infinite;
}

.orbit-center span {
  width: 64px;
  height: 5px;
  border-radius: 999px;
  background: var(--home-ink);
  transform: rotate(1deg);
}

.orbit-center span:nth-child(2) {
  width: 54px;
}

.orbit-center span:nth-child(3) {
  width: 43px;
}

.orbit-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 134px;
  height: 134px;
  border: 1px solid rgba(244, 244, 239, 0.16);
  border-radius: 999px;
  background: rgba(21, 23, 22, 0.94);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  text-align: center;
  animation: node-float 7.2s ease-in-out infinite;
  will-change: transform;
}

.node-content {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  transform: translateY(5px);
}

.orbit-node strong {
  display: block;
  color: var(--home-ink);
  font-size: 42px;
  line-height: 1;
}

.orbit-node span {
  color: var(--home-text);
  font-size: 17px;
  font-weight: 780;
  letter-spacing: 0.06em;
  line-height: 1.12;
}

.node-claude {
  left: 5%;
  top: 14%;
}

.node-all {
  right: 0;
  top: 8%;
  width: 156px;
  height: 156px;
  animation-delay: -1.2s;
}

.node-chatgpt {
  left: 18%;
  bottom: 5%;
  width: 120px;
  height: 120px;
  animation-delay: -2s;
}

.node-gemini {
  right: 7%;
  bottom: 15%;
  width: 104px;
  height: 104px;
  animation-delay: -3s;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: -2px;
}

.brand-svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.claude-mark,
.stack-mark,
.openai-mark,
.spark-mark {
  color: var(--home-ink);
}

.claude-mark {
  width: 58px;
  height: 58px;
  padding: 8px;
}

.stack-mark {
  width: 56px;
  height: 56px;
  padding: 7px;
}

.openai-mark {
  width: 58px;
  height: 58px;
  padding: 6px;
}

.spark-mark {
  width: 46px;
  height: 46px;
  padding: 6px;
}

.home-section {
  border-top: 1px solid rgba(244, 244, 239, 0.08);
  background: linear-gradient(180deg, var(--home-bg-2), var(--home-bg));
  padding: 88px 0;
}

.home-section > * {
  width: min(1680px, calc(100% - 144px));
  margin-left: auto;
  margin-right: auto;
}

.home-section-head {
  max-width: 900px;
  margin-bottom: 42px;
}

.home-section .eyebrow {
  color: var(--home-accent-2);
}

.home-section h2 {
  margin: 0;
  color: var(--home-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(36px, 3.2vw, 56px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.home-section-head p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--home-text);
  font-size: 18px;
}

.model-card-grid,
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.model-card,
.flow-grid article,
.home-faq-list details {
  border: 1px solid var(--home-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(244, 244, 239, 0.075), rgba(244, 244, 239, 0.03)),
    rgba(244, 244, 239, 0.035);
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(244, 244, 239, 0.035);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}

.model-card:hover,
.flow-grid article:hover,
.home-faq-list details:hover {
  border-color: var(--home-line-strong);
  transform: translateY(-2px);
}

.model-card span,
.flow-grid span {
  color: var(--home-accent-2);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.model-card h3,
.flow-grid h3 {
  margin: 22px 0 12px;
  color: var(--home-ink);
  font-size: 21px;
}

.model-card p,
.flow-grid p,
.home-faq-list details p {
  margin: 0;
  color: var(--home-text);
  font-size: 15px;
}

.home-faq-list {
  max-width: 980px;
}

.home-faq-list details {
  background: rgba(244, 244, 239, 0.045);
}

.home-faq-list details[open] {
  border-color: var(--home-line-strong);
  background: rgba(244, 244, 239, 0.065);
}

.home-faq-list summary {
  color: var(--home-ink);
  font-size: 19px;
}

.quick-flow .home-section-head {
  text-align: center;
}

.quick-flow .flow-grid {
  width: min(1180px, calc(100% - 144px));
  max-width: 1180px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
}

.quick-flow .flow-grid article {
  min-height: 210px;
}

.inline-more {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin-top: 24px;
  color: var(--home-accent-2);
  font-weight: 800;
}

.faq-strip > .inline-more {
  width: min(980px, calc(100% - 160px));
}

.home-footer {
  border-top-color: rgba(244, 244, 239, 0.1);
  background: #080909;
}

.home-footer .footer-inner,
.home-footer a {
  color: var(--home-text);
}

@keyframes orbit-dash {
  to {
    stroke-dashoffset: -72;
  }
}

@keyframes center-breathe {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.035);
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes node-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-lines line,
  .orbit-center,
  .orbit-center::before,
  .orbit-node {
    animation: none !important;
  }
}

@media (max-width: 1180px) {
  .home-page .home-nav,
  .home-page .home-hero-inner,
  .home-section > * {
    width: min(100% - 48px, 1080px);
  }

  .home-page .home-nav {
    gap: 18px;
  }

  .home-page .home-brand {
    font-size: 24px;
  }

  .home-nav-center {
    gap: 8px;
  }

  .home-page .nav-link {
    padding: 0 10px;
    font-size: 16px;
  }

  .home-page .nav-link.primary {
    min-width: 128px;
    min-height: 54px;
  }

  .home-page .home-hero-inner {
    grid-template-columns: 1fr;
  }

  .model-orbit {
    margin: 0 auto;
  }

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

  .faq-strip > .inline-more {
    width: min(100% - 48px, 980px);
  }
}

@media (max-width: 920px) {
  .home-page .home-nav {
    min-height: 78px;
  }

  .home-page .home-brand img {
    display: block;
  }

  .home-page .home-brand span {
    display: none;
  }

  .home-nav-center {
    margin-left: auto;
  }

  .home-nav-center .nav-link:nth-child(1),
  .home-nav-center .nav-link:nth-child(2),
  .home-nav-actions .login-link {
    display: none;
  }

  .home-page .nav-link {
    padding: 0 8px;
    font-size: 14px;
  }

  .home-page .nav-link.primary {
    display: none;
  }
}

@media (max-width: 760px) {
  .home-page .home-nav,
  .home-page .home-hero-inner,
  .home-section > * {
    width: min(100% - 28px, 720px);
  }

  .faq-strip > .inline-more {
    width: min(100% - 28px, 980px);
  }

  .home-page .home-nav {
    min-height: 78px;
  }

  .home-page .home-brand {
    font-size: 22px;
  }

  .home-page .home-brand img {
    display: block;
  }

  .home-page .home-brand span {
    display: none;
  }

  .home-nav-center {
    margin-left: auto;
  }

  .home-nav-center .nav-link:nth-child(1),
  .home-nav-center .nav-link:nth-child(2),
  .home-nav-actions .login-link {
    display: none;
  }

  .home-page .nav-link {
    padding: 0 8px;
    font-size: 14px;
  }

  .home-page .nav-link.primary {
    display: none;
  }

  .home-page .home-hero-inner {
    padding: 58px 0 52px;
  }

  .hero-badge {
    min-height: 38px;
    margin-bottom: 28px;
    padding: 0 16px;
    font-size: 13px;
  }

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

  .home-page .hero-copy {
    margin-top: 28px;
    font-size: 17px;
  }

  .home-page .hero-actions {
    gap: 14px;
    margin-top: 36px;
  }

  .home-page .button {
    min-height: 54px;
    padding: 0 24px;
    font-size: 15px;
  }

  .model-orbit {
    width: min(100%, 390px);
  }

  .orbit-node {
    width: 92px;
    height: 92px;
    border-width: 2px;
  }

  .orbit-node strong {
    font-size: 27px;
  }

  .node-content {
    transform: translateY(3px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .claude-mark,
  .openai-mark {
    width: 42px;
    height: 42px;
    padding: 5px;
  }

  .stack-mark {
    width: 42px;
    height: 42px;
    padding: 6px;
  }

  .spark-mark {
    width: 34px;
    height: 34px;
    padding: 5px;
  }

  .orbit-node span {
    font-size: 12px;
  }

  .node-all {
    width: 108px;
    height: 108px;
  }

  .node-chatgpt {
    width: 86px;
    height: 86px;
  }

  .node-gemini {
    width: 78px;
    height: 78px;
  }

  .orbit-center {
    width: 104px;
    height: 104px;
    border-radius: 24px;
    gap: 7px;
  }

  .orbit-center em {
    font-size: 14px;
    letter-spacing: 0.1em;
  }

  .orbit-center::before {
    inset: -24px;
  }

  .orbit-center span {
    width: 46px;
    height: 4px;
  }

  .orbit-center span:nth-child(2) {
    width: 38px;
  }

  .orbit-center span:nth-child(3) {
    width: 30px;
  }

  .home-section {
    padding: 64px 0;
  }

  .home-section h2 {
    font-size: 34px;
  }

  .model-card-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .quick-flow .flow-grid {
    width: min(100% - 28px, 560px);
    grid-template-columns: 1fr;
  }

  .quick-flow .flow-grid article {
    min-height: 0;
  }
}
