:root {
      --bg: #071019;
      --bg-deep: #040a10;
      --surface: #0c1722;
      --surface-raised: #11202d;
      --surface-soft: rgba(13, 27, 39, 0.78);
      --line: rgba(180, 208, 230, 0.14);
      --line-strong: rgba(180, 208, 230, 0.24);
      --text: #f3f7fa;
      --muted: #98aab8;
      --muted-strong: #c3cfd7;
      --accent: #66d9c8;
      --accent-strong: #8be8dc;
      --blue: #68aefc;
      --violet: #a889f7;
      --warm: #f1bf79;
      --danger: #ff918f;
      --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
      --shadow-soft: 0 14px 44px rgba(0, 0, 0, 0.22);
      --radius-sm: 12px;
      --radius: 18px;
      --radius-lg: 28px;
      --max-width: 1180px;
      --header-height: 72px;
      --section-space: clamp(88px, 10vw, 142px);
      --ease: 180ms ease;
    }

*,
    *::before,
    *::after {
      box-sizing: border-box;
    }

html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--header-height) + 30px);
    }

body {
      margin: 0;
      min-width: 320px;
      color: var(--text);
      background: var(--bg);
      isolation: isolate;
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.6;
      text-rendering: optimizeLegibility;
      -webkit-font-smoothing: antialiased;
    }

body.nav-open {
      overflow: hidden;
    }

a {
      color: inherit;
      text-decoration: none;
    }

button,
    a {
      -webkit-tap-highlight-color: transparent;
    }

img,
    svg {
      display: block;
      max-width: 100%;
    }

::selection {
      color: #04100f;
      background: var(--accent);
    }

.container {
      width: min(calc(100% - 40px), var(--max-width));
      margin-inline: auto;
    }

.section {
      position: relative;
      padding: var(--section-space) 0;
    }

.section-muted {
      border-top: 1px solid rgba(180, 208, 230, 0.07);
      border-bottom: 1px solid rgba(180, 208, 230, 0.07);
      background: rgba(4, 11, 17, 0.48);
    }

.section-header {
      max-width: 760px;
      margin-bottom: 52px;
    }

.section-header.centered {
      margin-inline: auto;
      text-align: center;
    }

.eyebrow,
    .section-kicker {
      color: var(--accent-strong);
      font-size: 0.75rem;
      font-weight: 750;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

.eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 22px;
    }

.eyebrow::before {
      content: "";
      width: 28px;
      height: 1px;
      background: currentColor;
      opacity: 0.8;
    }

.section-kicker {
      margin-bottom: 13px;
    }

.section-title {
      margin: 0;
      font-size: clamp(2.1rem, 4vw, 3.55rem);
      line-height: 1.08;
      letter-spacing: -0.048em;
      text-wrap: balance;
    }

.section-copy {
      max-width: 700px;
      margin: 18px 0 0;
      color: var(--muted-strong);
      font-size: 1.03rem;
      line-height: 1.72;
    }

.centered .section-copy {
      margin-inline: auto;
    }

.card {
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface-soft);
      box-shadow: var(--shadow-soft);
    }

.button {
      min-height: 46px;
      padding: 0 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      border: 1px solid transparent;
      border-radius: 11px;
      font-size: 0.93rem;
      font-weight: 680;
      line-height: 1;
      cursor: pointer;
      transition: transform var(--ease), border-color var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease);
    }

.button:hover {
      transform: translateY(-2px);
    }

.button:focus-visible,
    .site-nav a:focus-visible,
    .footer-link:focus-visible {
      outline: 2px solid var(--accent-strong);
      outline-offset: 4px;
    }

.button-primary {
      color: #041311;
      background: linear-gradient(135deg, var(--accent-strong), var(--accent));
      box-shadow: 0 12px 35px rgba(102, 217, 200, 0.19);
    }

.button-primary:hover {
      box-shadow: 0 16px 44px rgba(102, 217, 200, 0.26);
    }

.button-secondary {
      color: var(--text);
      border-color: var(--line-strong);
      background: rgba(15, 29, 42, 0.78);
    }

.button-secondary:hover {
      border-color: rgba(139, 232, 220, 0.4);
      background: var(--surface-raised);
    }

.button-small {
      min-height: 40px;
      padding-inline: 16px;
      font-size: 0.87rem;
    }

.button svg {
      width: 16px;
      height: 16px;
    }

