:root {
  --accent: #2b6aca;
  --accent-light: #2c5bd7;
  --accent-dark: #1d4ed8;
  --accent-subtle: #eef3ff;
  --accent-border: rgba(43, 106, 202, 0.35);
  --green: #0d9488;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 8px;
  --shadow: none;
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.12);
  --transition: all 0.15s ease;
  --font: -apple-system, system-ui, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --max: 72rem;

  --bg: #ffffff;
  --bg-secondary: #eff2f5;
  --bg-muted: #f9fafb;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #202124;
  --heading: #111827;
  --muted: #6b7280;
  --muted-soft: #9ca3af;
  --nav-bg: #ffffff;
  --code-bg: #f9fafb;
  --code-text: #202124;
  --overlay-bg: rgba(15, 23, 42, 0.45);
  --modal-bg: #ffffff;
  --input-bg: #ffffff;
  --header-scrolled: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

code,
pre {
  font-family: var(--mono);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}

.is-scrolled .site-header {
  background: var(--header-scrolled);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  color: var(--heading);
}

.brand-mark {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  border-radius: 0;
  background-color: var(--accent);
  background-image: none;
  box-shadow: none;
  -webkit-mask: url('/logo-mark.svg') center / contain no-repeat;
  mask: url('/logo-mark.svg') center / contain no-repeat;
}

.nav {
  display: none;
  gap: 0.25rem;
  color: var(--heading);
  font-size: 0.875rem;
  font-weight: 600;
}

.nav a {
  padding: 0.5rem 1rem;
}

.nav a:hover,
.footer-nav a:hover,
.footer-nav .footer-contact-button:hover {
  color: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  font-family: inherit;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

button.btn {
  appearance: none;
  margin: 0;
}

.btn-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--heading);
}

.btn-ghost:hover {
  color: var(--accent-dark);
  border-color: var(--border-strong);
}

.explorer-action {
  position: relative;
  display: inline-flex;
}

.btn-explorer {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: var(--accent);
  gap: 0.35rem;
}

.btn-explorer-icon {
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.btn-explorer-icon::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(43, 106, 202, 0.18) 60deg,
    transparent 120deg
  );
  opacity: 0;
  animation: explorer-sweep 4.5s linear infinite;
  transition: opacity 0.2s ease;
}

.btn-explorer:hover,
.btn-explorer:focus-visible {
  background: var(--accent-subtle);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.btn-explorer-icon:hover::before,
.btn-explorer-icon:focus-visible::before {
  opacity: 1;
  animation-duration: 1.6s;
}

.explorer-icon {
  width: 1.15rem;
  height: 1.15rem;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.explorer-icon-ring,
.explorer-icon-ring-dash,
.explorer-icon-core,
.explorer-icon-needle,
.explorer-icon-orbit,
.explorer-icon-sat-orbit {
  transform-box: fill-box;
  transform-origin: center;
}

.explorer-icon-ring {
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: 0.35;
  animation: explorer-breathe 2.8s ease-in-out infinite;
}

.explorer-icon-ring-dash {
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-dasharray: 8 46;
  stroke-linecap: round;
  opacity: 0.9;
  animation: explorer-spin 6s linear infinite;
}

.explorer-icon-core {
  fill: currentColor;
  animation: explorer-pulse 2.8s ease-in-out infinite;
}

.explorer-icon-needle {
  fill: currentColor;
  animation: explorer-spin 9s linear infinite;
  opacity: 0.9;
}

.explorer-icon-needle path:first-child {
  opacity: 1;
}

.explorer-icon-needle path:last-child {
  opacity: 0.35;
}

.explorer-icon-orbit {
  stroke: currentColor;
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: 0.25;
  animation: explorer-spin-reverse 10s linear infinite;
}

.explorer-icon-sat-orbit {
  transform-origin: 12px 12px;
  transform-box: view-box;
  animation: explorer-spin 3.2s linear infinite;
}

.explorer-icon-satellite {
  fill: currentColor;
}

.btn-explorer-icon:hover .explorer-icon-ring-dash,
.btn-explorer-icon:focus-visible .explorer-icon-ring-dash {
  animation-duration: 1.8s;
}

.btn-explorer-icon:hover .explorer-icon-needle,
.btn-explorer-icon:focus-visible .explorer-icon-needle {
  animation-duration: 2.4s;
}

.btn-explorer-icon:hover .explorer-icon-sat-orbit,
.btn-explorer-icon:focus-visible .explorer-icon-sat-orbit {
  animation-duration: 1.2s;
}

.btn-explorer-icon:hover .explorer-icon-orbit,
.btn-explorer-icon:focus-visible .explorer-icon-orbit {
  opacity: 0.45;
  animation-duration: 3s;
}

@keyframes explorer-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes explorer-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes explorer-breathe {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(1.06);
  }
}

@keyframes explorer-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.75;
  }
}

