/* ==========================================================================
   SKWKW AI — landing page (reference-matched layout)
   ========================================================================== */

@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f9fafb;
  --bg-dotted: #fafbfe;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --surface-blue: #f0f7ff;
  --ink: #101828;
  --ink-2: #4d5566;
  --muted: #7b8495;
  --line: #e4e7ec;
  --line-soft: #eef0f3;
  --blue: #0075ff;
  --blue-dark: #0062d6;
  --lime: #d7f900;
  --lime-soft: #f4ffb8;
  --navy: #0b1526;
  --red: #f04438;
  --green: #12b76a;

  --radius: 16px;
  --radius-sm: 8px;
  --container: 1392px;
  --gutter: 24px;

  --font-display: "Public Sans", Arial, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco,
    Consolas, monospace;

  --stagger-dur: 500ms;
  --stagger-distance: 12px;
  --stagger-stagger: 40ms;
  --stagger-blur: 3px;
  --stagger-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: #111827;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
code,
pre {
  font-family: var(--font-mono);
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon--xs {
  width: 12px;
  height: 12px;
}
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section[id] {
  scroll-margin-top: 80px;
}
.ax-dotted {
  background-color: var(--bg-dotted);
  background-image: radial-gradient(
    circle,
    #c7cbd8 1px,
    rgba(0, 0, 0, 0) 1.2px
  );
  background-size: 12px 12px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.dot.blue {
  background: var(--blue);
}
.mobile-only {
  display: none;
}
.hl {
  padding: 0 2px;
  background-image: linear-gradient(
    180deg,
    transparent 74%,
    var(--lime) 74%,
    var(--lime) 95%,
    transparent 95%
  );
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease-smooth),
    background-color 0.2s var(--ease-smooth),
    border-color 0.2s var(--ease-smooth), color 0.2s var(--ease-smooth);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-sm {
  height: 37px;
  padding: 0 14px;
  font-size: 13px;
}
.btn-header {
  height: 37px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
}
.btn-header:hover {
  background: var(--blue-dark);
}
.btn-blue {
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover {
  background: var(--blue-dark);
}
.btn-quiet {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.btn-quiet:hover {
  border-color: #c7cbd8;
}
.btn-lime {
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
}
.btn-lime:hover {
  background: #e4ff3d;
}
.btn-ghost-dark {
  height: 48px;
  padding: 0 28px;
  border: 1px solid #697386;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 14px;
}
.btn-ghost-dark:hover {
  border-color: #98a2b3;
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: transparent;
  transition: background 0.2s var(--ease-smooth),
    border-color 0.2s var(--ease-smooth);
  border-bottom: 0;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 -1px 0 var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 64px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
  object-fit: cover;
  border-radius: 9px;
}
.brand-dot {
  color: var(--blue);
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.nav a {
  transition: color 0.2s var(--ease-smooth);
}
.nav a:hover {
  color: var(--blue);
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.lang-btn {
  border: 0;
  background: transparent;
  padding: 6px 2px;
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
}
.console-link {
  display: inline-flex;
  align-items: center;
  height: 37px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease-smooth);
}
.console-link:hover {
  border-color: #c7cbd8;
}
.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  padding: 12px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.mobile-menu a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-2);
}
.mobile-menu a:first-child {
  border-top: 0;
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  height: 1000px;
  padding: 0 24px;
  overflow: hidden;
  background-color: var(--bg-dotted);
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -180px;
  width: 760px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse,
    rgba(215, 249, 0, 0.18),
    rgba(215, 249, 0, 0) 68%
  );
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: 720px;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 232px;
  text-align: center;
}
.hero-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 26px auto 34px;
}
.hero-symbol .brand-static,
.hero-symbol .brand-gif {
  width: 68px;
  height: 68px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(31, 36, 51, 0.16);
}
.hero-symbol .brand-gif,
.final-logo .brand-gif {
  display: none;
  object-fit: contain;
  background: #fff;
}
.hero-symbol:hover .brand-static,
.final-logo:hover .brand-static {
  display: none;
}
.hero-symbol:hover .brand-gif,
.final-logo:hover .brand-gif {
  display: block;
}
.hero-badge {
  display: inline-flex;
}
.hero-badge.t-stagger-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 4px 11px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.12);
}
.hero h1 {
  width: 720px;
  max-width: 100%;
  margin: 18px auto 0;
  font-family: var(--font-display);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.45px;
  color: #090b12;
  text-wrap: balance;
}
.hero-sub {
  width: 720px;
  max-width: 100%;
  margin: 26px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}
.hero-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 26px auto 0;
  font-size: 14px;
  color: #626b7c;
}
.hero-links a {
  transition: color 0.2s var(--ease-smooth);
}
.hero-links a:hover {
  color: var(--blue);
}
.link-sep {
  color: #d0d5dd;
}
.hero-cta {
  display: inline-flex;
}
.hero-cta.t-stagger-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 230px;
  height: 50px;
  margin-top: 32px;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(0, 117, 255, 0.22);
}
.hero-cta:hover {
  background: var(--blue-dark);
}
.hero-cta .icon {
  width: 14px;
  height: 14px;
}

/* Hero floating cards */
.hero-card,
.hero-code,
.hero-usage {
  position: absolute;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}
.hero-card {
  width: 238px;
}
.models-card {
  left: calc(50% - 677px);
  top: 100px;
  height: 212px;
}
.routing-card {
  left: calc(50% + 386px);
  top: 100px;
  width: 262px;
  height: 188px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}
.card-tag {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.model-list,
.route-list {
  padding: 0 16px;
}
.model-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--ink-2);
}
.model-row:last-child {
  border-bottom: 0;
}
.model-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  object-fit: cover;
  flex: none;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}
.route-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11px;
  color: var(--ink-2);
}
.route-row:last-child {
  border-bottom: 0;
}
.model-icon-sm {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  object-fit: cover;
  flex: none;
}
.route-arrow {
  margin-left: auto;
  color: var(--blue);
}
.route-to {
  color: var(--blue);
}
.hero-code {
  left: 0;
  top: 776px;
  width: 425px;
  height: 228px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.08);
  background: var(--navy);
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.28);
  transform: rotate(-2deg);
}
.code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
.code-dots {
  display: inline-flex;
  gap: 4px;
}
.code-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.code-tag {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}
.hero-code pre {
  margin: 0;
  padding: 16px 18px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.9;
  color: #d7e0ee;
  white-space: pre-wrap;
}
.tok-k {
  color: #7dd3fc;
}
.tok-s {
  color: var(--lime);
}
.tok-c {
  color: #64748b;
}
.hero-usage {
  right: 0;
  top: 655px;
  width: 451px;
  height: 358px;
  overflow: hidden;
}
.hero-usage .card-head {
  border-bottom: 0;
  height: 44px;
}
.usage-chart {
  width: 100%;
  height: 231px;
}
.usage-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 16px 16px;
}
.usage-labels div {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-soft);
}
.usage-labels span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.usage-labels strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.provider-tile {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 81px;
  height: 81px;
  border-radius: 18px;
}
.provider-logo {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.14);
}
.tile-0 {
  left: calc(50% - 422px);
  top: 415px;
  transform: rotate(-6deg);
}
.tile-1 {
  left: calc(50% + 341px);
  top: 425px;
  transform: rotate(5deg);
}
.tile-2 {
  left: calc(50% - 277px);
  top: 845px;
  width: 78px;
  height: 78px;
  transform: rotate(4deg);
}
.tile-3 {
  left: calc(50% + 199px);
  top: 845px;
  width: 78px;
  height: 78px;
  transform: rotate(-5deg);
}
.mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.mono--deepseek {
  background: #4d6bfe;
}
.mono--qwen {
  background: #615ced;
}
.mono--glm {
  background: #14b8a6;
}
.mono--kimi {
  background: #111827;
}
.mono--doubao {
  background: #00b8c8;
}
.mono--hunyuan {
  background: #0052d9;
}
.mono--minimax {
  background: #ff6b35;
}
.mono--step {
  background: #7c3aed;
}
.mono--ernie {
  background: #2932e1;
}
.mono--spark {
  background: #e60012;
}

