/* ============================================================
   TKOneGEO — white / emerald design system
   ============================================================ */

:root {
  --bg: #f7fbf8;
  --surface: #ffffff;
  --surface-2: #f1f9f4;
  --surface-3: #eaf6ef;
  --ink: #0a1f14;
  --ink-2: #143527;
  --muted: #5b7064;
  --muted-2: #667b6f;
  --line: rgba(10, 31, 20, 0.1);
  --line-2: rgba(10, 31, 20, 0.06);
  --green: #0b8f63;
  --green-cta: #067a4e;
  --green-deep: #045c3b;
  --mint: #e7f6ee;
  --mint-2: #f1f9f4;
  --lime: #c8f26b;
  --dark: #07160f;
  --dark-2: #0b2117;
  --white: #ffffff;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow-sm: 0 1px 2px rgba(5, 26, 18, 0.06), 0 8px 24px rgba(5, 26, 18, 0.06);
  --shadow-md: 0 24px 70px rgba(5, 26, 18, 0.12);
  --shadow-lg: 0 40px 100px rgba(5, 26, 18, 0.18);
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-2: cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-latin: "Manrope", "Noto Sans SC", system-ui, sans-serif;
  --font-mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
}

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

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

html,
body {
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(11, 143, 99, 0.2);
  color: var(--ink);
}

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid rgba(11, 143, 99, 0.38);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-cta);
  color: #fff;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-2);
}

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

/* ---------- layout ---------- */

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

.section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) 0;
}

.section-tight {
  padding: clamp(56px, 7vw, 88px) 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.section-head.left {
  margin: 0;
  text-align: left;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}

.split-head .section-sub {
  margin: 0 0 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--green-deep);
}

.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(11, 143, 99, 0.1);
  flex: none;
}

.eyebrow.light {
  color: #8fe3be;
}

.eyebrow.light::before {
  background: #3ee39b;
  box-shadow: 0 0 0 4px rgba(62, 227, 155, 0.12);
}

.h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.accent {
  color: var(--green);
}

.muted {
  color: var(--muted);
}

.section-sub {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.78;
  color: var(--muted);
}

.section-head.left .section-sub {
  margin-left: 0;
}

.micro {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted-2);
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.22s var(--ease-2), color 0.22s var(--ease-2),
    border-color 0.22s var(--ease-2), transform 0.22s var(--ease-2),
    box-shadow 0.22s var(--ease-2);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  background: var(--green-cta);
  color: #fff;
  box-shadow: 0 1px 2px rgba(4, 92, 59, 0.18), 0 8px 20px rgba(4, 92, 59, 0.14);
}

.btn-primary:hover {
  background: var(--green-deep);
  box-shadow: 0 1px 2px rgba(4, 92, 59, 0.22), 0 12px 26px rgba(4, 92, 59, 0.18);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(5, 26, 18, 0.04);
}

.btn-secondary:hover {
  background: var(--mint-2);
  border-color: rgba(11, 143, 99, 0.24);
}

.btn-ghost {
  color: var(--ink);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(10, 31, 20, 0.05);
}

.btn-sm {
  height: 40px;
  padding: 0 17px;
  font-size: 12.5px;
}

.btn-lg {
  height: 54px;
  padding: 0 28px;
  font-size: 14.5px;
}

.btn .arr {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: -8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  transition: transform 0.22s var(--ease-2), background 0.22s var(--ease-2);
}

.btn:hover .arr {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.24);
}

.btn-secondary .arr {
  background: var(--mint);
  color: var(--green-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--green-deep);
  transition: gap 0.2s var(--ease-2), color 0.2s var(--ease-2);
}

.text-link:hover {
  gap: 10px;
  color: var(--green);
}

.text-link .arr {
  transition: transform 0.2s var(--ease-2);
}

.text-link:hover .arr {
  transform: translateX(2px);
}

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(247, 251, 248, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-2), box-shadow 0.25s var(--ease-2),
    background 0.25s var(--ease-2);
}

.site-header.is-scrolled {
  border-color: var(--line-2);
  background: rgba(247, 251, 248, 0.92);
  box-shadow: 0 10px 34px rgba(5, 26, 18, 0.045);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 26px;
}

.brand-divider {
  width: 1px;
  height: 16px;
  flex: none;
  background: var(--line);
}

.brand-tag {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
}

.brand-mark svg {
  width: 36px;
  height: 36px;
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-word strong {
  font-family: var(--font-latin);
  font-size: 17.5px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-word small {
  margin-top: 4px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--muted-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease-2), background 0.2s var(--ease-2);
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(10, 31, 20, 0.045);
}

.nav-links a.is-active {
  color: var(--green-deep);
  background: var(--mint);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--green-deep);
  white-space: nowrap;
}

.dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #13b878;
  flex: none;
}

.dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(19, 184, 120, 0.35);
  animation: pulse 2.4s var(--ease-2) infinite;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
}

.menu-btn svg {
  width: 18px;
  height: 18px;
}

.menu-btn .icon-close {
  display: none;
}

.menu-btn[aria-expanded="true"] .icon-menu {
  display: none;
}

.menu-btn[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-menu {
  position: fixed;
  inset: 76px 0 0;
  z-index: 80;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 18px var(--gutter) 36px;
  background: var(--bg);
  overflow-y: auto;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line-2);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mobile-menu a.m-link span {
  font-size: 12px;
  color: var(--muted-2);
  font-weight: 400;
}

.mobile-menu .btn {
  margin-top: 22px;
  width: 100%;
}

.mobile-menu .m-note {
  margin-top: 26px;
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.7;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 5.6vw, 68px) 0 0;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--line-2) 1px, transparent 1px);
  background-size: calc(100% / 4) 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  width: min(980px, 110vw);
  height: 660px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(11, 143, 99, 0.13), transparent 66%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 2px 10px rgba(5, 26, 18, 0.04);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-badge .tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(40px, 6.4vw, 80px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero h1 .line {
  display: block;
}

.hero-sub {
  max-width: 660px;
  margin: 20px auto 0;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-micro {
  margin-top: 18px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

.hero-fan {
  position: relative;
  z-index: 2;
  height: clamp(390px, 46vw, 610px);
  margin-top: clamp(28px, 3.6vw, 48px);
  perspective: 1400px;
}

.fan-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(250px, 32vw, 400px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: clamp(18px, 2vw, 28px);
  background: var(--dark-2);
  box-shadow: 0 34px 90px rgba(5, 26, 18, 0.3);
  transform-origin: 50% 92%;
  transition: transform 0.9s var(--ease), box-shadow 0.9s var(--ease);
  will-change: transform;
}

.fan-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.fan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 15, 10, 0.92) 0%,
    rgba(4, 15, 10, 0.42) 34%,
    rgba(4, 15, 10, 0.02) 68%
  );
}

