/* ==========================================================================
   JiulinTech · 上海九邻信息技术有限公司
   Design System — light / bright theme
   Primary blue #348DDE · deep #2472B8 · accent orange #F7931E (LOGO)
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand — sampled directly from logo artwork */
  --brand-500: #348dde;
  --brand-400: #57a0e5;
  --brand-600: #2472b8;
  --brand-700: #1b5a8e;
  --brand-800: #133f63;
  --brand-300: #8ebeed;
  --brand-100: #dceafa;
  --brand-50: #f2f8fd;

  --accent-500: #f7931e;
  --accent-600: #d97708;
  --accent-700: #b45f06;
  --accent-100: #fdf0dd;

  /* Surfaces — white first */
  --bg-0: #ffffff;
  --bg-1: #f8fafc;
  --bg-2: #f1f5f9;
  --bg-3: #e8eef4;
  --surface: #ffffff;
  --surface-hi: #f8fafc;
  --line: #e3e8ee;
  --line-soft: #eef2f6;
  --line-hi: #a3cbf0;

  /* Text */
  --text-0: #0d1723;
  --text-1: #3c4c5e;
  --text-2: #64748b;
  --text-3: #94a3b8;

  /* Effects */
  /* Flat fills taken straight off the wordmark letters — no gradients. */
  --fill-brand: #348dde;
  --fill-warm: #f7931e;
  --glow-brand: 0 10px 26px -10px rgba(52, 141, 222, 0.55);
  --glow-warm: 0 10px 26px -10px rgba(247, 147, 30, 0.5);
  --shadow-sm: 0 1px 2px rgba(13, 23, 35, 0.05);
  --shadow-card: 0 18px 42px -20px rgba(13, 23, 35, 0.22), 0 2px 8px rgba(13, 23, 35, 0.04);
  --shadow-pop: 0 24px 56px -18px rgba(13, 23, 35, 0.2);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --container: 1240px;
  --header-h: 92px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; border: 0; }
/* Shared 24-unit UI icons need explicit dimensions to avoid intrinsic SVG sizing. */
svg[viewBox="0 0 24 24"] {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  vertical-align: middle;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--text-0); font-weight: 700; line-height: 1.28; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(52, 141, 222, 0.22); color: var(--text-0); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--r-pill);
  border: 3px solid var(--bg-1);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-500); }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { position: relative; padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--alt { background: var(--bg-1); border-block: 1px solid var(--line-soft); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- 4. Ambient background ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}
.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}
.aurora span:nth-child(1) {
  width: 620px; height: 620px; top: -260px; left: -180px;
  background: radial-gradient(circle, rgba(52, 141, 222, 0.34) 0%, transparent 68%);
  animation: drift1 26s var(--ease-io) infinite alternate;
}
.aurora span:nth-child(2) {
  width: 540px; height: 540px; top: 22%; right: -220px;
  background: radial-gradient(circle, rgba(142, 190, 237, 0.28) 0%, transparent 68%);
  animation: drift2 32s var(--ease-io) infinite alternate;
}
.aurora span:nth-child(3) {
  width: 460px; height: 460px; bottom: -200px; left: 32%;
  background: radial-gradient(circle, rgba(247, 147, 30, 0.16) 0%, transparent 70%);
  animation: drift3 38s var(--ease-io) infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(140px, 120px, 0) scale(1.18); } }
@keyframes drift2 { to { transform: translate3d(-160px, 90px, 0) scale(1.1); } }
@keyframes drift3 { to { transform: translate3d(110px, -110px, 0) scale(1.22); } }

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 23, 35, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 23, 35, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 6%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 6%, transparent 72%);
}

