/* Cohere editorial layer. Loaded after style.css. */

:root {
  --bg: #000000;
  --canvas: #000000;
  --ink: #f4f4f5;
  --text: #e7e7ec;
  --primary: #ffffff;
  --muted: #b4b4be;
  --dim: #9b9ba8;
  --slate: #a7a7b3;
  --line: rgba(255, 255, 255, 0.16);
  --hairline: rgba(255, 255, 255, 0.14);
  --accent: #ffffff;
  --ok: #6dcca8;
  --err: #ff6b6b;
  --link: #9eb6ff;
}

html,
body {
  background: #000000;
  color: #f4f4f5;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.site-announce {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 48px;
  background: #000000;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  text-align: center;
}

.site-announce p {
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  color: #ffffff;
}

.site-announce strong {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #ffffff;
  margin-right: 0.35rem;
}

.site-announce a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: none;
  color: #ffffff;
}

a.logo.brand-logo,
a.logo.brand-logo:hover {
  color: var(--primary);
  font-family: var(--display);
  font-weight: 500;
}

a.logo.brand-logo {
  gap: 7px;
  color: #ffffff;
}

.brand-logo-mark {
  width: 21px;
  height: 21px;
  display: block;
  flex: 0 0 auto;
}

.brand-logo-word {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.brand-logo-by {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}

.brand-logo-badge {
  background: #ffffff;
  border-radius: 999px;
  transform: none;
  padding: 3px 8px 2px;
}

.brand-logo-badge-text {
  transform: none;
  color: #000000;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.08em;
}

.nav {
  gap: 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.nav a {
  color: var(--ink);
}

.nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

.nav a.cta,
.nav a.cta:hover {
  background: #ffffff;
  color: #000000;
  border: 0;
  border-radius: 32px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.btn-primary,
a.btn-primary,
a.btn-primary:hover {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  background: #ffffff;
  color: #000000;
  border: 0;
  border-radius: 32px;
  padding: 12px 24px;
  min-height: 44px;
}

.btn-primary:hover,
a.btn-primary:hover {
  opacity: 0.92;
  transform: none;
}

.btn-ghost,
a.btn-ghost,
.btn-ghost:hover {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-radius: 0;
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  min-height: 44px;
}

.badge,
.hero-kicker,
.pricing-badge,
.platform-label,
.access-kicker {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 0 20px;
}

.site-header.home-header {
  position: relative;
  display: block;
  padding: 0;
  background: #000000;
  border-bottom: 0;
  overflow: hidden;
  color: #ffffff;
}

.home-header-wave {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.home-header-bar,
.home-header .hero {
  position: relative;
  z-index: 1;
}

.home-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
}

.home-header .brand-logo-word,
.home-header a.logo.brand-logo,
.home-header a.logo.brand-logo:hover,
.home-header .nav,
.home-header .nav a,
.home-header .nav a:hover,
.home-header .nav-toggle {
  color: #ffffff;
}

.home-header .brand-logo-badge {
  background: #ffffff;
}

.home-header .brand-logo-badge-text {
  color: #000000;
}

.home-header .nav a.cta,
.home-header .nav a.cta:hover,
.home-header .btn-primary,
.home-header a.btn-primary,
.home-header a.btn-primary:hover {
  background: #ffffff;
  color: #000000;
}

.home-header .hero-kicker,
.home-header .hero h1,
.home-header .hero .lead,
.home-header .btn-ghost,
.home-header a.btn-ghost,
.home-header .btn-ghost:hover,
.home-header .hero-stat strong,
.home-header .hero-stat span {
  color: #ffffff;
}

.home-header .hero-stats,
.home-header .hero-stat + .hero-stat {
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-wrap,
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 32px 168px;
  display: block;
  text-align: center;
}

.hero h1,
.pricing-hero h1,
.platform-headline,
.access-page-title,
.wiki-page-title {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--primary);
  text-transform: none;
}

.hero h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  max-width: 10em;
  margin: 0 auto 24px;
}

.hero .lead,
.pricing-lead,
.platform-lead,
.access-lead {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 48px auto 0;
  border-top: 1px solid var(--hairline);
}

.hero-stat {
  padding: 22px 12px 8px;
}

.hero-stat + .hero-stat {
  border-left: 1px solid var(--hairline);
}

.hero-stat strong {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--primary);
  line-height: 1.1;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--slate);
}


.section {
  max-width: 1120px;
  padding: 80px 32px;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
  color: var(--primary);
  margin: 0 0 28px;
}

.home-why-grid,
.home-api-grid,
.home-nodes-grid {
  gap: 16px;
  background: transparent;
  border: 0;
}

.home-why-card,
.home-api-card,
.home-node-card,
.home-usecase-list li,
.panel,
.pricing-card,
.access-closed,
.surface-card {
  background: transparent;
  color: #f4f4f5;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: none;
}

.home-why-card-title,
.home-api-card-title {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--primary);
}

