:root {
  color-scheme: dark;
  --bg: #060a13;
  --bg-2: #0a1322;
  --panel: #0d1626;
  --panel-soft: #111d30;
  --panel-bright: #182740;
  --line: #1e2f49;
  --line-soft: #16233a;
  --text: #eaf3ff;
  --muted: #9aabc4;
  --dim: #6a7c96;
  --acid: #74e6ff;
  --acid-2: #9db0ff;
  --acid-soft: rgba(116, 230, 255, .12);
  --mint: #7defc4;
  --rose: #ff8fa4;
  --amber: #ffc978;
  --violet: #a6b4ff;
  --glass: rgba(18, 30, 50, .58);
  --glass-edge: rgba(160, 200, 255, .14);
  --radius: 18px;
  --radius-lg: 22px;
  --content: 1190px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--acid); color: #07121d; }

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 18% 30%, rgba(74, 113, 201, .13), transparent),
    radial-gradient(closest-side at 82% 22%, rgba(116, 230, 255, .09), transparent),
    radial-gradient(closest-side at 65% 82%, rgba(157, 176, 255, .1), transparent);
  filter: blur(46px);
  animation: ambient-drift 24s ease-in-out infinite alternate;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .028;
  z-index: 10;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.section-wrap {
  width: min(var(--content), calc(100% - 64px));
  margin: 0 auto;
}

.ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  line-height: 1;
  vertical-align: -.12em;
}
.ico svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .45s var(--ease-spring);
}

.button:hover .ico-arrow svg,
.hero-actions .button-primary:hover .ico-arrow svg {
  transform: translateX(3px);
}
.button:hover .ico-ext svg,
.text-link:hover .ico-ext svg,
.reference-action:hover .ico-ext svg,
.note-section > a:hover .ico-ext svg,
.float-label-bottom:hover .ico-ext svg {
  transform: translate(2px, -2px);
}
.mini-check.ico { color: var(--acid); width: 11px; height: 11px; vertical-align: 0; }
.mini-check.ico svg path {
  stroke-dasharray: 26;
  stroke-dashoffset: 26;
  animation: draw-check 1.2s var(--ease-out) forwards;
}