@keyframes explorer-sweep {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-explorer-icon::before,
  .explorer-icon-ring,
  .explorer-icon-ring-dash,
  .explorer-icon-core,
  .explorer-icon-needle,
  .explorer-icon-orbit,
  .explorer-icon-sat-orbit {
    animation: none;
  }
}

.explorer-tooltip {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 30;
  width: max-content;
  max-width: min(16.5rem, calc(100vw - 2rem));
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-0.15rem);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .explorer-action:hover .explorer-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.explorer-action:focus-within .explorer-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: none) {
  .explorer-action:focus-within .explorer-tooltip {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.15rem);
  }
}

.header-signup-short {
  display: none;
}

.inline-link-button {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100svh - 5rem);
  padding: 4rem 0 5rem;
}

.hero > .container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  min-width: 0;
}

.hero-grid > * {
  min-width: 0;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.08rem;
  line-height: 1.1;
  color: var(--heading);
  max-width: 18ch;
}

.hero-copy h1 .accent-line {
  color: var(--accent);
}

.hero-copy h1 .brazil-flag {
  display: inline-flex;
  align-items: center;
  margin-left: 0.2em;
  margin-right: 0.12em;
  vertical-align: middle;
  line-height: 0;
}

.hero-copy h1 .brazil-flag svg {
  width: 0.72em;
  height: auto;
  display: block;
  border-radius: 0.08em;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.lede {
  margin: 1rem 0 1.5rem;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.code-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: none;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.code-panel-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #cbd5e1;
}

.dot:nth-child(1) {
  background: #f87171;
}

.dot:nth-child(2) {
  background: #fbbf24;
}

.dot:nth-child(3) {
  background: #34d399;
}

.code-panel-title {
  margin-left: 0.35rem;
  color: var(--muted-soft);
  font-size: 0.78rem;
}

.code-panel pre {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--code-text);
}

.tok-comment {
  color: var(--muted-soft);
}

.tok-string {
  color: var(--accent);
}

.live-api-panel .live-api-body {
  padding: 1rem 1.1rem 1.15rem;
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.live-api-label,
.live-api-request-label,
.live-api-response-label {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-api-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  min-width: 0;
}

.live-api-select {
  flex: 1 1 auto;
  min-width: 8rem;
  max-width: 100%;
  margin: 0;
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 0.75rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.78rem;
  line-height: 1.25;
  appearance: none;
  -webkit-appearance: none;
}

.live-api-request,
.live-api-response {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--code-bg);
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--code-text);
}

.live-api-request {
  overflow-x: auto;
  min-height: 3rem;
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(107, 114, 128, 0.45) transparent;
}

.live-api-request::-webkit-scrollbar {
  height: 3px;
}

.live-api-request::-webkit-scrollbar-track {
  background: transparent;
}

.live-api-request::-webkit-scrollbar-thumb {
  background-color: rgba(107, 114, 128, 0.45);
  border-radius: 999px;
}

.live-api-request::-webkit-scrollbar-thumb:hover {
  background-color: rgba(107, 114, 128, 0.65);
}

.live-api-request code {
  white-space: pre;
}

.live-api-response-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.live-api-response-header .live-api-response-label {
  margin: 0;
}

.live-api-expand {
  flex-shrink: 0;
  padding-inline: 0.65rem;
  min-height: 1.75rem;
}

.live-api-response-preview {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 2.25rem;
  max-height: 2.25rem;
  padding: 0 0.85rem;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.live-api-panel pre.live-api-response-preview {
  padding: 0 0.85rem;
}

.live-api-response-preview code {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.live-api-response-modal {
  padding: 0.5rem;
  place-items: stretch;
}

.contact-modal-dialog.live-api-response-modal-dialog {
  width: calc(100vw - 1rem);
  max-width: none;
  height: calc(100vh - 1rem);
  max-height: calc(100vh - 1rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem 1rem;
  margin-inline: auto;
}

.live-api-response-modal .contact-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.live-api-response-modal .contact-modal-body h2 {
  flex-shrink: 0;
}

.live-api-response-full {
  margin: 0;
  padding: 1rem;
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--code-bg);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--code-text);
  white-space: pre-wrap;
  word-break: break-word;
}

.live-api-document-modal {
  padding: 0.5rem;
  place-items: stretch;
}

.contact-modal-dialog.live-api-document-modal-dialog {
  width: calc(100vw - 1rem);
  max-width: none;
  height: calc(100vh - 1rem);
  max-height: calc(100vh - 1rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem 1rem;
  margin-inline: auto;
}

.live-api-document-modal .contact-modal-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.live-api-document-modal .contact-modal-body h2 {
  margin-bottom: 0.35rem;
}

.live-api-document-meta {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
  flex-shrink: 0;
}

.live-api-document-frame {
  display: block;
  flex: 1;
  min-height: 0;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: #ffffff;
}

.stats-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.stat-item {
  display: grid;
  gap: 0.25rem;
}

.stat-value {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 3.5rem 0;
}

.section-muted {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border);
}

.section-heading {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--heading);
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.product-grid {
  display: grid;
  gap: 1rem;
}

.product-card {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.product-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card a {
  color: inherit;
  text-decoration: none;
}

.product-card a:hover {
  color: var(--accent);
}

.guides-grid {
  margin-top: 0.25rem;
}

.product-example {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  display: grid;
  gap: 1rem;
}

.product-example h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.product-example p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-example pre {
  margin: 0;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--code-bg);
  color: var(--code-text);
  font-size: 0.78rem;
  line-height: 1.65;
}

.api-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.api-row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
}