/* ---------- Provider marquee --------------------------------------------- */
.providers {
  display: flex;
  align-items: center;
  height: 108px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.provider-marquee {
  width: 100%;
  overflow: hidden;
}
.provider-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  padding-left: 24px;
  animation: marquee 40s linear infinite;
}
.provider-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  white-space: nowrap;
  opacity: 0.86;
}
.provider-item .mono,
.provider-logo-sm {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  flex: none;
}
.provider-marquee:hover .provider-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Metrics ------------------------------------------------------ */
.metrics {
  padding: 64px 0;
}
.metrics-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.metrics-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.metrics-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.metrics-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.metrics-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.metric-item {
  padding: 28px 32px;
  border-left: 1px solid var(--line);
}
.metric-item:first-child {
  border-left: 0;
}
.metric-item dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
}
.metric-item dt {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}
.metric-support dd a {
  color: var(--blue);
  font-size: 24px;
}
.metric-support dd a:hover {
  color: var(--blue-dark);
}
.metrics-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

/* ---------- Sections ----------------------------------------------------- */
.section {
  padding: 96px 0;
}
.capabilities,
.quickstart,
.faq {
  background: #fff;
}
.faq {
  padding-bottom: 60px;
}
.section-head {
  max-width: 1000px;
  margin-bottom: 48px;
}
.pill {
  display: inline-flex;
}
.pill.t-stagger-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  margin: 0 0 20px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: -1px;
  color: var(--ink);
  text-wrap: balance;
}
.section-lead {
  max-width: 900px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--muted);
}

/* ---------- Panels / bento ---------------------------------------------- */
.panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.008);
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.panel-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.panel-tag {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.panel-link {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.panel-link:hover {
  color: var(--blue);
}
.mini-lime {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
}
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.panel-wide {
  display: flex;
  flex-direction: column;
  grid-column: span 6;
  height: 320px;
}
.panel-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
.route-box {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.route-line {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.route-line .route-arrow {
  font-size: 12px;
}
.route-line .route-to {
  font-size: 12px;
}
.route-link {
  display: block;
  padding: 14px 16px;
  background: #f8fafc;
  font-size: 12px;
  color: var(--blue);
}
.route-link:hover {
  background: #f0f7ff;
}
.panel-note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.chart-box {
  height: 110px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.chart-box svg {
  width: 100%;
  height: 100%;
}
.usage-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.usage-boxes div {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--surface-soft);
}
.usage-boxes span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.usage-boxes strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.small-card {
  grid-column: span 3;
  height: 231px;
  padding: 20px;
}
.small-card h3 {
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.small-card p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 24.5px;
  color: var(--muted);
}
.mini {
  height: 90px;
  padding: 12px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface-soft);
}
.mini-code {
  background: var(--navy);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 2;
  color: #d7e0ee;
}
.code-key {
  color: #7dd3fc;
}
.code-val {
  color: var(--lime);
}
.mini-observe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 6px;
}
.observe-box {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 10px;
  color: var(--muted);
}
.observe-bars {
  display: flex;
  grid-column: span 2;
  gap: 4px;
  margin-top: 6px;
}
.observe-bars i {
  flex: 1;
  height: 6px;
  border-radius: 2px;
  background: var(--green);
}
.observe-bars i:nth-child(4),
.observe-bars i:nth-child(5) {
  background: #a6f4c5;
}
.mini-key {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mini-key code {
  font-size: 10px;
  color: var(--ink-2);
}
.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 14px;
}
.mini-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  background: #cfe3ff;
}
.mini-bars i:nth-child(3),
.mini-bars i:nth-child(4) {
  background: #8dbbff;
}
.mini-bars i.lime {
  height: 80%;
  background: var(--lime);
}

/* ---------- Compare ------------------------------------------------------ */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-panel--after {
  border-color: #b9d6ff;
  background: var(--surface-blue);
}
.compare-body {
  padding: 20px;
}
.compare-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin-bottom: 11px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--surface-soft);
  font-size: 13px;
  color: var(--ink-2);
}
.compare-row:last-child {
  margin-bottom: 0;
}
.compare-panel--after .compare-row {
  border: 1px solid #d6e7ff;
  background: #fff;
}
.compare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  flex: none;
}
.compare-icon.bad {
  background: #fee4e2;
  color: var(--red);
}
.compare-icon.good {
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}

