:root {
  --orange: #fb6415;
  --orange-2: #ff7b33;
  --text: #09090b;
  --muted: #71717a;
  --line: #e4e4e7;
  --soft: #f7f7f8;
  --card: #ffffff;
  --shadow: 0 24px 90px rgba(15, 23, 42, 0.08);
}

:root[data-theme="dark"] {
  --text: #f7f7f8;
  --muted: #a1a1aa;
  --line: #26272c;
  --soft: #111217;
  --card: #121318;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--card);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }

.container {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 82%, transparent);
  backdrop-filter: blur(18px);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 680;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 7px;
  background: #0a0a0a;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

:root[data-theme="dark"] .brand-mark {
  background: #fff;
  color: #0a0a0a;
}

.site-nav {
  position: absolute;
  left: 50%;
  display: flex;
  gap: 32px;
  transform: translateX(-50%);
}

.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
  transition: color 0.18s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.icon-button {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(244, 244, 245, 0.72);
  color: var(--muted);
  cursor: pointer;
}

.icon-button:hover,
.icon-button.is-active {
  background: rgba(251, 100, 21, 0.13);
  color: var(--orange);
}

.nav-actions {
  position: relative;
}

.icon-button svg,
.line-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.orange-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 23px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.orange-button {
  border: 1px solid transparent;
  background: var(--orange);
  color: #0b0b0b;
}

.orange-button:hover { background: var(--orange-2); transform: translateY(-1px); }

.ghost-button {
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--soft) 70%, transparent);
  color: var(--text);
}

.ghost-button:hover {
  background: color-mix(in srgb, var(--soft) 88%, transparent);
  transform: translateY(-1px);
}

:root[data-theme="dark"] .ghost-button:hover {
  background: #1b1c22;
}

.nav-console,
.nav-register { min-height: 36px; padding: 0 19px; }

.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.login-link:hover {
  background: color-mix(in srgb, var(--soft) 82%, transparent);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--card);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 7% 2%, rgba(251, 100, 21, 0.13), transparent 30%),
    radial-gradient(circle at 82% 23%, rgba(74, 101, 255, 0.10), transparent 29%);
  pointer-events: none;
}

:root[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(circle at 7% 2%, rgba(251, 100, 21, 0.18), transparent 30%),
    radial-gradient(circle at 82% 23%, rgba(74, 101, 255, 0.18), transparent 29%),
    linear-gradient(180deg, #0f1015, #121318);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  gap: 64px;
  min-height: 704px;
  padding: 64px 0 88px;
}

.hero-copy { max-width: 720px; }

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--soft) 70%, transparent);
  color: var(--muted);
  font-size: 12px;
}

.hero-copy h1 {
  margin: 26px 0 0;
  font-size: clamp(58px, 6.9vw, 96px);
  line-height: 0.92;
  font-weight: 790;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 span:last-child {
  background: linear-gradient(90deg, #111 0%, #ffd4bf 54%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

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

.hero-actions.compact { margin-top: 28px; }
.hero-actions.center { justify-content: center; }

.orb-panel {
  position: relative;
  min-height: 520px;
  transform: translateX(18px);
}

.orb-glow {
  position: absolute;
  inset: 12% -4% 4% -4%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 56%, rgba(251, 100, 21, 0.13), transparent 48%),
    radial-gradient(circle at 46% 42%, rgba(76, 102, 255, 0.08), transparent 58%);
  filter: blur(9px);
  opacity: 0.74;
}

.orb-canvas {
  position: absolute;
  inset: -6px -4px 0 auto;
  width: min(100%, 500px);
  min-height: 500px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  filter: drop-shadow(0 34px 52px rgba(20, 24, 33, 0.08));
}

.orb-canvas:active { cursor: grabbing; }

#gateway-orb {
  display: block;
  width: 100%;
  height: 100%;
}

.model-tag {
  position: absolute;
  z-index: 3;
  display: inline-grid;
  grid-template-columns: 7px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  row-gap: 1px;
  min-height: 34px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 78%, transparent);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.055);
  color: #686d76;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(16px);
  animation: floatTag 6.5s ease-in-out infinite;
}

.model-tag span {
  grid-row: 1 / span 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(251, 100, 21, 0.075);
}

.model-tag b {
  display: block;
  color: #4f5663;
  font-size: 12px;
  line-height: 1.15;
  white-space: nowrap;
}

