@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');

.legal-header {
  background: var(--sky);
  border-bottom: 1px solid var(--line);
}
.legal-header h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 16px 0 24px;
}
.legal-intro {
  max-width: 700px;
  font-size: 19px;
}
.legal-date {
  color: var(--muted);
  margin-top: 24px;
  font-size: 14px;
}
.legal-contents {
  position: sticky;
  top: calc(var(--site-header-height) + 24px);
  max-height: calc(100dvh - var(--site-header-height) - 48px);
  overflow-y: auto;
  padding: 4px;
}
.legal-contents ol {
  padding-left: 22px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.legal-contents li + li {
  margin-top: 12px;
}
.legal-contents a:hover {
  color: var(--blue);
  text-decoration: underline;
}
.legal-copy {
  overflow-wrap: anywhere;
}
.legal-copy section + section {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.legal-copy h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.legal-copy p {
  line-height: 1.8;
}
.legal-copy p + p {
  margin-top: 16px;
}
.legal-copy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-related {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 40px;
}

:root {
  /* Zernio reference: Geist Sans on #f0efeb. A subtle brightness lift for ScrapeAtlas. */
  --background: #f5f4f1;
  --foreground: #282c29;
  --card: #fdfdfb;
  --card-foreground: var(--foreground);
  --popover: var(--card);
  --popover-foreground: var(--foreground);
  --primary: #247354;
  --primary-foreground: #ffffff;
  --primary-hover: #1c5c43;
  --secondary: #eeede8;
  --secondary-foreground: var(--foreground);
  --muted: #666b65;
  --muted-foreground: var(--muted);
  --accent: #e6eee6;
  --accent-foreground: var(--primary);
  --destructive: #b83b32;
  --method-post: #966321;
  --border: #dedfd7;
  --input: var(--border);
  --ring: var(--primary);
  --radius: 0.75rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --shadow: #26372d0a;
  --header-background: #f5f4f1f2;
  --navy: var(--foreground);
  --blue: var(--primary);
  --green: var(--primary);
  --line: var(--border);
  --sky: var(--secondary);
  --mint: var(--accent);
  --white: var(--card);
  --mono: 'Geist Mono', 'Courier New', monospace;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
pre:focus-visible {
  outline: 3px solid var(--muted);
  outline-offset: 5px;
}
img,
svg {
  max-width: 100%;
}
svg {
  display: block;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
button:disabled {
  cursor: default;
}
.container {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}
.mono,
code,
pre,
.eyebrow {
  font-family: var(--mono);
}
em {
  font-style: normal;
  color: var(--green);
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 100;
  background: var(--navy);
  color: var(--primary-foreground);
  padding: 12px 20px;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.site-header {
  height: 88px;
  border-bottom: 1px solid var(--line);
  background: var(--header-background);
  position: relative;
  z-index: 20;
}
.nav-row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  letter-spacing: -1.1px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
}
.brand-heavy {
  font-weight: 700;
}
.brand-period {
  color: var(--green);
}
.brand img,
.brand .interactive-globe {
  flex-shrink: 0;
}
.nav-row nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-row nav a {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
}
.nav-row nav a:hover {
  color: var(--blue);
}
.button {
  font-family: var(--mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--blue);
  color: var(--primary-foreground);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  padding: 16px 23px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--primary);
  transform: translateY(-2px);
}
.button svg,
.text-link svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.button.small {
  padding: 11px 17px;
  font-size: 14px;
}
.button.secondary {
  background: var(--card);
  color: var(--navy);
  border-color: var(--border);
}
.button.secondary:hover {
  background: var(--secondary);
}
.menu-toggle {
  display: none;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.6px;
  line-height: 1.6;
  color: var(--blue);
  display: flex;
  gap: 10px;
  align-items: center;
}
.tiny-compass {
  font-size: 23px;
  color: var(--green);
  line-height: 1;
}
.hero {
  background: var(--background);
  padding: 82px 0 74px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  align-items: center;
  gap: 46px;
}
.hero h1 {
  font-size: clamp(48px, 5.1vw, 72px);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -3.4px;
  margin-top: 24px;
}
.hero-description {
  max-width: 530px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
  margin-top: 25px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 31px;
}
.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  font-size: 12px;
  letter-spacing: 0.65px;
  margin-top: 28px;
  color: var(--muted);
}
.hero-details span + span {
  border-left: 1px solid var(--border);
  padding-left: 17px;
}
.principles {
  border-block: 1px solid var(--line);
  background: var(--card);
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 28px;
}
.principle-grid > div {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.principle-grid > div:first-child {
  justify-content: start;
}
.principle-grid > div:last-child {
  border: 0;
  justify-content: end;
}
.principle-symbol {
  font-size: 27px;
  color: var(--blue);
  font-weight: 400;
  min-width: 44px;
}
.principle-grid h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.principle-grid p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.section {
  padding-block: 88px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 37px;
}
.section-heading h2,
.code-intro h2,
.closing h2,
.faq-layout h2,
.related h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -1.7px;
  margin-top: 14px;
}
.section-heading > p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 4px;
  line-height: 1.7;
}
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 27px 25px 23px;
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  background: var(--card);
}
.platform-card:hover {
  transform: translateY(-5px);
  border-color: var(--muted);
  box-shadow: 0 15px 40px var(--shadow);
}
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
}
.catalog-number {
  font-size: 12px;
  letter-spacing: 0.3px;
  color: var(--muted);
  text-align: right;
}
.platform-icon {
  width: 47px;
  height: 47px;
  background: var(--secondary);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--navy);
}
.platform-icon svg,
.platform-icon img {
  width: 27px;
  height: 27px;
}
/* Shared by catalog marks and directly inlined brand assets on every page. */
.icon-brand,
.icon[style*='--brand:'] {
  color: var(--brand, currentColor);
}
.platform-icon .icon-raster {
  border-radius: 6px;
}
.platform-icon.linktree {
  background: var(--secondary);
  border-color: var(--border);
  color: var(--primary);
}
.platform-icon.komi {
  background: var(--secondary);
  color: var(--primary);
}
.platform-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.platform-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
}
.platform-card p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin-block: 12px 26px;
}
.card-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 13px;
}
.availability {
  font-size: 12px;
  line-height: 1.5;
  background: var(--secondary);
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 4px;
  display: inline-flex;
}
.availability.private {
  background: var(--secondary);
  color: var(--primary);
}
.card-bottom > .mono {
  font-size: 12px;
  color: var(--muted);
}
.catalog-note {
  display: flex;
  gap: 20px;
  padding-top: 22px;
  align-items: baseline;
}
.catalog-note > .mono {
  font-size: 12px;
  letter-spacing: 1px;
  white-space: nowrap;
  color: var(--green);
}
.catalog-note p {
  font-size: 13px;
  color: var(--muted);
}
.code-section {
  background: var(--secondary);
  border-block: 1px solid var(--line);
}
.code-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 76px;
  align-items: start;
}
.code-intro > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  margin-top: 23px;
  max-width: 385px;
}
.steps {
  list-style: none;
  margin: 32px 0 28px;
  padding: 0;
}
.steps li {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  align-items: start;
}
.steps li > span {
  font: 12px var(--mono);
  color: var(--green);
  border: 1px solid var(--border);
  background: var(--secondary);
  border-radius: 5px;
  padding: 7px;
  margin-top: 1px;
}
.steps h3 {
  font-size: 15px;
  font-weight: 600;
}
.steps p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.example-panel {
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--card);
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 10px 35px var(--shadow);
}
.example-heading {
  padding: 17px 22px;
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}
.example-heading > .mono {
  font-size: 12px;
  letter-spacing: 1px;
}
.file-symbol {
  font: 18px var(--mono);
  color: var(--blue);
}
.example-platforms {
  display: flex;
  gap: 3px;
  padding: 0 19px;
  border-bottom: 1px solid var(--secondary);
  overflow-x: auto;
}
.example-platforms button {
  background: transparent;
  padding: 14px 13px;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.example-platforms button[aria-selected='true'] {
  border-color: var(--green);
  color: var(--green);
  font-weight: 600;
}
.code-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 20px 3px;
  gap: 15px;
}
.code-options > div {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  padding: 3px;
  background: var(--secondary);
  border-radius: 5px;
}
.code-options [role='tab'] {
  flex-shrink: 0;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 3px;
  background: transparent;
}
.code-options [aria-selected='true'] {
  background: var(--card);
  box-shadow: 0 1px 4px var(--shadow);
  color: var(--blue);
}
.copy-button {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
  align-items: center;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  min-height: 36px;
}
.copy-button svg {
  width: 16px;
  height: 16px;
}
.example-panel pre {
  margin: 0;
  padding: 19px 24px 25px;
  overflow: auto;
  max-height: 430px;
  min-height: 244px;
  font-size: 12px;
  line-height: 1.9;
  tab-size: 2;
  color: var(--primary);
  background: var(--card);
}
.syntax-string {
  color: var(--primary);
}
.syntax-keyword {
  color: var(--primary);
}
.syntax-comment {
  color: var(--muted);
}
.example-note {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--secondary);
  padding: 13px 22px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  flex-wrap: wrap;
}
.example-note code {
  color: var(--muted);
}
.example-note > span:last-child {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}
.method {
  font: 500 12px var(--mono);
  letter-spacing: 0.4px;
  background: var(--secondary);
  color: var(--primary);
  padding: 4px 7px;
  border-radius: 4px;
}
.code-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  padding: 12px 22px;
  border-top: 1px solid var(--secondary);
  background: var(--secondary);
}
.closing {
  text-align: center;
  padding: 51px 55px 26px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}
