:root {
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --selection: #ecfdf5;
  --text: #0f172a;
  --muted: #475569;
  --border: #cbd5e1;
  --subtle: #f1f5f9;
  --white: #ffffff;
  --page-bg: #f8fbf9;
  --surface: rgb(255 255 255 / 86%);
  --surface-strong: rgb(255 255 255 / 94%);
  --shadow: 0 18px 42px rgb(15 23 42 / 10%);
  --shadow-soft: 0 22px 60px rgb(15 23 42 / 8%);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 42%) 0%, rgb(248 251 249 / 62%) 460px, rgb(255 255 255 / 84%) 1280px),
    url("/images/backgrounds/placefield-map-pattern.svg") top left / 720px 720px repeat,
    var(--page-bg);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), 1220px);
  margin: 0 auto;
  padding: 28px 0 18px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 7px;
}

.brand-word {
  color: var(--text);
  white-space: nowrap;
}

.brand-place {
  color: var(--primary-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.site-nav form {
  margin: 0;
}

.nav-button {
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0;
  font: 600 14px/1 var(--sans);
  cursor: pointer;
}

.site-nav a:not(.icon-link):hover {
  color: var(--primary-dark);
}

.nav-button:hover {
  color: var(--primary-dark);
}

.mobile-nav-menu {
  display: none;
}

.mobile-nav-toggle {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(203 213 225 / 86%);
  border-radius: 5px;
  background: var(--surface-strong);
  cursor: pointer;
  box-shadow: 0 8px 22px rgb(15 23 42 / 8%);
  list-style: none;
}

.mobile-nav-toggle::-webkit-details-marker {
  display: none;
}

.mobile-nav-toggle:focus-visible {
  outline: 3px solid var(--selection);
  outline-offset: 3px;
}

.mobile-nav-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.mobile-nav-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.mobile-site-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 5;
  display: grid;
  min-width: 190px;
  overflow: hidden;
  border: 1px solid rgb(203 213 225 / 88%);
  border-radius: 6px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.mobile-site-nav a {
  padding: 12px 14px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.mobile-site-nav a + a {
  border-top: 1px solid #e2e8f0;
}

.mobile-site-nav a:hover,
.mobile-site-nav a:focus-visible {
  background: var(--selection);
  color: #14532d;
  outline: none;
}

main {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1220px);
  margin: 0 auto 64px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(560px, 1.1fr);
  column-gap: 48px;
  row-gap: 20px;
  align-items: start;
  min-height: 0;
  padding: 34px 0 10px;
}

.hero::before {
  position: absolute;
  inset: 0 -32px -34px;
  z-index: -1;
  border: 1px solid rgb(203 213 225 / 58%);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgb(255 255 255 / 88%) 0%, rgb(255 255 255 / 60%) 44%, rgb(220 252 231 / 24%) 100%),
    url("/images/backgrounds/placefield-map-field.png") center right / cover no-repeat;
  box-shadow: 0 30px 90px rgb(15 23 42 / 7%);
  content: "";
}

.hero-copy {
  padding-top: 42px;
}

.hero-copy h1 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(38px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 510px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.trust-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-rail span {
  border-left: 2px solid var(--primary);
  padding-left: 10px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 0 24px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #052e16;
}

.button-primary:hover {
  background: #4ade80;
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface-strong);
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.hero-workspace {
  min-width: 0;
}

.demo-support {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 16px;
  align-items: stretch;
  min-width: 0;
}

.panel,
.structured-panel,
.api-snippet,
.interest-form {
  border: 1px solid rgb(203 213 225 / 78%);
  border-radius: 6px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.panel {
  min-width: 0;
  padding: 14px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.panel h2,
.structured-panel h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}

.panel-note {
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.demo-copy-note {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.status-text {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-text.is-error {
  color: #b91c1c;
}

.search-box {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--primary);
  border-radius: 5px;
  padding: 0 13px;
}

.search-box svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--text);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  font: 500 15px/1 var(--sans);
}

.demo-panel {
  display: flex;
  flex-direction: column;
}

.demo-panel .panel-head {
  order: 0;
}

.demo-panel .search-box {
  order: 1;
}

.demo-panel .demo-options {
  order: 3;
}

.demo-panel .demo-options[open] {
  order: 2;
}

.demo-panel .result-list {
  order: 2;
}

.demo-panel .demo-options[open] ~ .result-list {
  order: 3;
}

.demo-options {
  margin-top: 10px;
  border: 1px solid #dbe3ee;
  border-radius: 5px;
  background: rgb(248 250 252 / 72%);
  overflow: hidden;
}

.demo-options summary {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.demo-options summary::-webkit-details-marker {
  display: none;
}

.demo-options summary::after {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
  content: "";
}

.demo-options[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.demo-options summary strong {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

.demo-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid #e2e8f0;
  padding: 12px;
}

.demo-options-grid [hidden] {
  display: none !important;
}

.demo-options-grid label,
.demo-options-grid .demo-field,
.demo-type-grid label {
  min-width: 0;
}

.demo-options-grid label,
.demo-options-grid .demo-field {
  display: grid;
  gap: 6px;
}

.demo-options-grid label > span,
.demo-options-grid .demo-field > span,
.demo-type-grid legend {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.demo-options select,
.demo-options input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--white);
  color: var(--text);
  padding: 0 9px;
  font: 700 13px/1 var(--sans);
}

.demo-options select:focus,
.demo-options input:focus,
.demo-type-grid input:focus-visible {
  border-color: var(--primary);
  outline: 3px solid var(--selection);
}

.demo-options select:disabled,
.demo-options input:disabled {
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

.demo-options input::placeholder {
  color: #94a3b8;
}

.country-picker {
  display: flex;
  min-height: 36px;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--white);
  padding: 4px 6px;
}

.country-picker:focus-within {
  border-color: var(--primary);
  outline: 3px solid var(--selection);
}

.country-picker.is-disabled {
  background: #f8fafc;
  cursor: not-allowed;
}

.country-pills {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.country-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 5px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #dcfce7;
  color: #14532d;
  padding: 0 5px 0 8px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.country-pill button {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 999px;
  background: rgb(20 83 45 / 10%);
  color: #14532d;
  font: 850 12px/1 var(--sans);
  cursor: pointer;
}

.country-pill button:hover,
.country-pill button:focus-visible {
  background: rgb(20 83 45 / 18%);
  outline: none;
}

.demo-options .country-picker input {
  flex: 1 1 88px;
  min-width: 88px;
  min-height: 26px;
  border: 0;
  background: transparent;
  padding: 0 3px;
  outline: none;
}

.demo-options .country-picker input:focus {
  outline: none;
}

.demo-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 10px;
  margin: 0;
  border: 0;
  border-top: 1px solid #e2e8f0;
  padding: 12px;
}

.demo-type-grid:disabled {
  opacity: 0.58;
}

.demo-type-grid legend {
  grid-column: 1 / -1;
  padding: 0;
}

.demo-type-grid label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}

.demo-type-grid input {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
}

.result-list {
  display: grid;
  align-content: start;
  gap: 7px;
  height: 230px;
  margin-top: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  padding: 7px;
}

.result-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--white);
  box-shadow: 0 1px 2px rgb(15 23 42 / 5%);
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.result-option:hover,
.result-option.is-selected {
  background: var(--selection);
  border-color: #bbf7d0;
  box-shadow: 0 6px 18px rgb(22 101 52 / 8%);
}

.result-option-type {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  max-width: 116px;
  min-height: 28px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.result-option-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.result-option-primary {
  overflow: hidden;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-option-secondary {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-option-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
  max-width: 154px;
}

.result-chip {
  display: inline-flex;
  min-height: 19px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.result-message {
  padding: 16px 12px;
  color: var(--muted);
  font-size: 14px;
}

.copy-button {
  min-height: 32px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--white);
  color: var(--text);
  padding: 0 12px;
  font: 700 13px/1 var(--sans);
  cursor: pointer;
}

.copy-button:hover {
  border-color: var(--primary);
}

.integration-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  background: var(--subtle);
  padding: 4px;
}

.integration-tabs button {
  min-height: 32px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: 850 12px/1 var(--sans);
  cursor: pointer;
}

.integration-tabs button:hover,
.integration-tabs button.is-selected {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 3px rgb(15 23 42 / 10%);
}

.result-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: -2px 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  background: var(--subtle);
  padding: 4px;
}

.result-tabs button {
  min-height: 30px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: 850 12px/1 var(--sans);
  cursor: pointer;
}

.result-tabs button:hover,
.result-tabs button.is-selected {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 3px rgb(15 23 42 / 10%);
}

pre {
  margin: 0;
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgb(248 250 252 / 92%), rgb(255 255 255 / 98%)),
    var(--white);
  color: #0f172a;
  font: 12px/1.65 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

.code-panel pre,
.structured-panel pre {
  max-height: 330px;
}

.demo-support .code-panel,
.demo-support .structured-panel {
  display: flex;
  flex-direction: column;
  height: 420px;
}

.demo-support .code-panel pre,
.demo-support .structured-panel pre {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

.demo-support .code-panel pre.api-url-field {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

.panel pre {
  padding: 14px;
}

.api-url-field {
  white-space: normal;
}

.api-url-field .api-request-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-height: 100%;
}

.api-method-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 8px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  background: #ecfdf5;
  color: #16a34a;
  font: 800 12px/1.5 var(--mono);
  letter-spacing: 0;
}

.api-url-box {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f172a;
  font: 12px/1.65 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

.structured-panel {
  margin: 0;
  min-width: 0;
  padding: 16px;
}

.structured-panel pre {
  padding: 16px;
  white-space: pre-wrap;
}

.api-snippet {
  padding: 18px;
  box-shadow: none;
}

.api-snippet code,
.code-panel code,
.structured-panel code {
  display: block;
}

.token-tag,
.token-method {
  color: #16a34a;
  font-weight: 800;
}

.token-keyword {
  color: #2563eb;
  font-weight: 700;
}

.token-function,
.token-header {
  color: #7c3aed;
  font-weight: 700;
}

.token-property,
.token-key {
  color: #0f766e;
}

.token-string {
  color: #b45309;
}

.token-number {
  color: #be123c;
}

.token-literal {
  color: #475569;
  font-weight: 700;
}

.token-comment {
  color: #64748b;
  font-style: italic;
}

.pricing-preview,
.value-section,
.integration-section,
.docs-screenshot-section,
.content-band,
.related-section,
.split-band,
.interest-section,
.commercial-band,
.pricing-band,
.changelog {
  margin-top: 54px;
  padding-top: 16px;
}

.integration-section,
.value-section,
.related-section,
.pricing-preview,
.interest-section {
  position: relative;
}

.integration-section::before,
.value-section::before,
.related-section::before,
.pricing-preview::before,
.interest-section::before {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgb(34 197 94 / 42%), rgb(203 213 225 / 72%), rgb(34 197 94 / 10%));
  content: "";
}

.section-copy h2,
.changelog h2,
.pricing-preview h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-copy p,
.changelog p,
.pricing-preview p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.section-copy a,
.doc-card p a,
.pricing-preview p a,
.changelog p a {
  color: var(--primary-dark);
  font-weight: 750;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.section-copy a:hover,
.doc-card p a:hover,
.pricing-preview p a:hover,
.changelog p a:hover {
  color: #052e16;
  background: var(--selection);
}

.section-copy a:focus-visible,
.doc-card p a:focus-visible,
.pricing-preview p a:focus-visible,
.changelog p a:focus-visible {
  outline: 3px solid #bbf7d0;
  outline-offset: 3px;
}

.pricing-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid #e2e8f0;
}

.value-section {
  border-top: 1px solid #e2e8f0;
}

.integration-section {
  border-top: 1px solid #e2e8f0;
}

.related-section {
  border-top: 1px solid #e2e8f0;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.integration-card,
.integration-callout {
  min-width: 0;
  border: 1px solid rgb(203 213 225 / 78%);
  border-radius: 6px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 14px 34px rgb(15 23 42 / 6%);
  backdrop-filter: blur(10px);
}

.integration-card-featured {
  border-color: var(--primary);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 94%), rgb(236 253 245 / 72%)),
    var(--surface-strong);
  box-shadow: 0 18px 42px rgb(34 197 94 / 14%);
}

.docs-integration-grid .integration-card {
  display: flex;
  flex-direction: column;
}

.integration-card h2,
.integration-card h3,
.integration-callout h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.integration-card p,
.integration-callout p {
  margin: 0;
  color: var(--muted);
}

.integration-card .integration-card-context {
  margin-top: 10px;
  color: #14532d;
  font-size: 13px;
  font-weight: 750;
}

.integration-card .button {
  width: 100%;
  margin-top: 18px;
}

.docs-integration-grid .integration-card p {
  margin-bottom: 18px;
}

.docs-integration-grid .integration-card .button {
  margin-top: auto;
}

.integration-card a:not(.button) {
  display: inline-flex;
  margin-top: 14px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 850;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.related-grid article {
  min-width: 0;
  border: 1px solid rgb(203 213 225 / 78%);
  border-radius: 6px;
  background: var(--surface);
  padding: 16px;
  box-shadow: 0 12px 30px rgb(15 23 42 / 5%);
  backdrop-filter: blur(10px);
}

.related-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.related-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.related-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 850;
}

.integration-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 14px;
}

