:root {
  --bg: #f7f7f8;
  --ink: #0a0a0b;
  --ink-soft: #4b4f56;
  --line: rgba(10, 10, 11, 0.08);
  --accent: #4ab8ff;
  --particle-1: #0d0e10;
  --particle-2: #23262d;
  --particle-3: #5b636f;
  --btn-light: #f3f4f6;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", sans-serif;
}

html.theme-teal {
  --particle-1: #004a52;
  --particle-2: #00a8b3;
  --particle-3: #00e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.hero-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

.site-header > * {
  position: relative;
}

.landing {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 124px 36px 80px;
}

.hero-actions-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(10, 10, 11, 0.72);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-link:hover {
  background: rgba(10, 10, 11, 0.04);
  color: rgba(10, 10, 11, 0.9);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.wordmark-icon {
  display: block;
  width: 18px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.wordmark-mark {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.92;
}

.wordmark-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.landing-hero {
  min-height: calc(100vh - 220px);
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 4vh 0 10vh;
}

.bootline {
  font-family: var(--font-display);
  font-size: clamp(24px, 4.6vw, 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: rgba(10, 10, 11, 0.86);
  min-height: 1.2em;
  max-width: 22ch;
}

.bootline [data-bootline] {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: opacity 1500ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1500ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.bootline.is-text [data-bootline] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.bootline-cursor {
  display: none;
}

.page-landing [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 900ms ease, transform 900ms ease;
  will-change: opacity, transform;
}

.page-landing.is-ready [data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-top: 10px;
}

.pill-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 30px rgba(10, 10, 11, 0.06);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(10, 10, 11, 0.82);
}


.hero-mark {
  width: clamp(72px, 7.5vw, 104px);
  height: clamp(94px, 9.8vw, 136px);
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(10, 10, 11, 0.14));
}

.path-grid {
  max-width: 1040px;
  margin: 7vh auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.path-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(10, 10, 11, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 60px rgba(10, 10, 11, 0.07);
  backdrop-filter: blur(18px) saturate(160%);
}

.path-card h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.035em;
}

.path-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.trust-strip {
  max-width: 1040px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-strip div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(10, 10, 11, 0.045);
  color: rgba(10, 10, 11, 0.76);
  line-height: 1.55;
}

.trust-strip strong {
  display: block;
  color: rgba(10, 10, 11, 0.94);
  margin-bottom: 4px;
}

.landing-download {
  margin-top: 12vh;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #646973;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 11ch;
  color: rgba(10, 10, 11, 0.96);
}

.subtitle {
  max-width: 44ch;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 18px;
}

.hero-cta {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

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

.btn-dark {
  background: #0c0c0d;
  color: #ffffff;
}

.btn-light {
  background: var(--btn-light);
  color: #16181c;
}

.feature-strip {
  max-width: 980px;
  margin: 14vh auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 72px);
}

.feature h2 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.feature p {
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.site-footer {
  max-width: 1200px;
  margin: 90px auto 0;
  padding-top: 18px;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: #646973;
}

.site-footer.site-footer-landing {
  max-width: 1120px;
  margin-top: 88px;
}

.site-footer-docs {
  margin-top: 64px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
  transition: opacity 0.18s ease;
}

.footer-link:hover {
  opacity: 1;
}

.footer-icon-link svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}

.docs-page {
  position: relative;
  background: #ffffff;
}

.docs-page .hero-canvas {
  position: absolute;
  height: 360px;
  inset: 0 0 auto 0;
}

.docs-shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 124px 36px 72px;
}

.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 180px;
  gap: 28px;
  align-items: start;
}

.docs-nav {
  position: sticky;
  top: 96px;
  align-self: start;
  min-width: 0;
}

.docs-nav-inner {
  display: grid;
  gap: 6px;
}

.docs-nav-title {
  margin-top: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(75, 79, 86, 0.85);
}

.docs-nav-title:first-child {
  margin-top: 0;
}

.docs-nav-title-spacer {
  margin-top: 22px;
}

.docs-nav-link {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(10, 10, 11, 0.74);
  transition: background-color 180ms ease, color 180ms ease;
}

.docs-nav-link:hover {
  background: rgba(10, 10, 11, 0.04);
  color: rgba(10, 10, 11, 0.88);
}

.docs-nav-link.is-active {
  background: rgba(10, 10, 11, 0.06);
  color: rgba(10, 10, 11, 0.92);
}

.docs-article {
  padding-top: 6px;
  min-width: 0;
}

.docs-page h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.03;
  letter-spacing: -0.04em;
  max-width: none;
}

.docs-page-head {
  padding-top: 4px;
  padding-bottom: 22px;
}