.model-tag small {
  display: block;
  color: #9298a3;
  font-size: 10px;
  line-height: 1.15;
  white-space: nowrap;
}

.tag-openai { top: 56px; left: 18px; }
.tag-claude { top: 146px; right: -6px; animation-delay: -1.2s; }
.tag-gemini { left: 36px; bottom: 94px; animation-delay: -2.1s; }
.tag-deepseek { right: 34px; bottom: 58px; animation-delay: -3.4s; }
.tag-batch { left: 214px; top: 22px; animation-delay: -4.2s; }

.drag-hint {
  position: absolute;
  right: 28px;
  bottom: 14px;
  z-index: 3;
  margin: 0;
  color: #b0b3bb;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@keyframes floatTag {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -5px, 0); }
}

.provider-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.action-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 68px;
  z-index: 90;
  width: min(340px, calc(100vw - 24px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--card) 96%, transparent);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
  backdrop-filter: blur(18px);
}

.action-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.notice-popover {
  right: 112px;
}

.language-popover {
  right: 68px;
  width: 190px;
  padding: 8px;
}

.popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 4px 10px;
}

.popover-head strong {
  font-size: 15px;
}

.popover-head span {
  color: var(--muted);
  font-size: 12px;
}

.notice-item {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--soft) 62%, transparent);
}

.notice-item + .notice-item {
  margin-top: 8px;
}

.notice-item b {
  display: block;
  font-size: 14px;
}

.notice-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.language-popover button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.language-popover button:hover,
.language-popover button.is-selected {
  background: color-mix(in srgb, var(--soft) 80%, transparent);
}

.language-popover span {
  font-size: 14px;
  font-weight: 640;
}

.language-popover b {
  color: var(--orange);
  font-size: 12px;
}

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

.provider-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.provider-inner div {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.provider-inner span {
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.16em;
}

.provider-inner span:nth-child(2) { color: var(--orange); }

.section { padding: 88px 0; }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.section-copy h2,
.section-heading h2,
.final-cta h2,
.page-title h1 {
  margin: 12px 0 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 720;
}

.section-copy > p:not(.section-kicker),
.section-heading p,
.final-cta p,
.page-title p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.feature-list article,
.affiliate-list article {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(250, 250, 250, 0.34);
}

.line-icon {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  color: var(--orange);
}

.feature-list h3,
.affiliate-list h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 680;
}

.feature-list p,
.affiliate-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.terminal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
}

.terminal-top {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.traffic {
  display: flex;
  gap: 8px;
}

.traffic span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.traffic span:nth-child(1) { background: #ef4444; }
.traffic span:nth-child(2) { background: #f59e0b; }
.traffic span:nth-child(3) { background: #22c55e; }

.terminal-top strong {
  color: #8a8a92;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.18em;
}

.terminal-top em {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

pre {
  margin: 0;
  padding: 26px;
  overflow-x: auto;
  color: var(--text);
  font-size: 14px;
  line-height: 1.9;
  white-space: pre;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.core-section,
.prompt-section,
.affiliate-section {
  border-top: 1px solid var(--line);
}

.trust-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 8%, rgba(251, 100, 21, 0.10), transparent 28%),
    linear-gradient(180deg, color-mix(in srgb, var(--soft) 48%, transparent), var(--card));
}

:root[data-theme="dark"] .trust-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(251, 100, 21, 0.16), transparent 30%),
    linear-gradient(180deg, #111217, var(--card));
}

.trust-heading {
  position: relative;
  z-index: 1;
}

.company-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: -10px 0 26px;
}

.company-intro article {
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--card) 76%, transparent);
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.055);
}

.company-intro span {
  display: block;
  color: var(--orange);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.company-intro p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.section-heading {
  max-width: 780px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-heading.split > div { max-width: 760px; }

.trust-gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr 0.84fr;
  grid-auto-rows: 250px;
  gap: 16px;
}

.trust-photo {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  border-radius: 18px;
  background: #0f1115;
  box-shadow: 0 20px 70px rgba(15, 23, 42, 0.10);
  isolation: isolate;
}

.trust-photo-large {
  grid-row: span 2;
}

.trust-photo-wide {
  grid-column: span 2;
}

.trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.trust-photo::after {
  position: absolute;
  inset: auto 0 0;
  height: 56%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  content: "";
  z-index: 1;
}

.trust-photo:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.045);
}

