:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #f1f4f8;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --primary: #111827;
  --accent: #2563eb;
  --accent-2: #14b8a6;
  --success: #16a34a;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.06);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(37, 99, 235, 0.12), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(20, 184, 166, 0.12), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #eef3f9 100%);
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.75; }
h1, h2, h3 { margin: 0; color: var(--text); letter-spacing: -0.045em; }
h1 { max-width: 720px; font-size: clamp(44px, 5.4vw, 72px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.08; }
h3 { font-size: 21px; }

.section-shell,
.site-header {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 12px 0 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #334155);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a,
.nav-login {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}
.main-nav a:hover,
.nav-login:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.18);
}
.button-light {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 58px;
  align-items: center;
  min-height: 720px;
  padding: 92px 0 70px;
}
.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-badge {
  margin-bottom: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
}
.hero-description {
  max-width: 640px;
  margin: 26px 0 30px;
  font-size: 18px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.hero-points span,
.logo-strip span,
.model-card div span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
  font-weight: 750;
}

.hero-product { position: relative; }
.browser-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.16);
}
.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
}
.browser-top span:first-child { background: #f97316; }
.browser-top span:nth-child(2) { background: #eab308; }
.browser-top span:nth-child(3) { background: #22c55e; }
.browser-top strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.dashboard-preview {
  display: grid;
  grid-template-columns: 74px 1fr;
  min-height: 440px;
  background: #ffffff;
}
.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: #0f172a;
}
.preview-sidebar b {
  display: block;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}
.preview-sidebar b:first-child { background: var(--accent); }
.preview-main { padding: 24px; min-width: 0; }
.preview-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.preview-stat-row article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}
.preview-stat-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.preview-stat-row strong {
  display: block;
  margin-top: 9px;
  font-size: 22px;
}
.preview-chart {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 170px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(rgba(148, 163, 184, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, #fff, #f8fafc);
  background-size: 100% 42px, 42px 100%, auto;
}
.preview-chart i {
  flex: 1;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.92;
}
.preview-route {
  display: grid;
  grid-template-columns: minmax(90px, auto) 1fr minmax(120px, auto) 1fr minmax(150px, auto);
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding: 16px;
  border-radius: 20px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.preview-route em {
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}
.floating-code {
  position: absolute;
  right: -10px;
  bottom: 30px;
  width: min(360px, 80%);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.92);
  color: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}
.floating-code span {
  display: block;
  color: #93c5fd;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.floating-code code {
  display: block;
  margin-top: 8px;
  color: #d1fae5;
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.market-hero {
  margin-top: 26px;
  padding: 24px 28px 32px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 42px;
  background:
    radial-gradient(circle at 16% 12%, rgba(59, 130, 246, 0.34), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(20, 184, 166, 0.26), transparent 22rem),
    linear-gradient(135deg, #0b1020 0%, #111827 52%, #172033 100%);
  box-shadow: 0 36px 120px rgba(15, 23, 42, 0.24);
  color: #fff;
}
.relay-market-page .market-hero h1,
.relay-market-page .market-hero h2,
.relay-market-page .market-hero h3 {
  color: #fff;
}
.relay-market-page .market-hero p {
  color: #cbd5e1;
}
.relay-market-page .market-hero .button-light {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}
.relay-market-page .market-hero .button-dark {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(255, 255, 255, 0.12);
}
.notice-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}
.notice-strip strong {
  color: #93c5fd;
  font-size: 13px;
  font-weight: 900;
}
.notice-strip span {
  flex: 1;
  color: #cbd5e1;
  font-size: 14px;
}
.notice-strip a {
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}
.market-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  gap: 46px;
  align-items: center;
  min-height: 520px;
}
.relay-market-page .hero-badge {
  border-color: rgba(147, 197, 253, 0.28);
  color: #bfdbfe;
  background: rgba(147, 197, 253, 0.1);
}
.relay-market-page .hero-points span,
.model-cloud span {
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
}
.model-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.model-cloud span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 850;
}
.gateway-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
    rgba(15, 23, 42, 0.8);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
}
.gateway-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}
.gateway-top div {
  display: flex;
  align-items: center;
  gap: 9px;
}
.gateway-top strong {
  color: #fff;
}
.gateway-top small {
  color: #94a3b8;
  font-weight: 800;
}
.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.12);
}
.endpoint-panel {
  display: grid;
  gap: 8px;
  margin: 18px 20px;
  padding: 18px;
  border: 1px solid rgba(147, 197, 253, 0.18);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.62);
}
.endpoint-panel span,
.gateway-metrics span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.endpoint-panel code {
  color: #bfdbfe;
  font: 15px "Cascadia Code", Consolas, monospace;
}
.gateway-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 20px;
}
.gateway-metrics div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}
.gateway-metrics strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-size: 18px;
}
.gateway-card pre {
  overflow-x: auto;
  margin: 18px 20px 20px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: #020617;
  color: #d1fae5;
  font: 12px/1.75 "Cascadia Code", Consolas, monospace;
}
.terminal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #0f172a;
  color: #e5edf7;
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.18);
}
.terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}
.terminal-head span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #64748b;
}
.terminal-head span:first-child { background: #ef4444; }
.terminal-head span:nth-child(2) { background: #eab308; }
.terminal-head span:nth-child(3) { background: #22c55e; }
.terminal-head strong {
  margin-left: auto;
  color: #94a3b8;
  font-size: 12px;
}
.endpoint-block {
  display: grid;
  gap: 8px;
  margin: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}
.endpoint-block span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.endpoint-block code,
.terminal-card pre code {
  color: #d1fae5;
  font-family: "Cascadia Code", Consolas, monospace;
}
.terminal-card pre {
  overflow-x: auto;
  margin: 18px;
  padding: 18px;
  border-radius: 18px;
  background: #020617;
  font-size: 12px;
  line-height: 1.75;
}
.market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.market-stats article,
.update-grid article,
.process-grid article,
.client-grid article {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}
.market-stats article {
  padding: 19px;
}
.market-stats span,
.price-snapshot span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}
.market-stats strong,
.price-snapshot strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.market-stats p { margin: 8px 0 0; font-size: 12px; line-height: 1.55; }
.service-entry-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}
.service-entry {
  display: block;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.service-entry span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 44px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  font-size: 12px;
  font-weight: 900;
}
.service-entry.primary-entry {
  color: #fff;
  background:
    radial-gradient(circle at 88% 0%, rgba(20, 184, 166, 0.26), transparent 18rem),
    linear-gradient(135deg, #111827, #1e293b);
}
.service-entry.primary-entry h3 {
  color: #fff;
}
.service-entry.primary-entry p {
  color: #cbd5e1;
}
.service-entry.primary-entry span {
  color: #0f172a;
  background: #fff;
}
.update-board,
.quickstart-section,
.clients-section,
.verify-strip {
  padding-top: 100px;
}
.update-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.update-grid article {
  padding: 24px;
}
.update-grid strong {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  font-size: 12px;
}
.model-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.model-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}
.model-table th,
.model-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 14px;
}
.model-table th {
  color: var(--muted);
  background: #f8fafc;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.model-table tr:last-child td { border-bottom: 0; }
.status-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.status-pill.online {
  color: #047857;
  background: #d1fae5;
}
.status-pill.pending {
  color: #8a5b2b;
  background: #f2e6d3;
}
.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.7fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 100px;
}
.pricing-copy,
.price-snapshot {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.pricing-copy {
  padding: 34px;
}
.pricing-copy h2 {
  margin-top: 12px;
}
.price-snapshot {
  display: grid;
  gap: 12px;
  padding: 24px;
}
.price-snapshot div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.process-grid article {
  min-height: 230px;
  padding: 22px;
}
.process-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 38px;
  border-radius: 15px;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  font-size: 12px;
  font-weight: 900;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.client-grid article {
  min-height: 180px;
  padding: 24px;
}
.verify-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 100px;
  padding: 34px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 95% 0%, rgba(20, 184, 166, 0.14), transparent 18rem),
    #fff;
  box-shadow: var(--shadow-soft);
}
.verify-strip h2 {
  margin-top: 12px;
  font-size: clamp(30px, 3vw, 44px);
}
.verify-strip p {
  max-width: 720px;
}