/* ---------- 5. Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 26px;
  background: #ffffff;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader::after {
  content: "";
  position: absolute;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(52, 141, 222, 0.13) 0%, transparent 62%);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(0.9); opacity: 0.6; } 50% { transform: scale(1.1); opacity: 1; } }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo {
  position: relative;
  width: 228px;
  animation: floatY 2.8s ease-in-out infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.preloader__bar {
  position: relative;
  width: 228px; height: 3px;
  background: var(--bg-2);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.preloader__bar i {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--fill-brand);
  border-radius: inherit;
  transition: right 0.28s var(--ease);
}
.preloader__pct {
  position: relative;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* ---------- 6. Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 1200;
  background: var(--fill-brand);
  transition: width 0.1s linear;
}

/* ---------- 7. Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              height 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-stuck {
  height: 74px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(13, 23, 35, 0.04);
}
.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 52px; width: auto; transition: height 0.35s var(--ease), transform 0.4s var(--ease); }
.site-header.is-stuck .brand img { height: 44px; }
.brand:hover img { transform: scale(1.04); }

/* Primary nav */
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
  border-radius: var(--r-sm);
  transition: color 0.22s, background 0.22s;
  white-space: nowrap;
}
.nav__link:hover, .nav__item.is-open .nav__link { color: var(--text-0); background: var(--bg-2); }
.nav__link.is-active { color: var(--brand-600); font-weight: 600; }
.nav__caret {
  width: 8px; height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.5;
  transition: transform 0.3s var(--ease);
}
.nav__item.is-open .nav__caret { transform: rotate(-135deg) translateY(-2px); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: 288px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown--training { width: min(400px, calc(100vw - 36px)); left: auto; right: 0; transform: translateY(10px); }
.nav__item.is-open .dropdown--training { transform: translateY(0); }
.dropdown--training a { white-space: normal; overflow-wrap: anywhere; }
.dropdown::before {
  content: "";
  position: absolute;
  bottom: 100%; left: 0; right: 0;
  height: 12px;
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--text-1);
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.dropdown a:hover { background: var(--bg-2); color: var(--text-0); transform: translateX(3px); }
.dropdown a.is-active { color: var(--brand-600); background: var(--brand-50); font-weight: 600; }
.dropdown .dot {
  width: 6px; height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-500);
  opacity: 0.55;
}
.dropdown a:hover .dot { background: var(--accent-500); opacity: 1; }
.dropdown__head {
  padding: 8px 12px 6px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
  flex-shrink: 0;
}
.burger i {
  position: absolute;
  left: 10px;
  width: 18px; height: 1.8px;
  background: var(--text-0);
  border-radius: 2px;
  transition: transform 0.36s var(--ease), opacity 0.2s;
}
.burger i:nth-child(1) { top: 13px; }
.burger i:nth-child(2) { top: 19px; }
.burger i:nth-child(3) { top: 25px; }
.burger.is-open i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open i:nth-child(2) { opacity: 0; }
.burger.is-open i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 999;
  background: #fff;
  padding: 16px 24px 60px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__group { border-bottom: 1px solid var(--line-soft); }
.drawer__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-0);
  text-align: left;
}
.drawer__toggle .nav__caret { opacity: 0.45; }
.drawer__group.is-open .drawer__toggle .nav__caret { transform: rotate(-135deg) translateY(-2px); }
.drawer__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.drawer__group.is-open .drawer__panel { grid-template-rows: 1fr; }
.drawer__panel > div { overflow: hidden; }
.drawer__panel a {
  display: block;
  padding: 10px 2px 10px 18px;
  font-size: 15px;
  color: var(--text-2);
  border-left: 2px solid var(--line);
}
.drawer__panel a:hover, .drawer__panel a.is-active { color: var(--brand-600); border-left-color: var(--brand-500); }
.drawer__panel > div > div { padding-bottom: 12px; }