.trust-caption {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  color: #fff;
}

.trust-caption span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 720;
}

.trust-caption strong {
  display: block;
  max-width: 560px;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 720;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.trust-photo:not(.trust-photo-large) .trust-caption strong {
  font-size: 15px;
}

.ability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.ability-grid article,
.prompt-cards article,
.commission-card,
.pricing-card,
.guide-card,
.model-card,
.doc-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.ability-grid article {
  min-height: 188px;
  padding: 24px;
}

.ability-grid h3,
.prompt-cards h3 {
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.ability-grid p,
.prompt-cards p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.prompt-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.prompt-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.prompt-cards article { padding: 22px; }

.prompt-cards code {
  display: block;
  min-height: 100px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--soft) 75%, transparent);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  white-space: normal;
}

.affiliate-layout {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: center;
}

.affiliate-list {
  display: grid;
  gap: 14px;
}

.commission-card {
  padding: 22px;
  background: color-mix(in srgb, var(--soft) 58%, transparent);
}

.commission-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.commission-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.commission-card h3 {
  margin: 8px 0 24px;
  font-size: 26px;
  line-height: 1.2;
}

dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 13px 18px;
  margin: 0;
  font-size: 14px;
}

dt { color: var(--muted); }
dd { margin: 0; font-weight: 680; text-align: right; }

.ledger {
  margin-top: 24px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
}

.ledger strong {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.ledger p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.ledger b {
  color: var(--text);
  font-weight: 680;
  text-align: right;
}

.pricing-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.provider-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.provider-title span {
  font-size: 14px;
  font-weight: 790;
  letter-spacing: 0.18em;
}

.provider-title small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.pricing-note {
  margin: 0 0 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--soft) 55%, transparent);
}

.pricing-note h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.pricing-note p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.price-table-wrap { overflow-x: auto; }

table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 16px 20px;
  border-bottom: 1px solid #eeeeef;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
  color: var(--text);
  font-weight: 720;
}

th em {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #d93008;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 760;
}

td {
  color: var(--text);
  font-weight: 520;
}

td b {
  display: block;
  color: #0f9f6e;
  font-size: 13px;
  font-weight: 700;
}

td span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.final-cta {
  padding-top: 64px;
}

.cta-card {
  padding: 62px 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(251, 100, 21, 0.20), transparent 38%),
    linear-gradient(180deg, color-mix(in srgb, var(--soft) 88%, transparent), color-mix(in srgb, var(--card) 52%, transparent));
  text-align: center;
}