.integration-callout h2 {
  grid-column: 1;
}

.integration-callout p {
  grid-column: 1;
}

.integration-callout p a {
  color: var(--primary-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.integration-callout p a:hover {
  color: var(--text);
}

.integration-callout .button {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.docs-screenshot-section {
  border-top: 1px solid #e2e8f0;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

.screenshot-card {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.screenshot-card h3 {
  margin: 0;
  font-size: 18px;
}

.screenshot-card p {
  min-height: 42px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dbe3ee;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 14px 34px rgb(15 23 42 / 8%);
}

.screenshot-card-mobile img {
  max-height: 430px;
  object-fit: contain;
  object-position: top center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.value-grid article {
  border: 1px solid rgb(203 213 225 / 78%);
  border-radius: 6px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 12px 30px rgb(15 23 42 / 5%);
  backdrop-filter: blur(10px);
}

.value-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  background: var(--selection);
  color: var(--primary-dark);
}

.value-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.value-grid h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.value-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.feature-grid article {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.feature-grid h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.commercial-band {
  border-top: 1px solid #e2e8f0;
}

.commercial-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.commercial-list article {
  border-left: 2px solid var(--primary);
  padding-left: 16px;
}

.commercial-list h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.commercial-list p {
  margin: 0;
  color: var(--muted);
}

.pricing-band {
  border-top: 1px solid #e2e8f0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgb(203 213 225 / 78%);
  border-radius: 6px;
  background: var(--surface);
  padding: 20px;
  box-shadow: 0 14px 34px rgb(15 23 42 / 7%);
  backdrop-filter: blur(10px);
}

.pricing-card-featured {
  border-color: var(--primary);
  box-shadow: 0 18px 42px rgb(34 197 94 / 16%);
}

.pricing-card h3 {
  margin: 0;
  font-size: 18px;
}

.pricing-card h2 {
  margin: 0;
  font-size: 20px;
}

.pricing-card .price {
  margin: 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.1;
}

.pricing-card-note {
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.pricing-card li {
  position: relative;
  padding-left: 18px;
}

.pricing-card li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.pricing-card .button {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.page-hero {
  position: relative;
  isolation: isolate;
  max-width: 780px;
  padding: 64px 0 28px;
}

.page-hero::before {
  position: absolute;
  inset: 22px auto -12px -28px;
  z-index: -1;
  width: min(960px, calc(100vw - 32px));
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 82%), rgb(255 255 255 / 42%)),
    url("/images/backgrounds/placefield-map-pattern.svg") top left / 680px 680px repeat;
  content: "";
}

.page-kicker {
  margin: 0 0 12px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-hero p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.doc-layout,
.api-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

.api-reference-grid {
  grid-template-columns: repeat(2, 1fr);
}

.doc-card {
  min-width: 0;
  border: 1px solid rgb(203 213 225 / 78%);
  border-radius: 6px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 14px 34px rgb(15 23 42 / 7%);
  backdrop-filter: blur(10px);
}

.doc-card h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.doc-card pre {
  padding: 14px;
}

.api-console {
  display: grid;
  gap: 12px;
}

.api-console-editor {
  display: grid;
  gap: 8px;
}

.api-console-editor span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.api-console-editor textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgb(248 250 252 / 92%), rgb(255 255 255 / 98%)),
    var(--white);
  color: #0f172a;
  padding: 14px;
  font: 12px/1.65 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.api-console-editor textarea:focus {
  border-color: var(--primary);
  outline: 3px solid var(--selection);
}

.api-console-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.api-console-response {
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  background: var(--white);
  overflow: hidden;
}

.api-console-response summary {
  min-height: 42px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.api-console-response summary:hover {
  background: var(--selection);
}

.api-console-response pre {
  max-height: 360px;
  border: 0;
  border-top: 1px solid #e2e8f0;
  border-radius: 0;
}

.run-button {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--primary);
  border-radius: 5px;
  background: var(--primary);
  color: #052e16;
  padding: 0 14px;
  font: 850 13px/1 var(--sans);
  cursor: pointer;
}

.run-button:hover {
  background: #4ade80;
}

.run-button:disabled {
  border-color: var(--border);
  background: var(--subtle);
  color: var(--muted);
  cursor: wait;
}

.run-button span {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
}

.parameter-table-section {
  margin-top: 72px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.parameter-table-section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.parameter-table {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.parameter-table [role="row"] {
  display: grid;
  grid-template-columns: 0.7fr 0.5fr 2fr;
}

.parameter-table [role="row"] + [role="row"] {
  border-top: 1px solid #e2e8f0;
}

.parameter-table [role="columnheader"],
.parameter-table [role="cell"] {
  padding: 12px 14px;
}

.parameter-table [role="columnheader"] {
  background: var(--subtle);
  font-weight: 850;
}

.parameter-table [role="cell"] {
  color: var(--muted);
}

.parameter-table code {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.94em;
}

.guide-hero {
  max-width: 900px;
}

.guide-summary {
  margin-top: 18px;
}

.guide-article {
  max-width: 960px;
}

.guide-section {
  margin-top: 58px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.guide-copy {
  max-width: 790px;
}

.guide-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.guide-copy code,
.guide-checklist code {
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.94em;
}

.guide-copy a,
.guide-sources a {
  color: var(--primary-dark);
  font-weight: 750;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.guide-copy a:hover,
.guide-sources a:hover {
  color: #052e16;
  background: var(--selection);
}

.guide-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-strong);
  box-shadow: 0 12px 30px rgb(15 23 42 / 5%);
}

.guide-decision-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.guide-decision-table th,
.guide-decision-table td {
  padding: 13px 14px;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}

.guide-decision-table th {
  background: var(--subtle);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.guide-decision-table td {
  color: var(--muted);
  font-size: 14px;
}

.guide-decision-table tbody tr:last-child td {
  border-bottom: 0;
}

.guide-value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-doc-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.guide-doc-layout .doc-card p + p {
  margin-top: 12px;
}

.guide-split {
  margin-top: 24px;
  padding-top: 0;
  border-top: 0;
}

.guide-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.guide-checklist li {
  min-width: 0;
  border: 1px solid rgb(203 213 225 / 78%);
  border-radius: 6px;
  background: var(--surface);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 15px;
  box-shadow: 0 12px 30px rgb(15 23 42 / 5%);
  backdrop-filter: blur(10px);
}

.guide-checklist li::before {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--selection);
  color: var(--primary-dark);
  font-weight: 900;
  content: "\2713";
}

.guide-sources ol {
  display: grid;
  gap: 10px;
  max-width: 840px;
  margin: 22px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.pricing-page-section {
  margin-top: 24px;
  border-top: 0;
  padding-top: 0;
}

.split-band {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 40px;
  align-items: start;
  border-top: 1px solid #e2e8f0;
}

.interest-section {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 40px;
  align-items: start;
  border-top: 1px solid #e2e8f0;
}

.interest-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  box-shadow: none;
}

.interest-form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.interest-form label,
.sign-in-panel label {
  display: grid;
  gap: 7px;
}

.interest-form span,
.sign-in-panel span {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.interest-form input,
.interest-form textarea,
.sign-in-panel input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text);
  font: 500 15px/1.4 var(--sans);
}

.interest-form input,
.sign-in-panel input {
  min-height: 46px;
  padding: 0 12px;
}

.interest-form textarea {
  resize: vertical;
  padding: 11px 12px;
}

.interest-form input:focus,
.interest-form textarea:focus {
  border-color: var(--primary);
  outline: 3px solid var(--selection);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--primary-dark);
}

.form-status.is-error {
  color: #b91c1c;
}

.sign-in-hero {
  max-width: 620px;
}

.sign-in-section {
  max-width: 460px;
}

.sign-in-grid,
.admin-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.sign-in-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgb(203 213 225 / 78%);
  border-radius: 6px;
  background: var(--surface-strong);
  padding: 18px;
  box-shadow: 0 14px 34px rgb(15 23 42 / 7%);
  backdrop-filter: blur(10px);
}

.sign-in-panel h2 {
  margin: 0;
  font-size: 18px;
}

.sign-in-panel p {
  margin: 0;
  color: var(--muted);
}

.dashboard-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
  background: #f8fafc;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  height: 100vh;
  border-right: 1px solid #e2e8f0;
  background: var(--white);
  padding: 24px 18px;
}

.dashboard-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0;
}

.dashboard-brand strong {
  color: var(--primary-dark);
}

.dashboard-workspace {
  display: grid;
  gap: 2px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #f8fafc;
  padding: 12px;
}

.dashboard-workspace strong {
  overflow-wrap: anywhere;
}

.dashboard-workspace span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-nav {
  display: grid;
  gap: 4px;
}

.dashboard-nav a,
.dashboard-signout button,
.dashboard-topbar a {
  border-radius: 5px;
  font-weight: 800;
}

.dashboard-nav a {
  padding: 10px 12px;
  color: var(--muted);
}

.dashboard-nav a:hover,
.dashboard-nav a.is-active {
  background: var(--selection);
  color: #14532d;
}

.dashboard-nav-heading {
  margin: 16px 12px 4px;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.dashboard-signout {
  margin-top: auto;
}

.dashboard-signout button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font: 800 14px/1 var(--sans);
  cursor: pointer;
}

.dashboard-signout button:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
}

.dashboard-main {
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 28px clamp(20px, 4vw, 46px) 56px;
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 18px;
}

.dashboard-topbar div {
  display: grid;
  gap: 2px;
}

.dashboard-topbar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.dashboard-topbar strong {
  overflow-wrap: anywhere;
}

.dashboard-topbar a {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 8px 12px;
  color: var(--text);
  font-size: 13px;
}

.dashboard-page-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.dashboard-page-head h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.dashboard-page-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-summary-grid article {
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 14px 34px rgb(15 23 42 / 7%);
}

.dashboard-summary-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.dashboard-summary-grid strong {
  font-size: 30px;
  line-height: 1;
}

.dashboard-summary-grid a {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 850;
}

.dashboard-callout {
  margin-bottom: 18px;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 9px;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
}

.stacked-form,
.inline-form,
.origin-form {
  display: grid;
  gap: 14px;
}

.inline-form {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
}

.data-panel,
.credential-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 14px 34px rgb(15 23 42 / 7%);
}

.credential-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.credential-panel h2,
.data-panel h2 {
  margin: 0;
  font-size: 18px;
}

.credential-panel p {
  margin: 0;
  color: var(--muted);
}

.credential-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.credential-list div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
}