.docs-market-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.12), transparent 28rem),
    linear-gradient(180deg, #fff 0%, #f7f8fb 42%, #eef3f9 100%);
}
.docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 34px;
  align-items: center;
  padding-top: 84px;
}
.docs-hero h1 {
  margin-top: 14px;
}
.docs-endpoint-card {
  display: grid;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #0f172a;
  box-shadow: var(--shadow);
}
.docs-endpoint-card span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.docs-endpoint-card code {
  display: block;
  margin-bottom: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  color: #d1fae5;
  background: #020617;
  font: 13px "Cascadia Code", Consolas, monospace;
  word-break: break-all;
}
.docs-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  padding-top: 70px;
}
.docs-sidebar {
  display: grid;
  position: sticky;
  top: 106px;
  align-self: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
}
.docs-sidebar a {
  padding: 12px 13px;
  border-radius: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.docs-sidebar a.active,
.docs-sidebar a:hover {
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
}
.docs-content {
  display: grid;
  gap: 18px;
}
.docs-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
}
.docs-card h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3vw, 42px);
}
.docs-card h2 + p {
  margin-top: 0;
}
.step-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.step-list div,
.client-doc-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}
.step-list span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(37,99,235,.08);
  font-size: 12px;
  font-weight: 900;
}
.step-list strong {
  display: block;
  font-size: 17px;
}
.step-list p,
.client-doc-grid p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.65;
}
.compact-table {
  margin-top: 18px;
}
.client-doc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.error-list {
  display: grid;
  gap: 10px;
}
.error-list details {
  box-shadow: none;
}

