:root {
  --c-primary: #00a8e8;
  --c-primary-deep: #007eb3;
  --c-accent: #3ec6ff;
  --c-ink: #141820;
  --c-ink-2: #334155;
  --c-mute: #64748b;
  --c-paper: #f4f7fb;
  --c-white: #ffffff;
  --c-dark: #141820;
  --c-dark-2: #1a2332;
  --c-line: rgba(0, 168, 232, 0.16);
  --c-line-ink: rgba(20, 24, 32, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --max: 1160px;
  --header: 72px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(12, 40, 64, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip; /* clip keeps position:sticky working (hidden does not) */
  overflow-y: scroll; /* always reserve scrollbar — no width jump on boot/scroll */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

::selection {
  background: rgba(0, 168, 232, 0.2);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

em {
  font-style: normal;
  color: var(--c-primary-deep);
  font-weight: 600;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

code {
  padding: 0.15em 0.45em;
  border-radius: 6px;
  background: rgba(0, 168, 232, 0.1);
  color: var(--c-primary-deep);
  font-size: 0.92em;
}

pre {
  margin: 1rem 0;
  padding: 1.15rem 1.25rem;
  overflow: auto;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #f7fbfe, #eef6fb);
  border: 1px solid var(--c-line);
  color: #1e3a4f;
  font-size: 0.9rem;
  line-height: 1.55;
}

pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 0.95rem;
  transition: 0.25s var(--ease);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  min-height: 52px;
  padding-inline: 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #00a8e8, #2ec0f5 55%, #4ecfff);
  box-shadow: 0 12px 30px rgba(0, 168, 232, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(0, 168, 232, 0.45);
}

.btn-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.38) 48%,
    transparent 66%
  );
  transform: translateX(-130%);
  transition: none;
  pointer-events: none;
}

.btn-shine:hover::after {
  animation: btn-shine 0.85s var(--ease);
}

.btn-outline {
  color: var(--c-primary-deep);
  border-color: rgba(0, 168, 232, 0.35);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--c-primary);
  background: #fff;
  color: var(--c-primary);
}

.btn-ghost {
  color: var(--c-ink-2);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--c-primary);
  background: rgba(0, 168, 232, 0.08);
}

/* Header — floating glass shell */
.site-header {
  --header-pad: 0.7rem;
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: var(--header-pad) clamp(0.85rem, 2.5vw, 1.4rem) 0;
  pointer-events: none;
  transition: padding 0.35s var(--ease);
}

.header-shell {
  pointer-events: auto;
  width: min(100%, calc(var(--max) + 2rem));
  margin: 0 auto;
  min-height: 58px;
  padding: 0.35rem 0.45rem 0.35rem 0.7rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 36px rgba(12, 50, 80, 0.06);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.site-header.is-solid .header-shell,
.site-header.is-scrolled .header-shell {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 168, 232, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 14px 40px rgba(12, 50, 80, 0.1);
}

.site-header.is-scrolled {
  --header-pad: 0.45rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.15rem 0.2rem;
  border-radius: 12px;
  transition: 0.25s var(--ease);
}

.brand:hover {
  background: rgba(0, 168, 232, 0.06);
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 6px 16px rgba(0, 168, 232, 0.22);
}

.brand-text {
  display: inline-flex;
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1;
}

.brand-text i {
  font-style: normal;
}

.brand-text .ice {
  color: #0f1b2d;
}

.brand-text .jz {
  color: #00a8e8;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  justify-self: center;
  padding: 0.2rem;
  border-radius: 14px;
  background: rgba(244, 247, 251, 0.55);
  border: 1px solid rgba(0, 168, 232, 0.08);
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 0.95rem;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--c-ink-2);
  transition: 0.22s var(--ease);
}

.nav a span {
  position: relative;
  z-index: 1;
}

.nav a:hover {
  color: var(--c-primary-deep);
  background: rgba(255, 255, 255, 0.72);
}

.nav a[aria-current="page"] {
  color: var(--c-primary-deep);
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 140, 200, 0.1);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: var(--c-primary);
  transform: translateX(-50%);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 168, 232, 0.16);
  background: rgba(255, 255, 255, 0.72);
  gap: 0.12rem;
}

.lang-switch button {
  min-width: 2.35rem;
  min-height: 30px;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--c-mute);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: 0.2s var(--ease);
}

.lang-switch button:hover {
  color: var(--c-primary-deep);
}

.lang-switch button.is-active {
  color: var(--c-primary-deep);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 140, 200, 0.12);
}

.site-header.is-scrolled .lang-switch,
.site-header.is-solid .lang-switch {
  background: rgba(244, 247, 251, 0.9);
}

.header-link {
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--c-ink-2);
  transition: 0.22s var(--ease);
}

.header-link:hover {
  color: var(--c-primary);
  background: rgba(0, 168, 232, 0.07);
}

.btn-nav {
  min-height: 40px;
  padding: 0 1.05rem;
  font-size: 0.9rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 168, 232, 0.28);
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 168, 232, 0.36);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 168, 232, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 15px;
  height: 2px;
  margin: 4px auto;
  background: var(--c-primary);
  border-radius: 2px;
  transition: 0.25s var(--ease);
}

/* Scroll / lens chrome */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  pointer-events: none;
  background: transparent;
}

.scroll-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00a8e8, #7ad8ff);
  box-shadow: 0 0 12px rgba(0, 168, 232, 0.45);
  transform-origin: left center;
}