.credential-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.credential-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
}

.credential-list code,
.origin-row code {
  font-family: var(--mono);
}

.customer-table {
  display: grid;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.customer-table [role="row"] {
  display: grid;
  grid-template-columns: minmax(180px, 1.3fr) minmax(100px, 0.8fr) minmax(140px, 0.8fr) minmax(90px, 0.6fr);
}

.customer-table [role="row"] + [role="row"] {
  border-top: 1px solid #e2e8f0;
}

.customer-table-head {
  background: var(--subtle);
  font-weight: 850;
}

.customer-table [role="cell"],
.customer-table [role="columnheader"] {
  min-width: 0;
  padding: 12px;
  color: var(--muted);
}

.customer-table strong,
.customer-table small {
  display: block;
}

.customer-table strong {
  color: var(--text);
}

.customer-table small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  padding: 52px 0 28px;
}

.dashboard-hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.06;
}

.dashboard-hero p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.key-list,
.origin-list {
  display: grid;
  gap: 10px;
}

.key-row,
.origin-row {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px;
}

.key-row h3 {
  margin: 0;
  font-size: 15px;
}

.key-row-main {
  min-width: 0;
}

.key-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.key-token,
.key-copy-row code {
  color: var(--text);
  font-family: var(--mono);
  overflow-wrap: anywhere;
}