.account-page {
  background:
    radial-gradient(circle at 10% 0%, rgba(37,99,235,.14), transparent 28rem),
    radial-gradient(circle at 90% 10%, rgba(20,184,166,.12), transparent 28rem),
    linear-gradient(180deg, #fff, #f7f8fb 52%, #eef3f9);
}
.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 98px;
}
.account-panel,
.account-flow-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-soft);
}
.account-panel {
  padding: 42px;
}
.account-panel h1 {
  margin: 12px 0 18px;
}
.account-panel p {
  max-width: 680px;
  font-size: 17px;
}
.account-flow-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(20,184,166,.18), transparent 18rem),
    #fff;
}
.account-flow-card div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #f8fafc;
}
.account-flow-card span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 13px;
  color: var(--accent);
  background: rgba(37,99,235,.08);
  font-size: 12px;
  font-weight: 900;
}
.account-flow-card strong {
  display: block;
  font-size: 18px;
}
.account-flow-card p {
  margin-bottom: 0;
  font-size: 13px;
}

/* Neutral market skin: less "AI gradient", fewer cards, more API marketplace. */
:root {
  --bg: #f6f3ed;
  --surface: #fffdf8;
  --surface-soft: #f0ebe2;
  --text: #181614;
  --muted: #6f6a61;
  --line: #ded7cb;
  --line-strong: #c9bfb1;
  --primary: #181614;
  --accent: #8a5b2b;
  --accent-2: #4f6f52;
  --shadow: none;
  --shadow-soft: none;
}

body,
.docs-market-page,
.account-page,
.fingerprint-body {
  background: #f6f3ed;
}

.site-header {
  top: 14px;
  border-color: rgba(24, 22, 20, 0.1);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: none;
}

.brand-mark {
  border-radius: 8px;
  background: #181614;
}

.button {
  border-radius: 10px;
}

.button-dark {
  background: #181614;
  box-shadow: none;
}

.button-light {
  background: #fffdf8;
}

.hero-badge,
.eyebrow {
  color: #8a5b2b;
}

.market-hero {
  margin-top: 28px;
  padding: 30px 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #181614;
}

.relay-market-page .market-hero h1,
.relay-market-page .market-hero h2,
.relay-market-page .market-hero h3 {
  color: #181614;
}

.relay-market-page .market-hero p {
  color: #6f6a61;
}

.notice-strip {
  border: 1px solid #ded7cb;
  border-radius: 10px;
  background: #fffdf8;
}

.notice-strip strong,
.notice-strip a {
  color: #181614;
}

.notice-strip span {
  color: #6f6a61;
}

.relay-market-page .hero-badge {
  border: 0;
  color: #8a5b2b;
  background: transparent;
  padding: 0;
}

.relay-market-page .market-hero .button-dark {
  color: #fffdf8;
  background: #181614;
  box-shadow: none;
}

.relay-market-page .market-hero .button-light {
  border-color: #ded7cb;
  color: #181614;
  background: #fffdf8;
}

.relay-market-page .hero-points span,
.model-cloud span {
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #c9bfb1;
  color: #6f6a61;
  background: transparent;
  padding: 5px 0;
}

.gateway-card,
.terminal-card {
  border: 1px solid #ded7cb;
  border-radius: 14px;
  background: #fffdf8;
  color: #181614;
  box-shadow: none;
}

.gateway-top {
  border-bottom-color: #ded7cb;
}

.gateway-top strong,
.gateway-metrics strong {
  color: #181614;
}