.cta-card p:not(.section-kicker) {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 122px;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner strong {
  color: var(--text);
  font-size: 16px;
}

.footer-inner p { margin: 8px 0 0; }

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.copyright {
  max-width: 1280px;
  margin: -18px auto 24px;
  padding: 18px 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.page-main {
  padding: 58px 0 96px;
}

.page-title {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.page-title p {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.tabs {
  display: inline-flex;
  gap: 4px;
  margin: 34px 0 28px;
  padding: 4px;
  border-radius: 10px;
  background: var(--soft);
}

.tabs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.tabs .active {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.topup-card {
  margin-top: 42px;
  padding: 0;
  overflow: hidden;
}

.topup-card h2 {
  margin: 0;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
}

.topup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.topup-grid article {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.topup-grid article:last-child { border-right: 0; }

.topup-grid h3 {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 15px;
}

.topup-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.model-grid,
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.playground-shell {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.playground-panel,
.playground-editor,
.response-card,
.prompt-library article,
.agent-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.playground-panel {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 20px;
}

.playground-panel span,
.playground-panel label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--soft);
}

.segmented button {
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.segmented .active {
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

.playground-panel select,
.playground-panel input,
.playground-editor textarea,
.agent-task-form input,
.agent-task-form select,
.agent-task-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--card);
  color: var(--text);
}

.playground-panel select,
.agent-task-form input,
.agent-task-form select {
  height: 40px;
  padding: 0 12px;
}

.playground-editor {
  overflow: hidden;
}

.editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.editor-head span,
.response-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.playground-editor textarea {
  min-height: 260px;
  padding: 20px;
  border: 0;
  border-bottom: 1px solid var(--line);
  resize: vertical;
  font-size: 15px;
  line-height: 1.72;
}

.editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px;
}

.response-card {
  margin: 0 20px 20px;
  padding: 18px;
  background: color-mix(in srgb, var(--soft) 70%, transparent);
}

.response-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.prompt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.prompt-library {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.prompt-library article {
  padding: 22px;
}

.prompt-library span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

.prompt-library h2 {
  margin: 14px 0 12px;
  font-size: 20px;
}

.prompt-library p {
  min-height: 132px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--soft) 75%, transparent);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.66;
}

.prompt-library button,
.agent-actions button,
.agent-task-form button {
  min-height: 36px;
  margin-top: 14px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #111;
  font-weight: 720;
  cursor: pointer;
}

.agent-app {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  min-height: 100vh;
  background: #f6f6f4;
}

.agent-gate {
  min-height: calc(100vh - 76px);
  padding: 64px 20px;
  background:
    linear-gradient(118deg, rgba(255, 116, 39, 0.10) 0 24%, transparent 24% 100%),
    linear-gradient(90deg, rgba(236, 229, 220, 0.42) 1px, transparent 1px),
    linear-gradient(0deg, rgba(236, 229, 220, 0.42) 1px, transparent 1px),
    #fffaf3;
  background-size: auto, 48px 48px, 48px 48px, auto;
}

.agent-gate[hidden],
.agent-app[hidden] {
  display: none !important;
}

.agent-gate-panel {
  width: min(780px, 100%);
  margin: 0 auto;
  padding: 42px;
  border: 1px solid #ead8cc;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 55px rgba(33, 25, 19, 0.08);
  backdrop-filter: blur(18px);
}

.agent-gate-panel .brand-mark {
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  font-size: 18px;
}

.agent-gate-panel h1 {
  margin: 10px 0 14px;
  max-width: 620px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
}

.agent-gate-panel p:not(.section-kicker) {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.72;
}

.agent-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.agent-steps article {
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.agent-steps strong {
  display: grid;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 999px;
  background: #0a0a0a;
  color: #fff;
}

.agent-steps span {
  display: block;
  color: var(--text);
  font-weight: 740;
  line-height: 1.45;
}

.agent-gate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.agent-admin-page {
  min-height: calc(100vh - 76px);
  padding: 44px 20px 72px;
  background: #f6f6f4;
}

.agent-admin-hero,
.agent-admin-card {
  width: min(980px, 100%);
  margin: 0 auto;
}

.agent-admin-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
}

.agent-admin-hero p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.72;
}

.agent-admin-card {
  margin-top: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 16px 45px rgba(33, 25, 19, 0.06);
}

.agent-admin-locked {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.agent-admin-locked .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.agent-admin-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto;
  gap: 14px;
  align-items: end;
}

.agent-admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
}

.agent-admin-form input,
.agent-admin-form select {
  height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
}

.agent-admin-form button,
.agent-admin-confirm button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #e3370a;
  color: #fff;
  padding: 0 16px;
  font-weight: 780;
  cursor: pointer;
}

.agent-admin-result {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.agent-admin-user {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.agent-admin-user > div,
.agent-admin-confirm,
.agent-admin-success,
.agent-admin-error {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf8;
}

.agent-admin-user span,
.agent-admin-user em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.agent-admin-user strong {
  display: block;
  margin: 8px 0;
  font-size: 24px;
}

.agent-admin-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.agent-admin-confirm p,
.agent-admin-success p,
.agent-admin-error p,
.agent-admin-result > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.agent-admin-success strong,
.agent-admin-error strong {
  display: block;
  margin-bottom: 8px;
}

.agent-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: #fbfaf8;
}

.agent-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--text);
}

.agent-sidebar nav {
  display: grid;
  gap: 6px;
  margin-bottom: 28px;
}

.agent-sidebar nav a {
  min-height: 38px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #2f2a26;
  font-size: 14px;
  font-weight: 680;
}

.agent-sidebar nav a:hover,
.agent-sidebar nav a.active {
  background: #fff1e9;
  color: #e3370a;
  box-shadow: inset 3px 0 0 #e3370a;
}

.agent-main {
  padding: 32px;
}

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

.agent-top span,
.agent-card-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-top h1 {
  margin: 7px 0 0;
  font-size: 34px;
}

.agent-top p {
  margin: 10px 0 0;
  color: var(--muted);
}