/* ---------- Quickstart --------------------------------------------------- */
.quick-panel {
  height: 275px;
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 20px 24px 24px;
  list-style: none;
}
.steps::before {
  content: "";
  position: absolute;
  top: 37px;
  left: 12.5%;
  right: 12.5%;
  border-top: 1px dashed #c7cbd8;
}
.steps li {
  padding: 0 32px;
  text-align: center;
}
.step-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--lime);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.steps h3 {
  margin: 18px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.steps p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------- Use cases ---------------------------------------------------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.usecase-card {
  height: 182px;
}
.usecase-body {
  display: flex;
  flex-direction: column;
  height: calc(100% - 40px);
  padding: 16px 20px;
}
.usecase-icon {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.08);
}
.usecase-body p {
  flex: 1;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.divider {
  height: 1px;
  margin: 10px 0;
  background: var(--line);
}
.link-arrow {
  font-size: 14px;
  color: var(--blue);
}
.link-arrow:hover {
  color: var(--blue-dark);
}

/* ---------- FAQ ---------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 515px 1fr;
  gap: 88px;
  align-items: start;
}
.faq-left .section-lead {
  max-width: 460px;
}
.help-card {
  max-width: 515px;
  margin-top: 48px;
  padding: 24px;
  border-radius: 16px;
  background: var(--surface-soft);
}
.help-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.help-card p {
  margin: 8px 0 18px;
  font-size: 13px;
  color: var(--muted);
}
.help-actions {
  display: flex;
  gap: 12px;
}
.faq-panel {
  min-height: 520px;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:first-child {
  border-top: 0;
}
.faq-item[data-open="true"] {
  background: var(--surface-soft);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 28px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.faq-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  color: var(--blue);
  flex: none;
}
.faq-icon::before {
  content: "+";
}
.faq-item[data-open="true"] .faq-icon::before {
  content: "×";
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s var(--ease-smooth);
}
.faq-item[data-open="true"] .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  overflow: hidden;
  padding: 0 28px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}
.faq-item[data-open="true"] .faq-a-inner {
  padding-bottom: 24px;
}
.faq-a-inner code {
  padding: 1px 5px;
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  color: var(--ink-2);
}
.api-url-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  font-size: 13px;
  color: var(--muted);
}
.api-url-row code {
  font-size: 13px;
  color: var(--muted);
}
.copy-url .icon {
  width: 14px;
  height: 14px;
}
.copy-url.is-copied {
  border-color: #a6f4c5;
  color: #067647;
}

/* ---------- Final CTA ---------------------------------------------------- */
.final {
  position: relative;
  height: 440px;
  margin-top: 60px;
  padding: 97px 24px 0;
  overflow: hidden;
  background-color: var(--navy);
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 1px,
    rgba(0, 0, 0, 0) 1.2px
  );
  background-size: 14px 14px;
}
.final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.final-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 26px;
  border-radius: 12px;
}
.final-logo .brand-static,
.final-logo .brand-gif {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}
.final-logo .brand-gif {
  object-fit: contain;
  background: #fff;
}
.final h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  line-height: 54px;
  letter-spacing: -0.9px;
  color: #fff;
  text-wrap: balance;
}
.lime-text {
  color: var(--lime);
}
.final p {
  margin: 14px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.final-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.final-tag {
  position: absolute;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid #293547;
  border-radius: 8px;
  background: #111c2d;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #8e9aae;
}
.final-tag-left {
  left: calc(50% - 549px);
  top: 116px;
  transform: rotate(-6deg);
}
.final-tag-right {
  right: calc(50% - 549px);
  top: 277px;
  transform: rotate(3deg);
}

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  padding: 46px 0 24px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 148px 216px 164px;
  gap: 0;
}
.footer-brand .brand {
  font-size: 20px;
}
.footer-brand p {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.footer-email {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}
.footer-email:hover {
  color: var(--blue);
}
.footer-meta {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.footer-col h4 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s var(--ease-smooth);
}
.footer-col a:hover {
  color: var(--blue);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--ink-2);
}


.chat-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #d6006e;
  color: #fff;
  box-shadow: 0 12px 30px rgba(214, 0, 110, 0.35);
  transition: transform 0.2s var(--ease-smooth);
}
.chat-fab:hover {
  transform: scale(1.06);
}
.chat-fab .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}


/* generated icon hover polish */
.model-icon,
.model-icon-sm,
.provider-logo,
.provider-logo-sm,
.usecase-icon,
.brand-mark {
  transition: transform 250ms var(--ease-smooth),
    box-shadow 250ms var(--ease-smooth);
}
.model-row:hover .model-icon {
  transform: scale(1.08);
}
.provider-tile:hover .provider-logo {
  transform: scale(1.04);
}
.provider-item:hover .provider-logo-sm {
  transform: scale(1.1);
}
.usecase-card {
  transition: transform 250ms var(--ease-smooth),
    box-shadow 250ms var(--ease-smooth);
}
.usecase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
}
.usecase-card:hover .usecase-icon {
  transform: scale(1.08) rotate(-2deg);
}

/* ---------- Reveal / stagger -------------------------------------------- */
.t-stagger-line {
  display: block;
  opacity: 0;
  transform: translateY(var(--stagger-distance));
  filter: blur(var(--stagger-blur));
  transition: opacity var(--stagger-dur) var(--stagger-ease),
    transform var(--stagger-dur) var(--stagger-ease),
    filter var(--stagger-dur) var(--stagger-ease);
  will-change: transform, opacity, filter;
}
.t-stagger-line--2 {
  transition-delay: var(--stagger-stagger);
}
.t-stagger-line--3 {
  transition-delay: calc(var(--stagger-stagger) * 2);
}
.t-stagger-line--4 {
  transition-delay: calc(var(--stagger-stagger) * 3);
}
.t-stagger-line--5 {
  transition-delay: calc(var(--stagger-stagger) * 4);
}
.t-stagger.is-shown .t-stagger-line {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-smooth),
    transform 0.6s var(--ease-smooth);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.no-js .reveal,