.closing > img {
  margin-bottom: 18px;
}
.closing .eyebrow {
  justify-content: center;
}
.closing h2 {
  margin-top: 15px;
}
.closing > p:not(.eyebrow) {
  color: var(--muted);
  margin: 20px auto 26px;
  max-width: 520px;
  font-size: 16px;
}
.closing-coordinates {
  display: flex;
  justify-content: space-between;
  margin-top: 51px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 50px;
}
.footer-top p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 15px;
}
.footer-links {
  display: flex;
  gap: 78px;
}
.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-links span {
  font: 12px var(--mono);
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 9px;
}
.footer-links a {
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--green);
}
.footer-bottom {
  padding: 23px 0 27px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--blue);
}
.footer-origin {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-made,
.footer-flags {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-made {
  white-space: nowrap;
}
.footer-flags {
  gap: 5px;
}
.footer-flags .icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  overflow: hidden;
}
.footer-ai {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-ai-links {
  display: flex;
  gap: 10px;
}
.footer-linkedin,
.footer-youtube,
.footer-ai-links [data-slot='button'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  transition:
    background 150ms,
    border-color 150ms;
}
.footer-linkedin:hover,
.footer-youtube:hover,
.footer-ai-links [data-slot='button']:hover {
  border-color: var(--blue);
  background: var(--sky);
}
.footer-linkedin .icon,
.footer-youtube .icon,
.footer-ai-links .icon {
  width: 19px;
  height: 19px;
  color: var(--brand, var(--navy));
}
.footer-ai-status,
.footer-ai-fallback {
  flex-basis: 100%;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.footer-ai-status:empty {
  display: none;
}
.footer-ai noscript {
  width: 100%;
}
@media (prefers-reduced-motion: reduce) {
  .footer-ai-links [data-slot='button'] {
    transition: none;
  }
}
.platform-hero {
  padding: 27px 0 65px;
  background: var(--background);
}
.breadcrumb {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  align-items: center;
  margin-bottom: 42px;
  flex-wrap: wrap;
}
.breadcrumb a:hover {
  color: var(--blue);
}
.breadcrumb > span {
  color: var(--muted);
}
.platform-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 80px;
  align-items: center;
}
.platform-title {
  display: flex;
  align-items: center;
  gap: 14px;
}
.platform-title .platform-icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 8px;
}
.platform-hero h1 {
  font-size: clamp(42px, 4vw, 59px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.12;
  margin-top: 22px;
}
.platform-status {
  margin-top: 22px;
}
.platform-status .availability {
  padding: 6px 10px;
  background: var(--secondary);
  border: 1px solid var(--border);
  font-size: 12px;
}
.platform-status .private {
  background: var(--secondary);
  border-color: var(--border);
}
.endpoint-overview {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 15px 45px var(--shadow);
  min-width: 0;
}
.overview-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 1.2px;
  padding: 17px 21px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: var(--secondary);
  border-radius: 10px 10px 0 0;
}
.overview-label > span {
  font-size: 19px;
}
.overview-name {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 23px 17px;
}
.overview-name > span {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.overview-name small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 2px;
}
.endpoint-overview dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 10px 23px 24px;
  gap: 10px;
}
.endpoint-overview dl > div {
  border-right: 1px solid var(--line);
}
.endpoint-overview dl > div:last-child {
  border: 0;
}
.endpoint-overview dt {
  font-size: 12px;
  color: var(--muted);
}
.endpoint-overview dd {
  margin: 5px 0 0;
  font: 500 17px var(--mono);
  color: var(--blue);
}
.overview-routes {
  padding: 0 23px 24px;
}
.overview-routes a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 5px;
  margin-top: 8px;
}
.overview-routes code {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.overview-routes svg {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
}
.overview-footer {
  font-size: 12px;
  letter-spacing: 0.7px;
  padding: 14px 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.feature-grid,
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature-grid article {
  border-top: 1px solid var(--border);
  padding-top: 21px;
}
.feature-index {
  font-size: 12px;
  color: var(--green);
}
.feature-grid h3,
.use-case-grid h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-top: 17px;
}
.feature-grid p,
.use-case-grid p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.75;
}
.endpoint-list {
  margin-top: 27px;
}
.endpoint-list article {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-top: 25px;
  scroll-margin-top: 30px;
}
.endpoint-list article > div {
  display: flex;
  gap: 11px;
  align-items: center;
}
.endpoint-list code {
  font-size: 13px;
}
.endpoint-list h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 15px;
}
.endpoint-list p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 8px;
}
.endpoint-list .text-link {
  margin-top: 15px;
  font-size: 13px;
}
.use-case-grid {
  gap: 22px;
}
.use-case-grid article {
  padding: 29px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.use-symbol {
  font-size: 24px;
  color: var(--blue);
  width: 52px;
  height: 50px;
  display: flex;
  align-items: center;
}
.faq-section {
  background: var(--secondary);
  border-block: 1px solid var(--line);
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
}
.faq-layout .text-link {
  margin-top: 25px;
}
.faq-list details {
  border-bottom: 1px solid var(--border);
}
.faq-list details:first-child {
  border-top: 1px solid var(--border);
}
.faq-list summary {
  padding: 22px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > span {
  font-size: 21px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  padding: 0 32px 23px 0;
}
.related {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.related-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.related-links a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 16px;
  font-weight: 500;
}
.related-links a > svg {
  width: 18px;
  height: 18px;
  margin-left: 15px;
  color: var(--blue);
}
.related-links a:hover {
  background: var(--secondary);
}
@media (min-width: 1500px) {
  .hero {
    padding-block: 100px;
  }
  .hero-grid {
    gap: 68px;
  }
  .hero h1 {
    font-size: 76px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 48px);
  }
  .nav-row {
    gap: 20px;
  }
  .nav-row nav {
    gap: 22px;
  }
  .hero-grid {
    gap: 25px;
    grid-template-columns: 1.05fr 1fr;
  }
  .hero h1 {
    font-size: 56px;
    letter-spacing: -2.5px;
  }
  .hero-description {
    font-size: 17px;
  }
  .atlas-diagram {
    height: 415px;
  }
  .map-node {
    padding: 9px 12px;
    font-size: 13px;
  }
  .json-output {
    left: 17%;
    padding: 13px 16px;
  }
  .node-1 {
    right: 0;
  }
  .principle-grid > div {
    gap: 10px;
  }
  .principle-grid h2 {
    font-size: 14px;
  }
  .principle-grid p {
    font-size: 12px;
  }
  .principle-symbol {
    font-size: 22px;
    min-width: 34px;
  }
  .platform-card {
    padding: 22px 19px;
  }
  .catalog-number {
    max-width: 110px;
  }
  .code-layout {
    gap: 38px;
  }
  .platform-hero-grid {
    gap: 40px;
  }
  .platform-hero h1 {
    font-size: 49px;
  }
  .section-heading h2,
  .code-intro h2,
  .closing h2,
  .faq-layout h2,
  .related h2 {
    font-size: 37px;
  }
  .faq-layout {
    gap: 50px;
  }
  .related-links a {
    padding: 13px 16px;
    gap: 9px;
  }
  .related-links .platform-icon {
    width: 35px;
    height: 35px;
    padding: 7px;
  }
}
@media (max-width: 850px) {
  .nav-row nav {
    gap: 18px;
  }
  .nav-row .brand {
    font-size: 23px;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    padding-top: 55px;
    padding-bottom: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 600px;
  }
  .hero h1 {
    font-size: 64px;
  }
  .atlas-diagram {
    max-width: 490px;
    width: 100%;
    margin: 20px auto 0;
  }
  .json-output {
    left: 25%;
  }
  .principle-grid {
    gap: 18px;
  }
  .principle-grid > div {
    display: block;
    border: 0 !important;
  }
  .principle-symbol {
    display: block;
    margin-bottom: 7px;
  }
  .principle-grid > div:last-child {
    justify-content: start;
  }
  .section {
    padding-block: 62px;
  }
  .section-heading {
    align-items: start;
    gap: 25px;
  }
  .section-heading > p {
    max-width: 250px;
    font-size: 14px;
  }
  .platform-grid {
    grid-template-columns: 1fr;
  }
  .platform-card {
    padding: 25px;
  }
  .card-top {
    margin-bottom: 16px;
  }
  .catalog-number {
    max-width: none;
  }
  .card-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .platform-card p {
    margin-bottom: 20px;
  }
  .catalog-note {
    flex-direction: column;
    gap: 7px;
  }
  .code-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .code-intro > p:not(.eyebrow) {
    max-width: 600px;
  }
  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
  }
  .steps li {
    display: block;
    margin-top: 0;
  }
  .steps li > span {
    display: inline-block;
    margin-bottom: 12px;
  }
  .example-panel pre {
    min-height: 220px;
  }
  .footer-links {
    gap: 35px;
  }
  .platform-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .platform-hero h1 {
    font-size: 55px;
  }
  .endpoint-overview {
    max-width: 500px;
    width: 100%;
  }
  .feature-grid {
    gap: 23px;
  }
  .feature-grid h3,
  .use-case-grid h3 {
    font-size: 18px;
  }
  .feature-grid p,
  .use-case-grid p {
    font-size: 14px;
  }
  .use-case-grid {
    gap: 14px;
  }
  .use-case-grid article {
    padding: 21px;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .related {
    align-items: start;
    flex-direction: column;
  }
  .related-links {
    width: 100%;
  }
  .related-links a {
    flex: 1;
  }
  .footer-bottom {
    flex-wrap: wrap;
  }
  .footer-bottom > span:nth-child(2) {
    order: 3;
    width: 100%;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 76px;
  }
  .brand {
    font-size: 24px;
  }
  .brand img,
  .brand .interactive-globe {
    width: 35px;
    height: 35px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-left: auto;
  }
  .menu-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--navy);
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded='true'] svg {
    transform: rotate(90deg);
  }
  .nav-row nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    flex-direction: column;
    align-items: stretch;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 15px 24px;
    box-shadow: 0 15px 20px var(--shadow);
  }
  .nav-row nav.is-open {
    display: flex;
  }
  .nav-row nav a {
    padding: 8px 0;
    font-size: 16px;
  }
  .hero {
    padding-top: 45px;
  }
  .hero h1 {
    font-size: clamp(42px, 11.2vw, 62px);
    letter-spacing: -2.3px;
    margin-top: 22px;
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.2px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.8;
    margin-top: 20px;
  }
  .actions {
    gap: 10px;
    margin-top: 25px;
  }
  .button {
    font-size: 14px;
    padding: 14px 16px;
    gap: 13px;
  }
  .hero-details {
    font-size: 12px;
    gap: 10px;
    letter-spacing: 0;
  }
  .hero-details span + span {
    padding-left: 10px;
  }
  .atlas-diagram {
    height: 370px;
    margin-top: 27px;
  }
  .map-lines {
    height: 330px;
    top: 10px;
  }
  .atlas-center {
    width: 122px;
    height: 122px;
    top: 43%;
  }
  .atlas-center img {
    width: 79px;
    height: 79px;
  }
  .atlas-center .mono {
    font-size: 12px;
  }
  .map-node {
    padding: 8px 10px;
    gap: 7px;
    font-size: 12px;
  }
  .map-node .platform-icon {
    width: 22px;
    height: 22px;
  }
  .map-node .platform-icon svg {
    width: 22px;
    height: 22px;
  }
  .node-0 {
    top: 49px;
    left: 0;
  }
  .node-1 {
    top: 69px;
    right: 0;
  }
  .node-2 {
    top: 213px;
    left: 0;
  }
  .json-output {
    left: auto;
    right: 0;
    bottom: 30px;
    gap: 11px;
    padding: 12px 14px;
  }
  .json-output strong {
    font-size: 12px;
  }
  .json-output .mono {
    font-size: 12px;
  }
  .json-output .braces {
    font-size: 23px;
  }
  .diagram-caption {
    font-size: 12px;
    left: 0;
    right: 0;
  }
  .map-coordinate {
    font-size: 12px;
    left: 0;
  }
  .principle-grid {
    grid-template-columns: 1fr;
    padding-block: 27px;
    gap: 22px;
  }
  .principle-grid > div {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .principle-symbol {
    font-size: 24px;
    min-width: 44px;
    margin: 0;
  }
  .principle-grid h2 {
    font-size: 15px;
  }
  .principle-grid p {
    font-size: 14px;
  }
  .section {
    padding-block: 50px;
  }
  .section-heading {
    display: block;
    margin-bottom: 27px;
  }
  .section-heading h2,
  .code-intro h2,
  .closing h2,
  .faq-layout h2,
  .related h2 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }
  .section-heading > p {
    margin-top: 17px;
    max-width: none;
    font-size: 15px;
  }
  .section-heading > .text-link {
    margin-top: 20px;
  }
  .platform-card {
    padding: 24px;
  }
  .platform-card h3 {
    font-size: 25px;
  }
  .catalog-number {
    font-size: 12px;
  }
  .card-bottom {
    gap: 10px;
    flex-wrap: wrap;
  }
  .availability {
    font-size: 12px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .steps li {
    display: flex;
    gap: 17px;
  }
  .steps li > span {
    margin-bottom: 0;
  }
  .steps p {
    font-size: 14px;
  }
  .code-options {
    margin-inline: 12px;
  }
  .example-heading {
    padding: 15px;
  }
  .example-heading > .mono {
    font-size: 12px;
    letter-spacing: 0.7px;
  }
  .example-panel pre {
    font-size: 12px;
    padding: 18px 16px;
    max-height: 390px;
  }
  .example-platforms {
    padding-inline: 10px;
  }
  .example-platforms button {
    padding: 13px 11px;
  }
  .example-note {
    padding: 12px 15px;
    gap: 9px;
  }
  .code-disclaimer {
    font-size: 12px;
    padding: 13px 15px;
  }
  .closing {
    width: calc(100% - 36px);
    padding: 36px 20px 20px;
  }
  .closing h2 {
    font-size: 31px;
  }
  .closing > p:not(.eyebrow) {
    font-size: 15px;
  }
  .closing-coordinates {
    margin-top: 33px;
    font-size: 12px;
    letter-spacing: 0;
  }
  .footer-top {
    display: block;
    padding-bottom: 33px;
  }
  .footer-links {
    margin-top: 35px;
    gap: 30px;
    justify-content: space-between;
  }
  .footer-links span {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  .footer-links a {
    font-size: 13px;
  }
  .footer-bottom {
    font-size: 12px;
  }
  .platform-hero {
    padding-bottom: 40px;
  }
  .breadcrumb {
    font-size: 12px;
    margin-bottom: 30px;
  }
  .platform-hero h1 {
    font-size: clamp(36px, 9.1vw, 51px);
    letter-spacing: -1.6px;
  }
  .platform-title .eyebrow {
    font-size: 12px;
  }
  .platform-hero-grid {
    gap: 30px;
  }
  .platform-hero .hero-description {
    font-size: 16px;
  }
  .feature-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-grid h3,
  .use-case-grid h3 {
    font-size: 21px;
  }
  .feature-grid p,
  .use-case-grid p {
    font-size: 16px;
  }
  .use-case-grid article {
    padding: 25px;
  }
  .faq-list summary {
    font-size: 16px;
    padding: 20px 0;
  }
  .faq-list p {
    font-size: 15px;
    padding-right: 10px;
  }
  .related-links {
    flex-direction: column;
    gap: 12px;
  }
  .related-links a {
    padding: 16px;
  }
  .related-links a > svg {
    margin-left: auto;
  }
  .section-heading h2 br {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Regular controls and important availability labels stay readable. */
.availability,
.platform-status .availability,
.copy-button,
.code-options [role='tab'] {
  font-size: 14px;
}
.example-heading > .mono,
.diagram-caption,
.map-coordinate,
.closing-coordinates,
.overview-label,
.overview-footer,
.footer-links span {
  font-size: 12px;
}

@media (min-width: 851px) {
  .platform-grid:has(> :nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.platform-icon.bluesky {
  color: var(--muted);
}

.platform-icon.couchsurfing {
  background: var(--secondary);
  border-color: var(--border);
  color: var(--muted);
}

.platform-icon.hackernews {
  background: var(--secondary);
  border-color: var(--border);
  color: var(--muted);
}

/* Shared marketing direction: warm canvas, Geist, and restrained green accents. */
body {
  letter-spacing: -0.015em;
}
.site-header {
  height: 88px;
  border-bottom: 0;
}
.container {
  width: min(1120px, calc(100% - 64px));
}
.brand {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -1.2px;
}
.brand img {
  width: 34px;
  height: 34px;
}
.nav-row {
  gap: 24px;
}
.nav-row nav {
  gap: 28px;
  margin-left: auto;
  margin-right: 22px;
}
.nav-row nav a,
.button,
.text-link {
  font-family: var(--sans);
}
.nav-row nav a {
  font-size: 14px;
  color: var(--muted);
}
.button {
  border-radius: var(--radius-md);
  font-weight: 500;
  padding: 13px 20px;
  gap: 12px;
}
.button:hover {
  background: var(--primary-hover);
  transform: none;
}
.button.secondary {
  background: var(--card);
  border-color: var(--border);
}
.button.secondary:hover {
  background: var(--secondary);
}
.button.small {
  padding: 11px 17px;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.section {
  padding-block: 88px;
}
h1,
h2 {
  text-wrap: balance;
}
.section-heading h2,
.code-intro h2,
.closing h2,
.faq-layout h2,
.related h2 {
  font-size: clamp(32px, 3.8vw, 46px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
}
.home-hero {
  padding: 94px 0 0;
  background: var(--background);
}
.home-hero .hero-copy {
  max-width: 960px;
  margin-inline: auto;
  text-align: center;
}
.hero-badge-link {
  display: inline-flex;
  border-radius: 99px;
  text-decoration: none;
}
.hero-badge-link:hover .hero-badge {
  border-color: var(--primary);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--accent);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 500;
}
.hero-badge svg {
  width: 15px;
  height: 15px;
}
.home-hero h1 {
  margin-top: 25px;
  font-size: clamp(48px, 5.8vw, 76px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.052em;
}
.home-hero h1 em {
  color: var(--primary);
}
.home-hero .hero-description {
  max-width: 700px;
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 1.65;
}
.home-hero .actions,
.closing .actions {
  justify-content: center;
  margin-top: 27px;
}
.hero-agent-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 12px;
}
.hero-agent-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.hero-agent-link:hover {
  color: var(--primary);
}
.platform-ribbon {
  text-align: center;
  padding: 62px 0 42px;
}
.platform-ribbon > p {
  color: var(--muted);
  font-size: 12px;
}
.platform-ribbon-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin: 22px 0;
}
.platform-ribbon-logos a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.platform-ribbon-logos a:hover {
  color: var(--primary);
}
.platform-ribbon .platform-icon {
  width: 22px;
  height: 24px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.platform-ribbon .platform-icon svg {
  width: 22px;
  height: 22px;
}
.platform-ribbon > .text-link {
  font-size: 12px;
  margin: 0;
}
.platform-ribbon > .text-link svg {
  width: 14px;
  height: 14px;
}
.code-section {
  background: var(--background);
  border-block: 0;
}
.home-quickstart {
  padding-top: 52px;
}
.code-layout {
  gap: 65px;
  grid-template-columns: 0.9fr 1.1fr;
}
.home-quickstart .code-layout {
  align-items: center;
}
.code-intro > p:not(.eyebrow) {
  font-size: 15px;
  margin-top: 20px;
}
.steps {
  margin-block: 25px;
}
.steps li {
  gap: 15px;
  margin-top: 19px;
}
.steps li > span {
  background: var(--secondary);
  border-color: var(--border);
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  padding: 0;
}
.steps h3 {
  font-weight: 500;
  font-size: 14px;
}
.steps p {
  font-size: 13px;
}
.example-panel {
  border-color: var(--border);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px var(--shadow);
}
.example-heading {
  background: var(--secondary);
  color: var(--muted);
  padding: 16px 20px;
}
.example-heading > svg {
  width: 18px;
  height: 18px;
}
.example-heading > .mono {
  font-size: 10px;
  letter-spacing: 0.05em;
}
.example-platforms {
  padding-inline: 12px;
}
.example-platforms button {
  font-size: 13px;
}
.code-options [role='tab'] {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 12px;
}
.code-options [role='tab'] svg {
  width: 14px;
  height: 14px;
}
.example-panel pre {
  font-size: 11px;
  line-height: 1.9;
  color: var(--foreground);
  padding: 20px;
}
.example-note {
  padding: 12px 20px;
}
.example-note,
.code-disclaimer {
  background: var(--card);
}
.code-disclaimer {
  font-size: 11px;
  padding: 14px 20px;
}
.benefits-section {
  border-block: 1px solid var(--border);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.benefit-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--card);
  color: var(--primary);
}
.benefit-icon svg {
  width: 20px;
  height: 20px;
}
.benefit-card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-top: 20px;
}
.benefit-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 10px;
}
.platform-grid,
.platform-grid:has(> :nth-child(4)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.platform-card {
  border-radius: var(--radius);
  padding: 23px;
  background: var(--card);
}
.platform-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--shadow);
}
.card-top {
  margin-bottom: 20px;
}
.catalog-number {
  font-family: var(--sans);
  font-size: 10px;
  max-width: 150px;
  letter-spacing: 0;
}
.platform-card .platform-icon {
  width: 38px;
  height: 38px;
  padding: 8px;
  background: var(--background);
  border-color: var(--border);
  border-radius: var(--radius-md);
}
.platform-card h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.platform-card h3 svg {
  width: 16px;
  height: 16px;
}
.platform-card p {
  font-size: 13px;
  line-height: 1.7;
  margin-block: 10px 22px;
}
.card-bottom {
  padding-top: 13px;
  border-top: 1px solid var(--border);
}
.card-bottom > .mono {
  font-size: 10px;
}
.closing {
  padding: 68px 30px;
  background: var(--accent);
  border: 0;
  border-radius: 20px;
}
.closing h2 {
  font-size: clamp(36px, 4vw, 52px);
}
.site-footer {
  padding-top: 55px;
}
.footer-links {
  gap: 60px;
}
.footer-links > div:first-child {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 28px;
  align-content: start;
}
.footer-links > div:first-child > span {
  grid-column: 1 / -1;
}
.footer-links span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
}
.footer-links a {
  font-size: 12px;
}
.footer-bottom {
  font-family: var(--sans);
  font-size: 11px;
}
.platform-hero {
  background: var(--background);
  padding-bottom: 70px;
}
.platform-hero h1 {
  font-weight: 500;
  letter-spacing: -0.045em;
}
.platform-hero .hero-description {
  font-size: 16px;
}
.platform-hero-grid {
  gap: 60px;
}
.endpoint-overview {
  background: var(--card);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px var(--shadow);
}
.overview-label {
  background: var(--secondary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  font-size: 10px;
}
.overview-label > svg {
  width: 16px;
  height: 16px;
}
.overview-routes {
  max-height: 360px;
  overflow: auto;
}
.overview-footer {
  font-size: 10px;
}
.feature-grid h3,
.use-case-grid h3 {
  font-weight: 500;
}
.use-symbol svg {
  width: 28px;
  height: 28px;
}
.faq-section {
  background: var(--background);
}
.faq-list summary > span svg {
  width: 18px;
  height: 18px;
}
.related-links {
  flex-wrap: wrap;
}
.related-links a {
  min-width: 0;
}
@media (max-width: 1000px) {
  .nav-row nav {
    gap: 18px;
    margin-right: 0;
  }
  .footer-top {
    flex-direction: column;
    gap: 30px;
  }
  .footer-links {
    justify-content: space-between;
  }
  .platform-ribbon-logos {
    gap: 20px;
  }
}
@media (max-width: 850px) {
  .home-hero {
    padding-top: 65px;
  }
  .home-hero .hero-copy {
    max-width: 720px;
  }
  .code-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-quickstart .code-intro > p {
    max-width: 520px;
  }
  .platform-grid,
  .platform-grid:has(> :nth-child(4)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .benefit-grid {
    gap: 24px;
  }
  .platform-hero-grid {
    gap: 32px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 76px;
  }
  .nav-row nav {
    margin: 0;
    background: var(--card);
  }
  .home-hero {
    padding-top: 42px;
  }
  .home-hero h1 {
    font-size: clamp(43px, 10.6vw, 62px);
    margin-top: 24px;
  }
  .home-hero .hero-description {
    font-size: 15px;
    max-width: 370px;
  }
  .desktop-break {
    display: none;
  }
  .hero-badge {
    font-size: 11px;
  }
  .hero-agent-link {
    font-size: 11px;
    gap: 6px;
  }
  .platform-ribbon {
    padding: 43px 0 22px;
  }
  .platform-ribbon-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 21px 8px;
  }
  .platform-ribbon-logos a {
    flex-direction: column;
    font-size: 10px;
  }
  .section {
    padding-block: 48px;
  }
  .home-quickstart {
    padding-top: 28px;
  }
  .benefit-grid,
  .platform-grid,
  .platform-grid:has(> :nth-child(4)) {
    grid-template-columns: 1fr;
  }
  .benefit-grid {
    gap: 30px;
  }
  .benefit-card h3 {
    margin-top: 14px;
  }
  .platform-card p {
    font-size: 14px;
  }
  .closing {
    padding: 42px 20px;
  }
  .closing .button {
    width: 100%;
  }
  .footer-links {
    flex-direction: column;
    gap: 35px;
  }
  .footer-links > div:first-child {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
  }
  .overview-routes {
    max-height: 300px;
  }
  .endpoint-list code {
    overflow-wrap: anywhere;
  }
}

.site-shell .home-pricing .pricing-heading {
  padding: var(--grid-section-space) var(--grid-inset) 32px;
}
.pricing-heading .eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: inherit;
  line-height: inherit;
}
.pricing-heading h2 {
  margin: 12px 0 20px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.pricing-heading > p:last-child {
  color: var(--muted-foreground);
  font-size: 16px;
}
.site-shell .home-pricing .pricing-packs {
  display: grid;
  grid-template-columns: subgrid;
  border-block: 1px solid var(--border);
}
.pricing-pack {
  grid-column: span 3;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 32px var(--grid-inset);
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  background: var(--card);
}
.pricing-pack:last-child {
  border-right: 0;
}
.pricing-pack-growth {
  border-color: var(--border);
  background: var(--accent);
}
.pricing-pack-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
}
.pricing-pack h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pricing-popular {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--primary-foreground);
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 20px;
  padding: 3px 9px;
}
.pricing-pack [data-slot='card-description'] {
  min-height: 3.2em;
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 14px;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.pricing-amount strong {
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}
.pricing-amount span {
  color: var(--muted-foreground);
  font-size: 13px;
}
.pricing-credits {
  font-size: 20px;
  font-weight: 500;
  margin-top: 22px;
}
.pricing-rate {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-top: 4px;
}
.pricing-pack [data-slot='card-footer'] {
  padding-top: 24px;
  margin-top: auto;
}
.pricing-pack .button {
  width: 100%;
  padding-inline: 12px;
  font-size: 14px;
}
.pricing-faq {
  padding: 24px var(--grid-inset) 0;
}
.pricing-faq > h3 {
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 10px;
}
.pricing-faq details {
  border-bottom: 1px solid var(--border);
}
.pricing-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 500;
}
.pricing-faq summary::-webkit-details-marker {
  display: none;
}
.pricing-faq summary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.pricing-faq details[open] summary svg {
  transform: rotate(45deg);
}
.pricing-faq [data-slot='collapsible-content'] {
  padding: 0 24px 18px 0;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.65;
}
@media (max-width: 850px) {
  .pricing-pack {
    grid-column: span 6;
  }
  .pricing-pack:nth-child(even) {
    border-right: 0;
  }
  .pricing-pack:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
}
@media (max-width: 600px) {
  .pricing-pack [data-slot='card-description'] {
    min-height: 0;
  }
  .pricing-pack {
    grid-column: 1 / -1;
    border-right: 0;
  }
  .pricing-pack + .pricing-pack {
    border-top: 1px solid var(--border);
  }
}