.gateway-top small,
.endpoint-panel span,
.gateway-metrics span {
  color: #6f6a61;
}

.live-dot {
  background: #4f6f52;
  box-shadow: none;
}

.endpoint-panel,
.gateway-metrics div {
  border-color: #ded7cb;
  border-radius: 10px;
  background: #f6f3ed;
}

.endpoint-panel code {
  color: #181614;
}

.gateway-card pre,
.code-block,
.docs-endpoint-card code {
  border-radius: 10px;
  background: #181614;
  color: #f2eadf;
}

.market-stats article,
.update-grid article,
.process-grid article,
.client-grid article,
.service-entry,
.pricing-copy,
.price-snapshot,
.price-snapshot div,
.docs-card,
.docs-endpoint-card,
.docs-sidebar,
.account-panel,
.account-flow-card,
.account-flow-card div,
.model-table-wrap,
.verify-strip,
.feature-card,
.model-card,
.proof-card,
.notice,
.empty-state,
.boundary-section {
  border-color: #ded7cb;
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: none;
}

.service-entry.primary-entry,
.final-cta {
  color: #fffdf8;
  background: #181614;
  box-shadow: none;
}

.service-entry.primary-entry h3,
.final-cta h2 {
  color: #fffdf8;
}

.service-entry.primary-entry p,
.final-cta p {
  color: #d8d0c4;
}

.service-entry span,
.process-grid span,
.step-list span,
.account-flow-card span,
.card-index {
  border-radius: 8px;
  color: #8a5b2b;
  background: #f0ebe2;
}

.model-table th {
  background: #f0ebe2;
}

.status-pill.online {
  color: #2f5d35;
  background: #e4eadc;
}

.docs-hero {
  padding-top: 76px;
}

.docs-endpoint-card {
  background: #fffdf8;
}

.docs-endpoint-card span {
  color: #8a5b2b;
}

.docs-layout {
  padding-top: 54px;
}

.docs-card {
  padding: 26px 0;
  border-width: 1px 0 0;
  border-radius: 0;
  background: transparent;
}

.step-list div,
.client-doc-grid article {
  border-color: #ded7cb;
  border-radius: 10px;
  background: #fffdf8;
}

.verify-strip {
  background: #fffdf8;
}

.feature-section,
.models-section,
.pricing-section,
.docs-section,
.proof-section {
  padding-top: 115px;
}
.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}
.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}
.section-heading h2 { margin-top: 12px; }
.section-heading p { margin-top: 18px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.feature-card,
.model-card,
.price-card,
.proof-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}
.feature-card {
  min-height: 250px;
  padding: 24px;
}
.feature-card.large-card {
  grid-column: span 2;
  background:
    radial-gradient(circle at 85% 12%, rgba(37, 99, 235, 0.14), transparent 16rem),
    #fff;
}
.card-index {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 46px;
  border-radius: 14px;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  font-size: 12px;
  font-weight: 900;
}
.feature-card p,
.model-card p,
.price-card p,
.proof-card p { margin-bottom: 0; font-size: 14px; }

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.model-card {
  padding: 26px;
  text-align: center;
}
.model-logo {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
}
.model-card div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin-top: 22px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price-card {
  position: relative;
  padding: 28px;
}
.price-card strong {
  display: block;
  margin: 24px 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}
.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.price-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--success);
  font-weight: 900;
}
.featured-price {
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-10px);
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.12), transparent 18rem),
    #fff;
}
.popular {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.docs-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: center;
}
.docs-copy p { max-width: 520px; }
.code-block {
  overflow-x: auto;
  margin: 0;
  padding: 26px;
  border-radius: 26px;
  background: #0f172a;
  color: #e2e8f0;
  box-shadow: var(--shadow);
  font: 13px/1.8 "Cascadia Code", Consolas, monospace;
}

.proof-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.proof-card { padding: 24px; }
.proof-card span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 900;
}

.final-cta {
  margin-top: 115px;
  padding: 52px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(20, 184, 166, 0.32), transparent 22rem),
    linear-gradient(135deg, #0f172a, #1e293b);
  text-align: center;
  box-shadow: var(--shadow);
}
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 620px; margin: 18px auto 26px; color: #cbd5e1; }
.final-cta .button-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.18); }
.final-cta div { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 90px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}
.site-footer p { margin: 8px 0 0; font-size: 13px; }
.footer-links { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }

