/* =============================================================
   FishNetAI — Apple-inspired visual layer
   Loaded after style.css. Keeps the interaction model, replaces
   the ocean/neon art direction with a light, product-led system.
   ============================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root,
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f7;
  --bg-deep: #ffffff;
  --bg-raise: #ffffff;
  --surface: #ffffff;
  --surface-solid: #ffffff;
  --surface-2: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.16);
  --aqua: #0071e3;
  --aqua-2: #0066cc;
  --cyan: #2997ff;
  --coral: #ff9500;
  --violet: #af52de;
  --gold: #ff9500;
  --ink-rgb: 29 29 31;
  --bg-rgb: 245 245 247;
  --glass: rgba(255, 255, 255, 0.74);
  --glass-strong: rgba(255, 255, 255, 0.94);
  --chip-bg: #ffffff;
  --console-bg: #ffffff;
  --console-bar: #f5f5f7;
  --console-panel: #f5f5f7;
  --answer-bg: #f5f5f7;
  --code-bg: #1d1d1f;
  --sphere: radial-gradient(circle at 48% 36%, #ffffff 0%, #fbfbfd 42%, #eef0f3 100%);
  --core-face: linear-gradient(180deg, #ffffff 0%, #f7f7f9 100%);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 10px 32px rgba(0, 0, 0, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --container: 1120px;
  --gutter: 24px;
  --radius: 18px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
  --header-space: 48px;
}

html {
  background: #ffffff;
}

body,
body.apple-ui {
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  transition: none;
}

body::before {
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(0, 113, 227, 0.05), transparent 68%),
    #ffffff;
  opacity: 1;
}

body::after {
  display: none;
}

::selection {
  background: rgba(0, 113, 227, 0.16);
  color: #1d1d1f;
}

:focus-visible {
  outline: 2px solid #0071e3;
  outline-offset: 3px;
}

.scroll-progress,
.cursor-aura {
  display: none !important;
}

.container {
  width: min(calc(100% - 44px), 1120px);
}

.section {
  padding: clamp(82px, 9vw, 132px) 0;
  border-top: 0;
  background: #ffffff;
  scroll-margin-top: 58px;
}

.section + .section {
  border-top: 0;
}

.playground,
.workflow,
.pricing,
.faq {
  background: #f5f5f7;
}

.manifesto,
.cases {
  background: #f5f5f7;
}

.capabilities,
.developers,
.trust {
  background: #ffffff;
}

.playground::before,
.capabilities::before,
.pricing::before,
.cases::before,
.developers::before,
.workflow::before,
.faq::before {
  display: none;
}

.hero__aura,
.hero__grid,
.hero__canvas,
.hero__foot,
.net-hint,
.net-hud--bottom,
.scroll-cue,
.eyebrow__index,
.eyebrow::after {
  display: none !important;
}

.display {
  max-width: 980px;
  margin: 0 auto;
  color: #1d1d1f;
  font-size: clamp(2.7rem, 4.5vw, 4.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #0071e3;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: none;
}

.eyebrow::after {
  display: none !important;
}

.section-head {
  align-items: center;
  max-width: 980px;
  margin: 0 auto clamp(40px, 5.5vw, 64px);
  text-align: center;
  gap: 14px;
}

.section-head .display {
  max-width: 22ch;
  margin: 0 auto;
}

.section-head--split {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 980px;
  text-align: center;
}

.section-head--split .section-head__aside {
  max-width: 680px;
  padding-bottom: 0;
  text-align: center;
}

.section-head__aside p {
  max-width: 680px;
  color: #6e6e73;
  font-size: 19px;
  line-height: 1.47;
}

.section-lead {
  max-width: 680px;
  margin-inline: auto;
  color: #6e6e73;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.47;
  letter-spacing: -0.01em;
}

.inline-note {
  margin-top: 14px;
  color: #86868b;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

.inline-note .live-dot {
  width: 7px;
  height: 7px;
  background: #30d158;
  box-shadow: none;
}

.inline-note .live-dot::after {
  display: none;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #0071e3;
  box-shadow: none;
}

.live-dot::after {
  display: none;
}

/* Buttons */
.btn {
  height: 46px;
  padding: 0 22px;
  border-radius: 980px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: none;
}

.btn--primary {
  background: #0071e3;
  color: #ffffff;
  box-shadow: none;
}

.btn--primary:hover {
  background: #0077ed;
  color: #ffffff;
  box-shadow: none;
}

.btn--glass {
  border: 0;
  background: transparent;
  color: #0071e3;
  padding-inline: 10px;
  backdrop-filter: none;
}