.agent-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.agent-stats article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.agent-stats span,
.agent-stats em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.agent-stats strong {
  display: block;
  margin: 8px 0;
  font-size: 28px;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.agent-card {
  padding: 20px;
}

.agent-card.wide {
  grid-column: 1 / -1;
}

.agent-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.agent-card-head b {
  padding: 4px 9px;
  border-radius: 999px;
  background: #fff1e9;
  color: #e3370a;
  font-size: 12px;
}

.invite-card h2 {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 19px;
  word-break: break-all;
}

.agent-card p,
.material-list span,
.task-list p {
  color: var(--muted);
  line-height: 1.68;
}

.agent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.agent-card dl {
  grid-template-columns: 110px 1fr;
}

.agent-card dd {
  text-align: left;
}

.agent-card table {
  min-width: 0;
}

.agent-task-form {
  display: grid;
  gap: 12px;
}

.agent-task-form textarea {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
}

.material-list {
  display: grid;
  gap: 12px;
}

.material-list p,
.task-list article {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--soft) 70%, transparent);
}

.material-list strong,
.material-list span,
.task-list strong,
.task-list span {
  display: block;
}

.task-list {
  display: grid;
  gap: 10px;
}

.task-list span {
  margin-top: 5px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 760;
}

.model-card,
.doc-card {
  padding: 24px;
}

.model-card span,
.doc-card span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.model-card h2,
.doc-card h2 {
  margin: 14px 0 10px;
  font-size: 21px;
}

.model-card p,
.doc-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.docs-body {
  background: var(--bg);
}

.docs-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 250px;
  min-height: 100vh;
}

.docs-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 76%, transparent);
}

.docs-brand {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.docs-search {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin: 18px 14px 12px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--muted);
  font: inherit;
  text-align: left;
}

.docs-search svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.docs-search kbd {
  min-width: 22px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: #9ca3af;
  font-size: 12px;
  text-align: center;
}

.docs-nav {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  padding: 0 14px 20px;
}

.docs-nav > span {
  margin: 16px 6px 6px;
  color: #8a8f99;
  font-size: 12px;
  font-weight: 800;
}

.docs-nav details {
  display: grid;
  gap: 4px;
}

.docs-nav summary,
.docs-nav a {
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.docs-nav summary {
  cursor: pointer;
  list-style: none;
}

.docs-nav summary::-webkit-details-marker { display: none; }

.docs-nav a {
  display: block;
  margin-left: 8px;
  color: #5f6673;
  font-weight: 650;
}

.docs-nav a.active,
.docs-nav a:hover,
.docs-nav summary:hover {
  background: var(--soft);
  color: var(--text);
}

.docs-sidebar-tools {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.docs-sidebar-tools button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.docs-content {
  min-width: 0;
  padding: 28px 48px 80px;
}

.docs-article {
  max-width: 760px;
  margin: 0 auto;
  color: #283241;
}

.docs-article header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.docs-article h1 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 34px;
  line-height: 1.18;
  font-weight: 830;
}

.copy-markdown {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  font-weight: 750;
}

.docs-article section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.docs-article h2 {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 26px;
  line-height: 1.28;
  font-weight: 820;
}

.docs-article p,
.docs-article li {
  color: #3f4a5a;
  font-size: 16px;
  line-height: 1.9;
}

.docs-article p {
  margin: 0 0 18px;
}

.docs-article ul {
  margin: 0 0 18px;
  padding-left: 24px;
}

.docs-article li + li {
  margin-top: 8px;
}

.docs-article a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 760;
}

.docs-article code {
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: #263142;
  font-size: 0.92em;
}

.docs-article pre {
  margin: 14px 0 0;
  padding: 20px;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbfa;
}

.docs-article pre code {
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 14px;
}

.docs-table-wrap {
  width: min(100%, 540px);
  margin: 20px 0 22px;
  overflow-x: auto;
}

.docs-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
}

.docs-table th,
.docs-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.docs-table th {
  background: var(--soft);
  color: var(--text);
  font-weight: 800;
}

.docs-table td {
  color: #3f4a5a;
}

.docs-toc {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 34px 28px;
  color: var(--muted);
}

.docs-toc strong {
  display: block;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 14px;
}

.docs-toc a {
  display: block;
  margin: 0 0 18px;
  color: #737985;
  font-size: 14px;
  font-weight: 680;
}