/* Shared content pages */
.content-page {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 60px;
  padding-top: 86px;
}
.content-sidebar {
  display: flex;
  position: sticky;
  top: 106px;
  align-self: start;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.content-sidebar p { margin: 0 0 8px; }
.content-sidebar a { color: var(--muted); font-size: 14px; }
.content-sidebar a.active,
.content-sidebar a:hover { color: var(--accent); }
.article-content { max-width: 820px; }
.article-content section { margin-bottom: 58px; }
.article-content h1 { margin: 12px 0 20px; font-size: 56px; }
.article-content h2 { margin-bottom: 18px; font-size: 30px; }
.lead { font-size: 17px; }
.notice,
.empty-state,
.boundary-section {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.article-list { display: grid; gap: 12px; padding-left: 20px; color: var(--muted); line-height: 1.7; }
.legal-meta { display: grid; gap: 8px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.legal-meta strong,
.placeholder { color: #b45309; font-weight: 800; }
details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 18px 20px;
}
details + details { margin-top: 12px; }
summary { cursor: pointer; font-weight: 850; }

/* Verify page compatibility */
.fingerprint-body { background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }
.fingerprint-hero,
.verification-section,
.builder-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding-top: 90px;
}
.fingerprint-copy h1 { margin: 18px 0 22px; }
.fingerprint-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.fingerprint-tags span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
}
.scanner-card,
.audit-workbench,
.verification-proof,
.evidence-card,
.report-grid article {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.scanner-card { padding: 25px; }
.scanner-topline,
.workbench-heading,
.report-topline,
.proof-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.scanner-badge,
.sample-label {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(37, 99, 235, 0.08);
  font-size: 10px;
  font-weight: 900;
}
.scanner-label {
  display: block;
  margin: 22px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
select,
.scanner-select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  font: inherit;
}
.scanner-profile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.scanner-profile div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}
.scanner-profile span { display: block; color: var(--muted); font-size: 11px; }
.scanner-profile strong { display: block; margin-top: 6px; font-size: 12px; }
.scanner-button { width: 100%; margin-top: 17px; cursor: pointer; }
.scanner-caption { font-size: 12px; text-align: center; }
.audit-workbench { padding: 27px; margin-top: 80px; }
.audit-layout {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 18px;
  margin-top: 24px;
}
.audit-steps { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.audit-step {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}
.audit-step p { margin: 5px 0 0; font-size: 12px; line-height: 1.55; }
.step-index { color: var(--accent); font-weight: 900; }
.step-state { color: var(--muted); font-size: 10px; font-weight: 900; }
.result-panel {
  display: grid;
  min-height: 308px;
  place-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.result-empty { text-align: center; }
.result-alert p:last-child { margin-bottom: 0; }
.audit-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.audit-metrics span {
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 12px;
}
.audit-metrics strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 18px;
}
.evidence-section,
.sample-report { padding-top: 100px; }
.evidence-grid,
.report-grid { display: grid; gap: 14px; }
.evidence-grid { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }
.evidence-card { min-height: 215px; padding: 23px; }
.report-grid { grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.report-grid article { padding: 18px; }
.research-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.research-links a { color: var(--accent); font-size: 13px; font-weight: 800; }

.auth-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: stretch;
  padding-top: 110px;
}
.auth-card,
.auth-side {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.auth-card {
  padding: 38px;
}
.auth-card h1 {
  margin: 10px 0 18px;
  font-size: clamp(42px, 5vw, 68px);
}
.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.oauth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.oauth-button {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  background: #fff;
  font: inherit;
  font-weight: 850;
}
.oauth-button small {
  position: absolute;
  top: 7px;
  right: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.oauth-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.72;
}
.oauth-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.oauth-icon.wechat { background: #07c160; }
.oauth-icon.alipay { background: #1677ff; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.auth-divider::before,
.auth-divider::after {
  flex: 1;
  height: 1px;
  background: var(--line);
  content: "";
}
.auth-note {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding: 16px;
  border-radius: 18px;
  color: var(--muted);
  background: var(--surface-soft);
  font-size: 13px;
}
.auth-note strong { color: var(--text); }
.auth-side {
  padding: 38px;
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 99, 235, 0.13), transparent 18rem),
    #fff;
}
.auth-side ul {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.auth-side li {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.auth-side li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--success);
  font-weight: 900;
}

.chat-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  align-items: stretch;
  padding-top: 88px;
}
.chat-setup,
.chat-panel {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.chat-setup {
  padding: 30px;
}
.chat-setup h1 {
  margin: 10px 0 18px;
  font-size: clamp(40px, 4.5vw, 62px);
}
.chat-label {
  display: block;
  margin: 20px 0 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}
.chat-input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  outline: none;
  background: #fff;
  font: inherit;
}
.chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.chat-panel {
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto;
  overflow: hidden;
  min-height: 680px;
}
.chat-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}
.chat-topbar span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.chat-topbar strong {
  display: block;
  margin-top: 4px;
}
.chat-topbar button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding: 22px;
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.06), transparent 22rem),
    #fff;
}
.chat-message {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  max-width: 86%;
}
.chat-message.user {
  align-self: flex-end;
  grid-template-columns: minmax(0, 1fr) 34px;
}
.chat-message span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-size: 12px;
  font-weight: 900;
}
.chat-message.user span {
  grid-column: 2;
  background: var(--accent);
}
.chat-message p {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
  color: var(--text);
  white-space: pre-wrap;
}
.chat-message.user p {
  grid-column: 1;
  grid-row: 1;
  background: #eff6ff;
}
.chat-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}
.chat-composer textarea {
  resize: none;
  min-height: 58px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  outline: none;
  font: inherit;
}

