@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

.home-document {
  --ink: #121416;
  --surface: #FFFFFF;
  --muted-surface: #F2F4F5;
  --secondary-text: #5E646B;
  --subtle-divider: #D7DBDF;
  --link: #00685F;
  color-scheme: light;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

.home-document h1,
.home-document h2,
.home-document h3,
.home-document p { margin: 0; }

.home-document h2 { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.home-document h3 { font-size: 1rem; font-weight: 500; line-height: 1.5; }
.home-document a { color: inherit; text-decoration: none; }
.home-document .container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.home-document .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }

.home-document .site-header { border-bottom: 1px solid var(--subtle-divider); }
.home-document .header-content { display: flex; align-items: center; justify-content: space-between; padding-block: 24px; }
.home-document .wordmark { font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.home-document .site-nav { display: flex; align-items: center; gap: 32px; font-weight: 500; }
.home-document .site-nav a { display: inline-block; }
.home-document > main { flex: 1; padding-block: 48px; }

.home-document .hero { margin-bottom: 48px; }
.home-document .hero-title { max-width: 860px; font-size: 2.5rem; font-weight: 600; line-height: 1.2; }
.home-document .hero-description {
  max-width: 44rem;
  margin-top: 16px;
  color: var(--secondary-text);
  font-size: 1.125rem;
  line-height: 1.5555555555555556;
}
.home-document .hero-action { margin-top: 24px; }
.home-document.signed-in .hero-action { display: flex; align-items: center; gap: 12px; }
.home-document .primary-action,
.home-document .secondary-action { display: inline-block; padding: 12px 24px; border-radius: 6px; font-weight: 500; }
.home-document .primary-action { background: var(--ink); color: var(--surface); }
.home-document .secondary-action { background: var(--muted-surface); color: var(--ink); }
.home-document .access-note { margin-top: 12px; color: var(--secondary-text); }

.home-document .capabilities { margin-bottom: 48px; }
.home-document .capability-grid { margin-top: 16px; }
.home-document .capability { grid-column: span 4; min-width: 0; }
.home-document .capability p { margin-top: 8px; }
.home-document .search-example { grid-column: span 8; min-width: 0; }
.home-document .connection { grid-column: span 4; min-width: 0; }
.home-document .example-query { margin-top: 16px; }
.home-document .example-query span { color: var(--secondary-text); }
.home-document .example-data { margin-top: 12px; padding: 24px; border-radius: 8px; background: var(--muted-surface); }
.home-document .example-code-label,
.home-document .example-note { color: var(--secondary-text); font-size: 0.875rem; line-height: 1.4285714285714286; }
.home-document .example-data pre {
  margin: 12px 0 0;
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.5714285714285714;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.home-document .example-data code { font: inherit; }
.home-document .json-key { color: var(--secondary-text); }
.home-document .json-wrapped-line { display: inline-block; width: 100%; padding-left: 8ch; text-indent: -8ch; vertical-align: top; }
.home-document .text-link { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.home-document .example-note { margin-top: 12px; }
.home-document .connection p { margin-top: 16px; }
.home-document .connection-action { display: inline-block; margin-top: 24px; font-weight: 500; }

.home-document a:focus-visible,
.home-document #main-content:focus { outline: 2px solid var(--link); outline-offset: 2px; }
.home-document .primary-action:focus-visible { box-shadow: 0 0 0 2px var(--surface); }
.home-document .skip-link {
  position: absolute;
  inset: 8px auto auto 20px;
  z-index: 1;
  padding: 12px 16px;
  max-width: calc(100% - 40px);
  background: var(--surface);
  color: var(--link);
  text-decoration: underline;
  clip-path: inset(50%);
}
.home-document .skip-link:focus { clip-path: none; }

/* F1 keeps its page-title role and neutral navigation. */
.home-document.session-error .header-content { gap: 32px; }
.home-document.session-error > main {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-content: start;
}
.home-document.session-error .error-message { grid-column: span 8; min-width: 0; }
.home-document.session-error .page-title { font-size: 1.75rem; font-weight: 600; line-height: 1.2857142857142858; }
.home-document.session-error .explanation { margin-top: 16px; max-width: 65ch; color: var(--secondary-text); }
.home-document.session-error .primary-action { margin-top: 24px; }

@media (min-width: 768px) and (max-width: 1199px) {
  .home-document .grid,
  .home-document.session-error > main { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .home-document .capability,
  .home-document .search-example,
  .home-document .connection { grid-column: span 8; }
  .home-document .capability-grid { row-gap: 24px; }
  .home-document .details { row-gap: 32px; }
}

@media (max-width: 767px) {
  .home-document .container { width: min(1120px, calc(100% - 40px)); }
  .home-document .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .home-document .header-content { flex-wrap: wrap; gap: 16px; padding-block: 16px; }
  .home-document .site-nav { flex-wrap: wrap; gap: 8px 24px; }
  .home-document > main { padding-block: 32px; }
  .home-document .hero { margin-bottom: 32px; }
  .home-document .hero-title { max-width: none; font-size: 1.75rem; line-height: 1.4285714285714286; overflow-wrap: anywhere; }
  .home-document .hero-title br { display: none; }
  .home-document .hero-description { font-size: 1rem; line-height: 1.5; }
  .home-document .capabilities { margin-bottom: 32px; }
  .home-document .capability-grid { row-gap: 24px; }
  .home-document .details { row-gap: 32px; }
  .home-document .capability,
  .home-document .search-example,
  .home-document .connection { grid-column: span 4; }
  .home-document .example-data { padding: 16px; }
  .home-document .json-wrapped-line { padding-left: 6ch; text-indent: -6ch; }

  .home-document.signed-in .header-content { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 8px; padding-block: 16px 8px; }
  .home-document.signed-in .site-nav { justify-content: space-between; width: 100%; gap: 0 16px; font-size: 0.875rem; line-height: 1.4285714285714286; }
  .home-document.signed-in .site-nav a { padding-block: 12px; }
  .home-document.signed-in .hero-action { flex-direction: column; align-items: stretch; text-align: center; }

  .home-document.session-error .header-content { gap: 16px; }
  .home-document.session-error > main { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .home-document.session-error .error-message { grid-column: span 4; }
  .home-document.session-error .page-title { font-size: 1.5rem; line-height: 1.5; }
}