.page-lens {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 42%, transparent 42%, rgba(244, 247, 251, 0.28) 100%);
  transition: opacity 0.35s ease;
}

.page-lens.is-active {
  opacity: 1;
}

/* Hero — full-bleed brand composition + 3D stage */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--c-ink);
  background: #f7fbfe;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #ffffff 0%, #f3f8fc 42%, #e6f3fa 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(920px 640px at 12% 18%, rgba(0, 168, 232, 0.22), transparent 58%),
    radial-gradient(720px 520px at 88% 72%, rgba(62, 198, 255, 0.2), transparent 60%),
    radial-gradient(480px 360px at 55% 8%, rgba(0, 168, 232, 0.08), transparent 55%);
  animation: hero-glow 8s ease-in-out infinite alternate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 232, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.055) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 28% 45%, #000 15%, transparent 72%);
  opacity: 0.85;
}

.hero-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    transparent 42%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 58%
  );
  opacity: 0.55;
  animation: hero-sheen 7s var(--ease) infinite;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-particles i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 168, 232, 0.45);
  box-shadow: 0 0 12px rgba(0, 168, 232, 0.28);
  animation: particle-float 4.8s ease-in-out infinite;
}

.hero-particles i:nth-child(1) { left: 12%; top: 22%; animation-delay: 0s; }
.hero-particles i:nth-child(2) { left: 28%; top: 58%; width: 3px; height: 3px; animation-delay: 0.7s; }
.hero-particles i:nth-child(3) { left: 48%; top: 18%; animation-delay: 1.2s; background: rgba(125, 211, 252, 0.7); }
.hero-particles i:nth-child(4) { left: 62%; top: 42%; width: 4px; height: 4px; animation-delay: 0.4s; }
.hero-particles i:nth-child(5) { left: 78%; top: 28%; animation-delay: 1.6s; }
.hero-particles i:nth-child(6) { left: 86%; top: 62%; width: 3px; height: 3px; animation-delay: 0.9s; }

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: radial-gradient(rgba(15, 35, 55, 0.5) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
}

.hero-floor {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -18%;
  height: 52%;
  background:
    linear-gradient(180deg, transparent, rgba(0, 168, 232, 0.05) 30%, rgba(0, 168, 232, 0.1)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(0, 168, 232, 0.08) 48px,
      rgba(0, 168, 232, 0.08) 49px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 47px,
      rgba(0, 168, 232, 0.07) 48px,
      rgba(0, 168, 232, 0.07) 49px
    );
  transform-origin: center top;
  transform: perspective(900px) rotateX(62deg) translateZ(-40px);
  mask-image: linear-gradient(180deg, transparent, #000 28%, #000 70%, transparent);
  pointer-events: none;
  opacity: 0.7;
}

.hero-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 100svh;
  display: grid;
  align-items: end;
}

.hero-mascot-wrap {
  position: absolute;
  right: max(-4%, calc(48% - 620px));
  bottom: -6%;
  width: min(58vw, 640px);
  pointer-events: none;
  z-index: 1;
  animation: rise 1.25s var(--ease) 0.15s both;
}

.hero-mascot {
  width: 100%;
  display: block;
  filter: drop-shadow(0 28px 56px rgba(0, 120, 180, 0.22));
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header) + 2.5rem) 0 4.2rem;
  max-width: min(100% - 2.5rem, 34rem);
  margin-left: max(1.25rem, calc(50% - var(--max) / 2));
}

.hero-brand {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.9;
  animation: brand-in 0.9s var(--ease) both;
}

.hero-brand .ice {
  color: #0f1b2d;
}

.hero-brand .jz {
  color: #00a8e8;
  text-shadow: 0 0 28px rgba(0, 168, 232, 0.22);
}

.hero-title {
  margin: 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

.hero-lead {
  margin: 1.15rem 0 0;
  max-width: 26rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--c-ink-2);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}

.hero-cta .btn {
  animation: cta-in 0.8s var(--ease) 0.35s both;
}

.hero-cta .btn:nth-child(2) {
  animation-delay: 0.48s;
}

/* Sections + camera scroll */
.section {
  padding: clamp(4.8rem, 9vw, 7.5rem) 0;
  transform-style: preserve-3d;
}

.section[data-cam] {
  --cam-progress: 0;
  --cam-tilt: 0deg;
  --cam-shift: 0px;
  transform: perspective(1400px) rotateX(var(--cam-tilt)) translate3d(0, var(--cam-shift), 0);
  transform-origin: 50% 0%;
  will-change: transform;
}

[data-tilt] {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
    translateZ(var(--tilt-z, 0px));
  transition: transform 0.18s ease-out, box-shadow 0.25s var(--ease);
  will-change: transform;
}

[data-tilt].is-tilting {
  transition: transform 0.08s linear, box-shadow 0.25s var(--ease);
}

.section-head {
  max-width: 34rem;
  margin-bottom: 2.8rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head p:last-child {
  margin: 0.95rem 0 0;
  color: var(--c-ink-2);
  font-size: 1.05rem;
}

/* Capabilities — editorial rail, no card wall */
.features {
  background: var(--c-white);
  border-top: 1px solid var(--c-line-ink);
}

.capability-rail {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.cap-feature {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.35rem;
  border-left: 2px solid var(--c-primary);
  background: linear-gradient(90deg, rgba(0, 168, 232, 0.05), transparent 70%);
}

.cap-feature .cap-index {
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
}

.cap-feature h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--c-ink);
}

