
:root {
  --nb-font-family: "Courier New", Courier, monospace;
  --nb-primary: #000000;
  --nb-secondary: #ffffff;
  --nb-accent: #3498db;
  --nb-navbar-bg: #ffffff;
  --nb-navbar-hover: #f0f0f0;
  --nb-success: #2e7d32;
  --nb-info: #1976d2;
  --nb-warning: #b26a00;
  --nb-danger: #c62828;
  --nb-shadow-color: #000000;
  --poise-paper: #f7f7f2;
  --poise-panel: #ffffff;
  --poise-panel-2: #f0f0ea;
  --poise-ink: #111111;
  --poise-muted: #616161;
  --poise-border: #111111;
  --poise-accent: #3498db;
  --poise-cyan: #1565c0;
  --poise-violet: #6a5acd;
  --poise-green: #2e7d32;
}


html {
  background: var(--poise-paper);
  font-size: 14px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--poise-paper);
  color: var(--poise-ink);
  line-height: 1.5;
}

a { color: var(--poise-cyan); }
p { max-width: 780px; }

/* Full-width site chrome */
.site-header {
  width: 100%;
  margin: 0;
  padding: 0;
}

.poise-nav {
  width: 100%;
  padding: 9px 18px;
  background: var(--poise-paper);
  border-left: 0;
  border-right: 0;
  border-top: 0;
  box-shadow: none;
}

.brand {
  letter-spacing: .08em;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  font-size: 1rem;
  padding: 3px 7px;
}

.nb-nav {
  gap: 18px;
}

.nb-nav-item a {
  color: var(--poise-ink);
  font-size: .92rem;
  padding-bottom: 2px;
}

.nb-nav-item a[aria-current="page"] {
  border-bottom-color: var(--poise-cyan);
  font-weight: 700;
}

.site-main {
  flex: 1 0 auto;
  max-width: 1080px;
  padding: 28px 18px 42px;
}

/* Compact, documentation-first typography */
h1 {
  font-size: 1.85rem;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}

h2 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

h3 {
  font-size: 1.08rem;
  margin: 7px 0;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 7px;
}

.endpoint-catalog-label {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 7px;
}

 .hero {
  max-width: none;
  padding: 10px 0 24px;
}

.hero-copy,
.page-intro > p {
  font-size: 1rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.nb-btn,
.nb-btn-large {
  font-size: .9rem;
  line-height: 1.25;
  padding: 7px 10px;
  text-decoration: none;
  display: inline-block;
  background: var(--poise-panel);
  color: var(--poise-ink);
  border-color: var(--poise-border);
}

.primary-btn {
  background: var(--poise-accent);
  color: #ffffff;
}

.request-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 10px 12px;
  background: var(--poise-panel);
  margin-bottom: 32px;
  border-color: var(--poise-border);
  box-shadow: 3px 3px 0 var(--nb-shadow-color);
}

.request-strip strong {
  background: #eaf6ec;
  color: var(--poise-green);
  padding: 1px 5px;
  border: 1px solid var(--poise-green);
}

.section-block {
  margin: 34px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  margin-bottom: 14px;
  align-items: start;
}

.section-heading .index {
  font-size: .8rem;
  font-weight: 700;
  border-top: 2px solid var(--poise-border);
  padding-top: 3px;
}

.section-heading p {
  margin-top: 3px;
}

.section-heading-plain {
  display: block;
}

.feature-grid,
.about-grid {
  gap: 12px;
}

.nb-card {
  background: var(--poise-panel);
  border-color: var(--poise-border);
  margin-bottom: 12px;
  box-shadow: 3px 3px 0 var(--nb-primary);
}

.nb-card:hover {
  transform: none;
  box-shadow: 3px 3px 0 var(--nb-primary);
}

.nb-card-header,
.nb-card-body,
.nb-card-footer {
  padding: 10px 12px;
}

.app-card {
  max-width: 820px;
}

.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.page-intro {
  max-width: none;
  margin-bottom: 22px;
}

.page-intro h1 {
  font-size: 1.85rem;
}

.app-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  margin-bottom: 16px;
  background: var(--poise-panel);
  border-color: var(--poise-border);
  box-shadow: 3px 3px 0 var(--nb-shadow-color);
}

/* Compact Neubrutalism select used for inline controls */
.nb-form-select {
  display: inline-block;
  width: auto;
  min-width: 110px;
  max-width: 260px;
  padding: 6px 8px;
  font-size: 0.95rem;
  line-height: 1.3;
  background: var(--poise-panel);
  color: var(--poise-ink);
  border: 2px solid var(--poise-border);
  box-shadow: 3px 3px 0 var(--nb-shadow-color);
  appearance: none;
}