/* ---------- 8. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 26px;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              background 0.28s, color 0.28s, border-color 0.28s;
}
.btn:active { transform: scale(0.975); }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary { background: var(--fill-brand); color: #fff; box-shadow: var(--glow-brand); }
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(52, 141, 222, 0.7); }
.btn--primary:hover::before { transform: translateX(120%); }

.btn--accent { background: var(--fill-warm); color: #fff; box-shadow: var(--glow-warm); }
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(247, 147, 30, 0.62); }

.btn--ghost { background: #fff; color: var(--text-0); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--brand-300); color: var(--brand-700); transform: translateY(-2px); box-shadow: 0 8px 18px -8px rgba(13, 23, 35, 0.16); }

.btn--dark { background: var(--text-0); color: #fff; }
.btn--dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(13, 23, 35, 0.5); }

.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--lg { padding: 15px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- 9. Typography blocks ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px 6px 11px;
  border-radius: var(--r-pill);
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-700);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 0 rgba(52, 141, 222, 0.5);
  animation: ripple 2.1s infinite;
}
@keyframes ripple {
  0% { box-shadow: 0 0 0 0 rgba(52, 141, 222, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(52, 141, 222, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 141, 222, 0); }
}
.eyebrow--warm { border-color: var(--accent-100); background: #fffaf3; color: var(--accent-700); }
.eyebrow--warm::before { background: var(--accent-500); animation: none; }

.h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.16; letter-spacing: -0.035em; text-wrap: balance; }
.h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); letter-spacing: -0.028em; text-wrap: balance; }
.h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
.h3:has(> svg) { display: flex; align-items: center; gap: 11px; }
.h3 > svg { width: 26px; height: 26px; flex: 0 0 26px; }

.grad-text { color: var(--fill-brand); }
.grad-warm { color: var(--fill-warm); }

.lead { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--text-2); line-height: 1.85; }

.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .h2 { margin-bottom: 16px; }
.section-head--left { margin-inline: 0; text-align: left; }

/* ---------- 10. Cards ---------- */
.card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(52, 141, 222, 0.09), transparent 44%);
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-hi); box-shadow: var(--shadow-card); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.section--alt .card { background: #fff; }

.card__icon {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 13px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand-600);
  transition: transform 0.4s var(--ease), background 0.4s, color 0.4s;
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.07); background: var(--brand-100); }
.card__icon svg { width: 24px; height: 24px; }
.card__icon--warm {
  background: #fffaf3;
  border-color: var(--accent-100);
  color: var(--accent-600);
}
.card:hover .card__icon--warm { background: var(--accent-100); }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { font-size: 14.6px; color: var(--text-2); line-height: 1.8; }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-600);
  transition: gap 0.3s var(--ease);
}
.card:hover .card__link { gap: 13px; }
.card__link svg { width: 15px; height: 15px; }

a.card { display: block; }

.card__num {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(13, 23, 35, 0.04);
  z-index: 0;
}

/* ---------- 11. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 66px) 0 86px;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}
.hero .container { position: relative; z-index: 2; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero__title { margin: 22px 0 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 58px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-0);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stat__num span[data-count] { color: var(--brand-600); }
.stat__label { font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* Hero visual — orbiting service ring */
.orbit {
  /* Ring radius must stay small enough that the widest chip, centred on the
     ring, still fits inside the orbit box — otherwise it clips at the edge. */
  --ring: clamp(118px, 13.5vw, 160px);
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 450px;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.orbit__ring {
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(52, 141, 222, 0.2);
  border-radius: 50%;
}
.orbit__ring--dash {
  inset: 21%;
  border: 1px dashed rgba(52, 141, 222, 0.3);
  animation: spin 42s linear infinite;
}
.orbit__ring--warm {
  inset: 33%;
  border-color: rgba(247, 147, 30, 0.28);
  animation: spin 30s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.orbit__core {
  position: relative;
  width: 43%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffffff 0%, var(--brand-50) 62%);
  border: 1px solid var(--brand-100);
  box-shadow: 0 18px 46px -16px rgba(52, 141, 222, 0.45), inset 0 0 40px rgba(52, 141, 222, 0.07);
}
.orbit__core img { width: 76%; animation: floatY 4.2s ease-in-out infinite; }

/* Chips sit at a fixed angle on the ring and stay upright;
   the double rotate cancels the placement rotation. */
.orbit__chip {
  position: absolute;
  top: 50%; left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px -6px rgba(13, 23, 35, 0.16);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-0);
  white-space: nowrap;
  --deg: var(--deg-lg, 0deg);
  transform:
    translate(-50%, -50%)
    rotate(var(--deg))
    translateY(calc(var(--r, var(--ring)) * -1))
    rotate(calc(var(--deg) * -1));
  animation: chipFloat 5.2s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.orbit__chip i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-500);
}
.orbit__chip.warm i { background: var(--accent-500); }
@keyframes chipFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -9px; }
}

/* ---------- 12. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 78px) 0 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--brand-50) 0%, rgba(242, 250, 254, 0) 88%);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -46%; left: 50%;
  width: 1100px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(52, 141, 222, 0.14) 0%, transparent 66%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__inner { max-width: 860px; }
.page-hero .h1 { font-size: clamp(1.95rem, 4.1vw, 3.15rem); margin: 18px 0 18px; white-space: nowrap; }
.page-hero .h1 > span { display: inline-block; }
.page-hero .h1 span { font-size: inherit; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-3);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-2); transition: color 0.22s; }
.breadcrumb a:hover { color: var(--brand-600); }
.breadcrumb span.sep { opacity: 0.5; }
.breadcrumb .cur { color: var(--brand-700); font-weight: 600; }

.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Quick facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  margin-top: 52px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.facts > div { background: #fff; padding: 22px 24px; transition: background 0.3s; }
.facts > div:hover { background: var(--bg-1); }
.facts dt { font-size: 12.5px; color: var(--text-3); letter-spacing: 0.05em; }
.facts dd { margin: 5px 0 0; font-size: 1.15rem; font-weight: 700; color: var(--text-0); }
.facts dd em { font-style: normal; color: var(--brand-600); }

/* ---------- 13. Feature list ---------- */
.flist { display: grid; gap: 15px; }
/* Block, not flex: a flex li would turn an inline <b> lead-in and the text
   after it into two separate columns instead of one flowing paragraph. */