.fan-card:hover img {
  transform: scale(1.045);
}

.fan-center {
  z-index: 3;
  width: clamp(290px, 36vw, 464px);
  transform: translateX(-50%) translateZ(0);
}

.fan-left {
  z-index: 2;
  transform: translateX(-118%) rotate(-7deg) translateZ(-70px) scale(0.92);
}

.fan-right {
  z-index: 2;
  transform: translateX(18%) rotate(7deg) translateZ(-70px) scale(0.92);
}

.hero-fan:hover .fan-left {
  transform: translateX(-124%) rotate(-8.5deg) translateZ(-60px) scale(0.925);
}

.hero-fan:hover .fan-right {
  transform: translateX(24%) rotate(8.5deg) translateZ(-60px) scale(0.925);
}

.hero-fan:hover .fan-center {
  transform: translateX(-50%) translateZ(20px);
}

.fan-label {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}

.fan-chip {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 22, 15, 0.34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: rgba(255, 255, 255, 0.72);
}

.fan-copy {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 2vw, 24px);
  right: clamp(18px, 2vw, 24px);
  bottom: clamp(18px, 2.4vw, 26px);
  color: #fff;
}

.fan-right .fan-copy {
  text-align: right;
}

.fan-right .fan-copy span {
  max-width: 200px;
  margin-left: auto;
}

.fan-copy strong {
  display: block;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.fan-copy span {
  display: block;
  margin-top: 6px;
  font-size: clamp(10.5px, 1vw, 12px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.hero-float {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 7px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(10, 31, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
  transform: translateX(-50%);
  white-space: nowrap;
}

.hero-float b {
  font-weight: 600;
  color: var(--green-deep);
}

.hero-scroll {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 22px 0 30px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.hero-scroll svg {
  width: 14px;
  height: 14px;
  animation: bob 2.2s var(--ease-2) infinite;
}

/* ---------- provider marquee ---------- */

.providers {
  padding: clamp(34px, 5vw, 56px) 0 clamp(56px, 8vw, 92px);
  border-bottom: 1px solid var(--line-2);
}

.providers-head {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.marquee {
  overflow: hidden;
  margin-top: 30px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.provider {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 30px;
  white-space: nowrap;
  font-family: var(--font-latin);
  font-size: clamp(17px, 2.1vw, 25px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  opacity: 0.36;
  transition: opacity 0.25s var(--ease-2);
}

.provider:hover {
  opacity: 0.8;
}

.provider.alt {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.provider.mono {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.provider i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.45;
}

.providers-link {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* ---------- routing band ---------- */

.routing {
  position: relative;
  overflow: clip;
  padding: clamp(80px, 10vw, 136px) 0;
  background: var(--dark);
  color: #eaf7f0;
}

.routing-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/routing-band.webp") center / cover no-repeat;
  opacity: 0.46;
}

.routing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #07160f 0%,
    rgba(7, 22, 15, 0.9) 38%,
    rgba(7, 22, 15, 0.38) 100%
  );
}

.routing::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000, transparent);
  pointer-events: none;
}

.routing .wrap {
  position: relative;
  z-index: 2;
}

.routing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.routing h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.042em;
  color: #f2fbf6;
}

.routing h2 .soft {
  color: #8fe3be;
}

.routing-sub {
  max-width: 520px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(234, 247, 240, 0.62);
}

.routing-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.routing-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 10.5px;
  color: rgba(234, 247, 240, 0.72);
}

.routing-points i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3ee39b;
}

.route-map {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: rgba(4, 17, 11, 0.38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 18px;
  overflow: hidden;
}

.route-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 42%, rgba(46, 213, 145, 0.14), transparent 62%);
  pointer-events: none;
}

.map-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: rgba(234, 247, 240, 0.58);
  text-transform: uppercase;
}

.map-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3ee39b;
  box-shadow: 0 0 0 4px rgba(62, 227, 155, 0.12);
}

.route-map svg {
  width: 100%;
  height: auto;
}

.route-mobile {
  display: none;
}

.route-line {
  fill: none;
  stroke: rgba(62, 227, 155, 0.34);
  stroke-width: 1.1;
  stroke-dasharray: 5 7;
  animation: dash 7s linear infinite;
}

.route-line.dim {
  stroke: rgba(62, 227, 155, 0.18);
}

.route-node {
  fill: rgba(7, 26, 17, 0.86);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1;
}

.route-node.hot {
  fill: rgba(8, 47, 31, 0.92);
  stroke: rgba(62, 227, 155, 0.5);
}

.route-text {
  fill: rgba(234, 247, 240, 0.72);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
}

.route-text.small {
  fill: rgba(234, 247, 240, 0.4);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.route-text.green {
  fill: #8fe3be;
}

.route-packet {
  fill: #3ee39b;
  filter: drop-shadow(0 0 5px rgba(62, 227, 155, 0.8));
}

.routing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: clamp(40px, 6vw, 64px);
}

.routing-feature {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.routing-feature svg {
  width: 20px;
  height: 20px;
  color: #8fe3be;
}

.routing-feature h3 {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #eaf7f0;
}

.routing-feature p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(234, 247, 240, 0.5);
}

/* ---------- model cards ---------- */

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(36px, 5vw, 52px);
}

.model-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 143, 99, 0.24);
  box-shadow: var(--shadow-md);
}

.model-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.model-tag {
  display: inline-flex;
  align-items: center;
  height: 23px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--green-deep);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.model-latency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
  white-space: nowrap;
}

.model-latency i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #13b878;
}

.model-name {
  margin-top: 22px;
  font-family: var(--font-latin);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.model-desc {
  flex: 1;
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--muted);
}

.model-price {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--line-2);
}

.model-price div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.model-price span {
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.model-price strong {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}

.model-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--green-deep);
}

.model-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease-2);
}

.model-card:hover .model-link svg {
  transform: translateX(3px);
}

.model-grid-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* ---------- home model plaza ---------- */