.no-js .t-stagger-line {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- Responsive --------------------------------------------------- */
@media (max-width: 1399px) {
  .hero {
    height: auto;
    padding: 150px 24px 96px;
  }
  .hero-copy {
    padding-top: 0;
  }
  .hero-card,
  .hero-code,
  .hero-usage,
  .provider-tile {
    display: none;
  }
  .hero-symbol {
    margin-top: 0;
  }
}

@media (max-width: 1180px) {
  .nav {
    gap: 20px;
    margin-left: 20px;
  }
  .console-link {
    display: none;
  }
  .panel-wide {
    grid-column: span 12;
  }
  .small-card {
    grid-column: span 6;
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-left .section-lead,
  .help-card {
    max-width: 100%;
  }
  .help-card {
    margin-top: 28px;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .header-controls {
    margin-left: auto;
  }
  .mobile-menu.is-open {
    display: block;
  }
  .hero h1 {
    font-size: 52px;
    letter-spacing: -1.2px;
  }
  .section {
    padding: 72px 0;
  }
  .section h2 {
    font-size: 34px;
    line-height: 44px;
  }
  .metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .metric-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .metric-item:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }
  .steps::before {
    display: none;
  }
  .quick-panel {
    height: auto;
  }
  .usecase-grid {
    grid-template-columns: 1fr;
  }
  .usecase-card {
    height: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .final h2 {
    font-size: 30px;
    line-height: 42px;
  }
  .final-tag {
    display: none;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0 20px;
  }
  .header-controls .btn-header {
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }
  .brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .container {
    padding: 0 20px;
  }
  .hero {
    padding: 112px 20px 72px;
  }
  .hero-symbol {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 26px;
  }
  .hero-symbol svg {
    width: 34px;
    height: 34px;
  }
  .hero-badge {
    height: auto;
    min-height: 30px;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
  }
  .mobile-only {
    display: inline;
  }
  .hero h1 {
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -0.8px;
  }
  .hero-sub {
    font-size: 15px;
  }
  .hero-cta {
    width: 100%;
  }
  .providers {
    height: 92px;
  }
  .metrics {
    padding: 48px 0;
  }
  .metric-item {
    padding: 22px 20px;
  }
  .metric-item dd {
    font-size: 32px;
  }
  .metric-support dd a {
    font-size: 20px;
  }
  .section {
    padding: 56px 0;
  }
  .section h2 {
    font-size: 30px;
    line-height: 38px;
    letter-spacing: -0.6px;
  }
  .section-lead {
    font-size: 15px;
    line-height: 1.7;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .panel-wide,
  .small-card {
    grid-column: span 12;
    height: auto;
  }
  .panel-wide {
    min-height: 320px;
  }
  .panel-body {
    padding: 20px;
  }
  .small-card {
    min-height: 231px;
  }
  .quick-panel {
    height: auto;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  .steps li {
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    padding: 0;
    text-align: left;
  }
  .step-num {
    grid-row: span 2;
    margin: 0;
  }
  .steps h3 {
    margin: 2px 0 4px;
  }
  .steps p {
    margin: 0;
  }
  .faq-q {
    padding: 18px 20px;
  }
  .faq-title {
    font-size: 15px;
  }
  .faq-a-inner {
    padding: 0 20px;
  }
  .faq-item[data-open="true"] .faq-a-inner {
    padding-bottom: 20px;
  }
  .faq-grid {
    gap: 32px;
  }
  .api-url-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 36px;
  }
  .final {
    height: auto;
    padding: 72px 20px 80px;
  }
  .final h2 {
    font-size: 26px;
    line-height: 36px;
  }
  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .final-actions .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .provider-track {
    animation: none !important;
  }
  .brand-gif {
    display: none !important;
  }
  .hero-symbol:hover .brand-static,
  .final-logo:hover .brand-static {
    display: block !important;
  }
  .t-stagger-line {
    transition: none !important;
    opacity: 1;
    transform: none;
    filter: none;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Obsidian hero — premium first screen
   ========================================================================== */
.site-header:not(.is-scrolled) {
  background: transparent;
}
.site-header:not(.is-scrolled) .brand-word {
  color: #f7f9fc;
}
.site-header:not(.is-scrolled) .brand-dot {
  color: var(--lime);
}
.site-header:not(.is-scrolled) .nav a {
  color: rgba(255, 255, 255, 0.62);
}
.site-header:not(.is-scrolled) .nav a:hover {
  color: #fff;
}
.site-header:not(.is-scrolled) .lang-btn {
  color: rgba(255, 255, 255, 0.55);
}
.site-header:not(.is-scrolled) .console-link {
  border-color: rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
}
.site-header:not(.is-scrolled) .console-link:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
}
.site-header:not(.is-scrolled) .btn-header {
  background: var(--lime);
  color: var(--ink);
}
.site-header:not(.is-scrolled) .btn-header:hover {
  background: #e4ff3d;
}
.site-header:not(.is-scrolled) .menu-btn {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.site-header:not(.is-scrolled) .mobile-menu {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: #0b111a;
}
.site-header:not(.is-scrolled) .mobile-menu a {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.74);
}

.obsidian-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 100px;
  background-color: #05070c;
  color: #f5f7fa;
  isolation: isolate;
}
.obsidian-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.obsidian-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(
    ellipse 82% 72% at 50% 42%,
    #000 26%,
    transparent 82%
  );
  mask-image: radial-gradient(
    ellipse 82% 72% at 50% 42%,
    #000 26%,
    transparent 82%
  );
}
.obsidian-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.obsidian-aurora--a {
  right: 6%;
  top: 6%;
  width: 620px;
  height: 620px;
  background: radial-gradient(
    circle,
    rgba(0, 92, 255, 0.28),
    rgba(0, 92, 255, 0) 66%
  );
}
.obsidian-aurora--b {
  right: 18%;
  bottom: 2%;
  width: 520px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(215, 249, 0, 0.12),
    rgba(215, 249, 0, 0) 66%
  );
}
.obsidian-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  align-items: center;
  gap: 64px;
  min-height: 760px;
}
.obsidian-copy {
  max-width: 768px;
}
.obsidian-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.eyebrow-rule {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(215, 249, 0, 0.5);
}
.obsidian-title {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -2px;
  color: #f7f9fc;
  text-wrap: balance;
}
.title-second {
  display: block;
  color: #c9d2e0;
}
.title-lime {
  color: var(--lime);
}
.obsidian-sub {
  max-width: 560px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: #98a2b3;
}
.obsidian-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.obsidian-cta {
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 14px 34px rgba(215, 249, 0, 0.18);
}
.obsidian-cta:hover {
  background: #e4ff3d;
  transform: translateY(-1px);
}
.obsidian-ghost {
  height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #f5f7fa;
  font-size: 14px;
  font-weight: 500;
}
.obsidian-ghost:hover {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.07);
}
.obsidian-actions .icon {
  width: 14px;
  height: 14px;
}
.obsidian-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}
.obsidian-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px rgba(215, 249, 0, 0.55);
}
.obsidian-code {
  max-width: 520px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.obsidian-code-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.45);
}
.obsidian-code-head .code-tag {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.3);
}
.obsidian-code pre {
  margin: 0;
  padding: 14px 16px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.9;
  color: #c9d2e0;
  white-space: pre-wrap;
}
.obsidian-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 560px;
  height: 560px;
}
.obsidian-halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: radial-gradient(
      circle,
      rgba(0, 110, 255, 0.3),
      rgba(0, 110, 255, 0) 62%
    ),
    radial-gradient(
      circle at 66% 66%,
      rgba(215, 249, 0, 0.13),
      transparent 56%
    );
  filter: blur(36px);
  z-index: 0;
}
.obsidian-emblem {
  position: relative;
  z-index: 1;
  width: 560px;
  height: 560px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: saturate(1.05) contrast(1.03);
  -webkit-mask-image: radial-gradient(
    circle at 50% 50%,
    #000 0 70%,
    transparent 94%
  );
  mask-image: radial-gradient(circle at 50% 50%, #000 0 70%, transparent 94%);
  animation: emblem-float 10s ease-in-out infinite;
}
@keyframes emblem-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.visual-index {
  position: absolute;
  left: 24px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.3);
}
.t-stagger-line--6 {
  transition-delay: calc(var(--stagger-stagger) * 5);
}
.obsidian-eyebrow.t-stagger-line,
.obsidian-actions.t-stagger-line,
.obsidian-meta.t-stagger-line {
  display: flex;
}

@media (max-width: 1280px) {
  .obsidian-hero {
    padding: 120px 0 80px;
  }
  .obsidian-layout {
    grid-template-columns: 1fr;
    gap: 48px;
    min-height: auto;
  }
  .obsidian-copy {
    max-width: 720px;
  }
  .obsidian-title {
    font-size: 58px;
    letter-spacing: -1.4px;
  }
  .obsidian-visual {
    justify-self: center;
    width: 440px;
    height: 440px;
  }
  .obsidian-emblem {
    width: 440px;
    height: 440px;
  }
}