.flist li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  color: var(--text-1);
  line-height: 1.75;
}
.flist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232472b8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--brand-100);
}
.flist--warm li::before {
  background-color: #fffaf3;
  border-color: var(--accent-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97708' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.flist b { color: var(--text-0); }

/* ---------- 14. Split section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--reverse .split__media { order: -1; }

.panel {
  position: relative;
  padding: 30px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.panel--code { padding: 0; overflow: hidden; }

#about-overview .split { align-items: stretch; }
#about-overview .split__media { display: flex; min-width: 0; }
.business-portfolio { width: 100%; display: flex; flex-direction: column; }

.business-portfolio-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  white-space: nowrap;
}

.business-portfolio-title > svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  color: var(--brand-600);
}

.business-portfolio-image {
  width: 100%;
  height: auto;
  margin-bottom: 0;
  border-radius: var(--r-md);
}

.business-portfolio-copy { margin-top: auto; padding-top: 24px; }
.business-portfolio-intro { color: var(--text-2); font-size: 15px; line-height: 1.8; margin-bottom: 18px; }
.business-portfolio-services { display: grid; gap: 14px; }
.business-portfolio-services li { padding-left: 14px; border-left: 3px solid var(--brand-100); }
.business-portfolio-services li:nth-child(n+4) { border-left-color: var(--accent-100); }
.business-portfolio-services strong { display: block; color: var(--text-0); font-size: 15px; margin-bottom: 3px; }
.business-portfolio-services p { color: var(--text-2); font-size: 14px; line-height: 1.7; }

/* Code / console panel — light editor look */
.terminal { font-family: var(--mono); }
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: var(--bg-1);
  border-bottom: 1px solid var(--line);
}
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.terminal__bar i:nth-child(1) { background: #ff5f57; }
.terminal__bar i:nth-child(2) { background: #febc2e; }
.terminal__bar i:nth-child(3) { background: #28c840; }
.terminal__bar span { margin-left: 8px; font-size: 12px; color: var(--text-3); }
.terminal__body { padding: 22px; font-size: 12.8px; line-height: 2; overflow-x: auto; background: #fff; color: var(--text-1); }
.terminal__body div { white-space: pre; }
.t-dim { color: var(--text-3); }
.t-cy { color: var(--brand-700); font-weight: 600; }
.t-or { color: var(--accent-700); font-weight: 600; }
.t-gn { color: #128a5a; font-weight: 600; }
.t-wh { color: var(--text-0); font-weight: 600; }
.cursor-blink { display: inline-block; width: 7px; height: 13px; background: var(--brand-500); vertical-align: -2px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- 15. Steps / timeline ---------- */
.steps { position: relative; display: grid; gap: 0; }
.steps::before {
  content: "";
  position: absolute;
  left: 26px; top: 24px; bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--brand-300) 10%, var(--brand-500) 50%, var(--accent-500) 90%, transparent);
  opacity: 0.35;
}
.step { position: relative; display: flex; gap: 24px; padding: 18px 0; }
.step__dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--brand-100);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  font-size: 15px;
  color: var(--brand-600);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.step:hover .step__dot { transform: scale(1.08); border-color: var(--brand-300); box-shadow: 0 0 0 5px var(--brand-50); }
.step__body { padding-top: 6px; }
.step__body h3 { font-size: 1.08rem; margin-bottom: 7px; }
.step__body p { font-size: 14.6px; color: var(--text-2); }

/* ---------- 16. Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 22px; align-items: start; }
.price {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.price:hover { transform: translateY(-5px); border-color: var(--line-hi); box-shadow: var(--shadow-card); }
.price--featured { border-color: var(--brand-300); box-shadow: var(--shadow-card); }
.price--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, var(--brand-50), transparent 42%);
  pointer-events: none;
  z-index: 0;
}
.price > * { position: relative; z-index: 1; }
.price__tag {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 15px;
  border-radius: var(--r-pill);
  background: var(--fill-warm);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
  z-index: 2;
}
.price__name { font-size: 1.08rem; font-weight: 700; color: var(--text-0); }
.price__desc { font-size: 13.5px; color: var(--text-3); margin-top: 5px; min-height: 42px; }
.price__amt { display: flex; align-items: baseline; gap: 5px; margin: 18px 0 4px; }
.price__amt b { font-size: 2.1rem; font-weight: 800; color: var(--text-0); line-height: 1; letter-spacing: -0.03em; }
.price__amt span { font-size: 13.5px; color: var(--text-3); }
.price__amt .cur { font-size: 1.05rem; color: var(--brand-600); font-weight: 700; }
.price hr { margin: 20px 0; border: 0; border-top: 1px solid var(--line-soft); }
.price .flist li { font-size: 14px; }
.price .btn { margin-top: 24px; }

/* ---------- 17. Table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 620px; }
thead th {
  padding: 15px 20px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
tbody td { padding: 15px 20px; border-bottom: 1px solid var(--line-soft); color: var(--text-1); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background 0.24s; }
tbody tr:hover { background: var(--bg-1); }
tbody td:first-child { color: var(--text-0); font-weight: 600; white-space: nowrap; }
td .yes { color: #128a5a; font-weight: 700; }
td .no { color: var(--text-3); }

/* ---------- 18. Accordion ---------- */
.acc { display: grid; gap: 12px; }
.acc__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.acc__item:hover { border-color: var(--line-hi); }
.acc__item.is-open { border-color: var(--brand-300); box-shadow: var(--shadow-sm); }
.acc__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-0);
}
.acc__ico {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-hi);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.acc__ico::before, .acc__ico::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--brand-600);
  border-radius: 2px;
  transition: opacity 0.3s;
}
.acc__ico::before { width: 10px; height: 1.7px; }
.acc__ico::after { width: 1.7px; height: 10px; }
.acc__item.is-open .acc__ico { transform: rotate(180deg); background: var(--brand-50); }
.acc__item.is-open .acc__ico::after { opacity: 0; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.acc__item.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 22px 20px; font-size: 14.6px; color: var(--text-2); line-height: 1.85; }