.api-row:last-child {
  border-bottom: none;
}

.api-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.method {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.api-row code {
  font-size: 0.85rem;
  color: var(--text);
}

.api-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.api-docs-cta {
  margin-top: 1.25rem;
}

.pricing-layout {
  display: grid;
  gap: 1.25rem;
  margin-inline: auto;
  max-width: 64rem;
}

.pricing-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-card-featured {
  border-color: var(--accent);
  box-shadow: none;
}

.pricing-badge {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-card-header h3 {
  margin: 0;
  font-size: 1.15rem;
}

.pricing-price {
  margin: 0.35rem 0 0;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.pricing-amount {
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-period {
  color: var(--muted);
  font-size: 0.95rem;
}

.pricing-note {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  flex: 1;
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-features li {
  padding-left: 1.1rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-features code {
  font-size: 0.88em;
}

.pricing-cta {
  width: 100%;
  margin-top: auto;
}

.pricing-packs {
  margin-top: 1.75rem;
  margin-inline: auto;
  max-width: 64rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  display: grid;
  gap: 1rem;
}

.pricing-packs-header h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.pricing-packs-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pricing-packs-grid {
  display: grid;
  gap: 0.65rem;
}

.pricing-pack {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
}

.pricing-pack-credits {
  font-weight: 600;
}

.pricing-pack-price {
  color: var(--muted);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pricing-packs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 44rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item code {
  font-size: 0.88em;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 2.5rem 0;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-contact-button {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-copy {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.88rem;
}

.footer-copy a:hover {
  color: var(--text);
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
}

.contact-modal-dialog {
  position: relative;
  width: min(100%, 32rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--modal-bg);
  box-shadow: var(--shadow-lg);
}

.contact-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--muted);
  cursor: pointer;
}

.contact-modal-close:hover {
  color: var(--text);
}

.contact-modal-body h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.contact-modal-copy {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-field {
  margin-bottom: 0.85rem;
}

.contact-field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
}

.contact-field-error {
  margin: 0.35rem 0 0;
  color: #dc2626;
  font-size: 0.85rem;
}

.contact-form-error-list {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
  color: #dc2626;
  font-size: 0.88rem;
}

.contact-form-submit {
  width: 100%;
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

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

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guides-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-example {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.85fr);
    align-items: center;
  }

  .pricing-layout {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .pricing-packs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

@media (max-width: 719px) {
  .header-inner {
    gap: 0.5rem;
    min-height: 3.25rem;
  }

  .brand {
    min-width: 0;
    font-size: 0.95rem;
    gap: 0.4rem;
  }

  .brand-mark {
    width: 1.2rem;
    height: 1.2rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .header-actions .btn-sm {
    padding: 0.45rem 0.65rem;
    font-size: 0.8125rem;
  }

  .btn-explorer-icon {
    width: 2rem;
    height: 2rem;
  }

  .explorer-tooltip {
    right: 0;
    left: auto;
    max-width: min(13.5rem, calc(100vw - 1.25rem));
    padding: 0.5rem 0.6rem;
    font-size: 0.72rem;
  }

  .header-signup-full {
    display: none;
  }

  .header-signup-short {
    display: inline;
  }

  .hero {
    min-height: calc(100svh - 3.25rem);
    padding: 3rem 0 4rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 2rem);
  }

  .lede {
    font-size: 1.25rem;
  }

  .hero-actions .btn,
  .pricing-cta {
    width: 100%;
  }

  .live-api-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .live-api-select {
    flex: 0 0 auto;
    min-width: 0;
    width: 100%;
  }

  .live-api-controls .btn {
    width: 100%;
  }

  .live-api-response-header {
    align-items: flex-start;
  }

  .section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 380px) {
  .brand-tld {
    display: none;
  }

  .header-actions .btn-sm {
    padding: 0.4rem 0.55rem;
    font-size: 0.78rem;
  }
}