.cap-feature p {
  margin: 0;
  max-width: 28rem;
  font-size: 1.08rem;
  color: var(--c-ink-2);
  line-height: 1.7;
}

.cap-list {
  display: grid;
  gap: 0;
}

.cap-row {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--c-line-ink);
  transition: background 0.25s var(--ease);
}

.cap-row:last-child {
  border-bottom: 1px solid var(--c-line-ink);
}

.cap-row:hover {
  background: linear-gradient(90deg, rgba(0, 168, 232, 0.04), transparent 70%);
}

.cap-feature[data-tilt]:hover,
.cap-row[data-tilt]:hover {
  --tilt-z: 14px;
}

.cap-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-primary);
  padding-top: 0.2rem;
}

.cap-row h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.cap-row p {
  margin: 0;
  color: var(--c-ink-2);
  font-size: 0.98rem;
}

.cap-points {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.cap-points li {
  position: relative;
  padding-left: 1rem;
  color: var(--c-ink-2);
  font-size: 0.95rem;
}

.cap-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--c-primary);
}

/* Scenarios */
.scenarios {
  background:
    radial-gradient(800px 320px at 0% 0%, rgba(0, 168, 232, 0.06), transparent 55%),
    var(--c-paper);
  border-top: 1px solid var(--c-line-ink);
}

.scene-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line-ink);
}

.scene-item {
  padding: 1.7rem 1.4rem 1.7rem 0;
  border-bottom: 1px solid var(--c-line-ink);
}

.scene-item:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid var(--c-line-ink);
}

.scene-item:nth-child(even) {
  padding-left: 2rem;
}

.scene-num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-primary);
}

.scene-item h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.scene-item p {
  margin: 0;
  color: var(--c-ink-2);
  line-height: 1.65;
}

/* Flow */
.flow {
  background: var(--c-white);
  border-top: 1px solid var(--c-line-ink);
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: flow;
  display: grid;
  gap: 0;
}

.flow-list li {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr);
  column-gap: 1.1rem;
  row-gap: 0.35rem;
  align-items: start;
  padding: 1.45rem 0;
  border-top: 1px solid var(--c-line-ink);
  counter-increment: flow;
}

.flow-list li:last-child {
  border-bottom: 1px solid var(--c-line-ink);
}

.flow-list li::before {
  content: counter(flow, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  padding-top: 0.25rem;
}

.flow-list strong,
.flow-list p {
  grid-column: 2;
  min-width: 0;
}

.flow-list strong {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.flow-list p {
  margin: 0;
  color: var(--c-ink-2);
  line-height: 1.65;
  max-width: 48rem;
}

.flow-list code {
  word-break: break-word;
}

.stack-note {
  margin: 2rem 0 0;
  color: var(--c-mute);
  font-size: 0.95rem;
}

.finale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Get source — primary onboarding path */
.get-source {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 40%),
    radial-gradient(780px 280px at 0% 0%, rgba(0, 168, 232, 0.1), transparent 60%),
    var(--c-paper);
}

.get-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.get-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.15rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.get-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: rgba(0, 168, 232, 0.12);
  color: var(--c-primary-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}

.get-step-body h3 {
  margin: 0.15rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

.get-step-body > p {
  margin: 0 0 0.95rem;
}

.get-repo-actions,
.get-clones {
  display: grid;
  gap: 0.7rem;
}

.get-repo-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  background: #fff;
  transition: 0.2s var(--ease);
}

.get-repo-btn:hover {
  border-color: rgba(0, 168, 232, 0.35);
  box-shadow: 0 10px 24px rgba(12, 40, 64, 0.08);
  transform: translateY(-1px);
}

.get-repo-copy {
  flex: 1;
  min-width: 0;
}

.get-repo-copy strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.get-repo-copy small {
  display: block;
  margin-top: 0.15rem;
  color: var(--c-mute);
  font-size: 0.82rem;
}

.get-badge {
  flex-shrink: 0;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 168, 232, 0.12);
  color: var(--c-primary-deep);
  font-size: 0.72rem;
  font-weight: 700;
}

.get-clone-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  background: #f7fbfe;
}

.get-clone-cmd {
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.2rem 0;
  background: transparent;
  color: var(--c-ink);
  font-size: 0.88rem;
}

.get-step-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.page-get {
  background:
    radial-gradient(720px 300px at 0% 0%, rgba(0, 168, 232, 0.1), transparent 55%),
    radial-gradient(640px 280px at 100% 12%, rgba(12, 80, 120, 0.06), transparent 50%),
    var(--c-paper);
}

.get-page {
  padding: calc(var(--header) + 1.6rem) 0 3.5rem;
}

.get-hero {
  margin-bottom: 0.4rem;
}

.get-hero h1 {
  margin: 0.35rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -0.03em;
  color: var(--c-ink);
}

.get-hero > p {
  max-width: 42rem;
  margin: 0 0 1.2rem;
  color: var(--c-mute);
  font-size: 1.05rem;
  line-height: 1.65;
}

.get-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.get-full .section-head,
.get-modules .section-head {
  margin-bottom: 1.15rem;
}

.get-modules {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 28%),
    radial-gradient(820px 260px at 100% 0%, rgba(0, 168, 232, 0.07), transparent 60%);
}

.get-module-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.get-module-card {
  display: grid;
  gap: 1rem;
  padding: 1.2rem 1.25rem 1.25rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 254, 0.94));
  box-shadow: 0 10px 28px rgba(12, 40, 64, 0.05);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.get-module-card:hover {
  border-color: rgba(0, 168, 232, 0.34);
  box-shadow: 0 16px 36px rgba(12, 40, 64, 0.09);
  transform: translateY(-2px);
}