/* ---------- 19. Tabs ---------- */
.tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin-bottom: 32px;
  border-radius: var(--r-pill);
  background: var(--bg-2);
  border: 1px solid var(--line);
  width: fit-content;
  margin-inline: auto;
}
.tabs__btn {
  padding: 9px 22px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.28s, background 0.28s, box-shadow 0.28s;
}
.tabs__btn:hover { color: var(--text-0); }
.tabs__btn.is-active { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }
.tabs__pane { display: none; animation: fadeUp 0.5s var(--ease); }
.tabs__pane.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 20. Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  background: var(--bg-1);
  border-block: 1px solid var(--line-soft);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 44px; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.28s;
}
.marquee__item:hover { color: var(--brand-600); }
.marquee__item i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-300); }

/* ---------- 21. CTA band ---------- */
.cta-band {
  position: relative;
  padding: 60px 52px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(130deg, var(--brand-50) 0%, #ffffff 48%, #fffaf3 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 23, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 23, 35, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .h2 { margin-bottom: 14px; }
.cta-band .lead { max-width: 640px; margin-inline: auto; color: var(--text-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 32px; }

/* ---------- 22. Contact cards ---------- */
.office {
  padding: 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.office:hover { transform: translateY(-4px); border-color: var(--line-hi); box-shadow: var(--shadow-card); }
.office__city {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 20px;
}
.office__city span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brand-700);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
}
.office__row { display: flex; gap: 13px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 14.6px; }
.office__row:first-of-type { border-top: 0; }
.office__row svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--brand-500); }
.office__row b { display: block; font-size: 12px; color: var(--text-3); font-weight: 500; }
.office__row a { color: var(--text-1); transition: color 0.22s; }
.office__row a:hover { color: var(--brand-600); }

/* WeChat QR inside a contact card */
.office .qr {
  width: 100%;
  max-width: 186px;
  height: auto;
  margin: 2px auto 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px;
}
.office .qr-cap {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  text-align: center;
}

