:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --paper-2: #eef4ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --ink: #07101f;
  --ink-soft: #1e2b3d;
  --muted: #647186;
  --line: rgba(7, 16, 31, 0.12);
  --line-strong: rgba(7, 16, 31, 0.2);
  --blue: #0a7bff;
  --blue-2: #5368ff;
  --violet: #6d55ff;
  --lobster: #d8644a;
  --gold: #c79d48;
  --shadow: 0 24px 80px rgba(7, 16, 31, 0.12);
  --radius: 8px;
  --max: 1200px;
  --font-serif: Charter, "Bitstream Charter", "Iowan Old Style", "Noto Serif SC", "Songti SC", serif;
  --font-sans: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-serif);
  letter-spacing: 0;
  background:
    radial-gradient(ellipse at 78% 4%, rgba(83, 104, 255, 0.18), transparent 32rem),
    radial-gradient(ellipse at 8% 18%, rgba(216, 100, 74, 0.12), transparent 26rem),
    radial-gradient(ellipse at 50% 74%, rgba(10, 123, 255, 0.08), transparent 34rem),
    linear-gradient(180deg, #fbfaf7 0%, #eef4ff 44%, #f8f7f2 100%);
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 999px;
  color: #ffffff;
  background: var(--blue-2);
  font-family: var(--font-sans);
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 74px;
  padding: 0 max(18px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(248, 247, 242, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  font-weight: 900;
}

.brand-lockup {
  width: 132px;
  height: auto;
}

.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--line-strong);
}

.product-name {
  font-size: 18px;
  line-height: 1;
}

.nav-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a,
.parent-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a:focus-visible,
.parent-link:hover,
.parent-link:focus-visible {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(7, 16, 31, 0.055);
  outline: none;
}

.parent-link {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 12px 28px rgba(83, 104, 255, 0.22);
}

.parent-link:hover,
.parent-link:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
  border-color: transparent;
  background: linear-gradient(135deg, #006fe8, #6047f3);
}

.menu-button {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 800;
}

main {
  padding-top: 74px;
}

.stage,
.page-panel {
  display: none;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 84px;
}

.stage.active,
.page-panel.active {
  display: block;
  animation: rise 420ms ease both;
}

.stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(390px, 1.04fr);
  gap: 58px;
  align-items: center;
  min-height: 590px;
}

.stage-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.3vw, 78px);
  line-height: 1.08;
  font-weight: 900;
}

h2,
h3 {
  font-weight: 900;
}

.lead {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.75;
}

.hero-actions,
.panel-actions,
.card-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.filter-button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.filter-button:hover,
.copy-button:hover,
.button:focus-visible,
.filter-button:focus-visible,
.copy-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(83, 104, 255, 0.42);
  outline: none;
}

.button.primary {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 18px 36px rgba(83, 104, 255, 0.24);
}

.button.secondary {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--lobster), var(--gold));
  box-shadow: 0 16px 32px rgba(216, 100, 74, 0.2);
}

.button.tertiary {
  background: rgba(255, 255, 255, 0.62);
}

.connection-map {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.16), transparent 17rem),
    radial-gradient(circle at 18% 20%, rgba(10, 123, 255, 0.32), transparent 15rem),
    radial-gradient(circle at 82% 84%, rgba(216, 100, 74, 0.22), transparent 16rem),
    linear-gradient(135deg, #07101f 0%, #111a45 58%, #2a205f 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.connection-map::before,
.connection-map::after {
  position: absolute;
  z-index: 0;
  content: "";
}

.connection-map::before {
  inset: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}

.connection-map::after {
  right: -80px;
  bottom: -118px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(2px);
}

.map-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: min(48vw, 300px);
  max-width: 58%;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #03060a;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38), 0 0 0 18px rgba(255, 255, 255, 0.06);
}

.map-core img {
  width: 132%;
  height: 132%;
  max-width: none;
  object-fit: cover;
  object-position: center 25%;
  transform: translateY(-7%);
}

.map-line {
  position: absolute;
  z-index: 1;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.86), rgba(83, 104, 255, 0.42), transparent);
  transform-origin: left center;
}

.line-a {
  top: 33%;
  left: 18%;
  width: 62%;
  transform: rotate(16deg);
}

.line-b {
  top: 65%;
  left: 17%;
  width: 58%;
  transform: rotate(-17deg);
}

.line-c {
  top: 49%;
  left: 22%;
  width: 56%;
  transform: rotate(0deg);
}

.map-node {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 6px;
  width: 178px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.map-node span {
  color: var(--blue-2);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-node strong {
  font-size: 20px;
  line-height: 1.2;
}

.map-node:hover,
.map-node:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.62);
  background: #ffffff;
  outline: none;
}

.node-services {
  top: 72px;
  left: 48px;
}

.node-skills {
  top: 118px;
  right: 42px;
}

.node-recipes {
  right: 82px;
  bottom: 72px;
}

.quick-grid,
.card-grid,
.plan-grid,
.release-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.quick-grid {
  margin-top: 6px;
}