@media (max-width: 720px) {
  .obsidian-hero {
    padding: 110px 0 64px;
  }
  .obsidian-title {
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -1px;
  }
  .obsidian-sub {
    font-size: 15px;
  }
  .obsidian-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .obsidian-actions .btn {
    width: 100%;
  }
  .obsidian-meta {
    gap: 14px;
  }
  .obsidian-code {
    max-width: 100%;
  }
  .obsidian-visual {
    width: 320px;
    height: 320px;
  }
  .obsidian-emblem {
    width: 320px;
    height: 320px;
  }
  .visual-index {
    left: 8px;
    bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .obsidian-emblem {
    animation: none !important;
  }
}

.chat-fab {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0c1118;
  color: var(--lime);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.chat-fab:hover {
  background: #141b26;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}
.hero-scroll i {
  width: 1px;
  height: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
}
@media (max-width: 720px) {
  .hero-scroll {
    display: none;
  }
}
/* ==========================================================================
   Enriched homepage: pricing, code tabs, counters and motion
   ========================================================================== */

/* Hero price anchor */
.obsidian-meta .meta-price {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 1px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.22);
  color: #f7f9fc;
  font-weight: 500;
  transition: color 0.2s var(--ease-smooth),
    border-color 0.2s var(--ease-smooth);
}
.obsidian-meta .meta-price:hover {
  border-color: rgba(215, 249, 0, 0.55);
  color: var(--lime);
}
.obsidian-meta .meta-price .meta-dot {
  animation: price-pulse 2.6s ease-in-out infinite;
}
@keyframes price-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(215, 249, 0, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(215, 249, 0, 0);
  }
}

/* Hero motion */
.obsidian-emblem {
  translate: calc(var(--px, 0) * 10px) calc(var(--py, 0) * 10px);
  transition: translate 0.35s var(--ease-smooth);
  will-change: translate;
}
.obsidian-aurora--a {
  animation: aurora-a 18s ease-in-out infinite alternate;
}
.obsidian-aurora--b {
  animation: aurora-b 22s ease-in-out infinite alternate;
}
@keyframes aurora-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-42px, 28px, 0) scale(1.08);
  }
}
@keyframes aurora-b {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(30px, -24px, 0) scale(1.1);
  }
}

.metric-item dd {
  font-variant-numeric: tabular-nums;
}