/* ---------- 23. Form ---------- */
.form { display: grid; gap: 17px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text-1); }
.field label em { color: var(--accent-600); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 15px;
  font: inherit;
  font-size: 15px;
  color: var(--text-0);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(52, 141, 222, 0.14);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form__note { font-size: 13px; color: var(--text-3); display: flex; align-items: flex-start; gap: 7px; }
.form__note svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 4px; }
.form__ok {
  display: none;
  align-items: flex-start;
  gap: 9px;
  padding: 14px 17px;
  border-radius: var(--r-md);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #0f7a51;
  font-size: 14.5px;
}
.form__ok svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 5px; }
.form__ok.is-on { display: flex; animation: fadeUp 0.45s var(--ease); }

/* ---------- 24. Back-to-top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 900;

  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.34s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--brand-300); color: var(--brand-600); transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 25. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 0;
  padding: 72px 0 0;
  border-top: 1px solid var(--line);
  background: var(--bg-1);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 42px;
  padding-bottom: 50px;
}
.footer__brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer__brand p { font-size: 14px; color: var(--text-2); line-height: 1.85; max-width: 320px; }
.footer__contact { margin-top: 20px; display: grid; gap: 9px; font-size: 14px; }
.footer__contact a { display: flex; align-items: center; gap: 9px; color: var(--text-2); transition: color 0.22s; }
.footer__contact a:hover { color: var(--brand-600); }
.footer__contact svg { width: 16px; height: 16px; color: var(--brand-500); flex-shrink: 0; }

.footer__col h5 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-0);
  margin-bottom: 16px;
}
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 14px; color: var(--text-2); transition: color 0.22s, padding-left 0.22s var(--ease); }
.footer__col a:hover { color: var(--brand-600); padding-left: 5px; }
.footer__col--training { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 26px; }
.footer__col--training ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 28px; }
.footer__col--training li { margin: 0; min-width: 0; }
.footer__col--training a { display: inline-block; overflow-wrap: anywhere; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 13.2px;
  color: var(--text-3);
}
.footer__bottom a { color: var(--text-3); transition: color 0.22s; }
.footer__bottom a:hover { color: var(--brand-600); }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; flex-shrink: 0; }

/* Copyright + ICP / public-security filing */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  line-height: 1.9;
}
.footer__legal sup { font-size: 0.7em; vertical-align: super; }
.footer__legal .beian { display: inline-flex; align-items: center; gap: 6px; }
.footer__legal .beian img { width: 17px; height: 18px; flex-shrink: 0; }