.app-launch {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.app-launch-label {
  position: relative;
  z-index: 2;
  min-width: 6.5rem;
  text-align: center;
}

.app-launch [data-app-launch-icon] {
  position: relative;
  z-index: 2;
  transition: opacity var(--ease), transform var(--ease);
}

.app-launch-shimmer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
}

.app-launch.is-loading {
  cursor: wait;
}

.app-launch.is-loading:hover {
  transform: none;
}

.app-launch.is-loading [data-app-launch-icon] {
  opacity: 0.45;
}

.app-launch.is-loading .app-launch-shimmer {
  opacity: 1;
  animation: app-launch-shimmer 1.2s infinite;
}

@keyframes app-launch-shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-launch.is-loading .app-launch-shimmer {
    animation: none;
    transform: translateX(0);
    opacity: 0.18;
  }
}

.page-hero {
      padding: clamp(82px, 9vw, 124px) 0 clamp(56px, 7vw, 88px);
    }

.page-hero-inner {
      max-width: 820px;
    }

.page-hero h1 {
      margin: 0;
      font-size: clamp(3rem, 6vw, 5.4rem);
      line-height: 1;
      letter-spacing: -0.06em;
      text-wrap: balance;
    }

.page-hero p {
      max-width: 700px;
      margin: 24px 0 0;
      color: var(--muted-strong);
      font-size: 1.08rem;
      line-height: 1.75;
    }

.content-shell {
      max-width: 900px;
      padding: clamp(28px, 5vw, 56px);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      background: rgba(8, 19, 28, 0.8);
      box-shadow: var(--shadow-soft);
    }

.prose {
      color: var(--muted-strong);
      font-size: 1rem;
      line-height: 1.8;
    }

.prose h2,
    .prose h3 {
      color: var(--text);
      line-height: 1.2;
      letter-spacing: -0.03em;
    }

.prose h2 {
      margin: 2.4em 0 0.7em;
      font-size: 1.8rem;
    }

.prose h3 {
      margin: 2em 0 0.65em;
      font-size: 1.25rem;
    }