.key-row span {
  flex: 0 0 auto;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.key-row-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.key-row-actions form {
  margin: 0;
}

.key-row-actions .button,
.key-copy-row .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}

.key-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.key-copy-row code {
  min-width: 0;
  border: 1px solid #dbe3ed;
  border-radius: 5px;
  background: #f8fafc;
  padding: 11px 12px;
}

.origin-form {
  margin-bottom: 14px;
}

.origin-form label,
.inline-form label {
  display: grid;
  gap: 7px;
}

.origin-form span,
.inline-form span {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.origin-form input,
.inline-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0 12px;
  color: var(--text);
  font: 500 15px/1.4 var(--sans);
}

.origin-row {
  overflow-wrap: anywhere;
}

.origin-row form {
  margin: 0;
}

.text-button {
  border: 0;
  background: transparent;
  color: #b91c1c;
  padding: 0;
  font: 800 13px/1 var(--sans);
  cursor: pointer;
}

.empty-state {
  margin: 0;
  border: 1px dashed var(--border);
  border-radius: 6px;
  padding: 14px;
  color: var(--muted);
}

.changelog {
  border-top: 1px solid #e2e8f0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 72px;
  padding: 24px 0 10px;
  border-top: 1px solid #e2e8f0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--primary-dark);
}

@media (max-width: 980px) {
  .site-header,
  main {
    width: min(calc(100% - 32px), 760px);
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
  }

  .site-header {
    align-items: flex-start;
    gap: 18px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 22px;
  }

  .hero,
  .demo-support,
  .split-band,
  .interest-section,
  .pricing-preview,
  .doc-layout,
  .api-reference-grid,
  .guide-doc-layout,
  .guide-checklist,
  .integration-grid,
  .related-grid,
  .integration-callout,
  .screenshot-grid,
  .sign-in-grid,
  .admin-grid,
  .dashboard-grid,
  .inline-form {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 34px;
  }

  .hero::before {
    inset: 0 -18px -28px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .demo-support {
    grid-column: auto;
    align-items: start;
  }

  .demo-support .code-panel,
  .demo-support .structured-panel {
    height: auto;
  }

  .demo-support .code-panel pre,
  .demo-support .structured-panel pre {
    flex: none;
    max-height: 330px;
  }

  .demo-options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .integration-callout h2,
  .integration-callout p,
  .integration-callout .button {
    grid-column: auto;
    grid-row: auto;
  }

  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #e2e8f0;
  }

  .dashboard-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-nav-heading {
    grid-column: 1 / -1;
  }

  .dashboard-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    padding-right: 0;
    padding-left: 0;
    background:
      linear-gradient(180deg, rgb(255 255 255 / 50%) 0%, rgb(248 251 249 / 64%) 380px, rgb(255 255 255 / 88%) 980px),
      url("/images/backgrounds/placefield-map-pattern.svg") top left / 620px 620px repeat,
      var(--page-bg);
  }

  .api-url-field .api-request-line {
    gap: 6px;
  }

  .api-method-label {
    padding: 3px 8px;
  }

  .site-header,
  main {
    width: calc(100% - 32px);
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }

  .hero,
  .hero-copy,
  .hero-workspace,
  .demo-support {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .site-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 12px;
  }

  .brand {
    gap: 9px;
    font-size: 25px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav-menu {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .hero-workspace,
  .demo-support,
  .feature-grid,
  .value-grid,
  .guide-value-grid,
  .integration-grid,
  .commercial-list,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero::before {
    inset: -2px -14px -24px;
    border-right: 0;
    border-left: 0;
  }

  .page-hero::before {
    inset: 20px -14px -10px;
    width: auto;
  }

  .pricing-preview,
  .value-section,
  .integration-section,
  .docs-screenshot-section,
  .content-band,
  .related-section,
  .split-band,
  .interest-section,
  .commercial-band,
  .pricing-band,
  .changelog {
    margin-top: 42px;
    padding-top: 14px;
  }

  .section-copy p,
  .changelog p,
  .pricing-preview p {
    font-size: 15px;
  }

  .panel,
  .structured-panel,
  .api-snippet,
  .interest-form {
    width: 100%;
    min-width: 0;
  }

  .hero-actions {
    display: grid;
  }

  .demo-options summary {
    align-items: flex-start;
    padding-top: 11px;
    padding-bottom: 11px;
  }

  .demo-options summary strong {
    text-align: left;
  }

  .demo-options-grid,
  .demo-type-grid {
    grid-template-columns: 1fr;
  }

  .result-option {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px;
    min-height: 0;
  }

  .result-list {
    height: auto;
    min-height: 86px;
    max-height: none;
    overflow-y: visible;
  }

  .result-option-type {
    justify-self: start;
    min-width: 0;
    max-width: 100%;
    min-height: 26px;
  }

  .result-option-primary,
  .result-option-secondary {
    white-space: normal;
  }

  .result-option-meta {
    grid-column: 1 / -1;
    justify-content: flex-start;
    max-width: none;
  }

  .integration-tabs {
    grid-template-columns: 1fr;
  }

  .integration-grid,
  .value-grid,
  .related-grid {
    gap: 12px;
    margin-top: 18px;
  }

  .integration-card,
  .related-grid article,
  .value-grid article {
    padding: 14px;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .parameter-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .parameter-table {
    display: grid;
    gap: 12px;
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .parameter-table .parameter-head {
    display: none;
  }

  .parameter-table [role="row"] {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 6px;
  }

  .parameter-table [role="row"] + [role="row"] {
    border-top: 1px solid var(--border);
  }

  .parameter-table [role="cell"] {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
  }

  .parameter-table [role="cell"]::before {
    color: var(--text);
    font-weight: 850;
    content: attr(data-label);
  }

  .parameter-table [role="cell"] + [role="cell"] {
    border-top: 1px solid #e2e8f0;
  }

  .structured-panel pre {
    white-space: pre-wrap;
  }

  .credential-list div,
  .customer-table [role="row"] {
    grid-template-columns: 1fr;
  }

  .customer-table .customer-table-head {
    display: none;
  }

  .dashboard-hero,
  .key-row,
  .origin-row,
  .dashboard-topbar {
    display: grid;
  }

  .dashboard-nav {
    grid-template-columns: 1fr;
  }

  .key-row-actions {
    justify-content: flex-start;
  }

  .key-copy-row {
    grid-template-columns: 1fr;
  }
}