/* ---------- 26. Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="zoom"] { transform: scale(0.95); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 27. Page transition ---------- */
.page-fade {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.page-fade.is-on { opacity: 1; }

/* ---------- 28. Misc ---------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.badge {
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 12.8px;
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  transition: background 0.25s, transform 0.25s var(--ease);
}
.badge:hover { background: var(--brand-100); transform: translateY(-2px); }
.badge--warm { color: var(--accent-700); background: #fffaf3; border-color: var(--accent-100); }
.badge--warm:hover { background: var(--accent-100); }

.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

.note {
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--brand-100);
  border-left: 3px solid var(--brand-500);
  background: var(--brand-50);
  font-size: 14.5px;
  color: var(--text-1);
  line-height: 1.8;
}
.note--warm { border-color: var(--accent-100); border-left-color: var(--accent-500); background: #fffaf3; }
.note b { color: var(--text-0); }
.note a { color: var(--brand-600); font-weight: 600; }

/* AI trainer: classroom photographs and complete curriculum. */
.media-course-name { white-space: nowrap; font-size: clamp(1rem, 4.3vw, 3.15rem); }
.media-course-outline { max-width: 980px; margin-inline: auto; }
.media-course-source { margin-top: 26px; color: var(--text-2); font-size: 14px; text-align: center; }
.media-course-source a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; }
.trainer-course-name { white-space: nowrap; font-size: clamp(1rem, 4.3vw, 3.15rem); }
.trainer-shortcuts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.trainer-classroom-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.trainer-classroom-photo { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.trainer-classroom-photo a { display: block; }
.trainer-classroom-photo img { width: 100%; height: auto; }
.trainer-classroom-photo figcaption { padding: 22px 24px; }
.trainer-classroom-photo h3 { font-size: 19px; margin-bottom: 8px; }
.trainer-classroom-photo p { color: var(--text-2); font-size: 14px; }
.trainer-curriculum { max-width: 1040px; margin-inline: auto; }
.trainer-curriculum__toolbar { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.trainer-curriculum__toolbar[hidden] { display: none; }
.trainer-curriculum__group { scroll-margin-top: calc(var(--header-h) + 24px); }
.trainer-curriculum__group + .trainer-curriculum__group { margin-top: 46px; }
.trainer-curriculum__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.trainer-chapter { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; margin-bottom: 12px; overflow: hidden; }
.trainer-chapter summary { display: flex; align-items: center; gap: 18px; padding: 22px 24px; cursor: pointer; list-style: none; }
.trainer-chapter summary::-webkit-details-marker { display: none; }
.trainer-chapter summary:hover { background: var(--brand-50); }
.trainer-chapter summary:focus-visible, .trainer-classroom-photo a:focus-visible { outline: 3px solid var(--brand-500); outline-offset: -3px; }
.trainer-chapter__number { flex: 0 0 78px; color: var(--brand-700); font-weight: 600; font-size: 14px; }
.trainer-chapter__name { flex: 1; min-width: 0; font-weight: 600; font-size: 17px; color: var(--text-0); overflow-wrap: anywhere; }
.trainer-chapter__count { flex-shrink: 0; color: var(--text-2); font-size: 13px; }
.trainer-chapter__toggle { width: 20px; height: 20px; flex: 0 0 20px; position: relative; color: var(--brand-600); }
.trainer-chapter__toggle::before, .trainer-chapter__toggle::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.trainer-chapter__toggle::before { width: 12px; height: 2px; left: 4px; top: 9px; }
.trainer-chapter__toggle::after { width: 2px; height: 12px; left: 9px; top: 4px; }
.trainer-chapter[open] .trainer-chapter__toggle::after { display: none; }
.trainer-chapter[open] summary { background: var(--brand-50); border-bottom: 1px solid var(--line-soft); }
.trainer-chapter__topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; padding: 24px; }
.trainer-chapter__topics li { font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.trainer-curriculum__group--exam .trainer-chapter__number { color: var(--accent-700); }
.trainer-curriculum__group--exam .trainer-chapter[open] summary { background: var(--accent-100); }
.trainer-curriculum__group--exam .trainer-chapter__topics { grid-template-columns: 1fr; gap: 9px; }

/* ---------- 29. Responsive ---------- */
@media (max-width: 1180px) {
  .nav__link { padding: 9px 10px; font-size: 14.2px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* The full-size wordmark needs more room than seven nav items leave below
   ~1140px, so the drawer takes over earlier than the layout breakpoints. */
@media (max-width: 1140px) {
  .nav, .header-cta .btn { display: none; }
  .burger { display: block; margin-left: auto; }
}

@media (max-width: 1024px) {
  .footer__col--training ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { order: -1; }
  .orbit { max-width: 380px; --ring: 122px; }
  .orbit__chip { font-size: 12.2px; padding: 7px 13px; --deg: var(--deg-sm, var(--deg-lg, 0deg)); }
  .orbit__chip--lg-only { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { padding: 48px 28px; }
}

@media (max-width: 720px) {
  .footer__col--training ul { grid-template-columns: 1fr; }
  .trainer-classroom-grid, .trainer-chapter__topics { grid-template-columns: 1fr; }
  .trainer-chapter summary { gap: 10px; padding: 18px 16px; flex-wrap: wrap; }
  .trainer-chapter__number { flex-basis: 100%; }
  .trainer-chapter__name { font-size: 16px; }
  .trainer-chapter__count { display: none; }
  .trainer-chapter__topics { padding: 18px 16px; }
  .trainer-curriculum__toolbar { justify-content: flex-start; }
  .trainer-classroom-photo figcaption { padding: 18px; }
  .section { padding: 72px 0; }
  .container { padding-inline: 18px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; margin-top: 44px; }
  .orbit { max-width: 320px; --ring: 102px; }
  .orbit__chip { font-size: 11.5px; padding: 6px 11px; gap: 6px; }
  .form__row { grid-template-columns: 1fr; }
  .to-top { right: 14px; bottom: 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__legal { gap: 6px 14px; font-size: 12.6px; }
  .card { padding: 26px 22px; }
  .step { gap: 17px; }
  .steps::before { left: 22px; }
  .step__dot { width: 46px; height: 46px; font-size: 14px; }
  .page-hero { padding: calc(var(--header-h) + 50px) 0 50px; }
  .split { gap: 34px; }
  .panel { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