.prose a {
      color: var(--accent-strong);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

.thread-background {
      position: fixed;
      inset: 0;
      z-index: -2;
      pointer-events: none;
      overflow: hidden;
      background:
        radial-gradient(circle at 12% 4%, rgba(104, 174, 252, 0.14), transparent 28rem),
        radial-gradient(circle at 87% 19%, rgba(102, 217, 200, 0.11), transparent 33rem),
        radial-gradient(circle at 48% 82%, rgba(168, 137, 247, 0.07), transparent 29rem),
        linear-gradient(180deg, #071019 0%, #06101a 48%, #040b12 100%);
    }

.thread-background svg {
      width: 100%;
      height: 250%;
      opacity: 1;
      transform: translate3d(0, var(--thread-offset, 0px), 0);
      will-change: transform;
    }

.thread-shade {
      position: fixed;
      inset: 0;
      z-index: -1;
      pointer-events: none;
      background:
        linear-gradient(90deg, rgba(7, 16, 25, 0.02), rgba(7, 16, 25, 0.2) 25%, rgba(7, 16, 25, 0.27) 50%, rgba(7, 16, 25, 0.2) 75%, rgba(7, 16, 25, 0.02)),
        linear-gradient(180deg, rgba(7, 16, 25, 0.02), rgba(7, 16, 25, 0.09));
    }

.pilot-bar {
      position: relative;
      z-index: 110;
      border-bottom: 1px solid rgba(139, 232, 220, 0.16);
      background: rgba(8, 25, 34, 0.93);
      backdrop-filter: blur(16px);
    }

.pilot-bar-inner {
      min-height: 38px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: var(--muted-strong);
      font-size: 0.82rem;
    }

.pilot-bar a {
      color: var(--accent-strong);
      font-weight: 700;
    }

.site-header {
      position: sticky;
      z-index: 100;
      top: 0;
      min-height: var(--header-height);
      border-bottom: 1px solid transparent;
      background: rgba(7, 16, 25, 0.74);
      backdrop-filter: blur(18px);
      transition: border-color var(--ease), background var(--ease);
    }

.site-header.is-scrolled {
      border-color: var(--line);
      background: rgba(7, 16, 25, 0.93);
    }

.header-inner {
      min-height: var(--header-height);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 28px;
    }

.brand {
      display: inline-flex;
      align-items: center;
      gap: 11px;
      font-size: 1.08rem;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

.brand-mark {
      width: 33px;
      height: 33px;
      flex: none;
    }

.header-actions {
      display: flex;
      align-items: center;
      gap: 24px;
    }

.site-nav {
      display: flex;
      align-items: center;
      gap: 24px;
      color: var(--muted-strong);
      font-size: 0.91rem;
    }

.site-nav a {
      transition: color var(--ease);
    }

.site-nav a:hover,
    .site-nav a:focus-visible {
      color: var(--text);
    }

.mobile-menu-button {
      display: none;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      border-radius: 11px;
      background: var(--surface);
      color: var(--text);
      cursor: pointer;
    }

.mobile-menu-button span,
    .mobile-menu-button::before,
    .mobile-menu-button::after {
      content: "";
      display: block;
      width: 18px;
      height: 1.5px;
      margin: 4px auto;
      border-radius: 999px;
      background: currentColor;
      transition: transform var(--ease), opacity var(--ease);
    }

.mobile-menu-button.is-open span {
      opacity: 0;
    }

.mobile-menu-button.is-open::before {
      transform: translateY(5.5px) rotate(45deg);
    }

.mobile-menu-button.is-open::after {
      transform: translateY(-5.5px) rotate(-45deg);
    }

main {
      overflow: hidden;
    }

.site-footer {
      border-top: 1px solid var(--line);
      background: var(--bg-deep);
    }

.footer-main {
      padding: 64px 0 46px;
      display: grid;
      grid-template-columns: 1.55fr repeat(3, 1fr);
      gap: 52px;
    }

.footer-brand-copy {
      max-width: 340px;
      margin: 17px 0 0;
      color: var(--muted);
      font-size: 0.84rem;
      line-height: 1.65;
    }

.footer-column h3 {
      margin: 0 0 17px;
      color: var(--muted-strong);
      font-size: 0.76rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
    }

.footer-links {
      display: grid;
      gap: 11px;
    }

.footer-link {
      width: fit-content;
      color: var(--muted);
      font-size: 0.84rem;
      transition: color var(--ease);
    }

.footer-link:hover {
      color: var(--text);
    }

.footer-bottom {
      min-height: 70px;
      padding: 17px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 0.75rem;
    }

.footer-status {
      display: flex;
      align-items: center;
      gap: 8px;
    }

.footer-status::before {
      content: "";
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 9px rgba(102, 217, 200, 0.55);
    }

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
          scroll-behavior: auto;
        }

  *,
        *::before,
        *::after {
          animation-duration: 0.01ms !important;
          animation-iteration-count: 1 !important;
          transition-duration: 0.01ms !important;
        }

  .reveal {
          opacity: 1;
          transform: none;
        }
}

@media (max-width: 1060px) {
  .footer-main {
          grid-template-columns: 1.4fr repeat(3, 0.8fr);
          gap: 30px;
        }
}

@media (max-width: 820px) {
  :root {
          --header-height: 66px;
        }

  .mobile-menu-button {
          display: block;
        }

  .site-nav.is-open {
          position: fixed;
          inset: var(--header-height) 0 auto;
          display: grid;
          gap: 0;
          padding: 12px 20px 22px;
          border-bottom: 1px solid var(--line);
          background: rgba(7, 16, 25, 0.98);
          box-shadow: var(--shadow-soft);
        }

  .site-nav.is-open a {
          padding: 15px 3px;
          border-bottom: 1px solid rgba(180, 208, 230, 0.08);
          font-size: 0.96rem;
        }

  .site-nav.is-open a:last-child {
          border-bottom: 0;
        }

  .footer-main {
          grid-template-columns: 1.4fr 1fr 1fr;
        }

  .footer-main > :first-child {
          grid-column: 1 / -1;
        }
}

@media (max-width: 760px) {
  .pilot-bar-inner {
          padding: 8px 20px;
          text-align: center;
          flex-wrap: wrap;
        }
}

@media (max-width: 620px) {
  .container {
          width: min(calc(100% - 28px), var(--max-width));
        }

  .section-header {
          margin-bottom: 38px;
        }

  .footer-main {
          grid-template-columns: 1fr 1fr;
          gap: 38px 24px;
        }

  .footer-main > :first-child {
          grid-column: 1 / -1;
        }

  .footer-bottom {
          align-items: flex-start;
          flex-direction: column;
        }
}
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.error-page-inner {
  max-width: 720px;
}

.error-code {
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.error-page h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.045em;
}

.error-page p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.error-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}