.get-module-head {
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--c-line-ink);
}

.get-module-head .project-kind {
  margin-bottom: 0.45rem;
}

.get-module-head h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.1vw, 1.35rem);
  letter-spacing: -0.02em;
  color: var(--c-ink);
}

.get-module-head > p {
  margin: 0 0 0.75rem;
  max-width: 52rem;
  color: var(--c-mute);
  font-size: 0.95rem;
  line-height: 1.55;
}

.get-module-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.get-module-note {
  margin: 0 !important;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 168, 232, 0.1);
  color: var(--c-primary-deep) !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  line-height: 1.3;
}

.get-module-hosts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.get-module-host {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--c-line-ink);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
}

.get-module-host-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
}

.get-module-host-head .hop-glyph {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.get-module-host-head .hop-glyph svg {
  width: 15px;
  height: 15px;
}

.get-module-host-head strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.get-module-open {
  margin-left: auto;
  font-size: 0.84rem;
  font-weight: 700;
}

.get-module-host .get-clone-row {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.55rem 0.65rem;
  background: #f4f9fc;
}

.get-module-host .get-clone-cmd {
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  .get-module-hosts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .get-clone-row {
    grid-template-columns: auto 1fr;
  }

  .get-clone-row .copy-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .get-module-card {
    padding: 1.05rem 1rem 1.1rem;
  }

  .get-module-host .get-clone-row {
    grid-template-columns: 1fr;
  }

  .get-module-open {
    margin-left: 0;
  }
}

/* Products — open-source project board */
.products {
  background:
    radial-gradient(900px 320px at 100% 0%, rgba(0, 168, 232, 0.07), transparent 55%),
    var(--c-paper);
}

.repo-roots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.repo-root {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--c-line-ink);
  transition: 0.25s var(--ease);
}

.repo-root:hover {
  border-bottom-color: rgba(0, 168, 232, 0.45);
  background: linear-gradient(90deg, rgba(0, 168, 232, 0.05), transparent 70%);
}

.repo-root strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.repo-root small {
  display: block;
  margin-top: 0.2rem;
  color: var(--c-mute);
  font-size: 0.82rem;
}

.project-board {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line-ink);
}

.project-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 1.75rem;
  align-items: center;
  padding: 1.35rem 0.15rem;
  border-bottom: 1px solid var(--c-line-ink);
}

.project-kind {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.project-copy h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  letter-spacing: -0.02em;
}

.project-copy p {
  margin: 0 0 0.55rem;
  color: var(--c-mute);
  font-size: 0.95rem;
  line-height: 1.55;
}

.project-path {
  display: inline-block;
  padding: 0.18em 0.5em;
  border-radius: 6px;
  background: rgba(0, 168, 232, 0.08);
  color: var(--c-primary-deep);
  font-size: 0.84rem;
}

.project-hops {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.hop {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 76px;
  padding: 0.7rem 0.55rem 0.55rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 168, 232, 0.16);
  background: rgba(255, 255, 255, 0.78);
  transition: 0.25s var(--ease);
}

.hop:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 168, 232, 0.4);
  box-shadow: 0 12px 28px rgba(12, 50, 80, 0.1);
  background: #fff;
}

.hop-glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.hop-glyph-gitee {
  color: #c71d23;
  background: rgba(199, 29, 35, 0.08);
}

.hop-glyph-gitee svg,
.hop-glyph-github svg {
  display: block;
}

.hop-glyph-github {
  color: #fff;
  background: linear-gradient(145deg, #24292f, #57606a);
}

.hop-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-ink-2);
}

/* Stack — grouped lists, no pill cluster */
.stack {
  background: linear-gradient(180deg, #ffffff, #f5f9fc);
  border-block: 1px solid var(--c-line-ink);
}

.tech-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 3rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--c-line-ink);
}

.tech-group h3 {
  margin: 1.4rem 0 1rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.tech-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.tech-group li {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.98rem;
  color: var(--c-ink-2);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--c-line-ink);
}

.tech-group li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Finale — full-bleed wash */
.finale {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background:
    radial-gradient(900px 420px at 20% 30%, rgba(0, 168, 232, 0.16), transparent 55%),
    radial-gradient(700px 380px at 90% 80%, rgba(62, 198, 255, 0.14), transparent 50%),
    linear-gradient(160deg, #eaf5fb, #f7fbfe 50%, #e3f1f9);
  overflow: hidden;
}

.finale-inner {
  position: relative;
  max-width: 36rem;
}

.finale-inner h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.finale-inner > p:not(.eyebrow) {
  margin: 0 0 1.8rem;
  color: var(--c-ink-2);
  font-size: 1.08rem;
}

.finale .eyebrow {
  color: var(--c-primary-deep);
}

.site-footer {
  padding: 1.5rem 0 1.8rem;
  border-top: 1px solid var(--c-line);
  background: #eef5fa;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.4rem;
}

.footer-row .muted {
  margin: 0;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.2rem;
}

.muted {
  margin: 0;
  color: var(--c-mute);
}

/* Contact page */
.page-contact {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(0, 168, 232, 0.08), transparent 50%),
    var(--c-paper);
}

.contact-shell {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header) + 2.2rem) 0 4.5rem;
}