/* Shared legal and social row, with the channel separated from AI providers. */
.footer-end,
.footer-legal,
.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.footer-end {
  justify-content: space-between;
  gap: 24px 32px;
  color: var(--muted);
  font-size: 12px;
}
.footer-legal {
  gap: 12px 20px;
}
.footer-legal a:hover {
  color: var(--primary);
}
.footer-social {
  gap: 12px;
  flex-wrap: nowrap;
  align-items: flex-start;
}
.footer-linkedin,
.footer-youtube {
  flex-shrink: 0;
}
.footer-social-separator {
  width: 1px;
  height: 24px;
  margin-block: 8px;
  flex-shrink: 0;
  background: var(--border);
}
.footer-ai-links {
  flex-wrap: wrap;
}
.footer-bottom > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Shared marketing motion: enter once, respond to intent, settle cleanly. */
:root {
  --motion-fast: 160ms;
  --motion-panel: 280ms;
  --motion-enter: 480ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.site-shell :is(a, button, summary) {
  transition:
    color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-ease);
}
.site-shell :is(a, button, summary):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}
.site-shell :is(.button, .copy-button, [role='tab']):active {
  transform: translateY(1px) scale(0.98);
}
.site-shell :is(.button, .text-link, .hero-agent-link) > svg {
  transition: transform var(--motion-fast) var(--motion-ease);
}
.site-shell :is(.button, .text-link, .hero-agent-link):is(:hover, :focus-visible) > svg:last-child {
  transform: translateX(3px);
}
.site-shell :is(.pricing-pack, .benefit-card, .platform-card, .platform-ribbon-logos a) {
  transition:
    background-color var(--motion-panel) ease,
    box-shadow var(--motion-panel) ease,
    transform var(--motion-panel) var(--motion-ease);
}
.site-shell :is(.pricing-pack, .benefit-card):focus-within {
  box-shadow: inset 0 0 0 1px var(--primary);
}
@media (hover: hover) and (pointer: fine) {
  .site-shell
    main
    :is(.pricing-pack, .benefit-card, .platform-card, .platform-ribbon-logos a):hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--foreground) 8%, transparent);
  }
}
.site-shell :is(.pricing-faq, .faq-list) summary:is(:hover, :focus-visible) {
  color: var(--primary);
}
.site-shell .pricing-faq summary svg,
.site-shell .faq-list summary > span {
  transition: transform var(--motion-panel) var(--motion-ease);
}
.site-shell .pricing-faq details[data-motion-open='false'] summary svg,
.site-shell .faq-list details[data-motion-open='false'] summary > span {
  transform: rotate(0deg);
}
.site-shell [role='tabpanel']:not([hidden]) {
  animation: marketing-panel-in var(--motion-panel) var(--motion-ease);
}
@keyframes marketing-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 720px) {
  .site-shell .nav-row > nav {
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity var(--motion-panel) ease,
      transform var(--motion-panel) var(--motion-ease),
      display var(--motion-panel) allow-discrete;
  }
  .site-shell .nav-row > nav.is-open {
    opacity: 1;
    transform: none;
    @starting-style {
      opacity: 0;
      transform: translateY(-8px);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-shell *,
  .site-shell *::before,
  .site-shell *::after {
    animation: none !important;
    transition: none !important;
  }
  .site-shell :is(a, button, .pricing-pack, .benefit-card, .platform-card):is(:hover, :active),
  .site-shell :is(a, button):is(:hover, :focus-visible) > svg:last-child {
    transform: none !important;
  }
}

/* Enterprise occupies the full shared pricing grid below the credit packs. */
.site-shell .home-pricing .pricing-enterprise {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: var(--card);
}
.pricing-enterprise-copy {
  grid-column: span 6;
  align-self: center;
  padding: 20px var(--grid-inset);
}
.pricing-enterprise-copy .eyebrow {
  margin: 0 0 8px;
  color: var(--primary);
}
.pricing-enterprise-copy h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.15;
}
.pricing-enterprise-copy [data-slot='card-description'] {
  margin: 0 0 16px;
  color: var(--muted-foreground);
}
.pricing-enterprise-art {
  grid-column: span 6;
  align-self: stretch;
  min-width: 0;
  container-type: size;
  display: grid;
  place-items: center;
  color: var(--primary);
  pointer-events: none;
  user-select: none;
}
.pricing-enterprise-art pre {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  width: 100%;
  height: 100%;
  font-size: calc(100cqw / 86.4);
  font-weight: 600;
  line-height: calc(100cqh / 40);
  letter-spacing: calc(100cqw / 144 - 1ch);
  overflow: visible;
}
@media (max-width: 850px) {
  .pricing-enterprise-copy,
  .pricing-enterprise-art {
    grid-column: 1 / -1;
  }
  .pricing-enterprise-copy {
    padding-bottom: 12px;
  }
  .pricing-enterprise-art {
    aspect-ratio: 12 / 5;
  }
}
@media (max-width: 600px) {
  .pricing-enterprise-copy {
    padding: 32px var(--grid-inset) 40px;
  }
  .pricing-enterprise-copy .eyebrow,
  .pricing-enterprise-copy h3 {
    margin-bottom: 12px;
  }
  .pricing-enterprise-copy [data-slot='card-description'] {
    margin-bottom: 24px;
  }
}

/* Black Friday / Cyber Monday sale: announcement bar, pricing banner and sale prices. Markup renders only while a sale runs (website/sale/). */
[data-sale-off] {
  display: none;
}
[data-sale-ended] [data-sale-off] {
  display: revert;
}
[data-sale-ended] [data-sale-only] {
  display: none !important;
}

/* Desktop heroes subtract the one-line bar so they still end at the viewport. */
:root:has(.sale-bar) {
  --sale-bar-height: 44px;
}
:root[data-sale-ended] {
  --sale-bar-height: 0px;
}
.sale-bar {
  height: var(--sale-bar-height, auto);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--primary);
  color: var(--primary-foreground);
}
.sale-bar-ascii {
  position: absolute;
  inset-block: 0;
  left: 0;
  z-index: -1;
  margin: 0;
  display: grid;
  align-content: center;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff38;
  pointer-events: none;
  user-select: none;
}
.sale-bar-ascii-end {
  left: auto;
  right: 0;
  transform: scaleX(-1);
}
.sale-bar-link {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  color: inherit;
  font-size: 14px;
  text-align: center;
  text-decoration: none;
}
.sale-bar-tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  background: var(--primary-foreground);
  color: var(--primary);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.sale-bar-copy strong {
  font-weight: 600;
}
.sale-bar-timer {
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  opacity: 0.9;
}
.sale-bar-cta {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.sale-bar-link:hover .sale-bar-cta,
.sale-bar-link:focus-visible .sale-bar-cta {
  text-decoration-thickness: 2px;
}
.sale-bar-link:focus-visible {
  outline: 2px solid var(--primary-foreground);
  outline-offset: -4px;
}

/* Pricing banner: its own slim row above the pricing heading, with a compact ASCII countdown. */
.site-shell .home-pricing .pricing-sale {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 16px var(--grid-inset);
  border-bottom: 1px solid var(--border);
  background: var(--accent);
}
.pricing-sale-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0;
  font-size: 14px;
  color: var(--muted-foreground);
}
.pricing-sale-copy strong {
  color: var(--foreground);
  font-weight: 600;
}
.pricing-sale-clock {
  flex-shrink: 0;
  color: var(--primary);
}
.pricing-sale-clock pre {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.25;
  overflow: visible;
  font-variant-numeric: tabular-nums;
}

/* Sale prices on the pricing cards. */
.pricing-amount .pricing-was {
  color: var(--muted-foreground);
  font-size: 20px;
  text-decoration-thickness: 1.5px;
}
.pricing-pack-name h3 + .pricing-sale-tag {
  margin-right: auto;
}
.pricing-sale-tag {
  flex-shrink: 0;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

@media (max-width: 850px) {
  .site-shell .home-pricing .pricing-sale {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 1100px) {
  .sale-bar-extra {
    display: none;
  }
}
@media (max-width: 900px) {
  .sale-bar-cta {
    display: none;
  }
}
/* On phones the bar may wrap; the compact mobile hero does not track the viewport. */
@media (max-width: 720px) {
  :root:has(.sale-bar) {
    --sale-bar-height: 0px;
  }
  .sale-bar {
    height: auto;
  }
  .sale-bar-link {
    flex-wrap: wrap;
    padding-block: 8px;
  }
}
@media (max-width: 600px) {
  .sale-bar-ascii {
    display: none;
  }
  .sale-bar-link {
    font-size: 13px;
  }
}