.plaza-panel {
  margin-top: clamp(28px, 4vw, 40px);
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.plaza-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.plaza-search {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 380px;
}

.plaza-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg);
}

.plaza-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: background 0.2s var(--ease-2), color 0.2s var(--ease-2);
}

.plaza-tab b {
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  color: var(--muted-2);
}

.plaza-tab:hover {
  color: var(--green-deep);
}

.plaza-tab.is-active {
  background: var(--green-cta);
  color: #fff;
  box-shadow: 0 4px 12px rgba(4, 92, 59, 0.15);
}

.plaza-tab.is-active b {
  color: rgba(255, 255, 255, 0.65);
}

.plaza-chips {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.plaza-chips .chip {
  height: 32px;
  padding: 0 10px;
  font-size: 10.5px;
}

.plaza-sort {
  margin-left: auto;
}

.plaza-sort select {
  height: 38px;
  font-size: 11px;
}

.plaza-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 2px 12px;
  font-size: 10px;
  color: var(--muted-2);
}

.plaza-note span:first-child {
  color: var(--ink-2);
  font-weight: 500;
}

.plaza-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.plaza-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.plaza-card:hover,
.plaza-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(11, 143, 99, 0.26);
  box-shadow: 0 18px 40px rgba(5, 26, 18, 0.08);
}

.plaza-name::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.plaza-card.is-hidden {
  display: none;
}

.plaza-card-top {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.plaza-logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green-deep);
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-openai {
  background: var(--ink);
  color: #fff;
}

.logo-anthropic {
  background: var(--green-deep);
  color: #fff;
}

.logo-google {
  background: #dff3e9;
  color: #0b6e4d;
}

.logo-deepseek {
  background: var(--green-cta);
  color: #fff;
}

.logo-qwen {
  background: #d7f0ea;
  color: #0a6f63;
}

.logo-bytedance {
  background: var(--lime);
  color: #163a12;
}

.logo-zai {
  background: #e5f3d8;
  color: #436a25;
}

.plaza-name-wrap {
  flex: 1;
  min-width: 0;
}

.plaza-name {
  display: -webkit-box;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.plaza-name:hover {
  color: var(--green-deep);
}

.plaza-provider {
  margin-top: 3px;
  overflow: hidden;
  font-size: 10px;
  color: var(--muted-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plaza-region {
  flex: none;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 8px;
  color: var(--muted);
  white-space: nowrap;
}

.plaza-region.is-cn {
  border-color: transparent;
  background: var(--mint);
  color: var(--green-deep);
}

.plaza-tagrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.plaza-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.plaza-tag {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--mint-2);
  font-size: 9px;
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
}

.plaza-tag.hot {
  background: var(--green-cta);
  color: #fff;
}

.plaza-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--green-deep);
  white-space: nowrap;
}

.plaza-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #13b878;
}

.plaza-desc {
  display: -webkit-box;
  flex: 1;
  overflow: hidden;
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.plaza-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line-2);
  font-size: 9px;
  color: var(--muted-2);
}

.plaza-modality {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.plaza-modality svg {
  width: 10px;
  height: 10px;
}

.plaza-context {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 8px;
  white-space: nowrap;
}

.plaza-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
}

.plaza-price span {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.plaza-price strong {
  display: block;
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.plaza-empty {
  display: none;
  padding: 48px 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

.plaza-empty.is-visible {
  display: block;
}

.plaza-empty .text-link {
  margin-top: 10px;
  font-size: 11.5px;
}


/* ---------- code section ---------- */

.code-section {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--surface-2);
}

.code-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.code-steps {
  margin-top: 28px;
}

.code-step {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
}

.code-step:last-child {
  border-bottom: 0;
}

.step-num {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-deep);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
}

.code-step h3 {
  font-size: 14px;
  font-weight: 600;
}

.code-step p {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.code-step code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(11, 143, 99, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green-deep);
}

.code-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: #08150f;
  box-shadow: 0 34px 80px rgba(5, 26, 18, 0.26);
}

.code-head {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.018);
}

.win-dots {
  display: flex;
  gap: 5px;
}

.win-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.win-dots i:first-child {
  background: rgba(255, 120, 110, 0.55);
}

.win-dots i:nth-child(2) {
  background: rgba(255, 200, 100, 0.5);
}

.win-dots i:nth-child(3) {
  background: rgba(80, 220, 150, 0.55);
}

.code-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 6px;
}

.code-tab {
  padding: 5px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s, background 0.2s;
}

.code-tab:hover {
  color: rgba(255, 255, 255, 0.72);
}

.code-tab.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: #9ff0c9;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s, border-color 0.2s;
}

.copy-btn:hover {
  color: #d6f8e6;
  border-color: rgba(62, 227, 155, 0.35);
}

.copy-btn svg {
  width: 11px;
  height: 11px;
}

.code-body {
  padding: 20px 22px 24px;
  overflow-x: auto;
}

.code-body pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.85;
  color: #c9e8d8;
  tab-size: 2;
}

.code-body pre[hidden] {
  display: none;
}

.tok-k {
  color: #8fe3be;
}

.tok-s {
  color: #c8f26b;
}

.tok-c {
  color: rgba(201, 232, 216, 0.38);
}

.tok-n {
  color: #f0b98a;
}

/* ---------- console mock ---------- */

.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}

.browser {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transform: perspective(1300px) rotateY(-1.6deg) rotateX(0.8deg);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.browser:hover {
  transform: perspective(1300px) rotateY(0deg) rotateX(0deg);
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-2);
  background: #f6faf7;
}

.browser-url {
  flex: 1;
  max-width: 300px;
  margin: 0 auto;
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted-2);
  text-align: center;
}

.mock {
  display: flex;
  min-height: 370px;
  font-size: 10px;
}

.mock-side {
  width: 138px;
  flex: none;
  padding: 13px 10px;
  border-right: 1px solid var(--line-2);
  background: #f8fbf9;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 12px;
  font-family: var(--font-latin);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mock-brand i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--green-cta);
  color: #fff;
  font-style: normal;
  font-size: 7px;
}

.mock-nav {
  display: grid;
  gap: 2px;
}

.mock-nav span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 7px;
  border-radius: 5px;
  color: var(--muted);
  font-size: 8.5px;
}

.mock-nav span.on {
  background: var(--mint);
  color: var(--green-deep);
  font-weight: 600;
}

.mock-nav span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 1.5px;
  background: currentColor;
  opacity: 0.5;
}