.home-api-metric {
  color: var(--slate);
  border: 0;
  padding: 0;
  font-weight: 400;
}

.panel-grid,
.panel-grid-home {
  gap: 16px;
  background: transparent;
  border: 0;
}

.panel-head,
.panel-body {
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.panel-head {
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.btn-panel-docs,
.btn-panel-docs:hover {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.home-flow {
  background: #000000;
  color: #ffffff;
}

.home-flow .section {
  max-width: 1120px;
}

.home-flow .home-routing {
  padding-top: 72px;
  padding-bottom: 28px;
}

.home-flow .home-nodes {
  padding-top: 0;
  padding-bottom: 72px;
  margin-top: 0;
}

.home-flow .home-routing .section-title {
  color: #ffffff;
}

.home-flow #home-nodes-heading {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 8px 0 16px;
}

.rd-container {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.home-flow .rd-svg {
  max-width: none;
  min-width: 0;
  width: 100%;
}

.rd-gateway-title,
.rd-node-name {
  fill: #ffffff;
}

.rd-feature,
.rd-node-sub {
  fill: rgba(255, 255, 255, 0.62);
}

.rd-container .rd-label-sm {
  fill: rgba(255, 255, 255, 0.72);
}

.rd-container .rd-on-dark.rd-node-name {
  fill: #ffffff;
}

.rd-container .rd-on-dark.rd-node-sub {
  fill: rgba(255, 255, 255, 0.62);
}

.home-usecase-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: none;
}

.home-usecase-list li {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 22px 20px 24px;
  margin: 0;
  color: #b4b4be;
  font-size: 15px;
  line-height: 1.5;
}

.home-usecase-list li strong {
  display: block;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--primary);
  margin: 0 0 12px;
}

.home-usecase-list li p {
  margin: 0;
}

.doc-pre,
.wiki-pre,
.home-curl-pre,
.access-closed-pre {
  background: #17171c;
  color: #f4f4f5;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.wiki-pre .wp-comment,
.doc-pre,
.home-curl-pre {
  color: #d4d4d8;
}

.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px;
  border-top: 1px solid var(--hairline);
  color: var(--slate);
  font-size: 14px;
  background: transparent;
}

.footer a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.access-shell {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-pricing .pricing-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 32px 8px;
}

.pricing-hero {
  text-align: left;
  max-width: none;
  margin: 0 0 28px;
}

.pricing-lead {
  max-width: none;
  margin: 0;
}

.page-pricing .pricing-card {
  width: 100%;
  margin: 0 0 40px;
}

.pricing-infra {
  margin: 0 0 28px;
}

.pricing-infra h2 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 16px;
}

.pricing-infra p,
.pricing-infra li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.pricing-infra p {
  margin: 0 0 16px;
}

.pricing-infra ul {
  margin: 0 0 16px;
  padding-left: 1.2rem;
}

.pricing-infra strong {
  color: #ffffff;
  font-weight: 600;
}

.pricing-infra a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.pricing-footnote {
  max-width: none;
  margin: 0;
}

.page-pricing .footer {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 32px 48px;
}

