:root {
  --blue: #2073ed;
  --blue-deep: #1558c4;
  --blue-ink: #0a2a63;
  --blue-mid: #5b98f3;
  --blue-light: #a9c9f9;
  --blue-pale: #e8f0fd;
  --ink: #0b1220;
  --muted: #55627a;
  --line: #d9e1ee;
  --white: #ffffff;
  --font-cn: "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-en: "Avenir Next", "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 68px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-2xl: 18px;
  --radius-full: 999px;
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

#about-us,
#pricing,
#included-title { scroll-margin-top: calc(var(--header-h) + 16px); }

#path-title { scroll-margin-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

site-header { display: contents; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; letter-spacing: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.en { font-family: var(--font-en); letter-spacing: 0; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 100;
}
.skip:focus-visible { top: 16px; outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color .24s ease, box-shadow .24s ease;
}
/* 静止态不画分割线；滚动后仅用柔和投影把浮层与内容拉开 */
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px -18px rgba(10, 42, 99, 0.45);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  animation: content-enter .5s var(--motion-ease) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0;
}
.header .brand .en { font-weight: 600; }
.brand img { width: 28px; height: 28px; transition: transform .24s var(--motion-ease); }
.brand:hover { color: var(--blue); }
.brand:hover img { transform: translateY(-1px) scale(1.04); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav ul { display: flex; gap: 2px; }
.nav a:not(.btn) {
  display: inline-block;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav a:not(.btn):hover { color: var(--blue); border-bottom-color: var(--blue); }

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, color .2s ease;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: var(--radius-full);
  background: currentColor;
  transition: background-color .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: var(--radius-full);
  background: currentColor;
  transition: transform .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle:hover, .nav-toggle[aria-expanded="true"] {
  background: var(--blue-pale);
  color: var(--blue-deep);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .15s ease;
}
.btn:hover::after { transform: translateX(4px) rotate(45deg); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--blue-ink); border-color: var(--blue-ink); }
.btn-invert { background: var(--white); border-color: var(--white); color: var(--blue); }
.btn-invert:hover { background: var(--blue-ink); border-color: var(--blue-ink); color: var(--white); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: var(--radius-sm); }

:where(a, button):focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.on-blue :where(a, button):focus-visible { outline-color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(84vh, 880px);
  padding: clamp(48px, 6vw, 84px) 0 clamp(64px, 8vw, 112px);
  overflow: hidden;
}

.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}
.hero-copy > * { max-width: 640px; }
.intro-sequence > * {
  animation: content-enter .68s var(--motion-ease) both;
}
.intro-sequence > :nth-child(1) { animation-delay: .08s; }
.intro-sequence > :nth-child(2) { animation-delay: .15s; }
.intro-sequence > :nth-child(3) { animation-delay: .22s; }
.intro-sequence > :nth-child(4) { animation-delay: .3s; }
.intro-sequence > :nth-child(5) { animation-delay: .36s; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(54px, 5.2vw, 84px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 900;
  white-space: nowrap;
  overflow-wrap: normal;
}

.hero .tagline {
  margin-top: 20px;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow-wrap: normal;
}

.hero .lead {
  margin-top: 24px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

/* 上游线路标识：官方矢量标，油墨色已烘进 SVG 文件，
   多品牌原色会打断首屏的蓝白基调 */
.hero-upstream {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 28px;
}

/* 各标形态不同，尺寸按视觉重量单独定，宽高写在标签上以免加载时抖动 */
.hero-upstream img {
  opacity: 0.62;
}

.hero .actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .company {
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Hero flight: Supersonic Breakthrough & Edge Aero-Shield ---------- */
.hero { --runway-rise: 4.1667vw; }
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: var(--runway-rise);
  background: var(--blue);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.hero-plane {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.flight-scene {
  position: relative;
  width: 100%;
  max-width: 660px;
  height: auto;
  margin: auto;
  overflow: visible;
  pointer-events: none;
}

/* 飞机主体与护盾的入场动画：从云层深处破空冲出 */
.flight-enter-group {
  transform-origin: 440px 230px;
  animation: flight-breakthrough 2.4s cubic-bezier(0.12, 0.85, 0.25, 1) both;
}

/* 悬停热区：唯一可命中的元素，位置固定所以不会因飞机移动而反复触发 */
.plane-hitbox { pointer-events: auto; }

/* 悬停后：本机迅速拉升出画，紧接着一架新机从云层深处降落回原位 */
.hero-plane.is-relaunch .flight-enter-group {
  animation: flight-relaunch 2s both;
}

/* 起飞瞬间：气动能量盾被顶开、逐渐消散，呈现「冲破屏障」；新机降落时重新成形 */
.hero-plane.is-relaunch .shield-burst {
  transform-box: fill-box;
  transform-origin: center;
  animation: shield-burst 2s both;
}

/* 入场后的持续巡航悬浮：空气动力学微幅呼吸，保持真实生命力 */
.plane-cruising-group {
  transform-origin: 440px 230px;
  animation: plane-cruise 4.8s ease-in-out infinite 2.4s;
}

/* 气泡层：机身入场落位后才浮现；起飞时原地快速淡出，新机降落时重新浮现 */
.hero-tag-layer {
  animation: tag-enter .7s ease-out 2.1s both;
}

.hero-plane.is-relaunch .hero-tag-layer {
  animation: tag-relaunch 2s both;
}

/* 能力气泡：轻微上下浮动。平移写在外层 <g> 的属性上，
   CSS transform 会覆盖同元素的 transform 属性，故动画放在内层 */
.hero-tag {
  animation: tag-float 4.2s ease-in-out infinite;
}
.hero-tag.tag-2 { animation-delay: -1.4s; }
.hero-tag.tag-3 { animation-delay: -2.8s; }

/* 边缘超音速气动能量盾脉冲 */
.cdn-shield-capsule {
  transform-origin: 440px 230px;
  animation: shield-shimmer 3s ease-in-out infinite;
}

/* 音爆加速光环：向后扩散传递，直观体现突破阻力 */
.cdn-warp-ring {
  transform-origin: 440px 230px;
  animation: warp-ring 2.6s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}
.cdn-warp-ring.ring-2 { animation-delay: 0.85s; }
.cdn-warp-ring.ring-3 { animation-delay: 1.7s; }

/* 风阻高速矢量气流线：掠过机身与护盾两翼 */
.wind-vector {
  stroke-dasharray: 80 180;
  animation: wind-rush 0.9s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.wind-vector.v1 { animation-duration: 0.8s; animation-delay: 0.1s; }
.wind-vector.v2 { animation-duration: 1.1s; animation-delay: 0.35s; }
.wind-vector.v3 { animation-duration: 0.75s; animation-delay: 0.2s; }
.wind-vector.v4 { animation-duration: 0.95s; animation-delay: 0.5s; }
.wind-vector.v5 { animation-duration: 0.85s; animation-delay: 0.05s; }
.wind-vector.v6 { animation-duration: 1.05s; animation-delay: 0.4s; }

/* 翼尖激波冷凝拉烟线 */
.vapor-trail {
  stroke-dasharray: 200 40;
  animation: vapor-flow 1.6s linear infinite;
}

/* 尾喷等离子推进火焰脉冲 */
.plasma-jet {
  animation: thrust-pulse 0.25s ease-in-out infinite alternate;
}

/* 云海破裂动效：飞机冲出时向两边强劲撕裂掀开 */
.cloud-breach-left {
  animation: cloud-part-left 2.4s cubic-bezier(0.12, 0.85, 0.25, 1) both;
}
.cloud-breach-right {
  animation: cloud-part-right 2.4s cubic-bezier(0.12, 0.85, 0.25, 1) both;
}
.cloud-ambient {
  animation: cloud-float 8s ease-in-out infinite alternate;
}

/* 破空激波锥高光 */
.mach-cone {
  animation: mach-flicker 1.8s ease-in-out infinite;
}

/* 关键帧动画定义 */
@keyframes flight-breakthrough {
  0% {
    transform: translate(-460px, 280px) scale(0.55);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes flight-relaunch {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    animation-timing-function: cubic-bezier(0.55, 0, 0.9, 0.25);
  }
  24% {
    transform: translate(640px, -330px) scale(1.1);
    opacity: 0;
  }
  25% {
    transform: translate(-460px, 280px) scale(0.55);
    opacity: 0;
    animation-timing-function: cubic-bezier(0.12, 0.85, 0.25, 1);
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}

@keyframes tag-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 与机身出画节奏对齐：机身 24% 离场，气泡 14% 就先淡尽 */
@keyframes tag-relaunch {
  0% { opacity: 1; }
  14% { opacity: 0; }
  64% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes tag-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes shield-burst {
  0% {
    opacity: 1;
    transform: scale(1);
    animation-timing-function: cubic-bezier(0.3, 0, 0.7, 1);
  }
  /* 盾体先于机身撑开消散，机身才从缺口冲出 */
  18% {
    opacity: 0;
    transform: scale(1.32);
  }
  62% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes plane-cruise {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(0.8deg);
  }
}

@keyframes shield-shimmer {
  0%, 100% {
    opacity: 0.88;
    stroke-width: 2px;
  }
  50% {
    opacity: 1;
    stroke-width: 2.8px;
  }
}

@keyframes warp-ring {
  0% {
    transform: translate(75px, -38px) scale(0.65);
    opacity: 0;
  }
  20% {
    opacity: 0.95;
  }
  80% {
    opacity: 0.55;
  }
  100% {
    transform: translate(-140px, 72px) scale(1.35);
    opacity: 0;
  }
}

@keyframes wind-rush {
  0% {
    stroke-dashoffset: -200;
    opacity: 0;
  }
  30% {
    opacity: 0.85;
  }
  70% {
    opacity: 0.85;
  }
  100% {
    stroke-dashoffset: 260;
    opacity: 0;
  }
}

@keyframes vapor-flow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -240; }
}

@keyframes thrust-pulse {
  0% {
    transform: scaleX(0.92) scaleY(0.96);
    opacity: 0.85;
  }
  100% {
    transform: scaleX(1.08) scaleY(1.04);
    opacity: 1;
  }
}

@keyframes cloud-part-left {
  0% { transform: translate(45px, 0); opacity: 0.9; }
  100% { transform: translate(0, 0); opacity: 1; }
}

@keyframes cloud-part-right {
  0% { transform: translate(-45px, 15px); opacity: 0.85; }
  100% { transform: translate(0, 0); opacity: 1; }
}

@keyframes cloud-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

@keyframes mach-flicker {
  0%, 100% { opacity: 0.7; stroke-width: 1.5; }
  50% { opacity: 1; stroke-width: 2.4; }
}

@keyframes content-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Statement band ---------- */
.band {
  position: relative;
  background: var(--blue);
  color: var(--white);
  padding: clamp(36px, 4.2vw, 60px) 0 clamp(48px, 7vw, 96px);
  margin-top: -1px; /* covers the sub-pixel seam with the hero's wedge at fractional heights */
}
.band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
}
.band h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 700;
}
.band p {
  margin-top: 18px;
  max-width: 56ch;
  color: var(--blue-pale);
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- Service terms ---------- */
.terms-hero {
  position: relative;
  padding: clamp(48px, 6vw, 84px) 0 clamp(32px, 4vw, 52px);
  background: var(--white);
}
.terms-hero-copy { max-width: 74ch; }
.terms-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.terms-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 900;
  overflow-wrap: anywhere;
}
.terms-summary {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}
.terms-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 13.5px;
  font-weight: 600;
}
.terms-date-label {
  position: relative;
  padding-right: 9px;
  color: var(--blue);
  font-weight: 800;
}
.terms-date-label::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 11px;
  transform: translateY(-50%);
  background: rgba(32, 115, 237, 0.32);
}

.terms-body {
  position: relative;
  padding: clamp(8px, 1.5vw, 20px) 0 clamp(96px, 11vw, 156px);
  background: var(--white);
}
/* Angled hand-off into the blue footer, mirroring the hero-to-band wedge. */
.terms-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(52px, 7vw, 104px);
  background: var(--blue);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}
.terms-body .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 88px);
}