.contact-hero {
  max-width: 36rem;
  margin-bottom: 2.6rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--c-line-ink);
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-primary-deep);
  background: rgba(0, 168, 232, 0.1);
  border: 1px solid rgba(0, 168, 232, 0.18);
}

.contact-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.contact-hero p:last-child {
  margin: 0.9rem 0 0;
  color: var(--c-ink-2);
  font-size: 1.05rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.45rem 1.35rem 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--c-line);
  border-left: 3px solid rgba(0, 168, 232, 0.35);
  transition: 0.28s var(--ease);
  color: inherit;
}

.contact-card:hover {
  background: #fff;
  border-left-color: var(--c-primary);
  box-shadow: 0 14px 36px rgba(12, 50, 80, 0.08);
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.contact-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.02em;
  word-break: break-word;
}

.contact-card p {
  margin: 0;
  color: var(--c-ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.copy-btn {
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 0.75rem;
  border-radius: 9px;
  border: 1px solid rgba(0, 168, 232, 0.22);
  background: rgba(0, 168, 232, 0.08);
  color: var(--c-primary-deep);
  font-weight: 650;
  font-size: 0.82rem;
  cursor: pointer;
  transition: 0.2s var(--ease);
}

.copy-btn:hover {
  background: rgba(0, 168, 232, 0.14);
  border-color: rgba(0, 168, 232, 0.35);
}

.copy-btn.is-copied {
  color: #fff;
  background: linear-gradient(135deg, #00a8e8, #2ec0f5);
  border-color: transparent;
}

.contact-note {
  margin-top: 2.2rem;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--c-line-ink);
  max-width: 40rem;
}

.contact-note h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.contact-note ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--c-ink-2);
  display: grid;
  gap: 0.45rem;
}

.contact-note li::marker {
  color: var(--c-primary);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Back to top */
.back-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.6rem);
  bottom: clamp(1rem, 3vw, 1.6rem);
  z-index: 45;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 168, 232, 0.2);
  border-radius: 14px;
  color: var(--c-primary-deep);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(12, 50, 80, 0.12);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.28s var(--ease),
    visibility 0.28s linear,
    transform 0.28s var(--ease),
    background 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  color: #fff;
  background: linear-gradient(135deg, #00a8e8, #2ec0f5);
  border-color: transparent;
  box-shadow: 0 14px 32px rgba(0, 168, 232, 0.35);
  transform: translateY(-2px);
}

/* Guide */
.page-guide {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(0, 168, 232, 0.08), transparent 50%),
    var(--c-paper);
}

.guide-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 2rem;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header) + 2rem) 0 4rem;
}

/* Doc pages: avoid #app transform trapping sticky TOC */
body.page-guide.boot-done #app,
body.page-guide #app,
body.page-features.boot-done #app,
body.page-features #app,
body.page-get.boot-done #app,
body.page-get #app {
  animation: none !important;
  transform: none !important;
}

/* Home — simplified path & highlights */
.home-path-grid,
.home-highlight-grid {
  display: grid;
  gap: 0.9rem;
}

.home-path-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-highlight-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-path-card,
.home-highlight-grid article {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.home-path-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.7rem;
  border-radius: 10px;
  background: rgba(0, 168, 232, 0.12);
  color: var(--c-primary-deep);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
}

.home-path-card h3,
.home-highlight-grid h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--c-ink);
}

.home-path-card p,
.home-highlight-grid p {
  margin: 0 0 0.85rem;
}

.home-path-card .text-link {
  font-weight: 700;
}

/* Features page */
.features-shell {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 2rem;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header) + 2rem) 0 4rem;
}

.features-doc {
  min-width: 0;
}

.feat-intro-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0 2rem;
}

.feat-intro-cards article,
.feat-grid article {
  padding: 1rem 1.05rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.feat-intro-cards h3,
.feat-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--c-ink);
}

.feat-intro-cards p,
.feat-grid p {
  margin: 0;
}

.feat-detail-head {
  margin: 0.5rem 0 1.2rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--c-line-ink);
}

.feat-block {
  margin: 0 0 1.8rem;
}

.feat-block > header h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  scroll-margin-top: calc(var(--header) + 1rem);
}

.feat-block > header p {
  margin: 0 0 0.9rem;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.feat-get {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--c-line-ink);
}

.feat-get h2,
.feat-intro h2,
#intro h2 {
  scroll-margin-top: calc(var(--header) + 1rem);
}