.topbar {
  height: 76px;
  width: 100%;
  padding: 0 max(32px, calc((100% - var(--content)) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(166, 201, 255, .09);
  background: rgba(8, 13, 23, .72);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  box-shadow: 0 10px 38px rgba(0, 0, 0, .12);
}

.brand { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; color: #f5f5f1; }
.brand-mark svg { width: 36px; height: 36px; filter: drop-shadow(0 0 12px rgba(116, 230, 255, .16)); transition: transform .5s var(--ease-spring), filter .4s ease; }
.brand:hover .brand-mark svg { transform: translateY(-2px) rotate(-4deg); filter: drop-shadow(0 0 16px rgba(116, 230, 255, .42)); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 18px; letter-spacing: -.8px; font-weight: 750; }
.brand-copy span { color: var(--dim); font-size: 9px; letter-spacing: 1.7px; margin-top: 4px; }

.topnav { display: flex; justify-content: center; gap: 28px; flex: 1; height: 100%; align-items: center; }
.nav-link { height: 100%; display: flex; align-items: center; color: #858990; font-size: 12px; position: relative; transition: color .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--acid); box-shadow: 0 0 10px rgba(116, 230, 255, .6); }

.top-actions { min-width: 220px; display: flex; align-items: center; justify-content: flex-end; gap: 19px; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: #adb0b5; white-space: nowrap; transition: color .25s ease; }
.status-pill:hover { color: var(--text); }

.status-dot, .pulse-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--acid);
  flex: 0 0 auto;
  animation: signal-breathe 2.4s ease-in-out infinite;
}

.button {
  border: 1px solid transparent;
  min-height: 46px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 12px;
  transition: transform .35s var(--ease-spring), background .25s ease, border-color .25s ease, box-shadow .3s ease;
  cursor: pointer;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: linear-gradient(115deg, #8ceaff, #8ab9ff);
  color: #07121d;
  box-shadow: 0 7px 24px rgba(116, 230, 255, .16), inset 0 1px rgba(255, 255, 255, .42);
}
.button-primary:hover {
  background: linear-gradient(115deg, #b4f3ff, #a6caff);
  box-shadow: 0 10px 32px rgba(116, 230, 255, .24);
}
.button-outline { border-color: #2a4058; color: var(--text); background: rgba(255, 255, 255, .025); }
.button-outline:hover { border-color: #5987a8; background: rgba(255, 255, 255, .055); }
.button-small { min-height: 35px; padding: 0 13px; border-radius: 8px; font-size: 11px; gap: 8px; }
.button-quiet { color: #d8dad5; background: transparent; }
.button-quiet:hover { color: var(--acid); }
.mobile-menu { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 69px;
  min-height: 540px;
}
.hero-copy { padding-top: 7px; }

.eyebrow, .section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--acid);
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 750;
}
.eyebrow-mark {
  height: 6px;
  width: 6px;
  background: var(--acid);
  display: inline-block;
  transform: rotate(45deg);
  box-shadow: 0 0 16px rgba(116, 230, 255, .5);
  animation: mark-turn 8s linear infinite;
}
.eyebrow-version {
  border: 1px solid #29445a;
  color: #8da8c5;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: .3px;
  margin-left: 1px;
  font-size: 9px;
}

.hero h1 {
  font-size: clamp(46px, 5.2vw, 68px);
  line-height: .99;
  letter-spacing: -4.1px;
  margin: 26px 0 22px;
  font-weight: 730;
}
.hero h1 span {
  background: linear-gradient(100deg, var(--acid) 0%, var(--acid-2) 40%, var(--mint) 70%, var(--acid) 100%);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 9s ease infinite;
}
.hero-lede { max-width: 458px; margin: 0; color: #9a9da2; line-height: 1.8; font-size: 14px; }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 29px; }
.hero-footnote { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #70757d; font-size: 10px; }
.foot-divider { width: 3px; height: 3px; background: #454950; border-radius: 50%; margin: 0 3px; }

.hero-visual {
  height: 390px;
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid #23262b;
  background: linear-gradient(135deg, #101b2d 0%, #0b1220 62%, #13253a 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(128deg, rgba(116, 230, 255, .12), transparent 32%, transparent 68%, rgba(137, 158, 255, .09));
  opacity: .8;
}
.visual-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 31px 31px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 86%);
}
.visual-orbit { position: absolute; border: 1px solid rgba(116, 230, 255, .16); border-radius: 50%; }
.orbit-one { width: 365px; height: 160px; top: 40px; right: -18px; transform: rotate(-24deg); }
.orbit-two { width: 430px; height: 210px; top: 20px; right: -48px; border-color: rgba(157, 176, 255, .14); transform: rotate(35deg); }
.visual-core {
  position: absolute;
  right: 112px;
  top: 76px;
  height: 98px;
  width: 98px;
  border-radius: 28px;
  transform: rotate(12deg);
  background: linear-gradient(135deg, #1b2f48, #0b1422);
  border: 1px solid rgba(116, 230, 255, .35);
  box-shadow: 0 0 80px rgba(116, 230, 255, .08), inset 0 1px 0 rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
  animation: core-float 7s ease-in-out infinite alternate;
}
.visual-core span { transform: rotate(-12deg); font-size: 49px; font-weight: 800; letter-spacing: -5px; color: var(--acid); }
.visual-core i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  right: 7px;
  top: 7px;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(116, 230, 255, .6);
  animation: signal-breathe 2.4s ease-in-out infinite;
}
.float-label {
  position: absolute;
  z-index: 2;
  border: 1px solid #363a3e;
  background: rgba(12, 22, 36, .82);
  color: #b2b6b4;
  border-radius: 8px;
  padding: 7px 10px;
  letter-spacing: .7px;
  font-size: 9px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.float-label-top { top: 29px; left: 27px; display: flex; align-items: center; gap: 8px; }
.float-label-bottom { right: 25px; top: 204px; color: #8d9294; letter-spacing: .2px; display: inline-flex; align-items: center; gap: 8px; }
.float-label-bottom .ico-ext { color: var(--acid); }
.tiny-signal { width: 5px; height: 5px; border-radius: 50%; background: var(--acid); animation: signal-breathe 2.4s ease-in-out infinite; }
.traffic { display: inline-flex; align-items: center; gap: 4px; }
.traffic i { height: 6px; width: 6px; border-radius: 50%; background: #54575e; }
.traffic i:first-child { background: #e56a68; }
.traffic i:nth-child(2) { background: #d7b35c; }
.traffic i:nth-child(3) { background: #81bb71; }

.response-card {
  position: absolute;
  left: 27px;
  bottom: 25px;
  width: min(360px, calc(100% - 54px));
  z-index: 3;
  background: rgba(10, 18, 31, .96);
  border: 1px solid #29415a;
  border-radius: 14px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.response-heading { height: 39px; border-bottom: 1px solid #22334a; display: flex; align-items: center; gap: 10px; padding: 0 13px; color: #8d9398; font-size: 10px; }
.response-code { margin-left: auto; color: var(--acid); font-size: 9px; }
.response-card pre { margin: 0; padding: 16px 18px 14px; font-size: 10px; line-height: 1.7; overflow: hidden; color: #d6d9d4; }
.json-purple { color: var(--violet); }
.json-key { color: #b2c0f7; }
.json-green { color: var(--acid); }
.json-string { color: #e4bd8e; }
.response-footer { border-top: 1px solid #22334a; height: 33px; display: flex; justify-content: space-between; align-items: center; padding: 0 13px; font-size: 9px; color: #686e73; }
.response-footer > span:first-child { display: flex; align-items: center; gap: 7px; }
.response-footer .pulse-dot { width: 5px; height: 5px; }

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 110px;
  align-items: center;
  margin-bottom: 104px;
}
.stat-item { padding: 0 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.stat-item:first-child { padding-left: 2px; }
.stat-item:last-child { border: 0; }
.stat-number { font-size: 25px; font-weight: 700; letter-spacing: -.8px; display: flex; align-items: center; gap: 9px; }
.stat-label { color: #777d83; font-size: 11px; display: flex; align-items: center; gap: 7px; }

.metric-icon { width: 13px; height: 13px; display: inline-block; position: relative; flex: 0 0 auto; color: #a0a59b; }
.metric-icon::before, .metric-icon::after { content: ""; position: absolute; border: 1px solid currentColor; border-radius: 2px; }
.metric-requests::before { left: 1px; right: 1px; bottom: 1px; height: 8px; border-top: 0; }
.metric-requests::after { left: 2px; bottom: 2px; width: 2px; height: 4px; background: currentColor; box-shadow: 4px -2px 0 -.5px currentColor, 8px -5px 0 -.5px currentColor; }
.metric-success { border-radius: 50%; background: rgba(116, 230, 255, .11); }
.metric-success::before { left: 3px; top: 4px; width: 5px; height: 3px; border: 0; border-left: 1px solid var(--acid); border-bottom: 1px solid var(--acid); border-radius: 0; transform: rotate(-45deg); }
.metric-error { border: 1px solid var(--rose); border-radius: 50%; }
.metric-error::before { left: 5px; top: 2px; height: 4px; border-width: 0 0 0 1px; border-radius: 0; }
.metric-error::after { left: 5px; bottom: 2px; width: 1px; height: 1px; border: 0; background: var(--rose); }
.metric-block::before { inset: 1px 2px 1px 2px; border-radius: 3px 3px 2px 2px; }
.metric-block::after { left: 4px; top: 4px; right: 4px; bottom: 4px; border-radius: 1px; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-kicker { font-size: 9px; letter-spacing: 1.6px; }
h2 { font-size: clamp(29px, 3.4vw, 39px); letter-spacing: -1.9px; line-height: 1.12; margin: 13px 0 11px; font-weight: 700; }
.section-heading p { margin: 0; color: #858a90; font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: 11px; color: #c5c8c3; padding-bottom: 5px; transition: color .25s ease; }
.text-link:hover { color: var(--acid); }
.text-link .ico-ext { color: var(--acid); }

.route-count {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  padding: 5px 8px;
  margin-left: 5px;
  border: 1px solid #333a2e;
  border-radius: 8px;
  color: var(--acid);
  background: rgba(116, 230, 255, .06);
  font-size: 10px;
  line-height: 1;
  letter-spacing: .2px;
  font-weight: 650;
}

.live-usage { margin: -36px auto 86px; }
.usage-section-heading { align-items: flex-end; }
.live-indicator { display: flex; align-items: center; gap: 8px; border: 1px solid #2b3425; border-radius: 8px; padding: 8px 10px; color: #9fa79a; white-space: nowrap; font-size: 10px; }
.live-indicator .status-dot { width: 6px; height: 6px; background: var(--acid); box-shadow: 0 0 12px rgba(116, 230, 255, .5); }
.usage-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 13px; }
.usage-card {
  min-width: 0;
  border: 1px solid rgba(153, 190, 236, .13);
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(22, 34, 52, .78), rgba(13, 21, 35, .92));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 14px 34px rgba(0, 0, 0, .1);
}
.usage-chart-card, .popular-card { padding: 20px 21px 17px; }
.usage-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.usage-overline { display: block; margin-bottom: 5px; color: #777f83; font-size: 8px; letter-spacing: 1.55px; font-weight: 750; }
.usage-card h3 { margin: 0; color: #e8eae5; font-size: 15px; letter-spacing: -.25px; font-weight: 620; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 7px; border: 1px solid #304027; border-radius: 5px; background: #161d12; color: #c9f99c; font-size: 8px; font-weight: 750; letter-spacing: .8px; }
.live-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 8px rgba(116, 230, 255, .6); animation: signal-breathe 2.4s ease-in-out infinite; }
.chart-summary { display: flex; align-items: baseline; gap: 8px; margin-top: 19px; color: #777e80; font-size: 9px; flex-wrap: wrap; }
.chart-summary > strong { font-size: 27px; color: #f0f1ed; letter-spacing: -1.2px; font-weight: 620; }
.chart-errors { margin-left: auto; color: #9a7774; }
.chart-errors b { color: #f18e86; font-weight: 600; }

.usage-chart {
  height: 112px;
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding-top: 10px;
  overflow: hidden;
  border-bottom: 1px solid #2a2d30;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(255, 255, 255, .035) 28px);
}
.chart-bar { flex: 1 1 0; align-self: flex-end; min-width: 2px; height: 100%; display: flex; align-items: flex-end; position: relative; }
.chart-bar-fill { display: block; width: 100%; min-height: 2px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #74e6ff 0%, rgba(153, 207, 73, .42) 100%); opacity: .85; height: 2%; transition: height .4s var(--ease-out), opacity .2s ease; }
.chart-bar.has-errors .chart-bar-fill { background: linear-gradient(180deg, #74e6ff 0%, #b6b56b 60%, #f17c76 100%); }
.chart-bar:hover .chart-bar-fill { opacity: 1; }
.chart-empty { width: 100%; display: grid; place-items: center; color: #62686b; font-size: 10px; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 7px; color: #62696d; font-size: 8px; }
.chart-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 18px; color: #777e81; font-size: 9px; }
.chart-foot strong { color: #d8dbd4; font-size: 10px; font-weight: 600; margin-right: 7px; }
.chart-foot-divider { width: 1px; height: 13px; background: #34383c; margin: 0 5px; }

.popular-card .usage-card-head > svg { width: 18px; height: 18px; fill: none; stroke: #9ca492; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.popular-list { display: grid; gap: 16px; margin-top: 23px; }
.popular-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 7px; align-items: center; }
.popular-route { overflow: hidden; color: #b8bcb6; text-overflow: ellipsis; white-space: nowrap; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.popular-count { color: #e0e5d7; font-size: 10px; font-weight: 650; font-variant-numeric: tabular-nums; }
.popular-track { grid-column: 1 / -1; height: 3px; overflow: hidden; border-radius: 4px; background: #2a2d2e; }
.popular-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7defc4, #74e6ff); transition: width .5s var(--ease-out); }
.usage-muted-note { margin-top: 21px; color: #61686b; font-size: 9px; line-height: 1.6; }

.activity-card { margin-top: 13px; padding: 20px 21px 0; }
.activity-refresh { color: #6c7475; font-size: 9px; }
.activity-table-wrap { overflow-x: auto; margin-top: 18px; }
.activity-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.activity-table th { padding: 10px 11px; color: #687073; border-top: 1px solid #25292d; border-bottom: 1px solid #25292d; font-size: 8px; text-transform: uppercase; letter-spacing: 1px; font-weight: 650; }
.activity-table td { padding: 12px 11px; color: #a6aca5; border-bottom: 1px solid #202429; font-size: 10px; }
.activity-table tbody tr:last-child td { border-bottom: 0; }
.activity-route { max-width: 390px; overflow: hidden; display: block; color: #ced2ca; text-overflow: ellipsis; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; }
.activity-outcome { display: inline-flex; align-items: center; gap: 5px; color: #c3ed92; }
.activity-outcome.error { color: #f18e86; }
.activity-outcome::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.activity-status { font-variant-numeric: tabular-nums; }
.activity-status.bad { color: #f18e86; }
.activity-latency, .activity-time { color: #7e8587; font-variant-numeric: tabular-nums; }
.activity-empty { padding: 22px !important; text-align: center; color: #656c6e !important; font-size: 10px !important; }
.activity-privacy { min-height: 44px; display: flex; align-items: center; gap: 8px; border-top: 1px solid #25292d; color: #6c7374; font-size: 9px; }
.activity-privacy svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: #9aae8a; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.endpoints-section { margin-bottom: 108px; }
.endpoint-controls { display: flex; gap: 10px; margin-bottom: 17px; }
.searchbox {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #282c30;
  border-radius: 10px;
  padding: 0 13px;
  flex: 1;
  min-width: 0;
  background: rgba(16, 22, 32, .7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.searchbox:focus-within { border-color: rgba(116, 230, 255, .62); box-shadow: 0 0 0 3px rgba(116, 230, 255, .08); }
.searchbox svg { width: 16px; height: 16px; fill: none; stroke: #7b8186; stroke-width: 1.6; flex: 0 0 auto; }
.searchbox input { min-width: 0; flex: 1; background: transparent; border: 0; outline: 0; color: var(--text); font-size: 11px; }
.searchbox input::placeholder { color: #646970; }

.filter-wrap, .field-select {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(16, 22, 32, .7);
  border: 1px solid #282c30;
  border-radius: 10px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.filter-wrap:focus-within, .field-select:focus-within { border-color: rgba(116, 230, 255, .5); box-shadow: 0 0 0 3px rgba(116, 230, 255, .07); }
.filter-wrap select, .field-select select { appearance: none; -webkit-appearance: none; background: transparent; color: #c1c5c2; border: 0; outline: 0; min-width: 172px; padding: 0 35px 0 13px; height: 41px; font-size: 11px; cursor: pointer; }
.filter-wrap > .ico, .field-select > .ico { position: absolute; right: 13px; color: #7d8287; pointer-events: none; width: 13px; height: 13px; transition: transform .3s var(--ease-spring), color .25s ease; }
.filter-wrap:focus-within > .ico, .field-select:focus-within > .ico { color: var(--acid); transform: rotate(180deg); }
select option { background: #111316; color: var(--text); }

.endpoint-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.endpoint-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(153, 190, 236, .13);
  background: linear-gradient(145deg, rgba(22, 34, 52, .8), rgba(12, 20, 33, .9));
  border-radius: 13px;
  padding: 16px 15px 14px;
  min-height: 157px;
  transition: border-color .3s ease, transform .4s var(--ease-spring), background .3s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 14px 34px rgba(0, 0, 0, .08);
}
.endpoint-card:hover {
  border-color: rgba(116, 230, 255, .42);
  transform: translateY(-3px);
  background: linear-gradient(145deg, #1c2f47, #101d30);
  box-shadow: 0 18px 44px rgba(3, 8, 18, .22), 0 0 0 1px rgba(116, 230, 255, .05), 0 0 32px rgba(116, 230, 255, .05);
}
.endpoint-card-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.provider-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  height: 34px;
  width: 34px;
  border-radius: 10px;
  background: #172a40;
  color: var(--acid);
  border: 1px solid rgba(116, 230, 255, .14);
}
.provider-mark svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-spring); }
.endpoint-card:hover .provider-mark svg { transform: translateY(-2px) rotate(-6deg) scale(1.06); }
.provider-title { min-width: 0; flex: 1; }
.provider-title strong { display: block; font-size: 12px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.provider-title span { display: block; margin-top: 2px; color: #777d83; font-size: 10px; }
.endpoint-category { margin-left: auto; color: #a3a7a5; border: 1px solid #303338; border-radius: 6px; padding: 2px 6px; line-height: 1.5; white-space: nowrap; font-size: 8px; letter-spacing: .15px; }
.endpoint-card p { color: #7e8389; font-size: 10.5px; line-height: 1.6; margin: 13px 0 12px; flex: 1; }
.endpoint-card-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #25282d; padding-top: 10px; gap: 8px; flex-wrap: wrap; }
.endpoint-card-foot > code { max-width: 100%; overflow-wrap: anywhere; font-size: 9px; color: #abb0b2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.endpoint-actions { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; }
.endpoint-use, .endpoint-docs { flex: 0 0 auto; }
.endpoint-docs { border: 1px solid #33373c; border-radius: 7px; padding: 7px 9px; color: #a9b1a0; background: #171a1d; font-size: 9px; cursor: pointer; transition: border-color .25s ease, color .25s ease, background .25s ease; }
.endpoint-docs:hover { color: var(--acid); border-color: #52663c; background: #1a2115; }
.endpoint-use { border: 0; background: transparent; color: var(--acid); font-size: 10px; cursor: pointer; padding: 7px 9px; display: inline-flex; align-items: center; gap: 5px; border-radius: 7px; transition: color .25s ease, background .25s ease; }
.endpoint-use:hover { color: #c8f7ff; background: rgba(116, 230, 255, .06); }
.endpoint-use .ico { width: .9em; height: .9em; }
.endpoint-use:hover .ico svg { transform: translateX(3px); }

.loading-card, .empty-card { grid-column: 1 / -1; border: 1px dashed #2b2e33; border-radius: 12px; padding: 30px; color: #7a8087; font-size: 12px; text-align: center; }
.loading-line { display: block; width: 110px; height: 2px; border-radius: 2px; margin: 14px auto 0; background: linear-gradient(90deg, transparent, var(--acid), transparent); animation: loadline 1.3s infinite ease-in-out; }
.empty-card strong { display: block; color: #d1d4ce; margin-bottom: 5px; }
.endpoint-bottom { margin-top: 15px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: #6d7379; }
.endpoint-note { display: inline-flex; align-items: center; gap: 8px; }
.endpoint-note .status-dot { width: 5px; height: 5px; }

.quickstart-section {
  background: #0d131c;
  border-top: 1px solid #25282d;
  border-bottom: 1px solid #25282d;
  padding: 76px 0 80px;
  margin-bottom: 99px;
  position: relative;
  overflow: hidden;
}
.quickstart-section::before {
  content: "";
  pointer-events: none;
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -250px;
  top: -290px;
  border: 1px solid rgba(116, 230, 255, .05);
  box-shadow: 0 0 0 55px rgba(116, 230, 255, .018), 0 0 0 110px rgba(116, 230, 255, .014);
}
.quickstart-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; position: relative; }
.quickstart-copy h2 { font-size: clamp(34px, 4vw, 44px); margin-top: 16px; }
.quickstart-copy > p { max-width: 390px; color: #858a8f; line-height: 1.8; font-size: 12px; }
.quickstart-copy > p code, .quickstart-list code { color: #d9efae; background: #252820; padding: 2px 5px; border-radius: 4px; font-size: 10px; }
.quickstart-list { margin-top: 27px; display: flex; flex-direction: column; gap: 17px; }
.quickstart-list > div { display: flex; align-items: flex-start; gap: 13px; }
.quickstart-list > div > span { font-size: 9px; color: var(--acid); border: 1px solid #353a2e; border-radius: 5px; padding: 4px 6px; line-height: 1.4; }
.quickstart-list p { margin: 0; display: flex; flex-direction: column; gap: 3px; }
.quickstart-list strong { font-size: 11px; font-weight: 650; }
.quickstart-list small { color: #7e848a; font-size: 10px; }

.code-window { min-width: 0; border-radius: 14px; border: 1px solid #303339; overflow: hidden; background: #0b0c0e; box-shadow: 0 25px 80px rgba(0, 0, 0, .18); }
.code-window-top { display: flex; align-items: center; gap: 12px; padding: 0 15px; height: 48px; border-bottom: 1px solid #22334a; color: #7d8389; font-size: 10px; }
.code-window-top > span { flex: 1; }
.copy-button, .bare-copy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: transparent; color: #aeb3b2; border: 0; font-size: 9px; cursor: pointer; white-space: nowrap; transition: color .25s ease; }
.copy-button:hover, .bare-copy:hover:not(:disabled) { color: var(--acid); }
.copy-button svg, .bare-copy svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.code-tabs { display: flex; gap: 18px; height: 43px; align-items: center; padding: 0 18px; border-bottom: 1px solid #22334a; }
.code-tab { border: 0; background: transparent; color: #6d7278; height: 100%; font-size: 10px; position: relative; cursor: pointer; transition: color .25s ease; }
.code-tab.active { color: var(--acid); }
.code-tab.active::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--acid); box-shadow: 0 0 10px rgba(116, 230, 255, .5); }
.code-content { min-height: 163px; margin: 0; padding: 21px 19px; overflow: auto; line-height: 1.9; font-size: 11px; color: #d4d8d1; white-space: pre; }
.code-content code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.code-window-footer { min-height: 37px; border-top: 1px solid #22334a; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; font-size: 9px; color: #70767b; }
.code-window-footer > span:first-child { display: flex; align-items: center; gap: 7px; }
.footer-check { color: var(--acid); font-style: normal; width: 12px; height: 12px; }
.footer-check svg path { stroke-dasharray: 26; stroke-dashoffset: 26; animation: draw-check 1.2s var(--ease-out) .2s forwards; }

.reference-section { margin-bottom: 82px; }
.reference-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.reference-card {
  min-width: 0;
  min-height: 236px;
  padding: 21px 20px 18px;
  border: 1px solid rgba(153, 190, 236, .13);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20, 24, 30, .92), rgba(14, 18, 24, .96));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 14px 34px rgba(0, 0, 0, .08);
  transition: border-color .3s ease, box-shadow .35s ease, transform .4s var(--ease-spring);
}
.reference-card:hover { border-color: rgba(116, 230, 255, .32); box-shadow: 0 18px 44px rgba(3, 8, 18, .22), 0 0 32px rgba(116, 230, 255, .04); transform: translateY(-2px); }
.reference-icon { width: 33px; height: 33px; display: grid; place-items: center; margin-bottom: 18px; color: var(--acid); border: 1px solid #35402c; background: rgba(116, 230, 255, .06); border-radius: 10px; transition: transform .4s var(--ease-spring); }
.reference-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-spring); }
.reference-card:hover .reference-icon svg { transform: translateY(-2px) rotate(-5deg) scale(1.05); }
.reference-icon.reference-success { color: #b9d9ff; border-color: #2a3949; background: rgba(137, 182, 255, .06); }
.reference-icon.reference-warning { color: #e5c27a; border-color: #463c29; background: rgba(229, 194, 122, .06); }
.reference-icon.reference-lock { color: #c4b9ff; border-color: #38344a; background: rgba(164, 150, 255, .06); }
.reference-card h3 { margin: 0 0 9px; font-size: 14px; font-weight: 620; letter-spacing: -.2px; }
.reference-card p { margin: 0; color: #8b9192; font-size: 10px; line-height: 1.8; }
.reference-card code { color: #d4dfbd; font-family: "SFMono-Regular", Consolas, monospace; font-size: .94em; }
.reference-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.reference-meta > span { padding: 5px 7px; color: #a5b992; border: 1px solid #303a29; border-radius: 5px; background: rgba(116, 230, 255, .04); font-size: 8px; }
.reference-meta > code { overflow: hidden; color: #9da59b; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; }
.reference-code { margin-top: 17px; overflow: auto; border: 1px solid #282e28; border-radius: 7px; padding: 8px; background: #0d100e; }
.reference-code code { font-size: 8px; white-space: nowrap; }
.status-code-list { display: grid; gap: 7px; }
.status-code-list div { display: flex; align-items: center; gap: 9px; color: #8d9392; font-size: 9px; }
.status-code-list code { width: 31px; padding: 3px 0; border-radius: 4px; background: #25201b; color: #e5c27a; text-align: center; }
.reference-action { display: inline-flex; align-items: center; gap: 7px; margin-top: 19px; color: #c4d5b0; font-size: 10px; font-weight: 600; transition: color .25s ease; }
.reference-action:hover { color: var(--acid); }
.reference-action .ico-ext { color: var(--acid); }

.playground-section { margin-bottom: 91px; }
.playground-heading { align-items: center; }
.playground-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #2d3327; color: #b7c6a0; border-radius: 100px; padding: 7px 11px; font-size: 9px; white-space: nowrap; }
.playground-chip .status-dot { width: 5px; height: 5px; }
.playground-grid { display: grid; grid-template-columns: .83fr 1.17fr; gap: 13px; }
.request-panel, .result-panel {
  min-width: 0;
  border: 1px solid #282b30;
  border-radius: 15px;
  background: linear-gradient(160deg, rgba(16, 22, 32, .85), rgba(11, 16, 24, .95));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: inset 0 1px rgba(255, 255, 255, .03), 0 14px 34px rgba(0, 0, 0, .1);
  overflow: hidden;
}
.request-panel { padding: 22px; }
.panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.panel-index { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #32362f; background: #1b1e18; color: var(--acid); border-radius: 9px; font-size: 10px; }
.panel-title > div { display: flex; flex-direction: column; gap: 2px; }
.panel-title strong { font-size: 12px; font-weight: 650; }
.panel-title small { font-size: 10px; color: #747a80; }

.field-label { display: block; font-size: 10px; color: #b1b5b2; margin: 0 0 7px; }
.field-select { width: 100%; margin-bottom: 20px; }
.field-select select { width: 100%; min-width: 0; height: 43px; color: #d6d9d3; }
.url-input { width: 100%; height: 43px; border: 1px solid #2d3035; background: rgba(11, 16, 24, .8); border-radius: 9px; padding: 0 12px; color: var(--text); outline: 0; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; transition: border-color .25s ease, box-shadow .25s ease; }
.url-input:focus { border-color: #65724a; box-shadow: 0 0 0 3px rgba(116, 230, 255, .06); }
.url-input::placeholder { color: #5f656b; }
.request-hint { display: flex; align-items: flex-start; gap: 7px; color: #747a80; line-height: 1.6; font-size: 9px; margin: 11px 0 17px; }
.hint-icon { flex: 0 0 auto; display: grid; place-items: center; width: 13px; height: 13px; border: 1px solid #747a80; border-radius: 50%; line-height: 1; font-size: 8px; }
.run-button { width: 100%; justify-content: space-between; border: 0; }
.run-button:disabled { opacity: .6; cursor: wait; transform: none; }
.run-arrow { font-size: 16px; width: 1.1em; height: 1.1em; }
.request-path { margin-top: 16px; display: flex; align-items: center; gap: 8px; min-width: 0; }
.method-tag { color: var(--acid); background: #22281b; border: 1px solid #353e2b; padding: 3px 5px; border-radius: 5px; font-size: 8px; font-weight: 750; }
.request-path code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #858b90; font-size: 9px; }

.result-panel { display: flex; flex-direction: column; }
.result-title { padding: 20px 20px 0; margin-bottom: 16px; }
.result-badge { margin-left: auto; border: 1px solid #35383e; border-radius: 6px; padding: 4px 7px; color: #82878c; font-size: 9px; transition: color .25s ease, border-color .25s ease, background .25s ease; }
.result-badge.good { color: var(--acid); border-color: #35422a; background: #191e13; }
.result-badge.bad { color: var(--rose); border-color: #4a2b2a; background: #211313; }
.result-meta { padding: 0 20px 13px; display: flex; align-items: center; gap: 22px; border-bottom: 1px solid #25282d; color: #6f757b; font-size: 8px; letter-spacing: .8px; }
.result-meta strong { display: inline-block; color: #d4d7d2; margin-left: 5px; font-size: 10px; letter-spacing: 0; font-weight: 550; }
.result-meta .bare-copy { margin-left: auto; font-size: 9px; letter-spacing: 0; }
.bare-copy:disabled { opacity: .35; cursor: default; }
.result-code { padding: 5px 0; flex: 1; min-height: 258px; max-height: 410px; overflow: auto; }
.result-code pre { margin: 0; padding: 14px 20px 20px; font-size: 10px; line-height: 1.8; white-space: pre-wrap; word-break: break-word; color: #d2d6cf; }
.result-code code { font-family: "SFMono-Regular", Consolas, monospace; }
.result-foot { padding: 0 20px; min-height: 36px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #25282d; color: #70767b; font-size: 9px; }
.result-foot > span:first-child { display: flex; align-items: center; gap: 7px; }
.result-dot { width: 5px; height: 5px; border-radius: 50%; background: #676d72; display: inline-block; transition: background .25s ease; }
.result-dot.good { background: var(--acid); box-shadow: 0 0 8px rgba(116, 230, 255, .6); }
.result-dot.bad { background: var(--rose); box-shadow: 0 0 8px rgba(255, 143, 164, .5); }

.note-section { border: 1px solid #2b2e33; background: linear-gradient(110deg, #151719, #111316); border-radius: 13px; padding: 18px 20px; margin-bottom: 69px; display: flex; align-items: center; gap: 15px; }
.note-icon { width: 37px; height: 37px; border-radius: 10px; display: grid; place-items: center; background: #252216; color: #d8ba6a; border: 1px solid #3d3622; flex: 0 0 auto; }
.note-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.note-section > div:nth-child(2) { flex: 1; }
.note-section strong { display: block; font-size: 11px; font-weight: 650; }
.note-section p { color: #858a8e; font-size: 10px; margin: 4px 0 0; line-height: 1.6; }
.note-section > a { color: #bec3ba; font-size: 10px; white-space: nowrap; display: inline-flex; align-items: center; gap: 5px; transition: color .25s ease; }
.note-section > a .ico-ext { color: var(--acid); }
.note-section > a:hover { color: var(--acid); }
.developer-inline { margin-left: auto; }

.footer { min-height: 82px; border-top: 1px solid #22252a; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #777d82; font-size: 10px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: #c9ccc5; font-size: 11px; font-weight: 650; }
.footer-mark { display: grid; place-items: center; width: 23px; height: 23px; background: #1d2118; border: 1px solid #333d28; border-radius: 7px; color: var(--acid); font-size: 12px; transition: transform .4s var(--ease-spring); }
.footer-brand:hover .footer-mark { transform: translateY(-2px) rotate(-4deg); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { transition: color .25s ease; }
.footer-links a:hover { color: var(--acid); }

.toast {
  position: fixed;
  z-index: 50;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: rgba(13, 23, 38, .94);
  color: var(--text);
  border: 1px solid rgba(116, 230, 255, .24);
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 650;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity .28s ease, transform .35s var(--ease-spring);
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.modal-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(4, 8, 16, .82);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(closest-side at 74% 16%, rgba(116, 230, 255, .1), transparent 62%),
    radial-gradient(closest-side at 18% 88%, rgba(157, 176, 255, .09), transparent 55%);
}
.modal-overlay.visible { opacity: 1; visibility: visible; pointer-events: auto; }
body.modal-open { overflow: hidden; }

.welcome-modal, .detail-modal {
  position: relative;
  width: min(100%, 610px);
  max-height: min(92vh, 900px);
  overflow-y: auto;
  border: 1px solid rgba(148, 198, 255, .2);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse at 95% 0, rgba(116, 230, 255, .12), transparent 38%),
    radial-gradient(ellipse at 0 100%, rgba(157, 176, 255, .08), transparent 42%),
    linear-gradient(145deg, rgba(20, 32, 50, .97), rgba(9, 15, 26, .99));
  box-shadow:
    0 40px 130px rgba(0, 0, 0, .65),
    0 0 0 1px rgba(116, 230, 255, .04),
    0 0 80px rgba(77, 153, 218, .08),
    inset 0 1px rgba(255, 255, 255, .06);
  transform: translateY(14px) scale(.985);
  transition: transform .4s var(--ease-out);
}
.modal-overlay.visible .welcome-modal,
.modal-overlay.visible .detail-modal {
  transform: translateY(0) scale(1);
  animation: modal-arrive .5s var(--ease-out) both;
}
.welcome-modal { padding: 34px 37px 31px; }
.detail-modal { width: min(100%, 760px); }

.modal-close {
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #303438;
  border-radius: 10px;
  color: #8d9494;
  background: #171a1c;
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, transform .4s var(--ease-spring), background .25s ease;
}
.modal-close:hover { color: #fff; border-color: #555d59; background: #1e2324; transform: rotate(90deg); }
.modal-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }

.welcome-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 31px; }
.welcome-brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #35402b; border-radius: 11px; color: #e6f4d0; background: #181e13; }
.welcome-brand-mark svg { width: 36px; height: 36px; filter: drop-shadow(0 0 10px rgba(116, 230, 255, .18)); }
.welcome-brand strong { display: block; font-size: 17px; font-weight: 650; letter-spacing: -.4px; }
.welcome-brand small { display: block; margin-top: 3px; color: #707970; font-size: 8px; letter-spacing: 1.4px; }
.welcome-eyebrow { display: flex; align-items: center; gap: 8px; color: #9cae8a; font-size: 8px; letter-spacing: 1.3px; font-weight: 750; }
.welcome-eyebrow > span { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 12px rgba(116, 230, 255, .55); animation: signal-breathe 2.4s ease-in-out infinite; }
.welcome-modal h2 { margin: 13px 0 12px; font-size: clamp(30px, 5vw, 39px); line-height: 1.09; letter-spacing: -1.7px; font-weight: 630; }
.welcome-modal h2 span {
  background: linear-gradient(100deg, var(--acid), var(--acid-2), var(--mint), var(--acid));
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 9s ease infinite;
}
.welcome-modal > p { max-width: 490px; margin: 0; color: #9ba09e; font-size: 11px; line-height: 1.85; }

.welcome-info-list { display: grid; gap: 14px; margin-top: 24px; padding: 19px 0; border-top: 1px solid #282d2d; border-bottom: 1px solid #282d2d; }
.welcome-info-list > div { display: flex; align-items: flex-start; gap: 12px; }
.welcome-info-icon { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #2f372a; border-radius: 9px; color: #c8e7a8; background: #171c13; }
.welcome-info-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-spring); }
.welcome-info-list > div:hover .welcome-info-icon svg { transform: translateY(-2px) rotate(-6deg) scale(1.05); }
.welcome-info-list strong { display: block; padding-top: 1px; font-size: 10px; font-weight: 650; }
.welcome-info-list small { display: block; margin-top: 4px; color: #7e8582; font-size: 9px; line-height: 1.6; }
.welcome-disclaimer { margin-top: 16px; color: #737a77; font-size: 9px; line-height: 1.7; }
.welcome-actions { display: flex; gap: 9px; margin-top: 21px; }
.welcome-actions .button { min-height: 43px; padding: 0 13px; font-size: 10px; }
.welcome-continue { flex: 1; justify-content: space-between; }
.telegram-button { display: inline-flex; align-items: center; gap: 8px; }
.telegram-button svg { width: 16px; height: 16px; fill: currentColor; }

.detail-modal-content { padding: 31px 32px 26px; }
.detail-topline { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.detail-provider-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #38402e; border-radius: 11px; color: var(--acid); background: #1a2114; }
.detail-provider-mark svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.detail-category { display: block; color: #858c84; font-size: 8px; letter-spacing: 1.1px; text-transform: uppercase; }
.detail-method { display: inline-flex; margin-top: 5px; padding: 3px 6px; border: 1px solid #2f4228; border-radius: 5px; color: #c8ec9f; background: #172013; font-size: 8px; font-weight: 750; }
.detail-modal h2 { margin: 0 0 9px; font-size: 28px; line-height: 1.15; letter-spacing: -1px; }
.detail-description { margin: 0; color: #a1a7a1; font-size: 11px; line-height: 1.8; }
.detail-section { margin-top: 21px; }
.detail-section h3 { margin: 0 0 9px; color: #e6e9e2; font-size: 11px; font-weight: 650; }
.detail-domains { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-domain { padding: 5px 7px; border: 1px solid #2d3430; border-radius: 6px; color: #a9b5a0; background: #141815; font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; }
.detail-parameter { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 11px; padding: 11px 12px; border: 1px solid #2b2f2e; border-radius: 8px; background: #111413; }
.detail-parameter strong { display: block; color: #d9e9c5; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; }
.detail-parameter small { display: block; margin-top: 4px; color: #6d7770; font-size: 8px; }
.detail-parameter p { margin: 0; color: #909894; font-size: 9px; line-height: 1.7; }
.detail-request { display: flex; align-items: flex-start; gap: 10px; }
.detail-request code { min-width: 0; flex: 1; overflow-wrap: anywhere; padding: 11px 12px; border: 1px solid #292e2d; border-radius: 8px; color: #c9d5bd; background: #0b0e0c; font-size: 9px; line-height: 1.7; }
.detail-inline-copy { flex: 0 0 auto; padding: 9px 10px; border: 1px solid #303631; border-radius: 7px; color: #a3b095; background: #171b17; font-size: 9px; cursor: pointer; transition: color .25s ease, border-color .25s ease; }
.detail-inline-copy:hover { color: var(--acid); border-color: #52663c; }
.detail-response-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.detail-response-block { min-width: 0; border: 1px solid #292e2d; border-radius: 8px; overflow: hidden; }
.detail-response-head { padding: 8px 10px; border-bottom: 1px solid #292e2d; color: #b9d69d; background: #131811; font-size: 9px; font-weight: 650; }
.detail-response-head.error { color: #f09a92; background: #1b1312; }
.detail-response-block pre { max-height: 150px; overflow: auto; margin: 0; padding: 10px; color: #aab1a9; font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.detail-status-codes { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-status-codes code { padding: 5px 7px; border: 1px solid #33383a; border-radius: 6px; color: #c1c7be; background: #171a1d; font-size: 8px; }
.detail-aliases { margin-top: 7px; }
.detail-response-note { margin-top: 8px; }
.detail-modal-actions { display: flex; justify-content: flex-end; gap: 9px; padding: 14px 32px 20px; border-top: 1px solid #292d2c; }
.detail-modal-actions .button { min-height: 39px; font-size: 10px; }
.detail-modal-actions svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.chart-bar-fill { height: 2%; }
.bar-height-0 .chart-bar-fill { height: 0; }
.bar-height-5 .chart-bar-fill { height: 5%; }
.bar-height-10 .chart-bar-fill { height: 10%; }
.bar-height-15 .chart-bar-fill { height: 15%; }
.bar-height-20 .chart-bar-fill { height: 20%; }
.bar-height-25 .chart-bar-fill { height: 25%; }
.bar-height-30 .chart-bar-fill { height: 30%; }
.bar-height-35 .chart-bar-fill { height: 35%; }
.bar-height-40 .chart-bar-fill { height: 40%; }
.bar-height-45 .chart-bar-fill { height: 45%; }
.bar-height-50 .chart-bar-fill { height: 50%; }
.bar-height-55 .chart-bar-fill { height: 55%; }
.bar-height-60 .chart-bar-fill { height: 60%; }
.bar-height-65 .chart-bar-fill { height: 65%; }
.bar-height-70 .chart-bar-fill { height: 70%; }
.bar-height-75 .chart-bar-fill { height: 75%; }
.bar-height-80 .chart-bar-fill { height: 80%; }
.bar-height-85 .chart-bar-fill { height: 85%; }
.bar-height-90 .chart-bar-fill { height: 90%; }
.bar-height-95 .chart-bar-fill { height: 95%; }
.bar-height-100 .chart-bar-fill { height: 100%; }

.popular-width-5 { width: 5%; }
.popular-width-10 { width: 10%; }
.popular-width-15 { width: 15%; }
.popular-width-20 { width: 20%; }
.popular-width-25 { width: 25%; }
.popular-width-30 { width: 30%; }
.popular-width-35 { width: 35%; }
.popular-width-40 { width: 40%; }
.popular-width-45 { width: 45%; }
.popular-width-50 { width: 50%; }
.popular-width-55 { width: 55%; }
.popular-width-60 { width: 60%; }
.popular-width-65 { width: 65%; }
.popular-width-70 { width: 70%; }
.popular-width-75 { width: 75%; }
.popular-width-80 { width: 80%; }
.popular-width-85 { width: 85%; }
.popular-width-90 { width: 90%; }
.popular-width-95 { width: 95%; }
.popular-width-100 { width: 100%; }

@keyframes ambient-drift {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); opacity: .7; }
  100% { transform: translate3d(1.5%, 1%, 0) scale(1.06); opacity: 1; }
}
@keyframes signal-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(116, 230, 255, .07); opacity: .82; }
  50% { box-shadow: 0 0 0 6px rgba(116, 230, 255, .02), 0 0 16px rgba(116, 230, 255, .28); opacity: 1; }
}
@keyframes mark-turn {
  0%, 88%, 100% { transform: rotate(45deg); }
  92% { transform: rotate(135deg); }
  96% { transform: rotate(225deg); }
}
@keyframes loadline {
  0% { transform: translateX(-25px); opacity: .35; }
  50% { opacity: 1; }
  100% { transform: translateX(25px); opacity: .35; }
}
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes core-float {
  from { translate: 0 0; }
  to { translate: 0 -9px; }
}
@keyframes draw-check {
  to { stroke-dashoffset: 0; }
}
@keyframes modal-arrive {
  from { opacity: .8; }
  to { opacity: 1; }
}

@media (max-width: 1050px) {
  .topbar { padding-left: 25px; padding-right: 25px; }
  .brand, .top-actions { min-width: 175px; }
  .topnav { gap: 19px; }
  .section-wrap { width: min(var(--content), calc(100% - 50px)); }
  .hero { gap: 25px; }
  .hero h1 { letter-spacing: -3px; }
  .hero-visual { height: 365px; }
  .response-card { left: 18px; bottom: 18px; width: min(340px, calc(100% - 36px)); }
  .quickstart-layout { gap: 42px; }
  .endpoint-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usage-layout { grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr); }
  .reference-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .section-wrap { width: calc(100% - 36px); }
  .topbar { height: 66px; padding: 0 18px; justify-content: space-between; }
  .brand { min-width: 0; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-mark svg { width: 32px; height: 32px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy span { font-size: 8px; }
  .top-actions { min-width: 0; gap: 8px; }
  .top-actions .status-pill { display: none; }
  .top-actions .button { min-height: 34px; padding: 0 10px; }
  .mobile-menu { display: flex; flex-direction: column; gap: 5px; justify-content: center; width: 37px; height: 37px; padding: 9px; border: 1px solid #2b2e32; border-radius: 9px; background: transparent; margin-left: auto; margin-right: 9px; }
  .mobile-menu span { height: 1px; display: block; background: #dbded6; width: 100%; }
  .topnav { display: none; position: absolute; top: 65px; left: 0; right: 0; height: auto; padding: 10px 18px 17px; background: rgba(10, 16, 26, .98); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .topnav.open { display: flex; }
  .nav-link { min-height: 43px; height: auto; font-size: 12px; }
  .nav-link.active::after { left: 0; right: auto; bottom: 7px; top: 7px; width: 2px; height: auto; }

  .hero { grid-template-columns: 1fr; padding-top: 52px; padding-bottom: 43px; gap: 40px; }
  .hero h1 { font-size: clamp(49px, 12vw, 66px); letter-spacing: -3.6px; margin-top: 23px; }
  .hero-lede { font-size: 13px; max-width: 440px; }
  .hero-actions { gap: 10px; margin-top: 25px; }
  .hero-actions .button { padding-left: 13px; padding-right: 13px; gap: 10px; min-height: 43px; }
  .hero-footnote { gap: 7px; font-size: 9px; }
  .hero-visual { height: 335px; }
  .visual-core { right: 74px; top: 58px; width: 82px; height: 82px; border-radius: 22px; }
  .visual-core span { font-size: 42px; }
  .float-label-bottom { top: 166px; }
  .response-card { left: 15px; bottom: 15px; width: calc(100% - 30px); }

  .stats-band { grid-template-columns: repeat(2, 1fr); margin-bottom: 73px; min-height: 0; padding: 13px 0; }
  .stat-item { padding: 13px 14px; min-height: 69px; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid var(--line); }
  .stat-item:first-child { padding-left: 14px; }
  .stat-number { font-size: 23px; }

  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 23px; gap: 16px; }
  h2 { font-size: 32px; letter-spacing: -1.3px; }
  .section-heading p { line-height: 1.7; }
  .text-link { font-size: 10px; }
  .endpoints-section { margin-bottom: 76px; }
  .endpoint-controls { flex-direction: column; }
  .filter-wrap select { width: 100%; }
  .filter-wrap { width: 100%; }
  .endpoint-grid { grid-template-columns: 1fr; gap: 9px; }
  .endpoint-card { min-height: 143px; padding: 14px; }
  .endpoint-card p { margin: 10px 0; }
  .endpoint-bottom { gap: 10px; align-items: flex-start; flex-direction: column; }

  .quickstart-section { padding: 56px 0; margin-bottom: 74px; }
  .quickstart-layout { grid-template-columns: 1fr; gap: 33px; }
  .quickstart-copy h2 { font-size: 37px; }
  .quickstart-copy > p { font-size: 11px; }
  .quickstart-list { margin-top: 22px; }
  .code-window-top { padding: 0 11px; gap: 8px; }
  .code-window-top > span { font-size: 9px; }
  .copy-button { font-size: 8px; }
  .code-content { padding: 17px 14px; font-size: 10px; }
  .code-window-footer { padding: 0 12px; font-size: 8px; }

  .live-usage { margin-top: -28px; margin-bottom: 68px; }
  .usage-layout { grid-template-columns: 1fr; }
  .usage-chart-card, .popular-card { padding: 17px; }
  .activity-card { padding: 17px 0 0; }
  .activity-card > .usage-card-head { padding: 0 17px; }
  .activity-table { min-width: 580px; }
  .activity-privacy { padding: 0 17px; }

  .reference-section { margin-bottom: 65px; }
  .reference-grid { grid-template-columns: 1fr; gap: 9px; }
  .reference-card { min-height: 0; padding: 17px; }
  .reference-icon { margin-bottom: 13px; }
  .reference-meta { margin-top: 12px; }

  .playground-section { margin-bottom: 70px; }
  .playground-heading { gap: 16px; }
  .playground-grid { grid-template-columns: 1fr; }
  .request-panel { padding: 17px; }
  .result-title { padding: 17px 17px 0; }
  .result-meta { padding-left: 17px; padding-right: 17px; gap: 13px; }
  .result-code pre { padding-left: 17px; padding-right: 17px; }
  .result-foot { padding: 0 17px; }

  .note-section { padding: 15px; align-items: flex-start; flex-wrap: wrap; gap: 11px; margin-bottom: 52px; }
  .note-icon { width: 32px; height: 32px; }
  .note-section > div:nth-child(2) { flex: 1; min-width: calc(100% - 50px); }
  .note-section > a { margin-left: 43px; }
  .developer-inline { margin-left: 0; }

  .footer { min-height: 115px; padding: 18px 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; }
  .footer-copy { grid-column: 1; grid-row: 2; }
  .footer-links { grid-column: 1 / -1; grid-row: 3; border-top: 1px solid #22252a; padding-top: 13px; gap: 15px; }
  .footer-links a { font-size: 9px; }

  .welcome-modal { padding: 27px 22px 22px; }
  .welcome-brand { margin-bottom: 24px; }
  .welcome-modal h2 { font-size: 32px; }
  .welcome-actions { flex-direction: column; }
  .welcome-actions .button { justify-content: center; min-height: 44px; }
  .detail-modal-content { padding: 27px 19px 20px; }
  .detail-modal-actions { padding: 12px 19px 18px; }
  .detail-response-grid { grid-template-columns: 1fr; }
  .detail-parameter { grid-template-columns: 86px minmax(0, 1fr); }
  .detail-request { flex-direction: column; }
  .detail-request code { width: 100%; }
  .detail-inline-copy { align-self: flex-end; }
  .modal-overlay { align-items: center; padding: 12px; }
}

@media (max-width: 450px) {
  .route-count { margin-top: 9px; }
  .live-indicator { white-space: normal; font-size: 8px; }
  .chart-summary { column-gap: 6px; }
  .chart-summary > strong { font-size: 24px; }
  .chart-foot { gap: 5px; }
  .welcome-modal h2 { font-size: 29px; letter-spacing: -1.1px; }
  .welcome-brand small { font-size: 7px; letter-spacing: 1px; }
  .detail-modal h2 { font-size: 24px; }
  .detail-modal-actions { flex-direction: column-reverse; }
  .detail-modal-actions .button { justify-content: center; width: 100%; }
}

@media (max-width: 390px) {
  .top-actions .button { display: none; }
  .brand-copy span { letter-spacing: 1.2px; }
  .hero h1 { font-size: 47px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { justify-content: center; }
  .hero-visual { height: 310px; }
  .visual-core { right: 47px; }
  .float-label-bottom { right: 13px; }
  .response-card pre { font-size: 9px; }
  .result-meta { gap: 9px; }
  .result-meta .bare-copy { font-size: 8px; }
  .footer-links { gap: 11px; }
}

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