/* Pricing section */
.pricing {
  background: #fff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 20px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth), border-color 0.25s var(--ease-smooth);
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: #c7cbd8;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.08);
}
.price-card--flash {
  border-color: #d9f36a;
  background: linear-gradient(180deg, #fbffe9 0%, #fff 42%);
}
.price-card--flash::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -70px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(215, 249, 0, 0.24), transparent 66%);
  pointer-events: none;
}
.price-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
}
.price-badge--quiet {
  background: var(--blue-50);
  color: var(--blue-ink);
}
.price-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}
.price-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 24px;
}
.price-currency {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.price-main strong {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-unit {
  font-size: 12px;
  color: var(--muted);
}
.price-lines {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.price-lines div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.price-lines strong {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.price-lines em {
  font-style: normal;
  font-size: 11px;
  color: var(--faint);
}
.price-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}
.price-tags span {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-soft);
  font-size: 11px;
  color: var(--ink-2);
}
.price-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.price-foot a {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-ink);
  white-space: nowrap;
}
.price-foot a:hover {
  color: var(--blue-dark);
}
.price-calc {
  display: flex;
  flex-direction: column;
  background: #fff;
}
.calc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.calc-tabs {
  align-self: flex-start;
  margin-bottom: 18px;
}
.calc-row {
  position: relative;
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}
.calc-row > span {
  display: block;
}
.calc-row output {
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}
.calc-row input[type="range"] {
  width: 100%;
  height: 4px;
  margin: 10px 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.calc-result {
  margin-top: 20px;
  padding: 16px;
  border-radius: 10px;
  background: var(--surface-soft);
}
.calc-result > span {
  display: block;
  font-size: 11px;
  color: var(--muted);
}
.calc-result strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc-result strong.is-updating {
  animation: calc-pop 0.35s var(--ease-smooth);
}
@keyframes calc-pop {
  0% {
    opacity: 0.3;
    transform: translateY(5px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
.calc-result small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--faint);
}
.calc-note {
  margin: 14px 0 0;
  font-size: 11px;
  color: var(--muted);
}
.calc-note strong {
  color: var(--ink);
}
.pricing-note {
  margin: 24px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* Tabs recipe */
.t-tabs {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 48px;
  background: #f1f4f9;
}
.t-tab {
  position: relative;
  z-index: 1;
  height: 30px;
  padding: 4px 12px;
  border: 0;
  border-radius: 48px;
  background: transparent;
  appearance: none;
  color: #667085;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.25s var(--ease-smooth);
}
.t-tab:not([aria-selected="true"]):hover,
.t-tab[aria-selected="true"] {
  color: var(--ink);
}
.t-tabs-pill {
  position: absolute;
  top: 3px;
  left: 0;
  z-index: 0;
  width: 0;
  height: 30px;
  border-radius: 48px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  transform: translateX(0);
  transition: transform 0.25s var(--ease-smooth),
    width 0.25s var(--ease-smooth);
  will-change: transform, width;
  pointer-events: none;
}

/* Quickstart code card */
.quick-code {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: var(--navy);
  box-shadow: 0 24px 60px rgba(11, 21, 38, 0.18);
}
.quick-code-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.quick-tabs {
  background: rgba(255, 255, 255, 0.06);
}
.quick-tabs .t-tab {
  height: 30px;
  padding: 4px 12px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
}
.quick-tabs .t-tab:not([aria-selected="true"]):hover,
.quick-tabs .t-tab[aria-selected="true"] {
  color: #fff;
}
.quick-tabs .t-tabs-pill {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.quick-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  cursor: pointer;
  transition: background 0.2s var(--ease-smooth),
    border-color 0.2s var(--ease-smooth), color 0.2s var(--ease-smooth);
}
.quick-copy:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.quick-copy .icon {
  width: 14px;
  height: 14px;
}
.quick-copy.is-copied {
  border-color: rgba(215, 249, 0, 0.35);
  color: var(--lime);
}
.quick-code-body {
  padding: 8px 0;
}
.quick-code-panel {
  display: none;
  margin: 0;
  padding: 18px 24px;
  overflow-x: auto;
  color: #d7e0ee;
  font-size: 12.5px;
  line-height: 1.9;
  white-space: pre-wrap;
}
.quick-code-panel.is-active {
  display: block;
}
.quick-code-foot {
  padding: 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}
.quick-code-foot code {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

/* Capability mini visuals */
.mini-context {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-ink);
  font-family: var(--font-mono);
  font-size: 11px;
}
.mini-context span {
  font-weight: 600;
}
.mini-context i {
  flex: 1;
  height: 8px;
  border-radius: 2px;
  background: #d6e7ff;
}
.mini-context i:nth-child(3) {
  background: #8dbbff;
}
.mini-context i:nth-child(4) {
  background: #cfe3ff;
}
.mini-offpeak {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
}
.offpeak-clock {
  font-size: 11px;
  color: var(--muted);
}
.mini-offpeak strong {
  font-size: 24px;
  letter-spacing: -1px;
  color: var(--ink);
}

/* Compare price note */
.compare-price-note {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  color: var(--muted);
}
.compare-price-note span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}
.compare-price-note a {
  margin-left: auto;
  font-weight: 600;
  color: var(--blue-ink);
}

/* Usecase chips */
.usecase-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.usecase-more-label {
  margin-right: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.usecase-more span:not(.usecase-more-label) {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  color: var(--ink-2);
}
.usecase-more a {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-ink);
}

/* Final price line */
.final-price {
  margin-top: 12px !important;
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.55) !important;
}
.final-price .lime-text {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-calc {
    grid-column: span 2;
  }
}
@media (max-width: 720px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .price-calc {
    grid-column: auto;
  }
  .price-main strong {
    font-size: 44px;
  }
  .compare-price-note {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .compare-price-note a {
    margin-left: 0;
  }
  .quick-code-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .quick-copy {
    margin-left: 0;
  }
  .quick-code-panel {
    padding: 16px;
    font-size: 11px;
  }
  .usecase-more {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .obsidian-emblem {
    translate: none !important;
    transition: none !important;
  }
  .obsidian-aurora--a,
  .obsidian-aurora--b {
    animation: none !important;
  }
  .obsidian-meta .meta-price .meta-dot {
    animation: none !important;
  }
  .price-card,
  .calc-result strong.is-updating,
  .t-tabs-pill,
  .t-tab {
    animation: none !important;
    transition: none !important;
  }
}

.small-card--wide {
  grid-column: span 6;
}
.mini-offpeak {
  gap: 16px;
  padding: 0 16px;
  flex-wrap: wrap;
}
.mini-offpeak strong {
  font-size: 26px;
  white-space: nowrap;
}
@media (max-width: 1180px) {
  .small-card--wide {
    grid-column: span 6;
  }
}
@media (max-width: 720px) {
  .small-card--wide {
    grid-column: span 12;
  }
  .mini-offpeak {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 12px;
  }
}

.mini-modal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--blue-ink);
}
.mini-modal span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.mini-modal i {
  flex: 1;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d6e7ff, #d7f900);
}
.mini-zero {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
}
.mini-zero > span {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
}
.mini-zero > strong {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.mini-zero .mini-lime {
  margin-left: auto;
}
.model-ring-section {
  position: relative;
  padding: 72px 0 44px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #05070c;
  isolation: isolate;
}
.ring-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 0
  );
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    #000 20%,
    transparent 80%
  );
  mask-image: radial-gradient(
    ellipse 70% 70% at 50% 50%,
    #000 20%,
    transparent 80%
  );
  pointer-events: none;
}
.ring-section-bg::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 720px;
  height: 420px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgba(0, 110, 255, 0.16),
    rgba(0, 110, 255, 0) 66%
  );
  filter: blur(30px);
}
.ring-head {
  position: relative;
  z-index: 2;
  text-align: center;
}
.ring-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}
.ring-eyebrow i {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(215, 249, 0, 0.5);
}
.ring-head h2 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
  text-wrap: balance;
}
.ring-head h2 .lime-text {
  color: var(--lime);
}
.ring-lead {
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: #98a2b3;
}
.ring-stage {
  position: relative;
  z-index: 2;
  width: 1000px;
  max-width: 100%;
  height: 340px;
  margin: 2px auto 0;
  perspective: 1200px;
  transform-style: preserve-3d;
  --rx: 440px;
  --ry: 116px;
}
.ring-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 620px;
  height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgba(0, 110, 255, 0.22),
    rgba(0, 110, 255, 0) 66%
  );
  filter: blur(26px);
  pointer-events: none;
}
.ring-track {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--rx) * 2);
  height: calc(var(--ry) * 2);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 40px rgba(0, 110, 255, 0.06);
  pointer-events: none;
}
.ring-track--inner {
  width: calc(var(--rx) * 2 - 26px);
  height: calc(var(--ry) * 2 - 18px);
  border-color: rgba(215, 249, 0, 0.1);
  border-style: dashed;
  transform: translate(-50%, -50%) rotate(-2deg);
}
.ring-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}
.ring-center img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.ring-center span {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.52);
}
.ring-center small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}
.ring-items {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.ring-item {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 84px;
  margin-left: -42px;
  margin-top: -32px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  pointer-events: auto;
  will-change: transform, opacity;
  transition: color 0.2s var(--ease-smooth);
}
.ring-item img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  will-change: transform;
  transition: box-shadow 0.25s var(--ease-smooth);
}
.ring-item span {
  font-family: var(--font-mono);
  font-size: 10px;
  white-space: nowrap;
  text-shadow: 0 1px 8px #05070c;
}
.ring-item:hover {
  color: var(--lime);
}
.ring-item:hover img {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.ring-item:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
  border-radius: 16px;
}
.ring-note {
  margin: 10px 0 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.34);
}
@media (max-width: 1100px) {
  .ring-stage {
    height: 320px;
  }
  .ring-head h2 {
    font-size: 34px;
  }
}
@media (max-width: 720px) {
  .model-ring-section {
    padding: 56px 0 32px;
  }
  .ring-head h2 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }
  .ring-lead {
    padding: 0 8px;
    font-size: 13px;
  }
  .ring-stage {
    height: 300px;
    margin-top: 0;
  }
  .ring-item {
    width: 60px;
    margin-left: -30px;
    margin-top: -22px;
    gap: 4px;
  }
  .ring-item img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .ring-item span {
    font-size: 8px;
  }
  .ring-center img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .ring-center span {
    font-size: 8px;
  }
  .ring-center small {
    font-size: 9px;
  }
  .ring-note {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ring-item,
  .ring-item img {
    transition: none !important;
  }
}

.ring-track--band {
  width: calc(var(--rx) * 2 - 4px);
  height: calc(var(--ry) * 2 - 4px);
  border: 0;
  background: conic-gradient(
    from 210deg,
    rgba(0, 117, 255, 0.26),
    rgba(110, 231, 255, 0.05),
    rgba(215, 249, 0, 0.16),
    rgba(0, 117, 255, 0.26)
  );
  -webkit-mask: radial-gradient(
    ellipse at center,
    transparent 96%,
    #000 97%
  );
  mask: radial-gradient(ellipse at center, transparent 96%, #000 97%);
  filter: blur(0.4px);
  opacity: 0.55;
}
@media (max-width: 720px) {
  .ring-stage {
    height: 330px;
  }
  .ring-item {
    width: 64px;
    margin-left: -32px;
    margin-top: -24px;
    gap: 5px;
  }
  .ring-item img {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }
  .ring-item span {
    font-size: 9px;
  }
  .ring-center img {
    width: 44px;
    height: 44px;
  }
  .ring-center span {
    font-size: 9px;
  }
}

.ring-item span {
  display: none;
}
.ring-item::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translateX(-50%) translateY(-2px);
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  background: rgba(11, 17, 26, 0.92);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-smooth),
    transform 0.18s var(--ease-smooth);
}
.ring-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ring-legend {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.38);
}
@media (max-width: 720px) {
  .ring-legend {
    padding: 0 12px;
    font-size: 9px;
  }
}
/* ==========================================================================
   Hero orbit — a model constellation around the star
   ========================================================================== */