.docs-toc a:hover {
  color: var(--text);
}

@media (max-width: 1040px) {
  .site-nav { display: none; }

  .docs-shell {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .docs-toc {
    display: none;
  }

  .docs-content {
    padding: 26px 34px 72px;
  }

  .hero-grid,
  .two-column,
  .prompt-layout,
  .affiliate-layout,
  .playground-shell,
  .agent-app {
    grid-template-columns: 1fr;
  }

  .agent-sidebar {
    position: static;
    height: auto;
  }

  .orb-panel {
    min-height: 480px;
  }

  .orb-canvas {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .ability-grid,
  .trust-gallery,
  .company-intro,
  .prompt-cards,
  .prompt-library,
  .model-grid,
  .docs-grid,
  .agent-stats,
  .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-gallery {
    grid-auto-rows: 240px;
  }

  .trust-photo-large,
  .trust-photo-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

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

  .agent-admin-form,
  .agent-admin-user {
    grid-template-columns: 1fr;
  }

  .agent-admin-confirm {
    align-items: flex-start;
    flex-direction: column;
  }

  .topup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topup-grid article { border-bottom: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 24px, 1280px); }

  .docs-shell {
    display: block;
  }

  .docs-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .docs-brand {
    min-height: 58px;
  }

  .docs-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    padding-bottom: 14px;
  }

  .docs-nav > span,
  .docs-sidebar-tools {
    display: none;
  }

  .docs-nav details {
    min-width: 0;
  }

  .docs-content {
    padding: 28px 20px 60px;
  }

  .docs-article h1 {
    font-size: 30px;
  }

  .docs-article h2 {
    font-size: 23px;
  }

  .docs-article p,
  .docs-article li {
    font-size: 15px;
  }

  .docs-table-wrap {
    width: 100%;
    overflow-x: auto;
  }

  .docs-table {
    min-width: 520px;
  }

  .docs-table th,
  .docs-table td {
    min-width: 120px;
  }

  .nav-inner { min-height: 62px; }
  .brand { font-size: 18px; }
  .nav-actions .icon-button { display: none; }
  .nav-console { padding: 0 15px; }

  .hero-grid {
    min-height: auto;
    padding: 46px 0 56px;
    gap: 28px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 13vw, 52px);
    line-height: 1.02;
    word-break: keep-all;
  }

  .hero-lead {
    font-size: 16px;
  }

  .orb-panel {
    min-height: 430px;
    overflow: hidden;
  }

  .orb-canvas {
    width: min(440px, 118vw);
    min-height: 430px;
  }

  .model-tag {
    font-size: 12px;
    padding: 6px 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .model-tag b { font-size: 11px; }
  .model-tag small { font-size: 9px; }
  .tag-openai { left: 4px; top: 28px; }
  .tag-claude { right: 4px; top: 104px; max-width: 190px; }
  .tag-gemini { left: 4px; bottom: 96px; }
  .tag-deepseek { right: 6px; bottom: 58px; max-width: 180px; }
  .tag-batch { left: 44%; top: 6px; transform: translateX(-50%); max-width: 180px; }
  .drag-hint { right: 12px; bottom: 22px; }

  .provider-inner,
  .section-heading.split,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .provider-inner { padding: 18px 0; }

  .section { padding: 64px 0; }

  .ability-grid,
  .trust-gallery,
  .company-intro,
  .prompt-cards,
  .prompt-library,
  .topup-grid,
  .model-grid,
  .docs-grid,
  .agent-stats,
  .agent-grid {
    grid-template-columns: 1fr;
  }

  .trust-gallery {
    grid-auto-rows: 230px;
    gap: 12px;
  }

  .trust-photo-large,
  .trust-photo-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .trust-caption {
    inset: auto 14px 14px;
  }

  .trust-caption strong,
  .trust-photo:not(.trust-photo-large) .trust-caption strong {
    font-size: 15px;
  }

  .prompt-toolbar,
  .agent-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-main {
    padding: 20px;
  }

  .agent-card.wide {
    grid-column: auto;
  }

  .terminal-top {
    grid-template-columns: auto 1fr;
  }

  .terminal-top em { display: none; }

  pre {
    padding: 18px;
    font-size: 12px;
  }

  .topup-grid article {
    border-right: 0;
  }
}