@media (max-width: 900px) {
  .home-path-grid,
  .feat-intro-cards,
  .feat-grid,
  .home-highlight-grid {
    grid-template-columns: 1fr;
  }

  .features-shell {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

.guide-toc {
  position: sticky;
  top: calc(var(--header) + 1rem);
  align-self: start;
  display: grid;
  gap: 0.15rem;
  width: 100%;
  max-height: calc(100vh - var(--header) - 2rem);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0.55rem 0.35rem 0.55rem 0;
  margin: 0;
  background: var(--c-paper);
  border: 0;
  box-shadow: none;
  z-index: 5;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.toc-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.guide-toc a {
  padding: 0.45rem 0.6rem;
  border-radius: 10px;
  color: var(--c-ink-2);
  font-weight: 600;
  font-size: 0.92rem;
}

.guide-toc a:hover,
.guide-toc a.is-active {
  color: var(--c-primary-deep);
  background: rgba(0, 168, 232, 0.1);
}

.guide-doc {
  padding: 0 0 1rem;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.guide-hero {
  margin-bottom: 2.4rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--c-line-ink);
}

.guide-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.guide-hero p:last-child {
  margin: 0.9rem 0 0;
  color: var(--c-ink-2);
  font-size: 1.05rem;
  max-width: 36rem;
}

.guide-doc h2 {
  margin: 2.1rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  scroll-margin-top: calc(var(--header) + 1rem);
}

.guide-doc h3 {
  margin: 1.2rem 0 0.45rem;
  color: var(--c-primary-deep);
  font-size: 1.02rem;
}

.guide-doc p,
.guide-doc li {
  color: var(--c-ink-2);
}

.steps {
  padding-left: 1.15rem;
}

.steps li::marker {
  color: var(--c-primary);
  font-weight: 700;
}

.callout {
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 168, 232, 0.08);
  border-left: 3px solid var(--c-primary);
  color: var(--c-ink) !important;
}

.callout-warn {
  background: rgba(245, 158, 11, 0.1);
  border-left-color: #d97706;
}

.guide-notice {
  margin: 1rem 0 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 168, 232, 0.22);
  background: linear-gradient(160deg, rgba(0, 168, 232, 0.08), rgba(255, 255, 255, 0.9));
}

.guide-notice-warn {
  border-color: rgba(217, 119, 6, 0.28);
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.92));
}

.guide-notice-title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  color: var(--c-ink);
}

.guide-notice p:last-child {
  margin: 0;
}

.guide-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1rem 0 1.2rem;
}

.guide-pair-card {
  padding: 1.05rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  background: #fff;
}

.guide-pair-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.guide-pair-card h3 {
  margin: 0 0 0.45rem;
  color: var(--c-ink);
  font-size: 1.05rem;
}

.guide-pair-card p {
  margin: 0;
}

.guide-checklist {
  margin: 0;
  padding-left: 1.15rem;
}

.guide-checklist li {
  margin: 0.35rem 0;
}

.guide-checklist li::marker {
  color: var(--c-primary);
  font-weight: 700;
}

.guide-backend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 1.2rem;
}

.guide-backend-card {
  display: block;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--c-line);
  background: #fff;
  transition: 0.2s var(--ease);
}

.guide-backend-card:hover {
  border-color: rgba(0, 168, 232, 0.35);
  box-shadow: 0 10px 24px rgba(12, 40, 64, 0.08);
  transform: translateY(-2px);
}

.guide-backend-tag {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(0, 168, 232, 0.12);
  color: var(--c-primary-deep);
  font-size: 0.72rem;
  font-weight: 700;
}

.guide-backend-card h3 {
  margin: 0 0 0.4rem;
  color: var(--c-ink);
  font-size: 1.02rem;
}

.guide-backend-card p {
  margin: 0;
  font-size: 0.92rem;
}

.guide-project {
  padding-top: 0.35rem;
}

.guide-project-head {
  margin-top: 2.1rem;
  padding-top: 0.2rem;
}

.guide-project > .guide-project-head + * {
  margin-top: 0.55rem;
}

.guide-project-kind {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.guide-project-head h2 {
  margin: 0;
}

@media (max-width: 900px) {
  .guide-pair,
  .guide-backend-grid {
    grid-template-columns: 1fr;
  }
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.8rem 0.95rem;
  text-align: left;
  border-bottom: 1px solid var(--c-line-ink);
}

th {
  background: #eef7fc;
  color: var(--c-primary-deep);
}

tr:last-child td {
  border-bottom: 0;
}

.text-link {
  color: var(--c-primary-deep);
  font-weight: 600;
}

.guide-more {
  margin-top: 2.3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--c-line);
}

/* ========== Boot splash — ice brand moment ========== */
body.is-booting {
  overflow: hidden;
}

body.is-booting #app {
  visibility: hidden;
}

body.boot-done #app {
  visibility: visible;
  animation: boot-app-in 0.8s var(--ease) both;
}

@keyframes boot-app-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.boot-splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, #ffffff 0%, #f4f9fd 48%, #e8f3fa 100%);
  cursor: pointer;
}

.boot-aurora {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(42% 38% at 50% 44%, rgba(0, 168, 232, 0.22), transparent 68%),
    radial-gradient(34% 30% at 22% 78%, rgba(62, 198, 255, 0.14), transparent 62%),
    radial-gradient(30% 26% at 78% 22%, rgba(0, 168, 232, 0.12), transparent 60%);
  animation: boot-aurora 4s ease-in-out infinite alternate;
  pointer-events: none;
}

.boot-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 55% 48% at 50% 46%, #000 12%, transparent 72%);
  opacity: 0;
  animation: boot-mesh-in 1.1s var(--ease) 0.1s forwards;
  pointer-events: none;
}

.boot-bloom {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(72vw, 420px);
  height: min(72vw, 420px);
  transform: translate(-50%, -50%) scale(0.72);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 0%, rgba(62, 198, 255, 0.18) 35%, transparent 68%);
  filter: blur(8px);
  opacity: 0;
  animation: boot-bloom-in 1.2s var(--ease) 0.05s forwards;
  pointer-events: none;
}

.boot-beam {
  position: absolute;
  top: -12%;
  bottom: -12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(0, 168, 232, 0.28), transparent);
  opacity: 0;
  filter: blur(0.5px);
  pointer-events: none;
  animation: boot-beam-in 1.2s ease 0.2s forwards, boot-beam-pulse 5s ease-in-out 1.2s infinite;
}

.boot-beam-a {
  left: 24%;
  transform: rotate(14deg);
}