/* Plain API relay marketplace homepage. */
.plain-market-page {
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(222, 215, 203, 0.32) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf6 0%, #f6f3ed 48%, #efe8dc 100%);
  background-size: 84px 84px, auto;
}

.plain-market-page .site-header {
  max-width: 1160px;
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
}

.plain-hero {
  display: grid;
  max-width: 1020px;
  min-height: 520px;
  align-content: center;
  padding-top: 110px;
  padding-bottom: 58px;
  text-align: left;
}

.plain-hero .eyebrow,
.plain-heading .eyebrow {
  margin-bottom: 14px;
  letter-spacing: 0.16em;
}

.plain-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #161412;
  font-size: clamp(52px, 7.2vw, 92px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.plain-hero > p:not(.eyebrow) {
  max-width: 700px;
  margin: 28px 0 0;
  color: #5f5a51;
  font-size: 20px;
  line-height: 1.9;
}

.plain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 36px;
}

.plain-market-page .button,
.plain-docs-page .button {
  min-height: auto;
  padding: 0 0 7px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid currentColor;
  color: #161412;
  background: transparent;
  box-shadow: none;
}

.plain-market-page .button::after,
.plain-docs-page .button::after {
  content: " ->";
  margin-left: 6px;
}

.plain-market-page .button-dark,
.plain-docs-page .button-dark,
.plain-market-page .button-light,
.plain-docs-page .button-light {
  color: #161412;
  background: transparent;
}

.plain-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid #d6ccbd;
  border-bottom: 1px solid #d6ccbd;
  color: #5f5a51;
  font-size: 14px;
  font-weight: 760;
}

.plain-strip span {
  min-width: 112px;
}

.plain-section {
  padding-top: 104px;
}

.plain-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.5fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.plain-heading .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 -18px;
}

.plain-heading h2 {
  margin: 0;
  color: #161412;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.plain-heading p:not(.eyebrow) {
  margin: 0;
  color: #6f6a61;
  line-height: 1.8;
}

.address-table,
.plain-columns,
.tool-list,
.plain-faq {
  border-top: 1px solid #d6ccbd;
}

.address-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid #d6ccbd;
}

.address-table span {
  color: #6f6a61;
  font-size: 14px;
}

.address-table code {
  overflow-wrap: anywhere;
  color: #161412;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 820;
}

.endpoint-stage {
  border-top: 1px solid #161412;
}

.endpoint-primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding: 34px 0 28px;
  border-bottom: 1px solid #d6ccbd;
}