.terms-toc {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  max-height: calc(100dvh - var(--header-h) - 48px);
  overflow-y: auto;
}
.terms-toc-title {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.terms-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--line);
}
.terms-toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-left: -2px;
  padding: 9px 0 9px 16px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.4;
  transition: color .2s ease, border-color .2s ease;
}
.terms-toc a:hover { color: var(--blue); }
.terms-toc .toc-num {
  color: var(--blue-light);
  font-size: 11.5px;
  font-weight: 800;
  transition: color .2s ease;
}
.terms-toc a:hover .toc-num { color: var(--blue); }
.terms-toc a.is-current {
  border-left-color: var(--blue);
  color: var(--ink);
  font-weight: 700;
}
.terms-toc a.is-current .toc-num { color: var(--blue); }

.terms-doc { max-width: 72ch; }
.term-item {
  padding: clamp(30px, 3.6vw, 44px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.term-item:first-child { border-top: 0; padding-top: clamp(18px, 2.4vw, 28px); }
.term-item h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
}
.term-number {
  min-width: 26px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.term-item p {
  margin-top: 14px;
  margin-left: 40px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.85;
}
.terms-legal-note {
  margin-top: clamp(28px, 3.5vw, 40px);
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f7faff;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

/* ---------- Capabilities ---------- */
.caps { padding: clamp(56px, 8vw, 112px) 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 700;
}
.section-head p { color: var(--muted); max-width: 54ch; margin-top: 12px; font-size: 16px; line-height: 1.75; }

.caps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}
.cap {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--white);
  border: 1px solid rgba(32, 115, 237, 0.14);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 18px -6px rgba(10, 42, 99, 0.04);
  text-decoration: none;
  overflow: hidden;
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .28s ease, border-color .28s ease;
}
.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 115, 237, 0.04) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.cap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.cap .num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  line-height: 1;
}
.cap-icon {
  width: 48px;
  height: 32px;
  flex: 0 0 auto;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .22s ease, transform .22s ease;
}
.cap-icon svg {
  width: 48px;
  height: 32px;
  overflow: visible;
}
.cap-mark .cap-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cap-mark .cap-accent {
  fill: currentColor;
}
.cap-body {
  flex: 1;
}
.cap h3 {
  margin-top: 0;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  transition: color .2s ease;
}
.cap .en {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  opacity: 0.85;
}
.cap p {
  text-wrap: pretty;
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.cap-foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(217, 225, 238, 0.65);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cap .go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  transition: color .2s ease;
}
.cap .go::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.cap:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 115, 237, 0.4);
  box-shadow: 0 16px 32px -8px rgba(32, 115, 237, 0.12), 0 2px 8px rgba(10, 42, 99, 0.04);
}
.cap:hover::before { opacity: 1; }
.cap:hover h3, .cap:hover .go { color: var(--blue); }
.cap:hover .cap-icon {
  color: var(--blue-deep);
  transform: translateX(2px);
}
.cap:hover .go::after {
  transform: translateX(4px) rotate(45deg);
}