.quick-card,
.item-card,
.plan-card,
.release-card,
.feature-strip {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 56px rgba(7, 16, 31, 0.08);
  backdrop-filter: blur(12px);
}

.quick-card,
.item-card,
.plan-card,
.release-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.quick-card:hover,
.item-card:hover,
.plan-card:hover,
.release-card:hover,
.quick-card:focus-visible,
.item-card:focus-visible,
.plan-card:focus-visible,
.release-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(83, 104, 255, 0.34);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(7, 16, 31, 0.12);
  outline: none;
}

.quick-card::after,
.item-card::after,
.plan-card::after,
.release-card::after {
  position: absolute;
  inset: auto 18px 0 18px;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--lobster));
  opacity: 0;
  content: "";
  transition: opacity 180ms ease;
}

.quick-card:hover::after,
.item-card:hover::after,
.plan-card:hover::after,
.release-card:hover::after {
  opacity: 1;
}

.quick-card span,
.number {
  color: var(--blue-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
}

.quick-card strong,
.item-card h3,
.plan-card h3,
.release-card h3 {
  display: block;
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.quick-card p,
.item-card p,
.plan-card p,
.release-card p,
.feature-strip p {
  color: var(--muted);
  line-height: 1.7;
}

.brand-system {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 34px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-system article {
  padding: 0 26px;
  border-right: 1px solid var(--line);
}

.brand-system article:first-child {
  padding-left: 0;
}

.brand-system article:last-child {
  padding-right: 0;
  border-right: 0;
}

.brand-system span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-2);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-system strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.brand-system p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.panel-head h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.05;
  text-wrap: balance;
}

.panel-head p {
  max-width: 710px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.stat-row {
  display: flex;
  gap: 10px;
}

.stat {
  min-width: 92px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
}

.filters {
  margin-bottom: 20px;
}

.filter-button.active {
  border-color: transparent;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

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

.item-card.featured,
.plan-card.featured {
  border-color: rgba(83, 104, 255, 0.35);
  box-shadow: 0 24px 70px rgba(83, 104, 255, 0.12);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.58);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
}

.status {
  display: inline-block;
  margin-top: 16px;
  color: var(--blue-2);
  font-family: var(--font-sans);
}

.status.beta {
  color: var(--gold);
}

.status.watch {
  color: var(--lobster);
}

.command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 16, 31, 0.04);
}

.item-card .command {
  margin-top: auto;
}

code {
  overflow-wrap: anywhere;
  color: var(--violet);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

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

.feature-strip article {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(7, 16, 31, 0.07);
}

.timeline-item h3 {
  margin-bottom: 6px;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--blue-2);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 18px;
  }

  .brand-lockup {
    width: 118px;
  }

  .site-nav a {
    padding: 0 10px;
  }
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
    align-items: center;
  }

  .nav-cluster {
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(248, 247, 242, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .parent-link {
    display: none;
  }

  .stage-grid,
  .panel-head {
    grid-template-columns: 1fr;
  }

  .stage-grid {
    min-height: auto;
  }

  .connection-map {
    min-height: 500px;
  }

  .quick-grid,
  .card-grid,
  .brand-system,
  .feature-strip,
  .plan-grid,
  .release-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-system article {
    padding: 18px 22px;
  }

  .brand-system article:first-child {
    padding-left: 22px;
  }

  .brand-system article:nth-child(2) {
    border-right: 0;
  }

  .brand-system article:last-child {
    grid-column: 1 / -1;
    padding-right: 22px;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand-lockup {
    width: 106px;
  }

  .brand-divider {
    height: 22px;
  }

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

  .stage,
  .page-panel,
  .site-footer {
    width: min(100% - 28px, var(--max));
  }

  .stage,
  .page-panel {
    padding: 48px 0 64px;
  }

  h1 {
    font-size: 44px;
  }

  .lead {
    font-size: 18px;
  }

  .connection-map {
    min-height: 430px;
  }

  .map-core {
    width: 220px;
    max-width: 60%;
  }

  .map-node {
    width: 144px;
    padding: 14px;
  }

  .map-node strong {
    font-size: 17px;
  }

  .node-services {
    top: 34px;
    left: 18px;
  }

  .node-skills {
    top: 76px;
    right: 18px;
  }

  .node-recipes {
    right: 30px;
    bottom: 38px;
  }

  .quick-grid,
  .card-grid,
  .brand-system,
  .feature-strip,
  .plan-grid,
  .release-grid,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .brand-system {
    padding: 0;
  }

  .brand-system article,
  .brand-system article:first-child,
  .brand-system article:last-child {
    padding: 20px 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-system article:last-child {
    border-bottom: 0;
  }

  .feature-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-strip article:last-child {
    border-bottom: 0;
  }

  .timeline-item {
    gap: 10px;
  }

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

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

@media (max-width: 440px) {
  .brand-lockup {
    width: 96px;
  }

  .product-name {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .button {
    width: 100%;
  }

  .connection-map {
    min-height: 390px;
  }

  .map-core {
    width: 190px;
  }

  .map-node {
    width: 128px;
  }
}

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