.mock-main {
  flex: 1;
  min-width: 0;
  padding: 14px 16px 16px;
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mock-top strong {
  font-size: 11px;
  font-weight: 600;
}

.mock-top span {
  padding: 3px 7px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  font-size: 7.5px;
  color: var(--muted-2);
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.mock-stat {
  padding: 8px 9px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: #fff;
}

.mock-stat span {
  display: block;
  font-size: 7px;
  color: var(--muted-2);
}

.mock-stat strong {
  display: block;
  margin-top: 2px;
  font-family: var(--font-latin);
  font-size: 12px;
  letter-spacing: -0.03em;
}

.mock-stat em {
  font-style: normal;
  font-size: 7px;
  color: var(--green);
}

.mock-chart {
  margin-top: 8px;
  padding: 10px 10px 4px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: #fff;
}

.mock-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 7.5px;
  color: var(--muted-2);
}

.mock-chart-head b {
  color: var(--green-deep);
  font-weight: 600;
}

.mock-chart svg {
  width: 100%;
  height: 62px;
}

.mock-table {
  margin-top: 8px;
  border: 1px solid var(--line-2);
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.6fr 0.5fr;
  gap: 6px;
  padding: 6px 9px;
  border-bottom: 1px solid var(--line-2);
  font-size: 7.5px;
  color: var(--muted);
}

.mock-row:last-child {
  border-bottom: 0;
}

.mock-row.head {
  background: #f8fbf9;
  font-size: 7px;
  color: var(--muted-2);
}

.mock-row b {
  font-weight: 500;
  color: var(--ink);
}

.mock-row .ok {
  color: var(--green);
}

.mock-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 7px;
  color: var(--muted-2);
}

.console-copy .h2 {
  margin-top: 18px;
}

.console-features {
  display: grid;
  gap: 2px;
  margin-top: 28px;
}

.console-feature {
  display: flex;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}

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

.icon-circle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-deep);
}

.icon-circle svg {
  width: 17px;
  height: 17px;
}

.console-feature h3 {
  font-size: 13.5px;
  font-weight: 600;
}

.console-feature p {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- stats ---------- */

.stats-band {
  border-top: 1px solid rgba(11, 143, 99, 0.12);
  border-bottom: 1px solid rgba(11, 143, 99, 0.12);
  background: var(--mint);
  padding: clamp(58px, 8vw, 94px) 0;
}

.stats-head {
  text-align: center;
}

.stats-head .h2 {
  margin-top: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(34px, 5vw, 52px);
}

.stat {
  padding: 4px clamp(14px, 2.4vw, 28px);
  border-left: 1px solid rgba(11, 143, 99, 0.14);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat:last-child {
  padding-right: 0;
}

.stat-num {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-latin);
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-num .unit {
  font-size: 0.36em;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green-deep);
}

.stat-label {
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.stats-note {
  margin-top: 30px;
  text-align: center;
  font-size: 10.5px;
  color: var(--muted-2);
}

/* ---------- steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(36px, 5vw, 52px);
}

.step-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.step-card .big-num {
  position: absolute;
  top: -18px;
  right: 8px;
  font-family: var(--font-latin);
  font-size: 92px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(11, 143, 99, 0.07);
  pointer-events: none;
}

.step-card h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.step-card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.step-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mint-2);
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--green-deep);
}

.steps-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

/* ---------- use cases ---------- */

.usecases {
  background: var(--surface-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(36px, 5vw, 52px);
}

.usecase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.usecase-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--dark-2);
}

.usecase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.usecase-card:hover .usecase-media img {
  transform: scale(1.045);
}

.usecase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 15, 10, 0.42), transparent 55%);
}