/* ---------- Path visual: from detour to straight (Modern Convergence Engine) ---------- */
.path {
  background: var(--blue-pale);
  padding: clamp(64px, 8vw, 120px) 0 clamp(72px, 9vw, 128px);
  overflow: hidden;
}
.path .section-head { margin-bottom: clamp(24px, 3.2vw, 44px); }
.path figure { margin: 0; }

.path-figure {
  background: var(--white);
  border: 1px solid rgba(32, 115, 237, 0.14);
  border-radius: var(--radius-2xl);
  padding: clamp(22px, 3.2vw, 38px);
  box-shadow: 0 20px 48px -12px rgba(10, 42, 99, 0.07), 0 2px 8px rgba(10, 42, 99, 0.02);
  position: relative;
  opacity: 0;
  translate: 0 18px;
  transition: opacity .65s ease, translate .65s var(--motion-ease);
}
.path-figure.in { opacity: 1; translate: none; }

/* Topology Status Header inside Card */
.path-topology-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: clamp(14px, 2vw, 20px);
  margin-bottom: clamp(12px, 2vw, 18px);
  border-bottom: 1px solid rgba(32, 115, 237, 0.08);
  font-size: 13px;
  color: var(--muted);
}
.path-stages {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  flex-wrap: wrap;
}
.path-stage-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}
.stage-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-mid);
}
.stage-dot.hub {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(32, 115, 237, 0.2);
}
.stage-dot.target {
  background: var(--blue-ink);
}
.path-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-deep);
  background: rgba(32, 115, 237, 0.07);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.badge-blink {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: badgeBlink 1.8s ease-in-out infinite;
}
@keyframes badgeBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.path-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.path-svg.vertical { display: none; width: min(100%, 360px); margin: 0 auto; }