.endpoint-primary span,
.endpoint-meta span {
  display: block;
  margin-bottom: 10px;
  color: #7b756b;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.endpoint-primary code {
  display: block;
  overflow-wrap: anywhere;
  color: #161412;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(27px, 5.2vw, 58px);
  font-weight: 820;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.copy-link {
  appearance: none;
  border: 1px solid #161412;
  border-radius: 999px;
  background: #161412;
  color: #fffaf1;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  padding: 11px 18px;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.copy-link:hover {
  transform: translateY(-2px);
}

.copy-link.subtle {
  padding: 8px 13px;
  background: transparent;
  color: #161412;
}

.copy-link.is-copied {
  background: #6d573b;
  border-color: #6d573b;
  color: #fffaf1;
}

.endpoint-meta {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  border-bottom: 1px solid #d6ccbd;
}

.endpoint-meta div {
  min-height: 124px;
  padding: 24px 28px 24px 0;
}

.endpoint-meta div + div {
  padding-left: 28px;
  border-left: 1px solid #d6ccbd;
}

.endpoint-meta code {
  display: inline;
  overflow-wrap: anywhere;
  color: #25211c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(15px, 1.55vw, 19px);
  font-weight: 760;
  line-height: 1.55;
}

.endpoint-meta .copy-link {
  margin-left: 12px;
  vertical-align: middle;
}

.endpoint-flow {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 22px 0 0;
  color: #5f5a51;
  font-size: 14px;
  font-weight: 760;
}

.endpoint-flow i {
  height: 1px;
  background: #c8bdac;
}

.model-table-wrap {
  overflow: auto;
  border: 0;
  border-top: 1px solid #d6ccbd;
  border-bottom: 1px solid #d6ccbd;
  border-radius: 0;
  background: transparent;
}

.model-table {
  min-width: 760px;
}

.model-table th {
  color: #6f6a61;
  background: #f0ebe2;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.model-table td,
.model-table th {
  border-color: #d6ccbd;
  padding: 18px;
}

.model-table td {
  color: #4a463f;
}

.plain-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.plain-columns article {
  min-height: 260px;
  padding: 30px 30px 34px 0;
  border-bottom: 1px solid #d6ccbd;
}

.plain-columns article + article {
  padding-left: 30px;
  border-left: 1px solid #d6ccbd;
}

.plain-columns span {
  color: #8a5b2b;
  font-size: 13px;
  font-weight: 820;
}

.plain-columns h3 {
  max-width: 260px;
  margin: 34px 0 16px;
  color: #161412;
  font-size: 28px;
  line-height: 1.12;
}

.plain-columns p {
  margin: 0;
  color: #6f6a61;
  line-height: 1.8;
}

.plain-steps {
  display: grid;
  margin: 0;
  padding: 0;
  counter-reset: api-step;
  list-style: none;
}

.plain-steps li {
  display: grid;
  grid-template-columns: 96px minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 25px 0;
  border-top: 1px solid #d6ccbd;
  counter-increment: api-step;
}

.plain-steps li:last-child {
  border-bottom: 1px solid #d6ccbd;
}

.plain-steps li::before {
  content: "0" counter(api-step);
  color: #8a5b2b;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 820;
}

.plain-steps strong {
  color: #161412;
  font-size: 22px;
}

.plain-steps span {
  color: #6f6a61;
  line-height: 1.8;
}

.tool-list {
  display: grid;
}

.tool-list a {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #d6ccbd;
  color: inherit;
  text-decoration: none;
}

.tool-list a:hover strong {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.tool-list strong {
  color: #161412;
  font-size: 22px;
}

.tool-list span {
  color: #6f6a61;
  line-height: 1.8;
}

.plain-faq details {
  padding: 24px 0;
  border-bottom: 1px solid #d6ccbd;
}

.plain-faq summary {
  color: #161412;
  cursor: pointer;
  font-size: 22px;
  font-weight: 820;
}

.plain-faq p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #6f6a61;
  line-height: 1.85;
}

.plain-market-page .site-footer {
  margin-top: 110px;
  border-color: #d6ccbd;
}

.plain-market-page .footer-links a {
  color: #4a463f;
}

.plain-docs-page {
  background:
    linear-gradient(90deg, rgba(222, 215, 203, 0.28) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf6 0%, #f6f3ed 100%);
  background-size: 84px 84px, auto;
}

.plain-docs-hero {
  padding-top: 132px;
  padding-bottom: 42px;
  border-bottom: 1px solid #d6ccbd;
}

.plain-docs-hero h1 {
  max-width: 860px;
  margin: 0;
  color: #161412;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -0.065em;
}

.plain-docs-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: #5f5a51;
  font-size: 19px;
  line-height: 1.9;
}

.plain-docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  padding-top: 52px;
}

.plain-docs-nav {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding-top: 4px;
}

.plain-docs-nav a {
  padding: 10px 0;
  border-bottom: 1px solid #d6ccbd;
  color: #5f5a51;
  text-decoration: none;
  font-size: 14px;
  font-weight: 780;
}

.plain-docs-nav a:hover {
  color: #161412;
}

.plain-docs-section {
  padding: 0 0 74px;
  border-bottom: 1px solid #d6ccbd;
}

.plain-docs-section + .plain-docs-section {
  padding-top: 70px;
}

.plain-docs-section h2 {
  margin: 0 0 24px;
  color: #161412;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.plain-docs-section h3 {
  margin: 34px 0 14px;
  color: #161412;
  font-size: 22px;
}

.plain-docs-section > p:not(.eyebrow) {
  max-width: 720px;
  color: #6f6a61;
  line-height: 1.85;
}

.compact-steps li {
  grid-template-columns: 70px minmax(180px, 0.38fr) minmax(0, 1fr);
}

.plain-docs-page .code-block {
  padding: 0 0 0 18px;
  border-radius: 0;
  border-left: 2px solid #171411;
  background: transparent;
  color: #171411;
}

.about-hero h1 {
  max-width: 980px;
}

.about-statement > p:not(.eyebrow) {
  font-size: 18px;
}

.about-lines {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid #d6ccbd;
}

.about-lines div {
  display: grid;
  grid-template-columns: minmax(140px, 0.28fr) minmax(0, 1fr);
  gap: 28px;
  padding: 20px 0;
  border-bottom: 1px solid #d6ccbd;
}

.about-lines strong {
  color: #161412;
  font-size: 17px;
}

.about-lines span {
  color: #6f6a61;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .site-header { border-radius: 24px; align-items: flex-start; padding: 15px; }
  .main-nav { display: none; }
  .hero,
  .market-hero-grid,
  .docs-hero,
  .docs-layout,
  .account-hero,
  .pricing-panel,
  .service-entry-grid,
  .docs-section,
  .fingerprint-hero,
  .auth-shell,
  .chat-shell,
  .content-page,
  .verification-section,
  .builder-section {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .model-grid,
  .pricing-grid,
  .proof-section,
  .market-stats,
  .update-grid,
  .process-grid,
  .client-grid,
  .step-list,
  .client-doc-grid,
  .evidence-grid,
  .report-grid,
  .audit-layout {
    grid-template-columns: 1fr;
  }
  .feature-card.large-card { grid-column: span 1; }
  .featured-price { transform: none; }
  .site-footer,
  .notice-strip,
  .verify-strip,
  .scanner-topline,
  .workbench-heading,
  .report-topline {
    align-items: flex-start;
    flex-direction: column;
  }
  .plain-hero {
    min-height: auto;
    padding-top: 92px;
  }
  .plain-heading,
  .address-table div,
  .endpoint-primary,
  .endpoint-meta,
  .plain-steps li,
  .tool-list a {
    grid-template-columns: 1fr;
  }
  .endpoint-primary {
    align-items: start;
  }
  .endpoint-primary code {
    font-size: clamp(26px, 10vw, 44px);
  }
  .endpoint-meta div {
    min-height: auto;
    padding: 20px 0;
  }
  .endpoint-meta div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid #d6ccbd;
  }
  .endpoint-flow {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }
  .endpoint-flow i {
    width: 1px;
    height: 18px;
    margin-left: 8px;
  }
  .plain-heading .eyebrow {
    margin-bottom: 0;
  }
  .plain-columns {
    grid-template-columns: 1fr;
  }
  .plain-columns article {
    min-height: auto;
    padding: 24px 0;
    border-left: 0;
  }
  .plain-columns article + article {
    padding-left: 0;
    border-left: 0;
  }
  .plain-steps li {
    gap: 10px;
  }
  .plain-docs-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-lines div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .plain-docs-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
  .compact-steps li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-shell,
  .site-header { width: min(100% - 24px, 1180px); }
  h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  .header-actions .nav-login { display: none; }
  .hero { min-height: auto; padding-top: 54px; }
  .dashboard-preview,
  .preview-stat-row,
  .scanner-profile {
    grid-template-columns: 1fr;
  }
  .preview-sidebar { display: none; }
  .preview-route { grid-template-columns: 1fr; }
  .preview-route em { display: none; }
  .floating-code { position: static; width: auto; margin-top: 14px; }
  .gateway-card pre,
  .terminal-card pre,
  .endpoint-block { margin-inline: 12px; }
  .final-cta { padding: 34px 20px; }
  .oauth-grid { grid-template-columns: 1fr; }
  .chat-composer { grid-template-columns: 1fr; }
  .chat-message { max-width: 100%; }
  .plain-hero h1 {
    font-size: 50px;
    letter-spacing: -0.06em;
  }
  .plain-hero > p:not(.eyebrow) {
    font-size: 17px;
  }
  .plain-actions .button {
    width: 100%;
    justify-content: center;
  }
  .plain-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