.usecase-tag {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.usecase-body {
  padding: 22px;
}

.usecase-body h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.usecase-body p {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.usecase-body .text-link {
  margin-top: 16px;
  font-size: 12px;
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 9px;
  max-width: 860px;
  margin: clamp(32px, 4vw, 46px) auto 0;
}

.faq-item {
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: background 0.25s var(--ease-2), border-color 0.25s var(--ease-2);
}

.faq-item[open] {
  border-color: rgba(11, 143, 99, 0.22);
  background: var(--mint-2);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  list-style: none;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-2), background 0.25s var(--ease-2);
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after {
  background: var(--green-deep);
}

.faq-answer {
  max-width: 96%;
  padding: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.faq-answer a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- final CTA ---------- */

.final-cta {
  position: relative;
  overflow: clip;
  padding: clamp(92px, 13vw, 168px) 0;
  background: var(--dark);
  color: #fff;
  text-align: center;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/closing-aurora.webp") center / cover no-repeat;
  opacity: 0.64;
  transform: scale(1.02);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 46%, rgba(7, 22, 15, 0.12), rgba(7, 22, 15, 0.74) 72%),
    linear-gradient(to bottom, rgba(7, 22, 15, 0.35), rgba(7, 22, 15, 0.55));
}

.final-cta .wrap {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  max-width: 900px;
  margin: 18px auto 0;
  font-size: clamp(36px, 5.4vw, 68px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #f4fbf7;
}

.final-cta p {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(234, 247, 240, 0.66);
}

.final-cta .hero-cta {
  margin-top: 30px;
}

.final-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.final-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- footer ---------- */

.site-footer {
  padding: clamp(56px, 7vw, 80px) 0 20px;
  background: var(--dark);
  color: #dcefe4;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.footer-brand .brand {
  color: #fff;
}

.site-footer .brand-logo {
  height: 28px;
}

.site-footer .brand-divider {
  background: rgba(255, 255, 255, 0.14);
}

.site-footer .brand-tag {
  color: rgba(220, 239, 228, 0.48);
}

.footer-brand .brand-word small {
  color: rgba(220, 239, 228, 0.42);
}

.footer-brand p {
  max-width: 340px;
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(220, 239, 228, 0.48);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 10px;
  color: rgba(220, 239, 228, 0.62);
}

.footer-status .dot {
  background: #3ee39b;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(220, 239, 228, 0.35);
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-top: 12px;
  font-size: 12.5px;
  color: rgba(220, 239, 228, 0.64);
  transition: color 0.2s var(--ease-2);
}

.footer-col a:hover {
  color: #b9f5d8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 10.5px;
  color: rgba(220, 239, 228, 0.38);
}

.footer-bottom div {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a:hover {
  color: #b9f5d8;
}

.footer-ghost {
  margin-top: 26px;
  overflow: hidden;
  font-family: var(--font-latin);
  font-size: clamp(56px, 13vw, 178px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.065em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  user-select: none;
  pointer-events: none;
}

/* ---------- inner page hero ---------- */

.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(62px, 8vw, 104px) 0 clamp(42px, 6vw, 70px);
  border-bottom: 1px solid var(--line-2);
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, var(--line-2) 1px, transparent 1px);
  background-size: calc(100% / 4) 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 92%);
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -280px;
  left: 50%;
  width: 820px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(11, 143, 99, 0.12), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.breadcrumb a:hover {
  color: var(--green-deep);
}

.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.048em;
}

.page-hero p {
  max-width: 700px;
  margin: 18px auto 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--muted);
}

.page-hero .hero-cta {
  margin-top: 26px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero-stat strong {
  font-family: var(--font-latin);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-stat span {
  font-size: 10.5px;
  color: var(--muted-2);
}

.hero-stat + .hero-stat {
  padding-left: clamp(18px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

/* ---------- models page ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: clamp(32px, 4vw, 44px);
}

.category-card {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--dark-2);
  text-align: left;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 15, 10, 0.82), rgba(4, 15, 10, 0.08) 65%);
}

.category-copy {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
}

.category-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.category-copy span {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.58);
  text-transform: uppercase;
}

.catalog {
  padding: clamp(52px, 7vw, 88px) 0 clamp(72px, 9vw, 112px);
}

.catalog-toolbar {
  position: sticky;
  top: 76px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  background: rgba(247, 251, 248, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 220px;
  max-width: 360px;
}

.search-box svg {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 14px;
  height: 14px;
  color: var(--muted-2);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 40px;
  padding: 0 14px 0 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12.5px;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input::placeholder {
  color: var(--muted-2);
}

.search-box input:focus {
  border-color: rgba(11, 143, 99, 0.38);
  box-shadow: 0 0 0 3px rgba(11, 143, 99, 0.1);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  height: 40px;
  padding: 0 32px 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
  color: var(--ink);
  outline: 0;
  appearance: none;
  cursor: pointer;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  width: 6px;
  height: 6px;
  border-right: 1.4px solid var(--muted);
  border-bottom: 1.4px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.filter-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 11px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover {
  border-color: rgba(11, 143, 99, 0.24);
  color: var(--green-deep);
}

.chip.is-active {
  background: var(--green-cta);
  border-color: var(--green-cta);
  color: #fff;
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 20px 0 14px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.catalog-meta b {
  color: var(--ink);
  font-weight: 600;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 154px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.catalog-card.is-filtered,
.catalog-card.is-limited {
  display: none;
}

.catalog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 143, 99, 0.26);
  box-shadow: 0 12px 30px rgba(5, 26, 18, 0.07);
}

.catalog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.provider-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: var(--muted-2);
}

.provider-pill i {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--mint);
  color: var(--green-deep);
  font-family: var(--font-latin);
  font-size: 8px;
  font-weight: 800;
  font-style: normal;
}

.tag-mini {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--mint-2);
  font-size: 9px;
  color: var(--green-deep);
  white-space: nowrap;
}

.catalog-name {
  margin-top: 12px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-price {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
}

.catalog-price span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
}

.catalog-price strong {
  display: block;
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.catalog-price .price-pair {
  display: flex;
  gap: 14px;
}

.catalog-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.empty-state {
  display: none;
  padding: 56px 20px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.empty-state.is-visible {
  display: block;
}

/* ---------- pricing page ---------- */

.calc-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.05fr;
  gap: 18px;
  align-items: end;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  margin-top: clamp(32px, 4vw, 44px);
}

.calc-field label {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.calc-field select,
.calc-field input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: 12px;
  color: var(--ink);
  outline: 0;
}

.calc-field select:focus,
.calc-field input:focus {
  border-color: rgba(11, 143, 99, 0.4);
  box-shadow: 0 0 0 3px rgba(11, 143, 99, 0.1);
}

.calc-result {
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--mint);
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-result span {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.calc-result strong {
  margin-top: 2px;
  font-family: var(--font-latin);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}

.calc-note {
  grid-column: 1 / -1;
  margin-top: -2px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.billing-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.billing-card h3 {
  font-size: 13.5px;
  font-weight: 600;
}

.billing-card p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.billing-card code {
  display: block;
  margin-top: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--mint-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--green-deep);
  word-break: break-word;
}

.table-section {
  padding: clamp(56px, 7vw, 88px) 0 clamp(72px, 9vw, 112px);
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.table-toolbar h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.table-toolbar .micro {
  margin-top: 4px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.price-table th {
  position: sticky;
  top: 76px;
  z-index: 5;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fbf9;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.price-table th[data-sort] {
  cursor: pointer;
  user-select: none;
}

.price-table th[data-sort]:hover {
  color: var(--green-deep);
}

.price-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-2);
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr:hover td {
  background: rgba(231, 246, 238, 0.38);
}

.price-table .model-id {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
}

.price-table .price {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink);
}

.price-table .group-pill {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--mint-2);
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--muted);
}

.price-table .row-link {
  font-size: 10px;
  color: var(--green-deep);
}

.price-table .row-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- docs ---------- */

.docs-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(40px, 5vw, 64px) 0 clamp(72px, 9vw, 112px);
}

.docs-nav {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 8px;
}

.docs-nav h2 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.docs-nav a {
  display: block;
  padding: 6px 0 6px 12px;
  border-left: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}

.docs-nav a:hover {
  color: var(--ink);
}

.docs-nav a.is-active {
  border-left-color: var(--green);
  color: var(--green-deep);
  font-weight: 500;
}

.docs-nav .sub {
  padding-left: 20px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.docs-content {
  min-width: 0;
  max-width: 860px;
}

.docs-content > section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line-2);
  scroll-margin-top: 100px;
}

.docs-content > section:first-child {
  padding-top: 0;
}

.docs-content > section:last-child {
  border-bottom: 0;
}

.docs-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.docs-content h3 {
  margin-top: 26px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  scroll-margin-top: 100px;
}

.docs-content h4 {
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
}

.docs-content p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--muted);
}

.docs-content ul {
  margin-top: 10px;
  padding-left: 18px;
  display: grid;
  gap: 7px;
}