.boot-beam-b {
  right: 20%;
  transform: rotate(-11deg);
  opacity: 0;
  animation-delay: 0.35s, 1.4s;
}

.boot-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.boot-particles i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 168, 232, 0.5);
  box-shadow: 0 0 10px rgba(0, 168, 232, 0.3);
  opacity: 0;
  animation: boot-particle 3.8s ease-in-out infinite;
}

.boot-particles i:nth-child(1) { left: 14%; top: 22%; animation-delay: 0.4s; }
.boot-particles i:nth-child(2) { left: 22%; top: 68%; width: 3px; height: 3px; animation-delay: 0.9s; }
.boot-particles i:nth-child(3) { left: 48%; top: 14%; animation-delay: 1.2s; background: rgba(125, 211, 252, 0.75); }
.boot-particles i:nth-child(4) { left: 68%; top: 30%; width: 4px; height: 4px; animation-delay: 0.6s; }
.boot-particles i:nth-child(5) { left: 78%; top: 62%; animation-delay: 1.5s; }
.boot-particles i:nth-child(6) { left: 86%; top: 40%; width: 3px; height: 3px; animation-delay: 0.8s; }
.boot-particles i:nth-child(7) { left: 36%; top: 78%; animation-delay: 1.1s; }
.boot-particles i:nth-child(8) { left: 58%; top: 72%; width: 4px; height: 4px; animation-delay: 1.7s; }

.boot-stage {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 0;
}

/* Logo lockup */
.boot-emblem {
  position: relative;
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
}

.boot-ring {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg,
    transparent 0deg,
    rgba(0, 168, 232, 0.05) 40deg,
    rgba(62, 198, 255, 0.85) 110deg,
    rgba(0, 168, 232, 0.15) 160deg,
    transparent 220deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  opacity: 0;
  transform: rotate(-40deg) scale(0.88);
  animation: boot-ring-in 1.1s var(--ease) 0.12s forwards;
}

.boot-mark {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  overflow: hidden;
  background: #0b0f14;
  box-shadow:
    0 0 0 1px rgba(0, 168, 232, 0.18),
    0 18px 42px rgba(0, 100, 150, 0.22),
    0 0 36px rgba(0, 168, 232, 0.12);
  opacity: 0;
  transform: scale(0.72);
  animation: boot-mark-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.boot-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

.boot-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 28%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(126, 220, 255, 0.35) 50%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 72%
  );
  transform: translateX(-120%) skewX(-16deg);
  animation: boot-shine 1.05s var(--ease) 0.55s forwards;
  pointer-events: none;
}

.boot-splash-lite .boot-emblem {
  width: 104px;
  height: 104px;
}

.boot-splash-lite .boot-mark {
  width: 76px;
  height: 76px;
  border-radius: 20px;
}

.boot-splash-lite .boot-mark img {
  border-radius: 20px;
}

/* Wordmark — multi-color like UniApp splash (ICE ink / JZ cyan) */
.boot-brand {
  margin-top: 1.45rem;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
}

.boot-word {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.04em;
  font-family: var(--font-display);
  font-size: clamp(2.55rem, 7vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  min-height: 1.05em;
}

.boot-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px) scale(0.72);
  filter: blur(8px);
  animation: boot-letter-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.boot-letter.ice {
  color: #0f1b2d;
  text-shadow: 0 8px 20px rgba(15, 35, 55, 0.08);
}

.boot-letter.jz {
  color: #00a8e8;
  text-shadow: 0 0 20px rgba(0, 168, 232, 0.18);
}

.boot-letter:nth-child(1) { animation-delay: 0.58s; }
.boot-letter:nth-child(2) { animation-delay: 0.65s; }
.boot-letter:nth-child(3) { animation-delay: 0.72s; }
.boot-letter:nth-child(4) { animation-delay: 0.79s; }
.boot-letter:nth-child(5) { animation-delay: 0.86s; }

.boot-sub {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--c-mute);
  opacity: 0;
  transform: translateY(8px);
  animation: boot-fade-up 0.65s var(--ease) 1.25s forwards;
}

.boot-progress {
  width: 120px;
  height: 2px;
  margin-top: 1.65rem;
  border-radius: 999px;
  background: rgba(0, 168, 232, 0.12);
  overflow: hidden;
  opacity: 0;
  animation: boot-fade-up 0.5s var(--ease) 1.35s forwards;
}

.boot-progress i {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7ad8ff, #00a8e8 55%, #007eb3);
  box-shadow: 0 0 12px rgba(0, 168, 232, 0.4);
  animation: boot-progress-run 1.3s var(--ease) 1.4s infinite;
}

.boot-splash-lite .boot-brand {
  margin-top: 1.15rem;
}

.boot-splash-lite .boot-progress {
  margin-top: 1.25rem;
  width: 92px;
}

.boot-splash.is-exit {
  opacity: 0;
  transform: scale(1.03);
  filter: blur(10px);
  pointer-events: none;
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    filter 0.55s var(--ease),
    visibility 0.55s linear;
  visibility: hidden;
}

.boot-splash.is-exit .boot-stage {
  opacity: 0;
  transform: translateY(-10px) scale(1.03);
  transition: 0.4s var(--ease);
}

.boot-splash.is-exit .boot-mark {
  transform: scale(0.92);
  transition: 0.35s var(--ease);
}

@keyframes boot-aurora {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(0, -16px, 0);
  }
}