/* SVG Graphical Elements */
.path-svg .axis-guide {
  stroke: rgba(169, 201, 249, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
}
.path-svg .detour-line {
  stroke: rgba(91, 152, 243, 0.3);
  stroke-width: 1.8;
  stroke-dasharray: 6 6;
  fill: none;
}
.path-svg .detour-hop {
  fill: #ffffff;
  stroke: rgba(91, 152, 243, 0.45);
  stroke-width: 1.5;
}
.path-svg .track-base {
  fill: none;
  stroke: rgba(32, 115, 237, 0.12);
  stroke-width: 3.5;
  stroke-linecap: round;
}
.path-svg .track-direct-base {
  fill: none;
  stroke: rgba(32, 115, 237, 0.18);
  stroke-width: 4.5;
  stroke-linecap: round;
}
.path-svg .track-active {
  fill: none;
  stroke: url(#pathBlueGrad);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.path-svg .track-direct-active {
  fill: none;
  stroke: url(#pathHighGrad);
  stroke-width: 4.5;
  stroke-linecap: round;
}
.path-svg .premium-track-base {
  fill: none;
  stroke: rgba(32, 115, 237, 0.12);
  stroke-width: 5;
  stroke-linecap: round;
}
.path-svg .premium-track-active {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.6;
  stroke-linecap: round;
}
.path-svg .premium-label-bg {
  fill: #ffffff;
  stroke: rgba(32, 115, 237, 0.22);
  stroke-width: 1.2;
}
.path-svg .premium-label-title { font-size: 9px; }

/* Fast Light Packet Streams */
.path-svg .stream-packet {
  fill: none;
  stroke-linecap: round;
  opacity: 0;
}
.path-svg .stream-detour {
  stroke: rgba(91, 152, 243, 0.6);
  stroke-width: 2.2;
  stroke-dasharray: 40 460;
}
.path-svg .stream-converge-1 {
  stroke: url(#streamLaserGrad);
  stroke-width: 4;
  stroke-dasharray: 120 1200;
  filter: url(#pathGlow);
}
.path-svg .stream-converge-2 {
  stroke: url(#streamLaserGrad);
  stroke-width: 4;
  stroke-dasharray: 120 1200;
  filter: url(#pathGlow);
}
.path-svg .stream-direct {
  stroke: url(#streamDirectLaser);
  stroke-width: 5;
  stroke-dasharray: 180 1200;
  filter: url(#pathGlow);
}
.path-svg .stream-premium {
  stroke: url(#streamLaserGrad);
  stroke-width: 4;
  stroke-dasharray: 110 1200;
  filter: url(#pathGlow);
}

/* Nodes & Rings */
.path-svg .ingress-node-outer {
  fill: rgba(32, 115, 237, 0.08);
  stroke: var(--blue-light);
  stroke-width: 1.5;
}
.path-svg .ingress-node-inner {
  fill: #ffffff;
  stroke: var(--blue);
  stroke-width: 2.5;
}
.path-svg .ingress-node-core {
  fill: var(--blue);
}
.path-svg .hub-ripple {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
.path-svg .hub-core-outer {
  fill: #ffffff;
  stroke: var(--blue);
  stroke-width: 3;
}
.path-svg .hub-core-inner {
  fill: var(--blue-ink);
}
.path-svg .target-ripple {
  fill: none;
  stroke: var(--blue-deep);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
}
.path-svg .target-core-outer {
  fill: #ffffff;
  stroke: var(--blue-ink);
  stroke-width: 3.5;
}
.path-svg .target-core-inner {
  fill: var(--blue-deep);
}
.path-svg .target-icon {
  fill: #ffffff;
}

/* SVG Text Annotations */
.path-svg .tag-title {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: var(--blue-ink);
}
.path-svg .tag-sub {
  font-size: 10.5px;
  fill: var(--muted);
  font-weight: 500;
}
.path-svg .tag-metric {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  fill: var(--blue);
}
.path-svg .tag-detour-metric {
  font-family: var(--font-en);
  font-size: 9.5px;
  font-weight: 600;
  fill: #8b9eb7;
}

/* Progressive Reveal & Animation triggering via .in */
.path-svg .track-active,
.path-svg .track-direct-active,
.path-svg .premium-track-active {
  stroke-dasharray: var(--len, 1400);
  stroke-dashoffset: var(--len, 1400);
}
.in .path-svg .track-active {
  animation: drawStream 1.2s cubic-bezier(0.2, 0.8, 0.25, 1) forwards;
}
.in .path-svg .track-direct-active {
  animation: drawStream 0.9s cubic-bezier(0.2, 0.8, 0.25, 1) 0.3s forwards;
}
.in .path-svg .premium-track-active {
  animation: drawStream 1.1s cubic-bezier(0.2, 0.8, 0.25, 1) 0.55s forwards;
}

/* Active Continuous Packet Streams */
.in .path-svg .stream-detour {
  opacity: 1;
  animation: flowDetour 7s linear infinite;
}
.in .path-svg .stream-converge-1 {
  opacity: 1;
  animation: flowStream 2.2s cubic-bezier(0.4, 0, 0.2, 1) 1.2s infinite;
}
.in .path-svg .stream-converge-2 {
  opacity: 1;
  animation: flowStream 2.2s cubic-bezier(0.4, 0, 0.2, 1) 1.9s infinite;
}
.in .path-svg .stream-direct {
  opacity: 1;
  animation: flowStream 1.6s cubic-bezier(0.3, 0, 0.15, 1) 1.5s infinite;
}
.in .path-svg .stream-premium {
  opacity: 1;
  animation: flowStream 2.1s cubic-bezier(0.3, 0, 0.15, 1) 1.8s infinite;
}

/* Ripples on Hub & Target */
.in .path-svg .hub-ripple-1 {
  animation: ripplePulse 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) 0.8s infinite;
}
.in .path-svg .hub-ripple-2 {
  animation: ripplePulse 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) 1.6s infinite;
}
.in .path-svg .target-ripple-1 {
  animation: ripplePulse 2.2s cubic-bezier(0.2, 0.6, 0.3, 1) 1.2s infinite;
}
.in .path-svg .target-ripple-2 {
  animation: ripplePulse 2.2s cubic-bezier(0.2, 0.6, 0.3, 1) 2.0s infinite;
}

@keyframes drawStream {
  to { stroke-dashoffset: 0; }
}
@keyframes flowStream {
  0% { stroke-dashoffset: 1320; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes flowDetour {
  0% { stroke-dashoffset: 1800; }
  100% { stroke-dashoffset: 0; }
}
@keyframes ripplePulse {
  0% { transform: scale(0.7); opacity: 0.8; }
  60% { opacity: 0.35; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ---------- DDoS 处理流程弹窗 ---------- */
.plan-dialog.flow-dialog {
  max-width: min(940px, calc(100vw - 32px));
}
.plan-dialog.flow-dialog form {
  display: flex;
  flex-direction: column;
}
.plan-dialog.flow-dialog .btn {
  align-self: flex-end;
  width: auto;
  min-width: 160px;
}
/* 背后那张路径图还在跑，压暗压糊，避免两组动画抢视线 */
.plan-dialog.flow-dialog[open]::backdrop {
  background-color: rgba(10, 42, 99, 0.62);
  backdrop-filter: blur(5px);
}

/* 层次靠「淡蓝底 → 白色浮起卡片 → 蓝色强调」，与站点其余部分同一套配色 */
.ddos-figure {
  margin: 20px 0 0;
  padding: clamp(16px, 2.2vw, 22px);
  border: 1px solid rgba(32, 115, 237, 0.16);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #f5f9ff 0%, var(--blue-pale) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow-x: auto;
}
.ddos-figure .path-topology-bar {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom-color: rgba(32, 115, 237, 0.14);
}
.ddos-figure .stage-dot { background: var(--blue); }
.ddos-figure .stage-dot.bad { background: #c4564f; }
.ddos-figure .stage-dot.target { background: var(--blue-mid); }
.ddos-figure .path-status-badge { background: rgba(255, 255, 255, 0.75); }
.ddos-figure .badge-blink { animation: none; opacity: 0.8; }
/* 视口收窄时图不压扁，交给横向滚动 */
.ddos-svg { width: 100%; min-width: 660px; height: auto; }
.ddos-mobile-flow { display: none; }

.ddos-svg text { font-family: var(--font-cn); }
.ddos-svg .ddos-col { font-size: 11.5px; font-weight: 700; fill: var(--muted); letter-spacing: 0.04em; }
.ddos-svg .ddos-num { font-family: var(--font-en); font-weight: 800; fill: var(--blue); letter-spacing: 0.08em; }
.ddos-svg .ddos-label { font-size: 14.5px; font-weight: 800; fill: var(--ink); }
.ddos-svg .ddos-sub { font-size: 12px; fill: var(--muted); }
.ddos-svg .ddos-tag { font-size: 11px; fill: var(--muted); }
.ddos-svg .ddos-en {
  font-family: var(--font-en);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  fill: rgba(21, 88, 196, 0.62);
}
.ddos-svg .ddos-label.is-bad { fill: #a8433c; }
.ddos-svg .ddos-sub.is-bad { fill: #a8433c; }
.ddos-svg .ddos-en.is-bad { fill: rgba(168, 67, 60, 0.6); }

/* 每个节点就是一张缩小的 .cap 卡：编号角标 + 线稿图标 + 标题 + 英文副题 */
.ddos-svg .ddos-card { fill: url(#ddosCardSheen); stroke: rgba(32, 115, 237, 0.18); stroke-width: 1.1; }
.ddos-svg .ddos-card.is-bad { stroke: rgba(196, 86, 79, 0.26); }
.ddos-svg .ddos-num-bg { fill: var(--blue-pale); }
.ddos-svg .ddos-num-bg.is-bad { fill: rgba(196, 86, 79, 0.1); }
.ddos-svg .ddos-num { font-family: var(--font-en); font-size: 10px; font-weight: 800; fill: var(--blue); letter-spacing: 0.04em; }
.ddos-svg .ddos-num.is-bad { fill: #a8433c; }
.ddos-svg .ddos-ico path, .ddos-svg .ddos-ico circle {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ddos-svg .ddos-ico .ico-fill { fill: var(--blue); stroke: none; }
.ddos-svg .ddos-ico.is-bad path, .ddos-svg .ddos-ico.is-bad circle { stroke: #c4564f; }
.ddos-svg .ddos-ico.is-bad .ico-fill { fill: #c4564f; }
.ddos-svg .ddos-axis { stroke: rgba(169, 201, 249, 0.4); stroke-width: 1.5; stroke-dasharray: 4 4; }
.ddos-svg .ddos-div { stroke: rgba(32, 115, 237, 0.14); stroke-width: 1; }
.ddos-svg .ddos-tag-bg { fill: var(--white); stroke: rgba(32, 115, 237, 0.18); stroke-width: 1; }
.ddos-svg .ddos-rule { fill: var(--blue-pale); opacity: 0.75; }
.ddos-svg .ddos-rule.is-bad { fill: rgba(196, 86, 79, 0.09); opacity: 1; }
.ddos-svg .ddos-bullet { fill: var(--blue); }
.ddos-svg .ddos-line { fill: none; stroke: url(#ddosLineGrad); stroke-width: 1.8; }
.ddos-svg .ddos-line.is-bad { stroke: rgba(196, 86, 79, 0.35); }
.ddos-svg .ddos-return { fill: none; stroke: url(#ddosReturnGrad); stroke-width: 2.2; opacity: 0.75; }
.ddos-svg .ddos-stop { fill: none; stroke: #c4564f; stroke-width: 2; stroke-linecap: round; }
.ddos-svg .ddos-chip { fill: var(--white); stroke: rgba(32, 115, 237, 0.24); stroke-width: 1; }
.ddos-svg .ddos-chip-text { font-family: var(--font-en); font-size: 11.5px; font-weight: 700; fill: var(--blue-deep); }

/* 弹窗关闭时是 display:none，动画会被终止并在打开时重播，无需 JS 触发 */
.plan-dialog.flow-dialog[open] .ddos-figure {
  animation: ddosFigureIn .6s var(--motion-ease) .08s both;
}
/* 图里只保留一组动作：数据包按段接力，其余全是静态的 */
.ddos-svg .ddos-pkt {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 5 95;
  filter: url(#ddosGlow);
  animation: ddosSeq 6.6s cubic-bezier(0.45, 0, 0.15, 1) infinite;
}
.ddos-svg .ddos-pkt.is-bad { stroke: #c4564f; }
.ddos-svg .ddos-flash { fill: #c4564f; opacity: 0; animation: ddosBlock 6.6s linear infinite; }

/* 一个 6.6s 主周期，各段用 animation-delay 排队：入站 → 清洗 → 终止/放行 → 回程 → 回用户。
   末尾留一段静止，跑完一轮再起，避免整张图一直在动 */
@keyframes ddosSeq {
  0% { stroke-dashoffset: 100; opacity: 0; }
  3% { opacity: 1; }
  17% { stroke-dashoffset: 0; opacity: 1; }
  22% { stroke-dashoffset: 0; opacity: 0; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
/* 与攻击包落点同一时刻：0.17 * 6.6s ≈ 1.1s */
@keyframes ddosBlock {
  0%, 15% { opacity: 0; }
  19% { opacity: 0.16; }
  34%, 100% { opacity: 0; }
}
@keyframes ddosFigureIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- CTA ---------- */
.cta { padding: clamp(56px, 8vw, 112px) 0; }
.cta .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
}
.cta h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.25; letter-spacing: 0; font-weight: 700; }
.cta p { margin-top: 12px; color: var(--muted); max-width: 56ch; font-size: 16px; line-height: 1.75; text-wrap: pretty; }

/* ---------- Footer ---------- */
.footer {
  background: var(--blue);
  color: var(--white);
  padding: 48px 0 32px;
  font-size: 14px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.footer .top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}
.footer .brand:hover { color: var(--blue-pale); }
.footer .company { margin-top: 10px; color: var(--blue-pale); }
.footer-flight {
  position: relative;
  display: block;
  width: 210px;
  height: 58px;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.footer-flight-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.footer-flight-plane-wrap {
  position: absolute;
  left: 116px;
  top: 9px;
  width: 78px;
  height: 40px;
  filter: drop-shadow(0 5px 7px rgba(10, 42, 99, 0.34));
  transition: transform .3s var(--motion-ease), filter .3s ease;
}
.footer-flight-plane {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: footer-plane-cruise 1s ease-in-out infinite;
}
.footer-plane-shadow {
  fill: rgba(10, 42, 99, 0.2);
  transform: translate(-2px, 2px);
}
.footer-plane-body { fill: url(#footerPlaneBody); }
.footer-plane-detail {
  fill: none;
  stroke: rgba(32, 115, 237, 0.8);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-plane-canopy { fill: var(--blue-ink); }
.footer-flight-stream {
  position: absolute;
  right: 88px;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25) 30%, rgba(255, 255, 255, 0.95));
  transform-origin: right center;
  animation: footer-wake-rush .86s var(--motion-ease) infinite;
}
.footer-flight-stream.stream-one { top: 17px; width: 92px; }
.footer-flight-stream.stream-two { top: 28px; width: 118px; animation-delay: -.28s; }
.footer-flight-stream.stream-three { top: 39px; width: 76px; animation-delay: -.56s; }
.footer-flight-thrust {
  position: absolute;
  left: 98px;
  top: 23px;
  width: 28px;
  height: 12px;
  background: linear-gradient(90deg, transparent, var(--blue-light), var(--white));
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  transform-origin: right center;
  animation: footer-thrust-pulse .28s ease-in-out infinite alternate;
}
.footer-flight-ring {
  position: absolute;
  left: 126px;
  top: 7px;
  width: 14px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-left-color: transparent;
  border-radius: 50%;
  animation: footer-shock-wave 2.1s ease-out infinite;
}
.footer-flight-ring.ring-two { animation-delay: -1.05s; }
.footer-flight:hover .footer-flight-plane-wrap {
  transform: translateX(8px);
  filter: drop-shadow(0 7px 9px rgba(10, 42, 99, 0.44));
}
.footer-flight:hover .footer-flight-plane { animation-duration: .55s; }
.footer-flight:hover .footer-flight-stream { animation-duration: .4s; }
.footer-flight:hover .footer-flight-ring { animation-duration: 1.1s; }

@keyframes footer-plane-cruise {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-2px) rotate(-4deg); }
}
@keyframes footer-wake-rush {
  0% { opacity: 0; transform: translateX(24px) scaleX(0.15); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-32px) scaleX(1); }
}
@keyframes footer-thrust-pulse {
  from { opacity: 0.62; transform: scaleX(0.68); }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes footer-shock-wave {
  0%, 18% { opacity: 0; transform: translateX(22px) scale(0.42); }
  30% { opacity: 0.75; }
  72%, 100% { opacity: 0; transform: translateX(-48px) scale(1.55); }
}
.footer nav ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer nav a { padding: 4px 0; font-weight: 600; border-bottom: 2px solid transparent; }
.footer nav a:hover { border-bottom-color: var(--white); }
.footer .bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--blue-pale);
}

/* ---------- SCDN pricing ---------- */
.pricing {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--blue-pale);
}

.pricing-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.pricing-head h2,
.custom-plan h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}

.pricing-head p,
.plan-includes p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 48ch;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid rgba(32, 115, 237, 0.2);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 10px 30px -18px rgba(10, 42, 99, 0.12);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 16px 36px -16px rgba(32, 115, 237, 0.25);
}

.price-card-head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price-card h3 {
  font-family: var(--font-en);
  font-size: clamp(24px, 2.1vw, 26px);
  line-height: 1.15;
  font-weight: 600;
  color: var(--ink);
}

.price-card-head > div p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 16px;
  color: var(--ink);
  font-family: var(--font-en);
  font-size: clamp(32px, 2.5vw, 36px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.price .currency {
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--blue);
}

.price .period {
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

/* 开通条件入口：与其他卡片的副标题同排同尺寸，因此不会把 Free 卡撑高 */
.plan-cond {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  line-height: inherit;
  color: var(--blue-deep);
  text-align: left;
  cursor: pointer;
  border-bottom: 1px dashed rgba(32, 115, 237, 0.45);
}

.plan-cond::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -4px;
  right: -4px;
  height: 44px;
  transform: translateY(-50%);
}

.plan-cond:hover,
.plan-cond:focus-visible {
  color: var(--blue);
  border-bottom-style: solid;
}

.plan-dialog {
  max-width: min(420px, calc(100vw - 40px));
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(32, 115, 237, 0.2);
  border-radius: var(--radius-xl);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 60px -30px rgba(10, 42, 99, 0.45);
  opacity: 0;
  transform: translateY(14px) scale(0.97);
  /* display 与 overlay 是离散属性，需 allow-discrete 才能参与过渡，
     否则关闭时元素会先瞬间消失、动画来不及播 */
  transition:
    opacity .22s var(--motion-ease),
    transform .22s var(--motion-ease),
    overlay .22s allow-discrete,
    display .22s allow-discrete;
}

.plan-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 入场起点：元素刚从 display:none 进入顶层时没有「上一帧」可插值，
   须由 @starting-style 提供 */
@starting-style {
  .plan-dialog[open] {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
}

.plan-dialog::backdrop {
  background-color: rgba(10, 42, 99, 0);
  transition:
    background-color .22s ease,
    overlay .22s allow-discrete,
    display .22s allow-discrete;
}

.plan-dialog[open]::backdrop {
  background-color: rgba(10, 42, 99, 0.35);
}

@starting-style {
  .plan-dialog[open]::backdrop {
    background-color: rgba(10, 42, 99, 0);
  }
}

.plan-dialog h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 800;
}

.plan-dialog p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.plan-dialog-en {
  margin-top: 4px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  opacity: 0.85;
}

.plan-dialog ul {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.plan-dialog li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.55;
}

.plan-dialog li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.plan-dialog-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.plan-dialog .btn {
  margin-top: 20px;
  width: 100%;
}

/* 关闭按钮不该带表示「前往」的箭头 */
.plan-dialog .btn::after { content: none; }

.plan-specs {
  margin: 14px 0 22px;
  padding: 0;
}

/* 卡片等高，按钮统一贴底 */
.price-card > .btn {
  margin-top: auto;
  width: 100%;
}

.plan-specs div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(217, 225, 238, 0.7);
}

.plan-specs div:last-child {
  border-bottom: none;
}

.plan-specs dt {
  color: var(--muted);
  font-size: 14px;
}

.plan-specs dd {
  margin: 0;
  text-align: right;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.plan-specs .unit {
  margin-left: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.plan-includes {
  margin-top: clamp(36px, 5vw, 56px);
}

.plan-includes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.plan-includes h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
}

/* 标配基线：沿用选路图的「链路 + 节点 + 双语标牌」语汇，
   表示这五项始终挂在链路上，而不是一排通用标签 */
.include-line {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.include-line li {
  position: relative;
  padding-top: 28px;
}

/* 节点：白底 + 蓝环 + 淡蓝晕，与图中 INGRESS / HUB 节点同构 */
.include-line li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--blue) 0 2px, var(--white) 2px);
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 4px rgba(32, 115, 237, 0.1);
}

/* 节点之间的链路段，最后一个节点收束，线不悬空 */
.include-line li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: -14px;
  top: 6px;
  height: 2px;
  background: rgba(32, 115, 237, 0.24);
}

.include-line b {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--blue-ink);
}

.include-line span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--blue-deep);
}

/* Custom Plan */
.custom-plan {
  background: var(--blue);
  color: var(--white);
  padding: clamp(48px, 6vw, 80px) 0;
}

.custom-plan-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 48px;
}

.custom-plan h2 {
  color: var(--white);
}

.custom-plan p {
  margin-top: 12px;
  color: var(--blue-pale);
  font-size: 16px;
  line-height: 1.75;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  translate: 0 18px;
  transition: opacity .55s ease, translate .55s var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.in { opacity: 1; translate: none; }

/* ---------- Responsive ---------- */
@media (min-width: 1280px) {
  .pricing-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .path-svg.horizontal { display: none; }
  .path-svg.vertical { display: block; }
}

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .hero-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .hero h1 { font-size: clamp(46px, 4.8vw, 64px); }
  .hero .tagline { font-size: 24px; }
  .caps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

}

@media (max-width: 900px) {
  .hero { min-height: 0; padding: clamp(40px, 6vw, 64px) 0 clamp(48px, 7vw, 76px); }
  .hero-wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-copy { padding: 0; }
  .hero-plane {
    min-height: 0;
    height: clamp(340px, 46vw, 420px);
    margin-top: -8px;
    overflow: hidden;
  }
  .flight-scene {
    position: absolute;
    left: 50%;
    top: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 660px;
    margin: 0;
  }
  .band .wrap, .cta .wrap, .footer .top, .section-head { grid-template-columns: 1fr; }
  /* Contents collapse into a horizontal chip row above the document. */
  .terms-body .wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .terms-toc, .terms-doc { min-width: 0; }
  .terms-toc { position: static; max-height: none; overflow: visible; }
  .terms-toc nav { margin: 0 -4px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .terms-toc ol {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 8px;
    padding: 0 4px 4px;
    border-left: 0;
  }
  .terms-toc a {
    margin-left: 0;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-full);
    background: var(--white);
    white-space: nowrap;
    font-size: 13.5px;
  }
  .terms-toc a.is-current {
    border-color: var(--blue);
    background: var(--blue-pale);
    color: var(--blue-deep);
  }
  .terms-doc { max-width: none; }
  .pricing-head { flex-direction: column; align-items: flex-start; }
  .plan-includes-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .include-line { grid-template-columns: 1fr; gap: 0; margin-top: 22px; }
  .include-line li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 0 0 20px 28px;
  }
  .include-line li:last-child { padding-bottom: 0; }
  .include-line span { margin-top: 0; text-align: right; }
  .include-line li:not(:last-child)::after {
    left: 6px;
    right: auto;
    top: 14px;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  .custom-plan-inner { grid-template-columns: 1fr; }
  .ddos-svg { display: none; }
  .ddos-mobile-flow { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
  .ddos-mobile-flow b { font-size: 14px; font-weight: 600; }
  .ddos-mobile-flow span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.65; color: var(--muted); }
}

@media (max-width: 760px) {
  body::before {
    content: "";
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 49;
    background: rgba(11, 18, 32, 0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility 0s .18s;
  }
  body:has(.nav.open)::before { opacity: 1; visibility: visible; transition-delay: 0s; }
  .terms-hero { padding-bottom: clamp(24px, 5vw, 36px); }
  .term-item h2 { gap: 10px; font-size: 20px; }
  .term-item p { margin-left: 0; }
  .terms-legal-note { padding: 18px; }
  .caps-grid { grid-template-columns: 1fr; gap: 16px; }
  .cap { padding: 22px; }
  .nav-toggle { display: inline-flex; }
  /* Keep the dropdown relative to the full-width header, not an animated wrap. */
  .header .wrap { animation: none; }
  .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 24px -16px rgba(10, 42, 99, 0.25);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s var(--motion-ease), visibility 0s .18s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; flex-shrink: 0; }
  .nav a:not(.btn) { display: block; padding: 12px 0; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .nav .btn { width: 100%; min-height: 44px; margin-top: 8px; flex-shrink: 0; }
  .hero h1 { font-size: clamp(38px, 6.2vw, 50px); }
  .hero .tagline { font-size: 20px; }

  .hero .actions .btn { flex: 1 1 100%; }
  .hero .lead { text-wrap: balance; }
  .cta h2 { text-wrap: balance; word-break: keep-all; }
  .path-figure { padding: 18px 12px 22px; border-radius: 14px; }
  .path-topology-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .path-stages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 6px;
    font-size: 11px;
  }
  .path-stage-item {
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
  }
  .path-topology-bar .path-status-badge {
    font-size: 10.5px;
    padding: 4px 10px;
    align-self: center;
  }
}

@media (max-width: 480px) {
  .footer-flight { width: 190px; }
  .footer-flight-plane-wrap { left: 102px; }
  .footer-flight-stream { right: 84px; }
  .footer-flight-thrust { left: 84px; }
  .footer-flight-ring { left: 112px; }
  .hero { padding: 28px 0 44px; }
  .hero-copy { padding-top: 8px; padding-bottom: 8px; }
  .hero .actions { margin-top: 28px; }
  .hero .company { margin-top: 20px; }
  .hero-plane { height: 320px; }
  /* Keep labels inside the cropped mobile scene; preserve the plane and its animation. */
  .hero-tag-layer > g:nth-child(1) { transform: translate(152px, 118px); }
  .hero-tag-layer > g:nth-child(2) { transform: translate(152px, 336px); }
  .flight-scene {
    position: absolute;
    left: 50%;
    top: 50%;
    right: auto;
    transform: translate(-58%, -50%);
    width: 124%;
    max-width: 480px;
    margin: 0;
  }
  .hero h1 { font-size: clamp(30px, 8.2vw, 38px); }
  .hero .tagline { font-size: 17px; }

  .price-card { padding: 24px 18px; }
  .custom-plan .btn { width: 100%; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 28px; }
  .hero .tagline { font-size: 15px; }
  .hero-plane { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plane-hitbox { pointer-events: none; }
  .footer-flight-plane, .footer-flight-stream, .footer-flight-thrust, .footer-flight-ring { animation: none !important; }
  .footer-flight-stream { opacity: 0.55; transform: none; }
  .footer-flight-thrust { opacity: 0.8; transform: none; }
  .footer-flight-ring { display: none; }
  .hero-tag, .hero-tag-layer,
  .flight-enter-group, .plane-cruising-group, .cdn-shield-capsule, .cdn-warp-ring,
  .wind-vector, .vapor-trail, .plasma-jet, .cloud-breach-left, .cloud-breach-right,
  .cloud-ambient, .mach-cone { animation: none !important; }
  .flight-enter-group { transform: none !important; opacity: 1 !important; }
  .cdn-warp-ring { opacity: 0.3 !important; }
  .in .path-svg .track-active, .in .path-svg .track-direct-active, .in .path-svg .premium-track-active,
  .in .path-svg .stream-packet, .in .path-svg .hub-ripple, .in .path-svg .target-ripple,
  .badge-blink { animation: none !important; }
  .in .path-svg .track-active, .in .path-svg .track-direct-active, .in .path-svg .premium-track-active { stroke-dasharray: none; stroke-dashoffset: 0; }
  .in .path-svg .stream-packet { display: none !important; }
  .plan-dialog.flow-dialog[open] .ddos-figure { animation: none !important; }
  .ddos-svg .ddos-pkt { display: none !important; }
  .ddos-svg .ddos-flash { animation: none !important; }
  .header .wrap, .intro-sequence > *, .nav.open { animation: none !important; }
  .reveal, .path-figure { opacity: 1 !important; translate: none !important; }
  *, *::before, *::after, .plan-dialog::backdrop { transition-duration: .01ms !important; }
}

/* Site-styled disclosure: no browser select popup. */
.language-picker { position: relative; flex-shrink: 0; color: var(--muted); }
.language-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 104px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--ink);
  font: 500 14px/1.4 var(--font-en);
  list-style: none;
  cursor: pointer;
}
.language-trigger::-webkit-details-marker { display: none; }
.language-trigger svg { flex-shrink: 0; pointer-events: none; }
.language-icon { width: 18px; height: 18px; color: var(--blue); }
.language-label { white-space: nowrap; }
.language-chevron { width: 12px; height: 12px; margin-left: auto; }
.language-picker[open] .language-chevron { transform: rotate(180deg); }
.language-trigger:hover, .language-picker[open] .language-trigger { background: var(--blue-pale); color: var(--blue); }
.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  width: 190px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 12px 32px -12px rgba(10,42,99,.25);
}
.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: 500 14px/1.4 var(--font-en);
  text-align: left;
  cursor: pointer;
}
.language-menu button + button { margin-top: 6px; }
.language-menu button:hover { color: var(--ink); background: #f5f8fc; }
.language-menu button[aria-pressed="true"] { color: var(--blue); background: var(--blue-pale); }
.language-menu button[aria-pressed="true"]::after { content: "✓"; }
.language-trigger:focus-visible, .language-menu button:focus-visible,
.plan-dialog h3[tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
/* English needs Latin typography, not the CJK fallback or Chinese line lengths. */
html[lang="en"] { --font-cn: var(--font-en); }
html[lang="en"] :is(h1,h2,h3,p) { overflow-wrap: normal; }
html[lang="en"] p { text-wrap: pretty; }
html[lang="en"] h2 { letter-spacing: -.025em; text-wrap: balance; }
html[lang="en"] .hero h1 {
  max-width: 12ch;
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.04em;
  white-space: normal;
  text-wrap: balance;
}
html[lang="en"] .hero .lead { max-width: 48ch; font-size: 17px; line-height: 1.7; }
html[lang="en"] .nav a:not(.btn) { font-weight: 400; }
html[lang="en"] .cap h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.015em; }
html[lang="en"] :is(.cap-body > .en,.plan-dialog-en,.include-line b) { display: none; }
html[lang="en"] .cap-body p { line-height: 1.65; }
html[lang="en"] .include-line span { margin-top: 0; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--blue-ink); }
html[lang="en"] .pricing-head p { max-width: 58ch; }
.price-card-head > div p,
.plan-cond { min-height: 24px; line-height: 1.6; }
.plan-cond { display: flex; width: fit-content; }
html[lang="en"] .path-stage-item { white-space: normal; }
html[lang="en"] .plan-specs dd { white-space: nowrap; }
html[lang="en"] .plan-specs .unit { display: none; }
html[lang="en"] .plan-dialog h3 { font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
html[lang="en"] .plan-dialog p { line-height: 1.7; }
html[lang="en"] .terms-hero h1 { font-size: clamp(36px, 4.5vw, 60px); font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
html[lang="en"] .terms-kicker { font-weight: 600; letter-spacing: .06em; }
html[lang="en"] .terms-summary { font-size: 17px; line-height: 1.7; }
html[lang="en"] .term-item h2 { font-weight: 600; text-wrap: pretty; }
html[lang="en"] .term-item p { font-size: 16px; line-height: 1.8; overflow-wrap: break-word; }
@media (min-width: 761px) and (max-width: 1000px) {
  .header .wrap { gap: 12px; }
  .nav { gap: 8px; }
  .nav a:not(.btn) { padding-inline: 8px; }
}
@media (max-width: 900px) {
  html[lang="en"] .include-line li { justify-content: flex-start; }
  html[lang="en"] .include-line span { text-align: left; }
}
@media (max-width: 760px) {
  .language-picker { align-self: flex-start; margin: 4px 0 8px; }
  .language-trigger { background: #f5f8fc; }
  .language-menu { position: static; width: 220px; margin-top: 6px; box-shadow: none; }
  html[lang="en"] .hero .lead { font-size: 16px; }
  html[lang="en"] .terms-summary { font-size: 16px; }
}