.obsidian-layout {
  grid-template-columns: minmax(0, 1fr) 640px;
}

.hero-orbit {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1;
  --inner-r: 33%;
  --outer-r: 43%;
}

/* ---------- orbit geometry ---------- */
.orbit-rings {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbit-ring--outer {
  width: calc(var(--outer-r) * 2);
  height: calc(var(--outer-r) * 0.84);
  border: 1px solid rgba(110, 231, 255, 0.2);
  box-shadow: 0 0 26px rgba(0, 117, 255, 0.13),
    inset 0 0 50px rgba(0, 117, 255, 0.05);
}
.orbit-ring--inner {
  width: calc(var(--inner-r) * 2);
  height: calc(var(--inner-r) * 0.84);
  border: 1px dashed rgba(215, 249, 0, 0.15);
}
.orbit-ring--tilt {
  width: 88%;
  height: 88%;
  border: 1px dashed rgba(255, 255, 255, 0.07);
  transform: translate(-50%, -50%) rotate(20deg) scaleY(0.5);
}
.orbit-rings::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76%;
  height: 76%;
  border: 1px solid rgba(110, 231, 255, 0.06);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-28deg) scaleY(0.34);
}

/* energy bands riding the two ellipses */
.orbit-arc {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(var(--outer-r) * 2);
  height: calc(var(--outer-r) * 0.84);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 205deg,
    transparent 0 64%,
    rgba(110, 231, 255, 0.55) 75%,
    rgba(110, 231, 255, 0.06) 82%,
    transparent 87%
  );
  -webkit-mask: radial-gradient(
    ellipse at center,
    transparent 0 95%,
    #000 96%
  );
  mask: radial-gradient(ellipse at center, transparent 0 95%, #000 96%);
  filter: blur(0.3px);
  opacity: 0.7;
  pointer-events: none;
}
.orbit-arc--b {
  width: calc(var(--inner-r) * 2);
  height: calc(var(--inner-r) * 0.84);
  background: conic-gradient(
    from 20deg,
    transparent 0 61%,
    rgba(215, 249, 0, 0.42) 73%,
    transparent 84%
  );
  animation-duration: 11s;
  animation-direction: reverse;
}
.orbit-arc--a {
  animation: orbit-arc-breathe 8s ease-in-out infinite alternate;
}
.orbit-arc--b {
  animation-name: orbit-arc-breathe;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes orbit-arc-breathe {
  from {
    opacity: 0.34;
    filter: blur(0.2px);
  }
  to {
    opacity: 0.86;
    filter: blur(0.7px);
  }
}

/* radar sweep just outside the outer orbit */
.orbit-sweep {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 94%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    from 0deg,
    transparent 0 79%,
    rgba(110, 231, 255, 0.16) 91%,
    transparent 97%
  );
  -webkit-mask: radial-gradient(
    circle,
    transparent 0 48%,
    #000 49% 50%,
    transparent 51%
  );
  mask: radial-gradient(
    circle,
    transparent 0 48%,
    #000 49% 50%,
    transparent 51%
  );
  opacity: 0.8;
  animation: orbit-spin 9s linear infinite;
  pointer-events: none;
}
@keyframes orbit-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* core light + heartbeat */
.orbit-core-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
      circle,
      rgba(0, 117, 255, 0.24),
      rgba(0, 117, 255, 0) 62%
    ),
    radial-gradient(
      circle at 62% 62%,
      rgba(215, 249, 0, 0.09),
      transparent 56%
    );
  filter: blur(30px);
  pointer-events: none;
}
.orbit-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76%;
  aspect-ratio: 1;
  border: 1px solid rgba(110, 231, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbit-pulse 5.6s ease-out infinite;
  pointer-events: none;
}
@keyframes orbit-pulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.72);
  }
  18% {
    opacity: 0.45;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

/* ---------- HUD chrome ---------- */
.orbit-hud {
  position: absolute;
  inset: 0;
  z-index: 2;
  font-family: var(--font-mono);
  pointer-events: none;
}
.orbit-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: rgba(110, 231, 255, 0.32);
  border-style: solid;
}
.orbit-corner--tl {
  left: 0;
  top: 0;
  border-width: 1px 0 0 1px;
}
.orbit-corner--tr {
  right: 0;
  top: 0;
  border-width: 1px 1px 0 0;
}
.orbit-corner--bl {
  left: 0;
  bottom: 0;
  border-width: 0 0 1px 1px;
}
.orbit-corner--br {
  right: 0;
  bottom: 0;
  border-width: 0 1px 1px 0;
}
.orbit-hud-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.22em;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.34);
}
.orbit-hud-label--top {
  top: 10px;
}
.orbit-hud-label--bottom {
  bottom: 10px;
}
.orbit-hud-label::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 9px rgba(215, 249, 0, 0.6);
  vertical-align: 1px;
}