@keyframes boot-mesh-in {
  to {
    opacity: 1;
  }
}

@keyframes boot-bloom-in {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes boot-beam-in {
  to {
    opacity: 0.35;
  }
}

@keyframes boot-beam-pulse {
  0%,
  100% {
    opacity: 0.18;
  }
  50% {
    opacity: 0.42;
  }
}

@keyframes boot-particle {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }
  50% {
    opacity: 0.95;
    transform: translateY(-12px);
  }
}

@keyframes boot-mark-in {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  60% {
    opacity: 1;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes boot-ring-in {
  0% {
    opacity: 0;
    transform: rotate(-40deg) scale(0.88);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0.9;
    transform: rotate(20deg) scale(1);
  }
}

@keyframes boot-shine {
  to {
    transform: translateX(130%) skewX(-16deg);
  }
}

@keyframes boot-letter-pop {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.72);
    filter: blur(8px);
  }
  70% {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes boot-fade-up {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes boot-progress-run {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(280%);
  }
}

/* Motion — visible by default so first paint never blanks out */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal[data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  /* Hero copy shows immediately without waiting for observers */
  .hero .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes brand-in {
  from {
    opacity: 0;
    transform: translateY(18px);
    letter-spacing: 0.06em;
  }
  to {
    opacity: 1;
    transform: none;
    letter-spacing: -0.01em;
  }
}

@keyframes cta-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-glow {
  from {
    opacity: 0.85;
  }
  to {
    opacity: 1;
  }
}

@keyframes hero-sheen {
  0%,
  100% {
    transform: translateX(-8%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(6%);
    opacity: 0.6;
  }
}

@keyframes particle-float {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-14px);
  }
}

@keyframes btn-shine {
  to {
    transform: translateX(130%);
  }
}

@media (max-width: 980px) {
  .capability-rail {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .tech-groups {
    grid-template-columns: 1fr 1fr;
  }

  .repo-roots {
    grid-template-columns: 1fr;
  }

  .project-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-hops {
    justify-content: flex-start;
  }

  .hero-mascot-wrap {
    width: min(62vw, 420px);
    right: -6%;
    opacity: 0.92;
  }

  .hero-content {
    max-width: min(100% - 2.5rem, 30rem);
    padding-bottom: 3.5rem;
  }

  .hero-floor {
    opacity: 0.4;
  }

  .scene-list {
    grid-template-columns: 1fr;
  }

  .scene-item:nth-child(odd),
  .scene-item:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .header-shell {
    grid-template-columns: 1fr auto;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.45rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 168, 232, 0.14);
    box-shadow: 0 18px 40px rgba(12, 50, 80, 0.12);
    backdrop-filter: blur(16px);
  }

  .nav.is-open a {
    justify-content: flex-start;
    min-height: 42px;
    padding-inline: 0.95rem;
  }

  .header-shell {
    position: relative;
  }

  .nav-toggle {
    display: inline-block;
  }

  .header-link,
  .header-actions .btn-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    --header-pad: 0.55rem;
  }

  .header-shell {
    padding: 0.3rem 0.35rem 0.3rem 0.55rem;
    border-radius: 16px;
  }

  .tech-groups {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-item {
    padding-block: 1.15rem;
  }

  .hop {
    min-width: 70px;
  }

  .guide-shell {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .guide-toc {
    position: sticky;
    top: calc(var(--header) + 0.45rem);
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    max-height: none;
    overflow: visible;
    padding: 0.65rem 0.7rem;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(12, 40, 64, 0.08);
  }

  .guide-toc .toc-title {
    width: 100%;
    margin-bottom: 0.15rem;
  }

  .guide-toc a {
    padding: 0.28rem 0.55rem;
    font-size: 0.84rem;
    background: rgba(0, 168, 232, 0.06);
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
    max-width: min(100% - 2.5rem, var(--max));
    padding-top: calc(var(--header) + 2.2rem);
  }

  .hero-mascot-wrap {
    right: -18%;
    bottom: -4%;
    width: 78vw;
    opacity: 0.42;
    animation: rise 1.1s var(--ease) both;
  }

  .section[data-cam] {
    transform: none !important;
    opacity: 1 !important;
  }

  [data-tilt] {
    transform: none !important;
  }

  .hero-floor {
    display: none;
  }

  .hero-brand {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .hero-title {
    max-width: 11ch;
  }

  .hero-sheen {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .hero-mascot-wrap,
  .hero-glow,
  .hero-sheen,
  .hero-brand,
  .hero-cta .btn,
  .btn,
  .hop,
  .section[data-cam],
  [data-tilt],
  .page-lens,
  .scroll-progress i,
  .boot-aurora,
  .boot-mesh,
  .boot-bloom,
  .boot-beam,
  .boot-particles i,
  .boot-ring,
  .boot-mark,
  .boot-shine,
  .boot-letter,
  .boot-sub,
  .boot-progress,
  .boot-progress i,
  .hero-particles i,
  .btn-shine::after {
    transition: none !important;
    animation: none !important;
  }
  .reveal,
  .boot-mark,
  .boot-ring,
  .boot-letter,
  .boot-sub,
  .boot-progress,
  .boot-mesh,
  .boot-bloom {
    opacity: 1;
    transform: none;
    filter: none;
  }
  body.is-booting #app {
    visibility: visible;
  }
  .boot-splash {
    display: none !important;
  }
  .section[data-cam],
  [data-tilt] {
    transform: none !important;
  }
  .page-lens {
    display: none;
  }
}