.pricing-amount {
  font-family: var(--display);
  font-weight: 400;
  font-size: 64px;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.pricing-features li {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.pricing-features strong {
  color: #ffffff;
}

.pricing-card .btn-primary,
.pricing-card a.btn-primary,
.pricing-card a.btn-primary:hover {
  background: #ffffff;
  color: #000000;
}

.tag.ok {
  color: var(--ok);
}

.wiki-layout {
  max-width: 1180px;
}

.wiki-sidebar {
  border-right: 1px solid var(--hairline);
  background: #000000;
}

.wiki-toc-link,
.epc-path {
  color: var(--ink);
}

.epc-search,
.epc-filter-btn,
.access-input,
.portal-input {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.epc-filter-btn.is-active,
.epc-filter-btn[aria-pressed="true"] {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.epc-toolbar,
.ch-stats-table-wrap,
.ep-ref-table-wrap,
.epc-table-wrap,
.endpoint-card,
.health-card,
.portal-card,
.wiki-url-block {
  background: transparent;
  color: inherit;
}

th,
.wiki-route-table th,
.epc-table th,
.ep-ref-table th,
.ch-stats-table th,
.health-node-table th {
  background: transparent;
  color: var(--slate);
}

.epc-table-wrap,
.ep-ref-table-wrap,
.wiki-route-table,
.ch-stats-table-wrap {
  border-color: rgba(255, 255, 255, 0.08);
}

.epc-table th,
.epc-table td,
.ep-ref-table th,
.ep-ref-table td,
.wiki-route-table th,
.wiki-route-table td,
.ch-stats-table th,
.ch-stats-table td,
.epc-curl-row td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.epc-table tbody tr:hover,
.epc-row-expandable:hover,
.wiki-route-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.wiki-url-copy {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1000px) {
  .home-usecase-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .home-flow .home-routing {
    padding-top: 48px;
    padding-bottom: 20px;
  }

  .home-flow .home-nodes {
    padding-bottom: 48px;
  }

  .rd-mobile {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    padding: 0;
  }

  .rd-mobile-flow li {
    border-bottom-color: rgba(255, 255, 255, 0.16);
  }

  .rd-mobile-k {
    color: rgba(255, 255, 255, 0.55);
  }

  .rd-mobile-v {
    color: #ffffff;
  }

  .rd-mobile-sub {
    color: rgba(255, 255, 255, 0.62);
  }

  .site-header.home-header {
    padding: 0;
  }

  .home-header-bar {
    position: relative;
    padding: 14px 16px;
  }

  .nav,
  .home-header .nav {
    top: 100%;
    background: #000000;
  }

  .nav a,
  .nav a:hover,
  .home-header .nav a,
  .home-header .nav a:hover {
    color: #ffffff;
  }

  .nav a.cta,
  .nav a.cta:hover,
  .home-header .nav a.cta,
  .home-header .nav a.cta:hover {
    background: #ffffff;
    color: #000000;
  }
}

.home-traffic {
  padding-top: 8px;
}

.home-traffic-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 28px;
}

.home-traffic-rate {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
}

.home-traffic-rate strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: #ffffff;
}

.home-traffic-rate span,
.home-traffic-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: Manrope, sans-serif;
  font-size: 14px;
}

.home-traffic-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.traffic-chart {
  margin: 0;
  padding: 16px 16px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.traffic-chart figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  color: #f4f4f5;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.traffic-chart figcaption > span {
  color: rgba(255, 255, 255, 0.5);
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.traffic-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 148px;
}

.traffic-bar {
  display: flex;
  flex: 1 1 0;
  align-items: flex-end;
  height: 100%;
  min-width: 0;
  cursor: crosshair;
  outline: none;
}

.traffic-bar span {
  display: block;
  width: 100%;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 1px 1px 0 0;
}

.traffic-bar.is-empty span {
  background: transparent;
}

.traffic-bar:hover span,
.traffic-bar:focus-visible span {
  background: #ffffff;
}

.traffic-bar.is-empty:hover span,
.traffic-bar.is-empty:focus-visible span {
  height: 100% !important;
  background: rgba(255, 255, 255, 0.08);
}

.traffic-range {
  display: inline-flex;
  gap: 6px;
}

.traffic-range button {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.traffic-range button[aria-pressed="true"] {
  border-color: #ffffff;
  background: #ffffff;
  color: #000000;
}

.traffic-tip {
  position: fixed;
  z-index: 50;
  padding: 6px 8px;
  border-radius: 4px;
  background: #ffffff;
  color: #000000;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.traffic-tip[hidden] {
  display: none;
}

@media (max-width: 900px) {
  .home-traffic-grid {
    grid-template-columns: 1fr;
  }

  .home-traffic-rate strong {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .home-usecase-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .site-header {
    padding: 14px 16px;
  }

  .site-header.home-header {
    padding: 0;
  }

  .hero-wrap,
  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-stat + .hero-stat {
    border-left: 0;
    border-top: 1px solid var(--hairline);
  }

  .nav {
    background: #000000;
  }

  .nav a {
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .nav a.cta {
    color: #000000;
    background: #ffffff;
    border: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .nav-toggle-bar {
    transition: none;
  }
}

/* Platform: one column, shared left edge */
.page-platform .platform-shell {
  max-width: 1120px;
  padding: 64px 32px 72px;
}

.page-platform .platform-hero,
.page-platform .platform-lead,
.page-platform .platform-ch-stats,
.page-platform .plat-surfaces-sub {
  max-width: none;
}

.page-platform .platform-hero {
  padding: 8px 0 0;
}

.page-platform .platform-lead {
  margin: 0;
}

.page-platform .plat-value-cell {
  text-align: left;
}

.page-platform .plat-cli-banner {
  display: block;
}

.page-platform .plat-cli-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.page-platform .plat-cli-banner-text p {
  margin: 0;
}

.page-platform .plat-cli-banner-cta {
  align-self: flex-start;
  margin: 0;
}

.page-platform .plat-cli-cmd {
  width: 100%;
}

.page-platform .surface-grid-wrap .surface-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-platform .surface-cta {
  margin-top: auto;
  border-bottom-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.page-platform .surface-cta:hover {
  border-bottom-color: #ffffff;
  color: #ffffff;
}

.page-platform .ch-stats-table th:last-child,
.page-platform .ch-stats-table td:last-child {
  text-align: right;
}

.page-platform .footer {
  text-align: left;
}

@media (max-width: 800px) {
  .page-platform .platform-shell,
  .page-platform .footer {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 720px) {
  .page-platform .plat-cli-head {
    flex-direction: column;
    gap: 12px;
  }
}