/* ---------- the star ---------- */
.orbit-star {
  position: absolute;
  left: 18.75%;
  top: 18.75%;
  width: 62.5%;
  height: 62.5%;
  pointer-events: none;
}
.orbit-star .obsidian-emblem {
  position: relative;
  z-index: 100;
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- model nodes ---------- */
.orbit-items {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orbit-item {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 14px;
  text-decoration: none;
  pointer-events: auto;
  will-change: transform, opacity;
}
.orbit-item img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.46),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  will-change: transform;
  transition: box-shadow 0.25s var(--ease-smooth);
}
.orbit-item::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 300;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(6, 10, 16, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  color: #f5f7fa;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 4px);
  transition: opacity 0.18s var(--ease-smooth),
    transform 0.18s var(--ease-smooth), visibility 0.18s;
  pointer-events: none;
}
.orbit-item:hover,
.orbit-item:focus-visible {
  z-index: 260 !important;
  opacity: 1 !important;
}
.orbit-item:hover::after,
.orbit-item:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.orbit-item:hover img {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(110, 231, 255, 0.28);
}
.orbit-item:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .obsidian-layout {
    grid-template-columns: 1fr;
  }
  .hero-orbit {
    justify-self: center;
    max-width: 520px;
  }
  .orbit-item {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
  }
  .orbit-item img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .orbit-hud-label {
    font-size: 8px;
    letter-spacing: 0.18em;
  }
  .orbit-corner {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 720px) {
  .hero-orbit {
    max-width: 100%;
  }
  .orbit-item {
    width: 38px;
    height: 38px;
    margin: -19px 0 0 -19px;
  }
  .orbit-item img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .orbit-item::after {
    font-size: 9px;
    padding: 4px 6px;
  }
  .orbit-hud-label {
    font-size: 7.5px;
  }
  .orbit-hud-label--top {
    top: 6px;
  }
  .orbit-hud-label--bottom {
    bottom: 6px;
  }
  .orbit-corner {
    width: 12px;
    height: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-arc,
  .orbit-sweep,
  .orbit-pulse {
    animation: none !important;
  }
  .orbit-pulse {
    opacity: 0.25;
  }
}

/* JS positions the nodes; keep them hidden until the first frame */
.orbit-item {
  opacity: 0;
  perspective: 420px;
}
@media (prefers-reduced-motion: reduce) {
  .orbit-item img {
    transition: none !important;
  }
}

/* SVG HUD layer: ticks, tracks and marked arcs */
.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.orbit-svg * {
  vector-effect: non-scaling-stroke;
}
.orbit-svg-hud {
  fill: none;
  stroke: rgba(110, 231, 255, 0.13);
  stroke-width: 1;
  stroke-dasharray: 1 9;
}
.orbit-svg-tilt {
  fill: none;
  stroke: rgba(110, 231, 255, 0.07);
  stroke-width: 1;
  stroke-dasharray: 1 7;
}
.orbit-svg-track {
  fill: none;
  stroke: url(#orbit-stroke);
  stroke-width: 1.2;
  opacity: 0.85;
}
.orbit-svg-track--inner {
  stroke: rgba(215, 249, 0, 0.3);
  stroke-width: 1;
  stroke-dasharray: 2 7;
  opacity: 0.9;
}
.orbit-svg-ticks {
  stroke: rgba(110, 231, 255, 0.6);
  stroke-width: 1;
}
.orbit-svg-arc {
  fill: none;
  stroke: #6ee7ff;
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.72;
  filter: drop-shadow(0 0 4px rgba(110, 231, 255, 0.55));
}
.orbit-svg-arc--b {
  stroke: #d7f900;
  stroke-width: 1.4;
  opacity: 0.36;
}
.orbit-svg-arc--inner {
  stroke: #d7f900;
  stroke-width: 1.6;
  opacity: 0.5;
}
/* the SVG now carries the main tracks; keep CSS rings for fallback only */
.orbit-ring--outer,
.orbit-ring--inner,
.orbit-ring--tilt,
.orbit-rings::after {
  display: none;
}


/* Header gets a dark glass bar while scrolling through the hero */
.site-header.is-dark-floating {
  background: rgba(5, 7, 12, 0.82);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

@media (max-width: 1280px) {
  /* the quick-start snippet is repeated in the quickstart section; keep the orbit above the fold */
  .obsidian-code {
    display: none;
  }
}
@media (max-width: 720px) {
  .orbit-item {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
  }
  .orbit-item img {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }
}

/* Price calculator: Codex cache assumption */
.calc-row > span em {
  margin-left: 5px;
  font-style: normal;
  font-size: 10px;
  color: var(--faint);
}
.calc-row--cache {
  margin-top: 12px;
}
.calc-row--cache output {
  color: var(--ink);
  font-weight: 600;
}
.calc-row--cache input[type="range"] {
  accent-color: var(--lime);
}
.calc-cache-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 9px 0 0;
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--muted);
}
.calc-cache-note i {
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 9px rgba(215, 249, 0, 0.55);
}
.calc-cache-note strong {
  font-weight: 600;
  color: var(--ink);
}

/* Price cards: Codex cache benefit block */
.price-cache {
  --cache-accent: var(--lime);
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(215, 249, 0, 0.24);
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(215, 249, 0, 0.1),
    rgba(215, 249, 0, 0.015)
  );
}
.price-cache--pro {
  --cache-accent: var(--blue);
  border-color: rgba(0, 117, 255, 0.16);
  background: linear-gradient(
    135deg,
    rgba(0, 117, 255, 0.07),
    rgba(0, 117, 255, 0.01)
  );
}
.price-cache-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.price-cache-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  white-space: nowrap;
}
.price-cache-head i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cache-accent);
  box-shadow: 0 0 8px rgba(215, 249, 0, 0.55);
}
.price-cache--pro .price-cache-head i {
  box-shadow: 0 0 8px rgba(0, 117, 255, 0.5);
}
.price-cache-head strong {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.price-cache-head em {
  margin-left: 2px;
  font-style: normal;
  font-size: 9px;
  color: var(--faint);
}
.price-cache-bar {
  height: 3px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(16, 24, 40, 0.08);
}
.price-cache-bar i {
  display: block;
  width: 98%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cache-accent), #6ee7ff);
}
.price-cache-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 9.5px;
  color: var(--faint);
}

/* Calculator breakdown: p (normal input), cr (cache read), c (output) */
.calc-formula {
  margin: 7px 0 0;
  padding-left: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.5;
  color: var(--faint);
}
.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.calc-breakdown > div {
  min-width: 0;
}
.calc-breakdown span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
}
.calc-breakdown em {
  padding: 0 3px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-style: normal;
  line-height: 1.3;
  color: var(--faint);
}
.calc-breakdown strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc-breakdown small {
  display: block;
  margin-top: 1px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}
.price-cache-note {
  margin: 7px 0 0;
  font-size: 9px;
  line-height: 1.5;
  color: var(--faint);
}

.price-example {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(16, 24, 40, 0.08);
  font-size: 9px;
  line-height: 1.5;
  color: var(--faint);
}
.price-example span {
  flex: none;
  white-space: nowrap;
}
.price-example strong {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-align: right;
}

/* Fixed Codex cache: highlight the low result and the 98% assumption */
.price-calc .calc-result {
  border: 1px solid rgba(215, 249, 0, 0.5);
  background: linear-gradient(135deg, #fbffe9 0%, #ffffff 72%);
  box-shadow: 0 8px 26px rgba(180, 210, 0, 0.08);
}
.price-calc .calc-result span {
  color: var(--ink-2);
}
.price-calc .calc-result strong {
  color: var(--ink);
}
.calc-cache-badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid rgba(215, 249, 0, 0.55);
  border-radius: 11px;
  background: linear-gradient(
    120deg,
    rgba(215, 249, 0, 0.22),
    rgba(215, 249, 0, 0.04)
  );
}
.calc-cache-badge::after {
  content: "";
  position: absolute;
  right: -22px;
  top: -36px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(215, 249, 0, 0.32), transparent 66%);
  pointer-events: none;
}
.calc-cache-badge-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(215, 249, 0, 0.45);
  animation: calc-cache-pulse 2.4s ease-out infinite;
}
@keyframes calc-cache-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(215, 249, 0, 0.42);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(215, 249, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(215, 249, 0, 0);
  }
}
.calc-cache-badge-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.calc-cache-badge-copy strong {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.calc-cache-badge-copy span {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  line-height: 1.5;
  color: var(--muted);
}
.calc-cache-badge-value {
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  line-height: 1;
}
.calc-cache-badge-value strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--ink);
}
.calc-cache-badge-value small {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  color: var(--faint);
}
.calc-cache-save {
  margin: 10px 0 0;
  font-size: 9.5px;
  line-height: 1.6;
  color: var(--muted);
}
.calc-cache-save strong {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
}