.docs-content li {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.docs-content strong {
  color: var(--ink);
  font-weight: 600;
}

.docs-content code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--mint-2);
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--green-deep);
}

.docs-lead {
  padding: 18px 20px;
  border: 1px solid rgba(11, 143, 99, 0.16);
  border-radius: 14px;
  background: var(--mint-2);
  font-size: 13px !important;
  color: var(--ink-2) !important;
}

.docs-steps {
  display: grid;
  gap: 1px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.docs-step {
  display: grid;
  grid-template-columns: 30px 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 11px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-2);
  font-size: 11.5px;
  color: var(--muted);
}

.docs-step:last-child {
  border-bottom: 0;
}

.docs-step b {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--mint);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--green-deep);
}

.docs-step strong {
  font-size: 12px;
}

.docs-step span {
  font-size: 11px;
  color: var(--muted-2);
}

.endpoint {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
}

.endpoint-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
  background: #f8fbf9;
  flex-wrap: wrap;
}

.method {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.method.get {
  background: rgba(11, 143, 99, 0.12);
  color: var(--green-deep);
}

.method.post {
  background: rgba(240, 160, 60, 0.14);
  color: #9a6216;
}

.endpoint-head code {
  background: transparent;
  padding: 0;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
}

.endpoint-head > span:last-child {
  margin-left: auto;
  font-size: 9.5px;
  color: var(--muted-2);
}

.endpoint-body {
  padding: 14px 16px 16px;
}

.endpoint-body p {
  margin-top: 0;
  font-size: 12.5px;
}

.params {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
}

.params th {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  color: var(--muted-2);
}

.params td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line-2);
  font-size: 11px;
  color: var(--muted);
  vertical-align: top;
}

.params tr:last-child td {
  border-bottom: 0;
}

.params td:first-child {
  font-family: var(--font-mono);
  color: var(--ink);
}

.docs-code {
  margin-top: 12px;
  overflow: hidden;
  border-radius: 10px;
  background: #08150f;
}

.docs-code .code-head {
  height: 38px;
}

.docs-code .code-body {
  padding: 14px 16px 16px;
}

.docs-code .code-body pre {
  font-size: 10.5px;
  line-height: 1.75;
}

.toc-mobile {
  display: none;
}

/* ---------- about ---------- */

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.about-intro p {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
  color: var(--ink-2);
}

.about-intro p + p {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.about-image {
  margin-top: clamp(36px, 5vw, 56px);
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--dark-2);
}

.about-image img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.about-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  font-size: 10px;
  color: var(--muted-2);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(36px, 5vw, 52px);
}

.value-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.value-card .icon-circle {
  width: 40px;
  height: 40px;
}

.value-card h3 {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 600;
}

.value-card p {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.company-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  overflow: hidden;
  margin-top: clamp(36px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.company-info {
  padding: clamp(24px, 4vw, 38px);
}

.company-info h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.contact-list {
  display: grid;
  gap: 1px;
  margin-top: 22px;
  border-top: 1px solid var(--line-2);
}

.contact-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 12px;
}

.contact-row dt {
  color: var(--muted-2);
}

.contact-row dd {
  margin: 0;
  color: var(--ink-2);
}

.company-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 38px);
  background: var(--dark);
  color: #eaf7f0;
  overflow: hidden;
}

.company-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(62, 227, 155, 0.18), transparent 60%);
}

.company-aside > * {
  position: relative;
  z-index: 2;
}

.company-aside h4 {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(234, 247, 240, 0.45);
}

.company-aside p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(234, 247, 240, 0.72);
}

.company-aside .btn {
  align-self: flex-start;
  margin-top: 26px;
  background: #fff;
  color: var(--dark);
}

.compliance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.compliance a {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  color: var(--muted);
}

.compliance a:hover {
  color: var(--green-deep);
  border-color: rgba(11, 143, 99, 0.24);
}

/* ---------- topup ---------- */

.topup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(32px, 4vw, 44px);
}

.topup-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.topup-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.topup-card.featured {
  border-color: rgba(11, 143, 99, 0.28);
  background: linear-gradient(180deg, #f7fdf9 0%, #fff 64%);
}

.topup-tag {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--mint);
  font-size: 9px;
  font-weight: 600;
  color: var(--green-deep);
}

.topup-card h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.topup-card p {
  flex: 1;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.topup-card ul {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.topup-card li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted);
}

.topup-card li::before {
  content: "";
  width: 4px;
  height: 4px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.topup-card .btn {
  margin-top: 22px;
  width: 100%;
}

.quota-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-top: clamp(32px, 4vw, 44px);
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(11, 143, 99, 0.18);
  border-radius: 22px;
  background: var(--mint);
}

.quota-card h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.quota-card p {
  margin-top: 8px;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.quota-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.formula {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(11, 143, 99, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--green-deep);
  word-break: break-word;
}

/* ---------- service ---------- */

.service-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: clamp(32px, 4vw, 44px);
}

.service-stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.service-stat strong {
  display: block;
  font-family: var(--font-latin);
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.service-stat > span {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  color: var(--muted-2);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: clamp(36px, 5vw, 52px);
}

.service-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.service-card h3 {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
}

.service-card p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: clamp(36px, 5vw, 52px);
}

.flow-step {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.flow-step::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -7px;
  z-index: 2;
  font-size: 11px;
  color: var(--muted-2);
  transform: translateY(-50%);
}

.flow-step:last-child::after {
  display: none;
}

.flow-step b {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--green-deep);
}

.flow-step h4 {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
}

.flow-step p {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- login ---------- */

.login-page {
  background: var(--bg);
}

.login-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(20px, 4vw, 48px);
}

.login-header .brand {
  color: #fff;
}

.login-header .brand-logo {
  height: 28px;
}

.login-header .brand-divider {
  background: rgba(255, 255, 255, 0.2);
}

.login-header .brand-tag {
  color: rgba(255, 255, 255, 0.55);
}

.login-header .brand-word small {
  color: rgba(255, 255, 255, 0.5);
}

.login-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
}

.login-back:hover {
  color: #fff;
}

.login-shell {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: 100vh;
  min-height: 100dvh;
}

.login-visual {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 64px);
  background: var(--dark);
  color: #fff;
}

.login-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 15, 10, 0.98) 0%, rgba(4, 15, 10, 0.94) 40%, rgba(4, 15, 10, 0.8) 60%, rgba(4, 15, 10, 0.38) 80%, rgba(4, 15, 10, 0.06) 100%),
    linear-gradient(90deg, rgba(4, 15, 10, 0.55), transparent 62%);
}