.btn--glass:hover {
  border-color: transparent;
  background: transparent;
  color: #0066cc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn--sm {
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.btn--lg {
  height: 50px;
  padding: 0 26px;
  font-size: 17px;
}

.btn--full {
  width: 100%;
}

.btn__arrow {
  width: 18px;
  height: 18px;
  margin-right: -2px;
}

.btn__play {
  width: 22px;
  height: 22px;
  margin-left: -2px;
  border: 0;
  background: rgba(0, 113, 227, 0.1);
  color: #0071e3;
}

.btn__play .icon {
  width: 9px;
  height: 9px;
}

.btn--glass:hover .btn__play {
  background: #0071e3;
  color: #ffffff;
}

.text-link {
  gap: 6px;
  color: #0071e3;
  font-size: 17px;
  font-weight: 400;
}

.text-link .icon {
  width: 13px;
  height: 13px;
  color: #0071e3;
}

.text-link:hover {
  color: #0066cc;
  gap: 8px;
}

.text-link:hover .icon {
  transform: none;
}

.icon-btn {
  border: 0;
  color: #6e6e73;
}

.icon-btn:hover {
  background: #f5f5f7;
  border-color: transparent;
  color: #1d1d1f;
}

/* Header */
.site-header,
.site-header.is-scrolled {
  padding: 0;
  background: rgba(251, 251, 253, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.site-header .container {
  width: min(calc(100% - 40px), 1024px);
}

.header-inner,
.site-header.is-scrolled .header-inner {
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  gap: 7px;
}

.brand__mark {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #1d1d1f;
  box-shadow: none;
}

.brand__icon {
  width: 22px;
  height: 22px;
}

.brand__word {
  color: #1d1d1f;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__ai {
  margin-left: 3px;
  padding: 2px 4px;
  border: 0;
  border-radius: 4px;
  background: #e8f2ff;
  color: #0071e3;
  font-family: var(--font);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: 2px;
}

.main-nav {
  gap: 18px;
}

.nav-link {
  padding: 9px 0;
  border-radius: 0;
  color: #424245;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #1d1d1f;
  background: transparent;
}

.nav-link.is-active::after {
  display: none;
}

.header-actions {
  gap: 12px;
}

.theme-toggle {
  display: none;
}

.header-cta {
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0071e3;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  box-shadow: none;
}

.header-cta:hover {
  background: transparent;
  color: #0066cc;
  text-decoration: underline;
  text-underline-offset: 3px;
  transform: none;
}

.header-cta .icon {
  width: 10px;
  height: 10px;
}

.menu-toggle {
  width: 28px;
  height: 28px;
  border: 0;
  color: #1d1d1f;
}

.menu-toggle span {
  left: 6px;
  width: 16px;
}

.menu-toggle span:first-child {
  top: 11px;
}

.menu-toggle span:last-child {
  top: 17px;
}

.menu-open .menu-toggle span:first-child,
.menu-open .menu-toggle span:last-child {
  top: 14px;
}

.mobile-menu {
  padding-top: 72px;
  background: rgba(251, 251, 253, 0.98);
  color: #1d1d1f;
  backdrop-filter: saturate(180%) blur(20px);
}

.mobile-menu__nav {
  border-top: 0;
}

.mobile-menu__nav a {
  padding: 17px 0;
  border-bottom: 1px solid #d2d2d7;
  color: #1d1d1f;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.mobile-menu__nav a span {
  display: none;
}

.mobile-menu__nav a:hover {
  padding-left: 0;
  color: #0071e3;
}

.mobile-menu__foot p {
  color: #6e6e73;
  font-size: 15px;
}

.mobile-menu__theme {
  display: none;
}

/* Hero */
.hero {
  min-height: auto;
  padding: 100px 0 34px;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 58%, #f5f5f7 100%);
  overflow: hidden;
  text-align: center;
}

.hero__inner {
  display: block;
  max-width: 1180px;
  padding: 0;
}

.hero__copy {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}

.live-pill {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: none;
  backdrop-filter: none;
}

.live-pill .live-dot {
  width: 7px;
  height: 7px;
  background: #0071e3;
}

.hero__version {
  display: none;
}

.hero__title {
  max-width: 1080px;
  margin: 0 auto 20px;
  color: #1d1d1f;
  font-size: clamp(3.15rem, 5.7vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.hero__line {
  padding-bottom: 0.04em;
  margin-bottom: -0.04em;
}

.hero__title em {
  color: transparent;
  background: linear-gradient(100deg, #0071e3 0%, #2997ff 58%, #64d2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: none;
}

.hero__title em::after {
  display: none;
}

.hero__lead {
  max-width: 720px;
  margin: 0 auto;
  color: #6e6e73;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.hero__lead strong {
  color: #1d1d1f;
  font-weight: 500;
}

.hero__cta {
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
}

.hero__micro {
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  color: #86868b;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.hero__micro span + span::before {
  display: none;
}

.hero__micro span {
  position: relative;
}

.hero__micro span + span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c7c7cc;
  transform: translateY(-50%);
}

.hero__visual {
  width: 100%;
  max-width: 460px;
  margin: 28px auto 0;
  padding: 0;
}

.net-visual {
  width: min(100%, 440px);
  margin: 0 auto;
  transform: none !important;
}

.net-sphere {
  inset: 7%;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: var(--sphere);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 0 90px rgba(0, 113, 227, 0.035);
}

.net-sphere::before {
  background-image: radial-gradient(rgba(0, 0, 0, 0.16) 0.7px, transparent 0.8px);
  background-size: 26px 26px;
  opacity: 0.28;
}

.net-sphere::after {
  top: 14%;
  left: 17%;
  width: 30%;
  height: 18%;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(28px);
}

.net-orbit {
  border-color: rgba(0, 0, 0, 0.08);
}

.net-orbit--a {
  border-top-color: rgba(0, 113, 227, 0.22);
  border-bottom-color: rgba(0, 113, 227, 0.1);
}

.net-orbit--b,
.net-orbit--c {
  display: none;
}

.net-link {
  stroke: rgba(0, 113, 227, 0.22);
  stroke-dasharray: 3 7;
}

.net-link--perimeter {
  stroke: rgba(0, 0, 0, 0.09);
}

.net-core {
  width: clamp(140px, 28%, 170px);
}

.net-core__halo {
  background: radial-gradient(circle, rgba(0, 113, 227, 0.08), transparent 68%);
  filter: blur(20px);
}

.net-core__ring {
  border-color: rgba(0, 113, 227, 0.18);
}

.net-core__ring::before {
  background: #0071e3;
  box-shadow: none;
}

.net-core__face {
  border-color: rgba(0, 0, 0, 0.08);
  background: var(--core-face);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 #ffffff;
}

.net-core__logo {
  color: #0071e3;
  filter: none;
}

.net-core__name {
  color: #1d1d1f;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.net-core__sub {
  color: #86868b;
  font-family: var(--font);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.net-core__status {
  color: #86868b;
  font-family: var(--font);
  font-size: 7px;
}

.net-core__status i {
  background: #30d158;
  box-shadow: none;
}

.agent-node {
  gap: 7px;
  width: max-content;
  max-width: none;
  padding: 7px 12px 7px 7px;
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: #1d1d1f;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(14px);
}

.agent-node:hover,
.agent-node:focus-visible,
.agent-node.is-active {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(0, 113, 227, 0.08);
  transform: translate(-50%, -50%);
}

.agent-node__dot {
  width: 24px;
  height: 24px;
  border: 0;
  background: color-mix(in srgb, var(--node-color) 12%, #ffffff);
  color: var(--node-color);
  font-family: var(--font);
  font-size: 9px;
  font-weight: 600;
}

.agent-node__label {
  flex: none;
  color: #1d1d1f;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.net-inspector {
  width: 190px;
  padding: 12px 13px;
  border-color: rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  backdrop-filter: saturate(180%) blur(18px);
}

.net-inspector__label {
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.net-inspector__dot {
  border: 0;
  background: color-mix(in srgb, var(--node-color, #0071e3) 12%, #ffffff);
  color: var(--node-color, #0071e3);
  font-family: var(--font);
  font-size: 10px;
}

.net-inspector__text strong {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
}

.net-inspector__text span {
  color: #6e6e73;
  font-size: 9px;
}

.net-inspector__model {
  color: #86868b;
  font-family: var(--font);
  font-size: 7px;
}

.net-hud {
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0.02em;
}

/* Trust strip */
.trust {
  padding: 48px 0 0;
  border-top: 1px solid #d2d2d7;
  border-bottom: 1px solid #d2d2d7;
}

.trust__marquee-wrap {
  gap: 36px;
}

.trust__label {
  color: #86868b;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.marquee__track {
  gap: 38px;
  animation-duration: 48s;
}

.logo-item {
  gap: 8px;
  color: #6e6e73;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 1;
}

.logo-shape {
  border-color: #86868b;
}

.stat-strip {
  margin-top: 34px;
  border-top-color: #d2d2d7;
}

.stat-strip__item {
  padding: 28px 24px;
  border-left-color: #d2d2d7;
}

.stat-strip__item strong {
  color: #1d1d1f;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.stat-strip__item sup {
  margin-left: 3px;
  color: #1d1d1f;
  font-family: var(--font);
  font-size: 0.36em;
  font-weight: 500;
  letter-spacing: 0;
}

.stat-strip__item > span {
  color: #6e6e73;
  font-size: 13px;
}

.trust__note {
  padding: 8px 0 18px;
  color: #86868b;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0;
  opacity: 1;
}

/* Manifesto */
.manifesto {
  background: #f5f5f7;
}

.manifesto__grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 8vw, 104px);
}

.manifesto__title .display {
  max-width: 11ch;
  margin-top: 20px;
  font-size: clamp(2.8rem, 4.3vw, 4.1rem);
}

.sonar {
  width: min(224px, 58%);
  margin-top: 52px;
  border-color: #d2d2d7;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.035), transparent 68%);
}

.sonar::before,
.sonar::after {
  background: #d2d2d7;
}

.sonar__ring {
  border-color: #d2d2d7;
}

.sonar__sweep {
  background: conic-gradient(from 0deg, transparent 0 292deg, rgba(0, 113, 227, 0.08) 345deg, transparent 360deg);
}

.sonar__dot {
  width: 5px;
  height: 5px;
  background: #0071e3;
  box-shadow: none;
}

.sonar__label {
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.manifesto__lead {
  max-width: 620px;
  color: #1d1d1f;
  font-size: clamp(21px, 1.9vw, 25px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.principle-list {
  margin-top: 40px;
  border-top-color: #d2d2d7;
}

.principle {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 23px 0;
  border-bottom-color: #d2d2d7;
}

.principle__num {
  padding-top: 2px;
  color: #0071e3;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.principle h3 {
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.principle p {
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.5;
}

.manifesto__body .text-link {
  margin-top: 30px;
}

/* Playground console */
.playground {
  background: #f5f5f7;
}

.console {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
  scroll-margin-top: 74px;
}

.console::before {
  display: none;
}

.console__bar {
  height: 52px;
  padding: 0 20px;
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: #f5f5f7;
}

.console__dots {
  gap: 7px;
}

.console__dots i {
  width: 9px;
  height: 9px;
  background: #d2d2d7;
}

.console__dots i:first-child {
  background: #ff5f57;
}

.console__dots i:nth-child(2) {
  background: #febc2e;
}

.console__dots i:nth-child(3) {
  background: #28c840;
}

.console__identity {
  gap: 10px;
  color: #1d1d1f;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.console__net {
  color: #424245;
}

.console__live {
  color: #0071e3;
  font-size: 10px;
  letter-spacing: 0;
}

.console__live i {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.console__badge {
  padding: 3px 6px;
  border: 0;
  border-radius: 4px;
  background: #e8e8ed;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.console__latency {
  color: #86868b;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0;
}

.console__bar .icon-btn {
  color: #6e6e73;
}

.console__bar .icon-btn:hover {
  background: #e8e8ed;
  color: #1d1d1f;
}

.console__body {
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 590px;
}

.console-rail {
  padding: 20px 16px 16px;
  border-right-color: rgba(0, 0, 0, 0.08);
  background: #fbfbfd;
}

.rail-head {
  color: #86868b;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.01em;
}

.rail-head span:last-child {
  color: #86868b;
}

.rail-net {
  gap: 12px;
  padding: 15px 0 16px;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.rail-net__graphic {
  width: 72px;
  height: 62px;
}

.rail-net__ring {
  width: 52px;
  height: 52px;
  border-color: #d2d2d7;
}

.rail-net__ring--2 {
  width: 34px;
  height: 34px;
}

.rail-net__core {
  width: 26px;
  height: 26px;
  border-color: rgba(0, 113, 227, 0.18);
  background: #ffffff;
  color: #0071e3;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.rail-net__graphic i {
  width: 5px;
  height: 5px;
  background: #0071e3;
  box-shadow: none;
}

.rail-net__meta strong {
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
}

.rail-net__meta span {
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0;
}

.rail-agents {
  gap: 3px;
  padding: 12px 0;
}

.rail-agent {
  gap: 10px;
  padding: 8px 7px;
  border-radius: 10px;
}

.rail-agent:hover {
  background: #f5f5f7;
}

.rail-agent__avatar {
  width: 28px;
  height: 28px;
  border: 0;
  background: color-mix(in srgb, var(--agent-color) 12%, #ffffff);
  color: var(--agent-color);
  font-family: var(--font);
  font-size: 9px;
  font-weight: 600;
}

.rail-agent__meta strong {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 500;
}

.rail-agent__meta span {
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
  letter-spacing: 0.01em;
}

.rail-agent__state {
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0;
}

.rail-agent.is-running {
  background: rgba(0, 113, 227, 0.05);
}

.rail-agent.is-running .rail-agent__avatar {
  background: color-mix(in srgb, var(--agent-color) 16%, #ffffff);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--agent-color) 8%, transparent);
}

.rail-agent.is-running .rail-agent__state {
  color: #0071e3;
}

.rail-agent.is-done .rail-agent__state {
  color: #30a14e;
}

.rail-usage {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.rail-usage__row {
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0;
}

.rail-usage__row span:last-child {
  color: #1d1d1f;
}

.rail-usage__bar {
  background: #e5e5e7;
}

.rail-usage__bar i {
  background: #0071e3;
  box-shadow: none;
}

.rail-usage p {
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
}

.rail-foot {
  border-top-color: rgba(0, 0, 0, 0.08);
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
  letter-spacing: 0;
}

.rail-foot .live-dot {
  width: 5px;
  height: 5px;
  background: #30d158;
}

.console-chat {
  height: 590px;
}

.chat-scroll {
  padding: 28px 32px 20px;
}

.msg {
  gap: 13px;
}

.msg__avatar {
  width: 32px;
  height: 32px;
  border: 0;
  background: #e8f2ff;
  color: #0071e3;
  font-family: var(--font);
  font-size: 9px;
  font-weight: 600;
}

.msg__meta {
  gap: 9px;
  margin-bottom: 9px;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0;
}

.msg__meta strong {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
}

.msg__meta span {
  color: #86868b;
}

.msg__hello {
  margin-bottom: 6px;
  color: #1d1d1f;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.msg__text {
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.5;
}

.msg__bubble {
  padding: 11px 15px;
  border: 0;
  border-radius: 18px 18px 5px 18px;
  background: #0071e3;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.45;
}

.chat-suggestions {
  gap: 10px;
  margin-top: 20px;
}

.chat-suggestions button {
  gap: 9px;
  padding: 12px 13px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 13px;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 13px;
  line-height: 1.35;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.chat-suggestions button:hover {
  border-color: rgba(0, 113, 227, 0.35);
  background: #f5f5f7;
  transform: none;
}

.suggestion__icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #e8f2ff;
  color: #0071e3;
}

.suggestion__icon svg {
  width: 12px;
  height: 12px;
}

.suggestion__arrow {
  color: #86868b;
}

.chat-suggestions button:hover .suggestion__arrow {
  color: #0071e3;
}

.run-trace {
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: #f5f5f7;
}

.run-trace__head {
  margin-bottom: 12px;
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.run-trace__head span:first-child {
  color: #0071e3;
}

.run-trace__head span:last-child {
  color: #86868b;
}

.run-step {
  gap: 11px;
  padding: 7px 0;
}

.run-step__dot {
  width: 16px;
  height: 16px;
  border-color: #d2d2d7;
  background: #ffffff;
  color: #86868b;
  font-family: var(--font);
  font-size: 6px;
}

.run-step:not(:last-child) .run-step__rail::after {
  background: #d2d2d7;
}

.run-step.is-running .run-step__dot {
  border-color: rgba(0, 113, 227, 0.4);
  background: #e8f2ff;
  color: #0071e3;
  box-shadow: none;
}

.run-step.is-done .run-step__dot {
  border-color: #0071e3;
  background: #0071e3;
  color: #ffffff;
}

.run-step.is-done .run-step__rail::after {
  background: rgba(0, 113, 227, 0.35);
}

.run-step__body strong {
  color: #1d1d1f;
  font-size: 11px;
  font-weight: 500;
}

.run-step__body span {
  color: #6e6e73;
  font-size: 10px;
}

.run-step__state {
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
  letter-spacing: 0;
}

.run-step.is-running .run-step__state {
  color: #0071e3;
}

.answer {
  padding: 20px;
  border: 0;
  border-radius: 20px;
  background: #f5f5f7;
}

.answer__head {
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.answer__check {
  width: 24px;
  height: 24px;
  background: #0071e3;
  color: #ffffff;
}

.answer__title {
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 600;
}

.answer__badge {
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0;
}

.answer__body {
  gap: 15px;
}

.answer-block {
  color: #1d1d1f;
  font-size: 14px;
  line-height: 1.55;
}

.answer-block__label {
  gap: 0;
  margin-bottom: 7px;
  color: #0071e3;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

.answer-block__label::before {
  display: none;
}

.answer-list {
  gap: 8px;
}

.answer-list li {
  padding-left: 16px;
  color: #424245;
  font-size: 13px;
  line-height: 1.55;
}

.answer-list li::before {
  top: 0.68em;
  width: 4px;
  height: 4px;
  background: #0071e3;
  box-shadow: none;
}

.answer-note {
  padding: 13px 15px;
  border-left: 0;
  border-radius: 12px;
  background: #ffffff;
}

.answer-note strong {
  color: #0071e3;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

.answer-note p {
  color: #1d1d1f;
  font-size: 13px;
  line-height: 1.55;
}

.answer-bars {
  gap: 8px;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
}

.answer-bars__head {
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0;
}

.answer-bar {
  grid-template-columns: 72px minmax(0, 1fr) 44px;
  gap: 9px;
}

.answer-bar > span:first-child {
  color: #424245;
  font-size: 10px;
}

.answer-bar__track {
  height: 5px;
  background: #e5e5e7;
}

.answer-bar__fill {
  background: #0071e3;
  box-shadow: none;
}

.answer-bar b {
  color: #1d1d1f;
  font-family: var(--font);
  font-size: 9px;
}

.answer-timeline__item {
  border-left-color: #d2d2d7;
}

.answer-timeline__item::before {
  background: #0071e3;
  box-shadow: none;
}

.answer-timeline__time {
  color: #0071e3;
  font-family: var(--font);
  font-size: 9px;
}

.answer-timeline__body strong {
  color: #1d1d1f;
  font-size: 12px;
}

.answer-timeline__body p {
  color: #6e6e73;
  font-size: 11px;
}

.answer-code {
  border: 0;
  border-radius: 12px;
  background: #1d1d1f;
  color: #f5f5f7;
  font-size: 11px;
}

.answer-code b {
  color: #64d2ff;
}

.answer-code i {
  color: #ffd60a;
}

.answer__foot {
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.source-chip {
  padding: 5px 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 7px;
  background: #ffffff;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 8px;
  letter-spacing: 0;
}

.source-chip svg {
  color: #86868b;
}

.answer__actions {
  gap: 8px;
}

.answer-action {
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 7px;
  background: #ffffff;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 8px;
}

.answer-action:hover {
  border-color: rgba(0, 113, 227, 0.3);
  background: #ffffff;
  color: #0071e3;
}

.composer {
  padding: 14px 20px 12px;
  border-top-color: rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.composer__form {
  min-height: 48px;
  padding: 7px 7px 7px 16px;
  border-color: #d2d2d7;
  border-radius: 15px;
  background: #f5f5f7;
}

.composer__form:focus-within {
  border-color: #0071e3;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.composer__input {
  color: #1d1d1f;
  font-size: 14px;
}

.composer__input::placeholder {
  color: #86868b;
}

.composer__send {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0071e3;
  color: #ffffff;
}

.composer__send:hover {
  background: #0077ed;
  color: #ffffff;
  transform: none;
}

.composer__meta {
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
  letter-spacing: 0;
}

.composer__demo i {
  width: 5px;
  height: 5px;
  background: #30d158;
}

/* Bento capability cards */
.capabilities {
  background: #ffffff;
}

.bento {
  gap: 16px;
  grid-auto-rows: 292px;
}

.bento-card {
  padding: 28px;
  border: 0;
  border-radius: 28px;
  background: #f5f5f7;
  box-shadow: none;
}

.bento-card::before {
  display: none;
}

.bento-card:hover {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.bento-card__head {
  justify-content: flex-start;
}

.bento-card__index {
  display: none;
}

.bento-card__type {
  color: #86868b;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.bento-card__copy {
  padding-top: 12px;
}

.bento-card__copy h3 {
  margin-bottom: 8px;
  color: #1d1d1f;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.bento-card__copy p {
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.45;
}

.bento-card--orch .bento-card__copy h3 {
  font-size: clamp(30px, 2.7vw, 38px);
}

.bento-card--orch .bento-card__copy p {
  font-size: 17px;
  max-width: 500px;
}

.bento-card__foot {
  display: none;
}

.mini-orch {
  min-height: 300px;
  color: #0071e3;
}

.mini-orch > svg {
  opacity: 0.7;
}

.mini-orch__core {
  width: 68px;
  height: 68px;
  border: 0;
  background: #ffffff;
  color: #0071e3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.mini-orch__core svg {
  width: 30px;
  height: 30px;
}

.mini-orch__core i {
  display: none;
}

.mini-orch__node {
  padding: 7px 11px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  background: #ffffff;
  color: #1d1d1f;
  font-size: 11px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.mini-orch__node::before {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.mini-orch__packet {
  width: 5px;
  height: 5px;
  background: #0071e3;
  box-shadow: none;
}

.model-orbit {
  min-height: 140px;
  gap: 8px;
  padding: 16px 4px 0;
}

.model-orbit__beam {
  opacity: 0.2;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(0, 113, 227, 0.12) 82%, transparent 92%);
  filter: blur(14px);
}

.model-chip {
  padding: 7px 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  background: #ffffff;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 10px;
}

.model-orbit:hover .model-chip {
  border-color: rgba(0, 113, 227, 0.22);
  color: #1d1d1f;
}

.model-orbit__core {
  padding: 8px 12px;
  border-radius: 8px;
  background: #0071e3;
  color: #ffffff;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  box-shadow: none;
}

.memory-stack {
  min-height: 165px;
}

.memory-card {
  width: min(220px, 78%);
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.memory-card:nth-child(1),
.memory-card:nth-child(2) {
  opacity: 1;
}

.memory-card > span {
  color: #0071e3;
  font-family: var(--font);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.memory-card strong {
  margin: 6px 0 5px;
  color: #1d1d1f;
  font-size: 11px;
  line-height: 1.4;
}

.memory-card i {
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
}

.memory-stack:hover .memory-card:nth-child(3) {
  border-color: rgba(0, 113, 227, 0.28);
}

.security-visual {
  min-height: 128px;
  gap: 8px;
  padding: 22px 0 10px;
}

.security-visual__lock {
  width: 52px;
  height: 52px;
  margin-right: 8px;
  border: 0;
  background: #ffffff;
  color: #0071e3;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.cert-pill {
  padding: 5px 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  background: #ffffff;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 8px;
}

.trace-visual {
  min-height: 152px;
  margin: 16px 0 4px;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
}

.trace-visual__head {
  border-bottom-color: rgba(0, 0, 0, 0.06);
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
}

.trace-visual__head span:first-child {
  color: #1d1d1f;
}

.trace-row {
  gap: 8px;
  padding: 4px 0;
}

.trace-row span,
.trace-row b {
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
}

.trace-row i {
  height: 4px;
  background: #e5e5e7;
}

.trace-row i::after {
  background: #0071e3;
  opacity: 0.85;
}

.knowledge-visual {
  min-height: 145px;
  color: #0071e3;
}

.knowledge-visual svg {
  height: 145px;
}

.knowledge-visual > span {
  border: 0;
  border-radius: 5px;
  background: #ffffff;
  color: #86868b;
  font-family: var(--font);
  font-size: 7px;
}

/* Workflow */
.workflow {
  background: #f5f5f7;
}

.wf-visual {
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 113, 227, 0.06), transparent 56%),
    #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.06);
}

.wf-grid {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  opacity: 0.5;
}

.wf-ring {
  border-color: #d2d2d7;
}

.wf-visual[data-step="2"] .wf-ring--2 {
  border-color: rgba(0, 113, 227, 0.32);
  box-shadow: none;
}

.wf-lines line {
  stroke: rgba(0, 113, 227, 0.35);
}

.wf-core {
  border: 0;
  background: #ffffff;
  color: #0071e3;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.wf-core__pulse {
  border-color: rgba(0, 113, 227, 0.2);
}

.wf-core__icon {
  color: #0071e3;
  filter: none;
}

.wf-core__text {
  color: #86868b;
  font-family: var(--font);
  font-size: 7px;
  letter-spacing: 0.06em;
}

.wf-sat {
  padding: 6px 9px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 7px;
  background: #ffffff;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 9px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.wf-sat::before {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.wf-visual[data-step="2"] .wf-sat {
  border-color: rgba(0, 113, 227, 0.24);
  color: #1d1d1f;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.wf-output {
  width: 230px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.wf-output__tag {
  color: #0071e3;
  font-family: var(--font);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.wf-output strong {
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 600;
}

.wf-output__meta {
  color: #86868b;
  font-family: var(--font);
  font-size: 8px;
}

.wf-output__meta svg {
  color: #0071e3;
}

.wf-coord {
  color: #b0b0b5;
  font-family: var(--font);
  font-size: 7px;
}

.wf-console {
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  background: #ffffff;
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
}

.wf-console__step {
  color: #0071e3;
}

.wf-step {
  padding: clamp(38px, 4.6vw, 56px) 0;
  border-top-color: #d2d2d7;
}

.wf-step.is-active {
  border-top-color: #0071e3;
}

.wf-step__num {
  color: #86868b;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
}

.wf-step.is-active .wf-step__num {
  color: #0071e3;
}

.wf-step__eyebrow {
  color: #86868b;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.wf-step__eyebrow::before {
  display: none;
}

.wf-step h3 {
  margin-bottom: 14px;
  color: #1d1d1f;
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.wf-step h3 span {
  margin-top: 7px;
  color: #6e6e73;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.wf-step p {
  max-width: 500px;
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.55;
}

.wf-step:not(.is-active) h3,
.wf-step:not(.is-active) h3 span,
.wf-step:not(.is-active) p {
  color: #6e6e73;
}

.wf-step:not(.is-active) .wf-step__num,
.wf-step:not(.is-active) .wf-step__eyebrow {
  color: #86868b;
}

.wf-step__chips {
  gap: 8px;
  margin-top: 22px;
}

.wf-step__chips span {
  padding: 6px 10px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 7px;
  background: #ffffff;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0;
}

.wf-step.is-active .wf-step__chips span {
  border-color: rgba(0, 113, 227, 0.18);
  color: #1d1d1f;
}

/* Developers / code */
.developers {
  background: #ffffff;
}

.dev-copy .display {
  max-width: 13ch;
  margin: 20px 0 20px;
  font-size: clamp(2.7rem, 4vw, 4rem);
}

.dev-copy .section-lead {
  color: #6e6e73;
  font-size: 17px;
  line-height: 1.5;
}

.dev-list {
  gap: 11px;
  margin: 26px 0 28px;
}

.dev-list li {
  gap: 8px;
  color: #424245;
  font-size: 15px;
}

.dev-list svg {
  width: 15px;
  height: 15px;
  color: #0071e3;
}

.code-window {
  border: 0;
  border-radius: 24px;
  background: #1d1d1f;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.code-window::before {
  display: none;
}

.code-window__bar {
  height: 52px;
  padding: 0 18px;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  background: #2c2c2e;
}

.code-tab {
  padding: 6px 10px;
  border-radius: 7px;
  color: #a1a1a6;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: -0.01em;
}

.code-tab.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
}

.code-tab:hover {
  color: #f5f5f7;
}

.code-copy {
  color: #a1a1a6;
}

.code-copy:hover {
  border-color: rgba(255, 255, 255, 0.16);
  color: #f5f5f7;
}

.code-window__install {
  gap: 8px;
  padding: 13px 20px;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: #1d1d1f;
  color: #a1a1a6;
  font-family: var(--mono);
  font-size: 11px;
}

.code-window__install > span:first-child {
  color: #30d158;
}

.code-window__install b {
  color: #f5f5f7;
}

.code-window__preview {
  color: #6e6e73;
  font-family: var(--font);
  font-size: 9px;
}

.code-window__body {
  min-height: 365px;
  padding: 24px;
  background: #1d1d1f;
}

.code-panel {
  color: #f5f5f7;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}

.c-key {
  color: #ff9f0a;
}

.c-str {
  color: #64d2ff;
}

.c-fn {
  color: #bf5af2;
}

.c-prop {
  color: #ffd60a;
}

.code-window__foot {
  padding: 13px 20px;
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #86868b;
  font-family: var(--font);
  font-size: 10px;
}

.code-window__foot .live-dot {
  width: 6px;
  height: 6px;
  background: #30d158;
}

/* Case studies */
.cases {
  background: #f5f5f7;
}

.cases-grid {
  gap: 16px;
}

.case-card {
  min-height: 0;
  padding: 28px;
  border: 0;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .case-card {
  background: #ffffff;
}

.case-card:hover {
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

.case-card::before {
  display: none;
}

.case-card--featured {
  border: 0;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.case-card__head {
  margin-bottom: 36px;
}

.case-logo {
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.case-tag {
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: #f5f5f7;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0;
}

.case-card__metric {
  gap: 5px;
  margin-bottom: 20px;
}

.case-card__metric strong {
  color: #1d1d1f;
  font-size: clamp(36px, 3vw, 46px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.case-card__metric span {
  color: #86868b;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0;
}

.case-card blockquote {
  margin: 0 0 28px;
  color: #424245;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

.case-card__foot {
  padding-top: 17px;
  border-top-color: #e5e5e7;
}

.case-person__avatar {
  width: 32px;
  height: 32px;
  border: 0;
  background: color-mix(in srgb, var(--ac) 12%, #ffffff);
  color: var(--ac);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
}

.case-person strong {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 600;
}

.case-person span {
  color: #86868b;
  font-size: 11px;
}

.case-card__link {
  color: #0071e3;
  font-size: 13px;
}

.case-card__link:hover {
  color: #0066cc;
}

.case-card__link:hover svg {
  transform: none;
}

/* Pricing */
.pricing {
  background: #f5f5f7;
}

.pricing-toggle {
  padding: 3px;
  border: 0;
  background: #e8e8ed;
}

.pricing-toggle button {
  padding: 8px 16px;
  color: #6e6e73;
  font-size: 13px;
}

.pricing-toggle button.is-active {
  background: #ffffff;
  color: #1d1d1f;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pricing-toggle button span {
  color: #0071e3;
  font-family: var(--font);
  font-size: 9px;
}

.pricing-toggle button.is-active span {
  color: #0071e3;
}

.pricing-grid {
  gap: 16px;
}

.price-card {
  padding: 30px;
  border: 1px solid transparent;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
}

html[data-theme="light"] .price-card {
  background: #ffffff;
}

.price-card:hover {
  border-color: #ffffff;
  transform: none;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.07);
}

.price-card--featured {
  border: 2px solid #0071e3;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.07);
}

.price-card--featured:hover {
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.08);
}

.price-card__badge {
  top: -12px;
  right: 22px;
  padding: 5px 10px;
  border: 0;
  border-radius: 980px;
  background: #0071e3;
  color: #ffffff;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.price-card__head {
  min-height: 36px;
}

.price-card__name {
  gap: 4px;
  color: #1d1d1f;
  font-size: 22px;
  font-weight: 600;
}

.price-card__name i {
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0;
}

.price-card__tag {
  color: #86868b;
  font-family: var(--font);
  font-size: 10px;
}

.price-card__price {
  min-height: 72px;
  margin: 22px 0 12px;
}

.price-card__currency {
  color: #1d1d1f;
  font-size: 24px;
}

.price-card__value {
  color: #1d1d1f;
  font-size: clamp(48px, 4.2vw, 58px);
  font-weight: 600;
  letter-spacing: -0.055em;
}

.price-card__value--text {
  font-size: 38px;
}

.price-card__period {
  color: #86868b;
  font-size: 13px;
}

.price-card__desc {
  min-height: 48px;
  margin-bottom: 22px;
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.5;
}

.price-card .btn {
  height: 46px;
  font-size: 15px;
}

.price-card--featured .btn--primary {
  background: #0071e3;
  color: #ffffff;
}

.price-card__features {
  gap: 11px;
  margin-top: 24px;
  padding-top: 21px;
  border-top-color: #e5e5e7;
}

.price-card__features li {
  color: #424245;
  font-size: 13px;
}

.price-card__features svg {
  color: #0071e3;
}

.pricing__note {
  margin-top: 22px;
  color: #86868b;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0;
}

/* FAQ */
.faq {
  background: #ffffff;
}

.faq__grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.faq__intro {
  top: 92px;
}

.faq__intro .display {
  margin: 20px 0 18px;
  font-size: clamp(2.5rem, 3.85vw, 3.6rem);
}

.faq__intro .section-lead {
  max-width: 400px;
  margin: 0;
  font-size: 17px;
}

.faq__mail {
  border: 0;
  border-radius: 14px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: 14px;
}

.faq__mail:hover {
  border-color: transparent;
  background: #ececf0;
}

.faq__mail-icon {
  border-radius: 8px;
  background: #ffffff;
  color: #0071e3;
}

.faq__mail small {
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0;
}

.faq__mail > .icon {
  color: #86868b;
}

.faq__list {
  border-top-color: #d2d2d7;
}

.faq-item {
  border-bottom-color: #d2d2d7;
}

.faq-q {
  padding: 24px 0;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
}

.faq-q:hover,
.faq-item.is-open .faq-q {
  color: #1d1d1f;
}

.faq-q i {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #f5f5f7;
  color: #6e6e73;
}

.faq-q i::before,
.faq-q i::after {
  width: 9px;
}

.faq-item.is-open .faq-q i {
  border-color: transparent;
  background: #e8f2ff;
  color: #0071e3;
}

.faq-a p {
  max-width: 610px;
  padding: 0 44px 24px 0;
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.55;
}

/* Final CTA */
.final-cta {
  padding: clamp(100px, 12vw, 160px) 0;
  border-top: 0;
  background: #000000;
  color: #f5f5f7;
}

.final-cta__bg {
  background:
    radial-gradient(ellipse at 50% 30%, rgba(0, 113, 227, 0.16), transparent 55%),
    #000000;
}

.final-cta__bg::before {
  display: none;
}

.final-cta__word {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.final-cta__ring {
  border-color: rgba(255, 255, 255, 0.07);
}

.final-cta .eyebrow {
  color: #2997ff;
}

.final-cta h2 {
  max-width: 14ch;
  margin: 20px 0 20px;
  color: #f5f5f7;
  font-size: clamp(3rem, 5.8vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.final-cta h2 em {
  background: linear-gradient(100deg, #2997ff 0%, #64d2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.final-cta__inner > p {
  color: #a1a1a6;
  font-size: 19px;
  line-height: 1.5;
}

.final-cta__actions {
  gap: 18px;
  margin-top: 32px;
}

.final-cta__micro {
  margin-top: 22px;
  color: #86868b;
  font-family: var(--font);
  font-size: 12px;
  letter-spacing: 0;
}

.final-cta .btn--glass {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #f5f5f7;
}

.final-cta .btn--glass:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #1d1d1f;
  text-decoration: none;
}

/* Footer */
.site-footer {
  padding: 52px 0 24px;
  border-top: 1px solid #d2d2d7;
  background: #f5f5f7;
  color: #6e6e73;
}

.footer-grid {
  grid-template-columns: 1.5fr 0.65fr 0.65fr 0.65fr 1.3fr;
  gap: clamp(26px, 4vw, 54px);
  padding-bottom: 42px;
}

.footer-brand .brand {
  margin-bottom: 17px;
}

.footer-brand .brand__mark {
  color: #1d1d1f;
}

.footer-brand .brand__word {
  color: #1d1d1f;
}

.footer-brand > p {
  color: #6e6e73;
  font-size: 13px;
  line-height: 1.5;
}

.footer-status {
  margin-top: 20px;
  color: #86868b;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0;
}

.footer-status .live-dot {
  width: 6px;
  height: 6px;
  background: #30d158;
}

.footer-col {
  gap: 9px;
}

.footer-col h4 {
  margin: 2px 0 10px;
  color: #1d1d1f;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.footer-col a {
  color: #424245;
  font-size: 12px;
  line-height: 1.45;
}

.footer-col a:hover {
  color: #0071e3;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-col--meta > p {
  max-width: 240px;
  color: #6e6e73;
  font-size: 12px;
  line-height: 1.5;
}

.footer-subscribe {
  max-width: 280px;
  margin-top: 14px;
  padding: 4px 4px 4px 12px;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  background: #ffffff;
}

.footer-subscribe:focus-within {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.footer-subscribe input {
  padding: 8px 0;
  color: #1d1d1f;
  font-size: 12px;
}

.footer-subscribe input::placeholder {
  color: #86868b;
}

.footer-subscribe button {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #0071e3;
  color: #ffffff;
}

.footer-subscribe button:hover {
  background: #0077ed;
  color: #ffffff;
}

.footer-note {
  color: #86868b;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0;
}

.footer-bottom {
  padding-top: 21px;
  border-top-color: #d2d2d7;
  color: #86868b;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0;
}

.footer-bottom__links {
  gap: 22px;
}

.footer-top {
  gap: 7px;
  color: #424245;
  font-family: var(--font);
  font-size: 10px;
}

.footer-top:hover {
  color: #0071e3;
}

.footer-top svg {
  width: 10px;
  height: 10px;
}

/* Dialogs */
.modal {
  width: min(600px, calc(100% - 32px));
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(12px);
}

.modal__panel {
  padding: 36px;
  border: 0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.modal__close {
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: 0;
  background: #f5f5f7;
  color: #6e6e73;
}

.modal__close:hover {
  border-color: transparent;
  background: #e8e8ed;
  color: #1d1d1f;
}

.modal__head {
  padding-right: 28px;
  margin-bottom: 24px;
}

.modal__head h2 {
  margin: 16px 0 9px;
  color: #1d1d1f;
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.modal__head p {
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.5;
}

.contact-form {
  gap: 15px;
}

.form-row {
  gap: 12px;
}

.field {
  gap: 7px;
}

.field > span {
  color: #6e6e73;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0;
}

.field input,
.field textarea {
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: 15px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #86868b;
}

.field input:focus,
.field textarea:focus {
  border-color: #0071e3;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.field__error {
  color: #ff3b30;
  font-size: 11px;
}

.contact-form__plan {
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: #f5f5f7;
  color: #6e6e73;
  font-family: var(--font);
  font-size: 11px;
}

.contact-form__plan strong {
  color: #0071e3;
  font-weight: 600;
}

.form-note {
  color: #86868b;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0;
}

.form-success__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border: 0;
  background: #e8f2ff;
  color: #0071e3;
}

.form-success h3 {
  margin-bottom: 8px;
  color: #1d1d1f;
  font-size: 24px;
  font-weight: 600;
}

.form-success p {
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.5;
}

/* Case dialog */
.modal--case {
  width: min(680px, calc(100% - 32px));
}

.case-detail__head {
  padding-right: 28px;
  padding-bottom: 22px;
  border-bottom-color: #e5e5e7;
}

.case-detail__kicker {
  margin-bottom: 13px;
  color: #86868b;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0;
}

.case-detail__kicker span:first-child {
  color: #0071e3;
}

.case-detail h2 {
  margin-bottom: 13px;
  color: #1d1d1f;
  font-size: clamp(27px, 3.4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.case-detail__metric {
  color: #0071e3;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.case-detail__metric span {
  color: #86868b;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

.case-detail__body {
  gap: 24px;
  padding: 24px 0;
}

.case-detail__body h3 {
  margin-bottom: 7px;
  color: #86868b;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.case-detail__body p {
  color: #424245;
  font-size: 14px;
  line-height: 1.55;
}

.case-detail blockquote {
  padding: 18px 20px;
  border-left: 0;
  border-radius: 12px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: 15px;
  line-height: 1.55;
}

.case-detail__foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top-color: #e5e5e7;
  color: #86868b;
  font-family: var(--font);
  font-size: 10px;
}

.case-detail__foot .btn {
  height: 36px;
  padding-inline: 15px;
  font-size: 11px;
}

.dialog-open {
  overflow: hidden;
}

.toast {
  bottom: 24px;
  padding: 11px 15px 11px 11px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.12);
  color: #1d1d1f;
  font-family: var(--font);
  font-size: 13px;
  backdrop-filter: saturate(180%) blur(20px);
}

.toast__icon {
  width: 22px;
  height: 22px;
  background: #e8f2ff;
  color: #0071e3;
}

/* Specificity cleanup for the old light layer */
html[data-theme="light"] .btn--primary:hover {
  background: #0077ed;
  color: #ffffff;
  box-shadow: none;
}

html[data-theme="light"] .btn--glass,
html[data-theme="light"] .btn--glass:hover {
  border-color: transparent;
  background: transparent;
  color: #0071e3;
}

html[data-theme="light"] .bento-card {
  background: #f5f5f7;
}

html[data-theme="light"] .bento-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .net-sphere {
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .net-core__face {
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 #ffffff;
}

html[data-theme="light"] .site-header.is-scrolled .header-inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html[data-theme="light"] .logo-item {
  color: #6e6e73;
}

html[data-theme="light"] .case-card,
html[data-theme="light"] .price-card {
  background: #ffffff;
}

html[data-theme="light"] .case-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

html[data-theme="light"] .case-card--featured {
  background: #ffffff;
}

/* Live agent API connection */
.playground-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.playground-meta .inline-note {
  margin-top: 0;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0071e3;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  cursor: pointer;
}

.inline-link .icon {
  width: 11px;
  height: 11px;
}

.inline-link:hover {
  color: #0066cc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.agent-connect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(0, 113, 227, 0.2);
  border-radius: 7px;
  background: rgba(0, 113, 227, 0.06);
  color: #0071e3;
  font-family: var(--font);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.agent-connect .icon {
  width: 10px;
  height: 10px;
}

.agent-connect__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #86868b;
}

.agent-connect:hover {
  border-color: rgba(0, 113, 227, 0.35);
  background: rgba(0, 113, 227, 0.1);
}

.agent-connect.is-live {
  border-color: rgba(48, 161, 78, 0.28);
  background: rgba(48, 161, 78, 0.07);
  color: #1d7a3a;
}

.agent-connect.is-live .agent-connect__dot {
  background: #30a14e;
}

.console__badge.is-live {
  background: #e7f7ec;
  color: #1d7a3a;
}

.modal--agent {
  width: min(640px, calc(100% - 32px));
}

.agent-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agent-form__row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 12px;
}

.field select {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  cursor: pointer;
}

.field select:focus {
  border-color: #0071e3;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.agent-form__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 10px;
  background: #f5f5f7;
  color: #6e6e73;
  font-size: 11px;
  line-height: 1.5;
}

.agent-form__note .icon {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 1px;
  color: #0071e3;
}

.agent-form__hint {
  margin: -2px 0 0;
  color: #86868b;
  font-size: 10px;
  line-height: 1.5;
}

.agent-form__status {
  min-height: 18px;
  color: #0071e3;
  font-size: 11px;
  line-height: 1.5;
}

.agent-form__status.is-error {
  color: #d70015;
}

.agent-form__status.is-ok {
  color: #1d7a3a;
}

.agent-form__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 2px;
}

.agent-form__actions .btn--primary {
  margin-left: auto;
}

.agent-clear {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  color: #86868b;
  font-family: var(--font);
  font-size: 11px;
  cursor: pointer;
}

.agent-clear:hover {
  color: #1d1d1f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Streamed model answer */
.answer--live .answer__head {
  gap: 10px;
}

.answer--live .answer__body {
  gap: 0;
}

.answer--live .answer__check {
  background: #0071e3;
}

.answer--live .answer__badge {
  font-family: var(--font);
  letter-spacing: 0;
}

.live-markdown {
  color: #1d1d1f;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.live-markdown > :first-child {
  margin-top: 0;
}

.live-markdown > :last-child {
  margin-bottom: 0;
}

.live-markdown p {
  margin: 0 0 10px;
  white-space: pre-wrap;
}

.live-markdown h1,
.live-markdown h2,
.live-markdown h3,
.live-markdown h4 {
  margin: 18px 0 8px;
  color: #1d1d1f;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.live-markdown h1 { font-size: 20px; }
.live-markdown h2 { font-size: 18px; }
.live-markdown h3 { font-size: 16px; }
.live-markdown h4 { font-size: 14px; }

.live-markdown ul,
.live-markdown ol {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 11px;
  padding-left: 19px;
}

.live-markdown li {
  color: #424245;
  font-size: 13px;
  line-height: 1.55;
}

.live-markdown ul li { list-style: disc; }
.live-markdown ol li { list-style: decimal; }

.live-markdown strong {
  color: #1d1d1f;
  font-weight: 600;
}

.live-markdown a {
  color: #0071e3;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.live-markdown code {
  padding: 1px 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: #ffffff;
  font-family: var(--mono);
  font-size: 0.9em;
}

.live-markdown pre {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: #ffffff;
  overflow-x: auto;
}

.live-markdown pre code {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  line-height: 1.65;
  white-space: pre;
}

.live-markdown blockquote {
  margin: 0 0 12px;
  padding: 9px 13px;
  border-left: 2px solid #0071e3;
  background: rgba(255, 255, 255, 0.7);
  color: #424245;
  font-size: 13px;
}

.live-markdown hr {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.live-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #86868b;
  font-size: 12px;
}

.live-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0071e3;
  animation: liveBlink 1.2s infinite ease-in-out;
}

.live-typing i:nth-child(2) { animation-delay: 0.15s; }
.live-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes liveBlink {
  0%, 80%, 100% { opacity: 0.25; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.agent-error {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 10px;
  padding: 11px 13px;
  border-radius: 10px;
  background: #fff2f1;
  color: #8a1c12;
  font-size: 12px;
  line-height: 1.5;
}

.agent-error strong {
  font-weight: 600;
}

.agent-error span {
  color: #b33a2f;
  font-size: 11px;
}

.run-step.is-error .run-step__dot {
  border-color: #ff3b30;
  background: #fff2f1;
  color: #ff3b30;
}

.run-step.is-error .run-step__state {
  color: #d70015;
}

.answer__sources .source-chip--live {
  color: #1d7a3a;
  border-color: rgba(48, 161, 78, 0.2);
  background: #f0faf3;
}

.answer__sources .source-chip--live svg {
  color: #30a14e;
}

.composer__demo.is-live {
  color: #1d7a3a;
}

.composer__demo.is-live i {
  background: #30a14e;
}

.rail-agent.is-error .rail-agent__state {
  color: #d70015;
}

.rail-agent.is-error .rail-agent__avatar {
  background: #fff2f1;
  color: #d70015;
}

.modal--agent .modal__panel {
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

@media (max-width: 760px) {
  .agent-form {
    gap: 12px;
  }

  .agent-form__row {
    grid-template-columns: 1fr;
  }

  .agent-form__actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    flex-wrap: wrap;
    margin: 0 -4px;
    padding: 10px 4px 12px;
    background: #ffffff;
  }

  .agent-form__actions .btn--primary {
    margin-left: 0;
    flex: 1;
  }
}

@media (max-width: 480px) {
  .modal--agent .modal__panel {
    padding: 20px 18px;
  }

  .modal--agent .modal__head {
    margin-bottom: 16px;
  }

  .agent-form {
    gap: 10px;
  }

  .agent-form .field {
    gap: 5px;
  }

  .agent-form__hint {
    display: none;
  }

  .agent-connect {
    padding-inline: 7px;
  }

  .agent-connect .icon {
    display: none;
  }

  .agent-connect__dot {
    display: none;
  }

  .agent-form__actions {
    align-items: center;
  }

  .agent-clear {
    align-self: center;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    padding-top: 100px;
  }

  .hero__title {
    font-size: clamp(3rem, 5.8vw, 4.6rem);
  }

  .manifesto__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .faq__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .faq__intro {
    position: static;
  }

  .bento {
    grid-auto-rows: auto;
  }

  .bento-card {
    min-height: 300px;
  }

  .bento-card--orch {
    min-height: 560px;
  }
}

@media (max-width: 900px) {
  .site-header .container {
    width: min(calc(100% - 36px), 1024px);
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .header-inner {
    height: 48px;
  }

  .hero {
    padding: 92px 0 54px;
  }

  .hero__title {
    font-size: clamp(2.8rem, 7vw, 4rem);
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__visual {
    max-width: 440px;
    margin-top: 28px;
  }

  .section {
    padding: 82px 0;
  }

  .display {
    font-size: clamp(2.6rem, 7vw, 3.8rem);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 0.8fr;
  }

  .footer-col--meta {
    grid-column: 1 / -1;
    max-width: 340px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding: 88px 0 48px;
  }

  .hero__eyebrow {
    margin-bottom: 18px;
  }

  .hero__title {
    font-size: clamp(2.65rem, 10.4vw, 3.6rem);
    letter-spacing: -0.05em;
    margin-bottom: 20px;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero__cta {
    gap: 30px;
    margin-top: 26px;
  }

  .hero__micro {
    gap: 14px;
    margin-top: 22px;
    font-size: 11px;
  }

  .hero__visual {
    max-width: 430px;
    margin-top: 32px;
    padding-bottom: 70px;
  }

  .net-visual {
    width: 100%;
  }

  .net-inspector {
    top: auto;
    bottom: -68px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 13px;
  }

  .net-inspector__label,
  .net-hint {
    display: none;
  }

  .net-inspector__row {
    flex: 1;
    min-width: 0;
  }

  .net-inspector__model {
    margin-top: 0;
    flex: none;
  }

  .net-inspector__text span {
    max-width: 200px;
  }

  .net-hud--top {
    top: 0;
    right: 0;
  }

  .net-hud--bottom {
    display: none;
  }

  .agent-node {
    left: clamp(42px, var(--x), calc(100% - 42px));
    top: clamp(20px, var(--y), calc(100% - 28px));
  }

  .section {
    padding: 70px 0;
  }

  .display {
    font-size: clamp(2.25rem, 8.5vw, 2.9rem);
  }

  .section-head {
    margin-bottom: 38px;
    gap: 12px;
  }

  .section-head__aside p,
  .section-lead {
    font-size: 16px;
  }

  .trust {
    padding-top: 34px;
  }

  .trust__marquee-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .marquee {
    width: 100%;
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat-strip__item {
    padding: 22px 16px;
  }

  .stat-strip__item:nth-child(3),
  .stat-strip__item:nth-child(4) {
    border-bottom: 0;
  }

  .manifesto__title .display {
    font-size: clamp(2.3rem, 8vw, 3.2rem);
  }

  .manifesto__lead {
    font-size: 20px;
  }

  .sonar {
    width: 160px;
    margin-top: 30px;
  }

  .principle {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .console__body {
    display: block;
  }

  .console__rail {
    display: none;
  }

  .console-chat {
    height: 570px;
  }

  .chat-scroll {
    padding: 20px 16px 16px;
  }

  .msg__hello {
    font-size: 18px;
  }

  .msg__text {
    font-size: 14px;
  }

  .chat-suggestions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .answer {
    padding: 18px 16px;
  }

  .composer {
    padding: 12px 14px 10px;
  }

  .composer__meta {
    font-size: 7px;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .bento-card,
  .bento-card--orch,
  .bento-card--models,
  .bento-card--memory,
  .bento-card--security,
  .bento-card--trace,
  .bento-card--knowledge {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .bento-card--orch {
    min-height: 500px;
  }

  .bento-card {
    padding: 24px;
    border-radius: 24px;
  }

  .bento-card__copy h3 {
    font-size: 22px;
  }

  .bento-card--orch .bento-card__copy h3 {
    font-size: 30px;
  }

  .mini-orch {
    min-height: 260px;
  }

  .bento-card--orch .mini-orch {
    min-height: 280px;
  }

  .memory-stack {
    min-height: 160px;
  }

  .wf-visual {
    border-radius: 22px;
  }

  .wf-step {
    padding: 32px 0;
  }

  .wf-step h3 {
    font-size: 28px;
  }

  .wf-step h3 span {
    font-size: 16px;
  }

  .dev-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .code-window {
    border-radius: 20px;
  }

  .code-window__body {
    min-height: 300px;
    padding: 18px 16px;
  }

  .code-panel {
    font-size: 11px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    padding: 24px;
    border-radius: 24px;
  }

  .case-card blockquote {
    font-size: 15px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .price-card {
    padding: 26px;
    border-radius: 24px;
  }

  .price-card__features {
    grid-template-columns: 1fr;
  }

  .faq__intro .display {
    font-size: clamp(2.2rem, 8vw, 2.8rem);
  }

  .faq-q {
    padding: 20px 0;
    font-size: 16px;
  }

  .faq-a p {
    font-size: 14px;
  }

  .final-cta {
    padding: 92px 0;
  }

  .final-cta h2 {
    font-size: clamp(2.8rem, 9vw, 4rem);
  }

  .final-cta__inner > p {
    font-size: 17px;
  }

  .final-cta__actions {
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col--meta {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
  }

  .footer-bottom__links {
    width: 100%;
    justify-content: space-between;
  }

  .modal__panel {
    padding: 26px 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .case-detail__body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 36px);
  }

  .hero {
    padding: 78px 0 40px;
  }

  .hero__title {
    font-size: clamp(2.35rem, 11.2vw, 2.9rem);
  }

  .hero__lead {
    font-size: 15px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .hero__micro {
    font-size: 10px;
    gap: 12px;
  }

  .hero__visual {
    max-width: 350px;
    padding-bottom: 64px;
  }

  .agent-node {
    padding: 5px 9px 5px 5px;
  }

  .agent-node__dot {
    width: 21px;
    height: 21px;
    font-size: 8px;
  }

  .agent-node__label {
    font-size: 10px;
  }

  .net-core {
    width: 118px;
  }

  .net-inspector__model {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .console__bar {
    padding-inline: 14px;
  }

  .console__latency {
    display: none;
  }

  .console-chat {
    height: 560px;
  }

  .msg__body {
    max-width: calc(100% - 38px);
  }

  .answer__badge {
    flex-basis: 100%;
    margin-left: 0;
  }

  .answer__actions {
    width: 100%;
  }

  .answer-action {
    flex: 1;
    justify-content: center;
  }

  .bento-card--orch {
    min-height: 470px;
  }

  .mini-orch {
    min-height: 240px;
  }

  .bento-card--orch .mini-orch {
    min-height: 250px;
  }

  .price-card__value {
    font-size: 48px;
  }

  .final-cta h2 {
    font-size: clamp(2.3rem, 10.5vw, 2.9rem);
  }

  .final-cta__actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }

  .final-cta__actions .btn {
    width: 100%;
  }

  .modal__panel {
    padding: 24px 18px;
    border-radius: 20px;
  }
}