.docs-article h2 {
  margin-top: 44px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 34px);
  letter-spacing: -0.03em;
  scroll-margin-top: 110px;
}

.docs-article p {
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.72;
}

.docs-actions {
  margin-top: 14px;
}

.docs-steps {
  margin-top: 14px;
  padding-left: 18px;
  color: rgba(10, 10, 11, 0.82);
  line-height: 1.75;
}

.docs-list {
  margin-top: 14px;
  padding-left: 18px;
  color: rgba(10, 10, 11, 0.82);
  line-height: 1.75;
}

.docs-faq {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 36px rgba(10, 10, 11, 0.06);
}

.docs-faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(10, 10, 11, 0.9);
}

.docs-faq p {
  margin-top: 10px;
}

.docs-toc {
  position: sticky;
  top: 96px;
  align-self: start;
}

.docs-toc-inner {
  padding-top: 14px;
}

.docs-toc-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(75, 79, 86, 0.85);
  margin-bottom: 12px;
}

.docs-toc-list {
  display: grid;
  gap: 6px;
}

.docs-toc-link {
  font-size: 13px;
  line-height: 1.3;
  padding: 6px 8px;
  border-radius: 10px;
  color: rgba(75, 79, 86, 0.9);
  transition: background-color 180ms ease, color 180ms ease;
}

.docs-toc-link:hover {
  background: rgba(10, 10, 11, 0.04);
  color: rgba(10, 10, 11, 0.86);
}

.docs-toc-link.is-active {
  background: rgba(10, 10, 11, 0.06);
  color: rgba(10, 10, 11, 0.9);
}

.docs-hero {
  min-height: 320px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 16px;
  padding-top: 18px;
}

.docs-hero-compact {
  min-height: 190px;
  padding-top: 10px;
}

.docs-content {
  margin-top: 22px;
}

.docs-content h2 {
  margin-top: 30px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: -0.02em;
}

.docs-content p {
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.72;
}

pre {
  margin-top: 12px;
  background: #f3f4f6;
  border-radius: 12px;
  border: 0;
  padding: 12px 14px;
  overflow-x: auto;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
}

@media (max-width: 1180px) {
  .docs-layout {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .docs-toc {
    display: none;
  }
}

@media (max-width: 900px) {
  .path-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .site-header {
    padding: 18px 18px;
  }

  .landing {
    padding: 108px 18px 64px;
  }

  .landing-hero {
    min-height: calc(100vh - 190px);
    padding: 3vh 0 8vh;
    gap: 14px;
  }

  .subtitle {
    font-size: 16px;
  }

  .docs-shell {
    padding: 108px 24px 64px;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .docs-nav {
    position: relative;
    top: 0;
    z-index: 1;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    margin: 0;
    padding: 0 0 32px;
    border-bottom: 1px solid var(--line);
  }

  .docs-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 0;
    overflow-x: visible;
  }

  .docs-nav-title {
    display: block;
    margin-top: 16px;
    font-size: 11px;
    color: var(--ink-soft);
  }

  .docs-nav-link {
    padding: 10px 0;
    font-size: 15px;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(10, 10, 11, 0.05);
    border-radius: 0;
    white-space: normal;
  }

  .docs-nav-link:last-child {
    border-bottom: none;
  }

  .docs-toc {
    display: none;
  }

  .docs-page .hero-canvas {
    height: 320px;
  }

  .docs-hero {
    min-height: 280px;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 100;
  position: relative;
}

.menu-toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s ease;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transition: transform 0.3s ease;
}

.menu-toggle-icon::before { top: -6px; }
.menu-toggle-icon::after { bottom: -6px; }

.is-menu-open .menu-toggle-icon {
  background: transparent;
}

.is-menu-open .menu-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.is-menu-open .menu-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 0 0 auto 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 88px 36px 36px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    border-bottom: 1px solid var(--line);
  }

  .is-menu-open .nav-menu {
    transform: translateY(0);
  }

  .nav-menu .nav-link {
    font-size: 22px;
    font-weight: 600;
    height: auto;
    padding: 12px 0;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    justify-content: flex-start;
  }
  
  .nav-menu .nav-link:last-child {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 16px 20px;
    gap: 12px;
    justify-content: space-between;
  }

  .hero-actions {
    gap: 8px;
  }

  .site-header .btn {
    padding: 0 16px;
    font-size: 13px;
    min-height: 40px;
  }

  .wordmark-name {
    font-size: 15px;
  }

  .docs-shell {
    padding-inline: 24px;
    overflow-x: hidden;
  }

  .docs-page h1 {
    max-width: 100%;
    font-size: clamp(30px, 9vw, 38px);
    letter-spacing: -0.035em;
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bootline [data-bootline] {
    transform: none;
    transition: opacity 220ms ease;
  }
}