.login-visual-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55);
}

.login-visual-copy .eyebrow {
  color: #eafff5;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.login-visual-copy .eyebrow::before {
  background: #3ee39b;
}

.login-visual-copy h1 {
  margin-top: 18px;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.login-visual-copy p {
  max-width: 430px;
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.login-facts {
  display: flex;
  gap: 22px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.login-fact strong {
  display: block;
  font-family: var(--font-latin);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.login-fact span {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.6);
}

.login-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(76px, 7vw, 100px) clamp(22px, 5vw, 64px) clamp(32px, 4vw, 48px);
  background: var(--bg);
}

.login-card {
  width: min(430px, 100%);
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.login-card .eyebrow {
  justify-content: flex-start;
}

.login-card h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.login-card-head p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 13px;
}

.field {
  display: grid;
  gap: 6px;
}

.field > span:first-child {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
}

.field input {
  width: 100%;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: 12.5px;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s var(--ease-2), box-shadow 0.2s var(--ease-2),
    background 0.2s var(--ease-2);
}

.field input::placeholder {
  color: var(--muted-2);
}

.field input:focus {
  border-color: rgba(11, 143, 99, 0.4);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 143, 99, 0.1);
}

.field-input {
  position: relative;
  display: block;
}

.field-input input {
  padding-right: 42px;
}

.eye-btn {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-2);
  transform: translateY(-50%);
}

.eye-btn:hover {
  background: var(--mint-2);
  color: var(--green-deep);
}

.eye-btn svg {
  width: 15px;
  height: 15px;
}

.eye-off {
  display: none;
}

.eye-btn.is-on .eye-open {
  display: none;
}

.eye-btn.is-on .eye-off {
  display: block;
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  width: 14px;
  height: 14px;
  accent-color: var(--green-cta);
}

.check-block {
  align-items: flex-start;
  line-height: 1.6;
}

.check-block input {
  margin-top: 2px;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  font-size: 10.5px;
  color: var(--green-deep);
  cursor: pointer;
}

.link-btn:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-submit {
  width: 100%;
  margin-top: 2px;
}

.form-status {
  min-height: 16px;
  margin: 0;
  font-size: 10.5px;
  line-height: 1.5;
  color: var(--muted-2);
}

.form-status.is-ok {
  color: var(--green-deep);
}

.form-status.is-error {
  color: #b23b2e;
}

.auth-switch {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted-2);
  text-align: center;
}

.auth-switch .link-btn {
  font-size: 10.5px;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.login-tabs {
  display: flex;
  gap: 3px;
  margin-top: 26px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.login-tab {
  flex: 1;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.login-tab.is-active {
  background: var(--green-cta);
  color: #fff;
}

.login-panel {
  margin-top: 22px;
}

.login-panel[hidden] {
  display: none;
}

.login-panel .btn {
  width: 100%;
  margin-top: 18px;
}

.login-panel .btn + .btn {
  margin-top: 8px;
}

.login-features {
  display: grid;
  gap: 1px;
  margin-top: 30px;
  border-top: 1px solid var(--line-2);
}

.login-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 11.5px;
  color: var(--muted);
}

.login-feature svg {
  width: 15px;
  height: 15px;
  color: var(--green);
  flex: none;
}

.login-note {
  margin-top: 22px;
  padding: 11px 13px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  font-size: 10px;
  line-height: 1.65;
  color: var(--muted-2);
}

.login-note a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 404 ---------- */

.nf {
  display: grid;
  place-items: center;
  min-height: 62vh;
  padding: 80px 0;
  text-align: center;
}

.nf-code {
  font-family: var(--font-latin);
  font-size: clamp(90px, 16vw, 200px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(11, 143, 99, 0.35);
}

.nf h1 {
  margin-top: 20px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.nf p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--muted);
}

.nf .hero-cta {
  margin-top: 24px;
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: -96;
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(3px);
  }
}

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

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav-links {
    gap: 0;
  }
  .nav-links a {
    padding: 8px 9px;
    font-size: 12.5px;
  }
  .status-chip {
    display: none;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .routing-grid,
  .code-grid,
  .console-grid,
  .split-head {
    grid-template-columns: 1fr;
  }
  .routing::before {
    background: linear-gradient(to bottom, rgba(7, 22, 15, 0.82), rgba(7, 22, 15, 0.9)),
      linear-gradient(90deg, rgba(7, 22, 15, 0.8), transparent);
  }
  .routing-sub {
    max-width: 620px;
  }
  .routing-features {
    grid-template-columns: repeat(3, 1fr);
  }
  .model-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .browser {
    transform: none;
  }
  .console-copy {
    order: -1;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .docs-layout {
    grid-template-columns: 1fr;
  }
  .docs-nav {
    display: none;
  }
  .toc-mobile {
    display: block;
    margin-bottom: 28px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
  }
  .toc-mobile summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
  }
  .toc-mobile .toc-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
    margin-top: 12px;
  }
  .toc-mobile a {
    font-size: 10.5px;
    color: var(--muted);
  }
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-visual {
    min-height: 380px;
    padding-top: 110px;
  }
  .login-header {
    color: #fff;
  }
  .login-main {
    padding-top: 48px;
  }
  .login-visual-copy h1 {
    max-width: 560px;
  }
}