.controls-row .nb-form-group span {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* Override global nb-form-group width inside the controls row so items stay inline */
.controls-row .nb-form-group {
  width: auto !important;
  max-width: none !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.controls-row .nb-form-select {
  width: auto !important;
  min-width: 110px;
  font-size: inherit;
  font-family: inherit;
}

/* Keep controls and button on the same row; allow controls to scroll if they overflow */
.controls-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: flex-start;
  margin-top: 1rem;
}

.controls-left {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  flex: 0 1 auto;
  min-width: 0;
}

.controls-left .nb-form-group {
  flex: 0 0 auto;
}

.controls-row .primary-btn {
  flex: 0 0 auto;
  margin-left: 0;
}

.endpoint-submit {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  line-height: 1.3;
}

.endpoint-submit .icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  line-height: 1;
}

.platform-control { min-width: 120px; }
.retailer-control { min-width: 180px; }
.country-control { min-width: 100px; }
.mode-control,
.endpoint-control { min-width: 140px; }

/* Ensure the primary button is blue */
.primary-btn.nb-button {
  background: var(--poise-accent);
  color: #ffffff;
  border-color: var(--poise-accent);
}

@media (max-width: 700px) {
  .controls-row {
    flex-direction: column !important;
    align-items: stretch;
  }
  .nb-form-select { width: 100%; }
}

.muted { color: var(--poise-muted); opacity: 1; }

.endpoint-list {
  max-width: 940px;
}

.endpoint-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--poise-panel-2);
}

.endpoint-card h2 {
  font-size: 1.15rem;
}

.method {
  background: var(--poise-accent);
  border: 1px solid var(--poise-border);
  padding: 1px 5px;
  font-weight: 700;
  font-size: .72rem;
}

.param-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.param-row code,
.docs-content code {
  background: var(--poise-panel-2);
  border: 1px solid var(--poise-border);
  padding: 1px 4px;
}

.docs-note {
  max-width: 100%;
  margin-bottom: 16px;
  padding: 9px 11px;
  background: #eef6fb;
  color: #24445a;
  border-color: #8fb5ca;
}

.docs-layout {
  display: grid;
  grid-template-columns: 175px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.endpoint-docs-layout {
  grid-template-columns: minmax(0, 1fr);
}

.pricing-hero {
  text-align: center;
  padding: 34px 0 32px;
}

.pricing-hero h1 {
  max-width: 720px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pricing-card {
  background: var(--poise-panel);
}

.pricing-price {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.pricing-price span {
  display: block;
  color: var(--poise-muted);
  font-size: .85rem;
  font-weight: 400;
}

.pricing-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 2px 7px;
  background: #eaf6ec;
  border: 1px solid var(--poise-green);
  color: var(--poise-green);
  font-weight: 700;
}

.pricing-action {
  margin-top: 12px;
}

.docs-nav {
  position: sticky;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: var(--poise-panel);
  border-color: var(--poise-border);
  box-shadow: 3px 3px 0 var(--nb-shadow-color);
}

.docs-nav a {
  text-decoration: none;
  border-bottom: 1px dotted var(--poise-border);
}

.doc-section {
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--poise-border);
}

.doc-section h2 {
  margin-bottom: 8px;
}

.doc-section h3 {
  margin: 15px 0 7px;
}

.doc-endpoint-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.doc-endpoint-heading h2 {
  margin: 0;
}

pre {
  background: #f2f2ed;
  color: var(--poise-ink);
  padding: 10px 12px;
  overflow-x: auto;
  border: 2px solid var(--poise-border);
  box-shadow: 3px 3px 0 var(--poise-accent);
  margin: 9px 0;
  line-height: 1.4;
  font-size: .88rem;
}

pre code {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--poise-panel);
}

.docs-table th,
.docs-table td {
  border: 1px solid var(--poise-border);
  padding: 6px 8px;
  text-align: left;
  vertical-align: top;
}

.docs-table th {
  background: var(--poise-panel-2);
}

.about-stack {
  max-width: none;
}

.about-card {
  width: 100%;
}

.about-card .nb-card-body p:last-child {
  margin-bottom: 0;
}

.site-footer {
  flex: 0 0 auto;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 18px 8px;
  align-items: stretch;
  background: #f0f0ea;
  border-top-color: var(--poise-border);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  box-shadow: none;
  gap: 8px;
}

.footer-grid {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  text-align: center;
  font-size: .86rem;
  justify-items: center;
}

.footer-bottom {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-top: 6px;
  border-top: 1px solid var(--poise-border);
  font-size: .72rem;
  text-align: center;
}

.blink { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .blink { animation: none; }
}

@media (max-width: 768px) {
  html { font-size: 14px; }

  .poise-nav {
    padding: 8px 10px;
    align-items: flex-start;
    gap: 10px;
  }

  .nb-nav {
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-main {
    padding: 22px 12px 32px;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-nav {
    position: static;
  }

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

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

  .site-footer {
    padding: 10px 12px 7px;
  }

  .app-row,
  .endpoint-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    grid-template-columns: 32px 1fr;
  }
}

.home-about-intro {
  margin-top: 22px;
  margin-bottom: 12px;
}

.home-about-stack {
  margin-bottom: 24px;
}

.contact-card {
  max-width: 620px;
}

.contact-card .nb-card-body p {
  margin: 0 0 6px;
}

.contact-card .nb-card-body p:last-child {
  margin-bottom: 0;
}