@media (max-width: 820px) {
  .model-grid,
  .usecase-grid,
  .steps-grid,
  .values-grid,
  .topup-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }
  .model-card {
    min-height: 0;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 0;
  }
  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(2) {
    padding-right: 0;
  }
  .service-stats {
    grid-template-columns: 1fr 1fr;
  }
  .flow {
    grid-template-columns: 1fr 1fr;
  }
  .flow-step:nth-child(2)::after {
    display: none;
  }
  .calc-card {
    grid-template-columns: 1fr 1fr;
  }
  .calc-result {
    grid-column: 1 / -1;
  }
  .billing-grid {
    grid-template-columns: 1fr;
  }
  .company-card,
  .about-intro,
  .quota-card {
    grid-template-columns: 1fr;
  }
  .quota-actions {
    justify-content: flex-start;
  }
  .about-image img {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 620px) {
  .brand-word strong {
    font-size: 16px;
  }
  .brand-word small {
    font-size: 8.5px;
  }
  .nav-wrap {
    height: 68px;
  }
  .mobile-menu {
    inset: 68px 0 0;
  }
  .nav-actions .btn {
    height: 38px;
    padding: 0 14px;
    font-size: 11.5px;
  }
  .nav-actions .btn .arr {
    display: none;
  }
  .hero {
    padding-top: 42px;
  }
  .hero h1 {
    font-size: clamp(28px, 7.8vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.04em;
  }
  .hero-sub {
    font-size: 14.5px;
    line-height: 1.75;
  }
  .hero-cta .btn {
    width: 100%;
    max-width: 320px;
  }
  .hero-fan {
    height: min(430px, 108vw);
    margin-top: 30px;
  }
  .fan-card {
    width: 218px;
    border-radius: 18px;
  }
  .fan-left,
  .fan-right {
    display: none;
  }
  .hero-fan:hover .fan-center {
    transform: none;
  }
  .fan-center {
    width: min(304px, 78vw);
    transform: translateX(-50%);
  }
  .fan-copy strong {
    font-size: 21px;
  }
  .fan-copy span {
    font-size: 11px;
  }
  .hero-float {
    bottom: 4px;
    font-size: 10px;
    padding: 8px 12px;
  }
  .hero-scroll {
    padding: 18px 0 24px;
  }
  .providers {
    padding-top: 26px;
  }
  .provider {
    margin: 0 18px;
  }
  .routing-features {
    grid-template-columns: 1fr;
  }
  .route-map {
    padding: 12px;
    border-radius: 18px;
  }
  .route-map svg {
    display: none;
  }
  .route-mobile {
    display: grid;
    position: relative;
    z-index: 2;
    padding: 6px 0;
  }
  .route-m-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
  }
  .route-m-row.hot {
    border-color: rgba(62, 227, 155, 0.34);
    background: rgba(62, 227, 155, 0.07);
  }
  .route-m-row strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #eaf7f0;
  }
  .route-m-row small {
    display: block;
    margin-top: 2px;
    font-size: 9.5px;
    color: rgba(234, 247, 240, 0.5);
  }
  .route-m-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3ee39b;
    box-shadow: 0 0 0 4px rgba(62, 227, 155, 0.1);
    flex: none;
  }
  .route-m-line {
    width: 1px;
    height: 16px;
    margin-left: 17px;
    background: linear-gradient(rgba(62, 227, 155, 0.5), rgba(62, 227, 155, 0.08));
  }
  .route-m-chip {
    margin-left: auto;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(62, 227, 155, 0.1);
    font-family: var(--font-mono);
    font-size: 8px;
    color: #8fe3be;
    white-space: nowrap;
  }
  .code-body pre,
  .docs-code .code-body pre {
    font-size: 10px;
    line-height: 1.72;
  }
  .stats-grid {
    gap: 22px 0;
  }
  .stat {
    padding-left: 18px;
  }
  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .stat:nth-child(even) {
    padding-right: 0;
  }
  .stat-num {
    font-size: 40px;
  }
  .section {
    padding: 60px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-ghost {
    margin-top: 34px;
  }
  .page-hero {
    padding-top: 46px;
  }
  .page-hero p {
    font-size: 14px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    justify-content: initial;
    text-align: left;
  }
  .hero-stat + .hero-stat {
    padding-left: 0;
    border-left: 0;
  }
  .catalog-toolbar {
    top: 68px;
    align-items: stretch;
  }
  .search-box {
    max-width: none;
    flex: 1 1 100%;
  }
  .filter-chips {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .chip {
    flex: none;
  }
  .select-wrap {
    flex: 1;
  }
  .select-wrap select {
    width: 100%;
  }
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .category-card {
    aspect-ratio: 1 / 1;
  }
  .calc-card {
    grid-template-columns: 1fr;
  }
  .calc-result {
    grid-column: auto;
  }
  .table-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .price-table {
    min-width: 0;
    table-layout: fixed;
  }
  .price-table th:nth-child(1),
  .price-table td:nth-child(1) {
    width: 48%;
  }
  .price-table th:nth-child(4),
  .price-table td:nth-child(4) {
    width: 18%;
  }
  .price-table th:nth-child(5),
  .price-table td:nth-child(5) {
    width: 18%;
  }
  .price-table th:nth-child(6),
  .price-table td:nth-child(6) {
    width: 16%;
  }
  .price-table th:nth-child(2),
  .price-table td:nth-child(2),
  .price-table th:nth-child(3),
  .price-table td:nth-child(3) {
    display: none;
  }
  .price-table th,
  .price-table td {
    padding: 9px 7px;
    font-size: 10px;
  }
  .price-table .model-id {
    font-size: 9px;
    line-height: 1.45;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .price-table .price {
    font-size: 9px;
    white-space: nowrap;
  }
  .price-table .row-link {
    font-size: 9px;
  }
  .docs-step {
    grid-template-columns: 24px 1fr;
  }
  .docs-step span {
    grid-column: 2;
  }
  .endpoint-head span {
    margin-left: 0;
    width: 100%;
  }
  .login-visual {
    min-height: 420px;
    padding: 96px 22px 30px;
  }
  .login-visual-copy h1 {
    font-size: 32px;
  }
  .login-visual-copy p {
    font-size: 12px;
  }
  .login-facts {
    gap: 16px;
    margin-top: 22px;
  }
  .login-fact span {
    color: rgba(255, 255, 255, 0.7);
  }
  .login-fact strong {
    font-size: 17px;
  }
  .login-header {
    padding: 16px 20px;
  }
  .login-main {
    padding: 36px 20px 48px;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .flow-step::after {
    display: none;
  }
}

@media (max-width: 1080px) {
  .plaza-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .plaza-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .plaza-search {
    flex: 1 1 100%;
    max-width: none;
  }
  .plaza-sort {
    margin-left: 0;
  }
}

@media (max-width: 620px) {
  .plaza-panel {
    padding: 10px;
  }
  .plaza-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }
  .plaza-chips {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .plaza-sort {
    width: 100%;
  }
  .plaza-sort select {
    width: 100%;
  }
  .plaza-grid {
    grid-template-columns: 1fr;
  }
  .plaza-note {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .plaza-card {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .brand-divider,
  .brand-tag {
    display: none;
  }
  .brand-logo {
    height: 24px;
  }
}

@media (max-width: 480px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
  .login-card {
    padding: 20px;
  }
}
