/* The website has its own semantic palette; it does not ship renderer CSS. */
@font-face {
  font-family: "Literata";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("./fonts/literata-normal-latin.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: "Literata";
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  src: url("./fonts/literata-italic-latin.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;
}
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #626262;
  --faint: #e5e5e5;
  --border-strong: #b8b8b8;
  --action: var(--ink);
  --action-hover: #333333;
  --accent: #355cff;
  --accent-soft: #eef2ff;
  --accent-tint: #dbe4ff;
  --soft: #f5f5f5;
  --white: #ffffff;
  --focus: var(--accent);
  --serif: Georgia, "Times New Roman", serif;
  --heading-serif: "Literata", var(--serif);
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
button,
input {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  color: inherit;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--accent-tint);
  color: var(--ink);
}
.wrap {
  width: min(1184px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--faint);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.8px;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand .brand-wordmark {
  width: 112px;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 30px;
  margin-inline-start: auto;
  font-size: 13px;
}
.main-nav a,
.site-footer nav a {
  text-decoration: none;
}
.main-nav a[aria-current] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}
.nav-toggle:hover {
  background: var(--soft);
}
.nav-close-icon,
.nav-toggle[aria-expanded="true"] .nav-menu-icon {
  display: none;
}
.nav-toggle[aria-expanded="true"] .nav-close-icon {
  display: block;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  flex-shrink: 0;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 25px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: var(--heading-serif);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: normal;
}
h1 {
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 1.09;
}
h2 {
  font-size: clamp(34px, 3.7vw, 49px);
  line-height: 1.16;
}
h3 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.5px;
  line-height: 1.4;
}
em {
  color: inherit;
  font-weight: 400;
}
h1 em,
h2 em,
.feature h3 em {
  font-weight: inherit;
}
.hero {
  position: relative;
  padding-block: 86px 65px;
  text-align: center;
}
.hero h1 {
  margin-bottom: 25px;
}
.hero-title-detail {
  display: block;
}
.hero-title-mark {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero-title-bulb {
  position: absolute;
  right: calc(100% + 0.18em);
  top: -0.02em;
  width: 0.92em;
  height: 1.09em;
  overflow: visible;
  transform: rotate(-18deg);
  pointer-events: none;
}
.hero-title-underline {
  position: absolute;
  left: 0;
  bottom: -0.1em;
  width: 100%;
  height: 0.23em;
  pointer-events: none;
}
.hero-title-notes {
  position: relative;
  display: inline-block;
}
.hero-title-mobile-waves {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-title-mobile-wave {
  position: absolute;
  overflow: hidden;
}
.hero-title-wave {
  position: absolute;
  left: 0;
  bottom: -0.19em;
  width: 100%;
  height: 0.24em;
  overflow: visible;
  pointer-events: none;
}
.hero-title-ai {
  display: inline-block;
  white-space: nowrap;
}
.hero-title-circled {
  position: relative;
  display: inline-block;
  margin-inline: 0.22em;
}
.hero-title-circle {
  position: absolute;
  left: -0.19em;
  top: -0.1em;
  width: calc(100% + 0.38em);
  height: calc(100% + 0.2em);
  transform: rotate(-9deg);
  pointer-events: none;
}
.hero-description {
  max-width: 630px;
  margin: 0 auto 29px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}
.download-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 740px;
  margin-inline: auto;
}
.download-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--action);
  color: var(--white);
  text-decoration: none;
  text-align: center;
  transition:
    background 0.15s,
    transform 0.15s;
}
.download-button:hover {
  color: var(--white);
  background: var(--action-hover);
  transform: translateY(-1px);
}
.download-label {
  font-size: 13px;
  font-weight: 500;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button.primary {
  color: var(--white);
  background: var(--action);
}
.button.primary:hover {
  background: var(--action-hover);
  transform: translateY(-1px);
}
.button.secondary {
  border-color: var(--faint);
  background: var(--white);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}
.text-link:hover {
  text-decoration: underline;
}
.showcase {
  padding: 0;
}
.app-figure {
  margin: 0;
}
.hero-screenshot {
  width: 100%;
}
/* Detail images in the guide retain their existing frame. */
.screenshot-link {
  display: block;
  border: 1px solid var(--faint);
  border-radius: 7px;
  overflow: hidden;
}
.screenshot-link img {
  width: 100%;
}
.intro-section {
  padding-block: 116px 103px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 48px;
  margin-bottom: 49px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  color: var(--muted);
  max-width: 350px;
  font-size: 14px;
  margin: 0 0 3px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.feature,
.feature-copy {
  min-width: 0;
}
.feature h3 {
  font-size: 25px;
  font-family: var(--heading-serif);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: normal;
  margin: 0 0 12px;
}
.feature p {
  color: var(--muted);
  font-size: 14px;
  max-width: 470px;
  margin: 0;
}
.feature-support {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--faint);
}
.feature-support p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.architecture-section {
  background: var(--soft);
  padding-block: 80px;
}
.architecture-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 28px;
  margin: 22px 0 0;
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 90px;
  padding-block: 100px;
}
.faq-list details {
  border-bottom: 1px solid var(--faint);
}
.faq-list details:first-child {
  border-top: 1px solid var(--faint);
}
summary {
  cursor: pointer;
  padding: 19px 28px 19px 0;
  position: relative;
  font-size: 14px;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 16px;
  font-size: 20px;
  font-weight: 300;
}
details[open] > summary::after {
  content: "−";
}
details > p {
  font-size: 13px;
  color: var(--muted);
  padding-right: 20px;
  margin-bottom: 22px;
}
.closing-section {
  background: var(--soft);
  border-radius: 10px;
  padding: 50px 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 95px;
}
.closing-section h2 {
  margin: 0;
}
.closing-section .text-link {
  display: flex;
  margin-top: 17px;
}
.site-footer {
  padding-bottom: 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--faint);
}
.footer-top .brand {
  font-size: 21px;
}
.footer-top img {
  width: 36px;
  height: 36px;
}
.footer-top p {
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  margin: 0;
  font-size: 18px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 23px;
  color: var(--muted);
  font-size: 11px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.image-dialog {
  max-width: min(1500px, 96vw);
  width: 96vw;
  max-height: 95vh;
  border: 0;
  padding: 20px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
.image-dialog::backdrop {
  background: #171717c9;
}
.dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dialog-bar h2 {
  font: 500 14px var(--sans);
  letter-spacing: 0;
  margin: 0;
}
.dialog-close {
  border: 1px solid var(--faint);
  border-radius: 4px;
  padding: 5px 12px;
  background: transparent;
  font-size: 13px;
}
.image-dialog img {
  max-height: 76vh;
  width: auto;
  margin-inline: auto;
  object-fit: contain;
}
.dialog-caption {
  font-size: 12px;
  margin: 14px 0 0;
}
body:has(dialog[open]) {
  overflow: hidden;
}
/* Guide pages */
.doc-hero {
  padding-block: 66px 40px;
  max-width: 780px;
}
.doc-hero h1 {
  font-size: clamp(44px, 5vw, 64px);
  margin-bottom: 23px;
}
.doc-hero .lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 690px;
}
.doc-meta {
  font-size: 11px;
  color: var(--muted);
}
.doc-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 760px);
  justify-content: space-between;
  gap: 65px;
  padding-bottom: 90px;
}
.toc {
  position: sticky;
  top: 32px;
  align-self: start;
  font-size: 12px;
  border-top: 1px solid var(--faint);
  padding-top: 20px;
}
.toc > p {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--muted);
}
.toc a {
  display: block;
  text-decoration: none;
  padding-block: 6px;
}
.toc a:hover {
  text-decoration: underline;
}
.prose {
  min-width: 0;
}
.prose section {
  margin-bottom: 50px;
  scroll-margin-top: 28px;
}
.prose section + section {
  padding-top: 12px;
}
.changelog section + section {
  border-top: 1px solid var(--faint);
  padding-top: 40px;
}
.changelog h2 {
  margin-bottom: 8px;
}
.release-meta {
  font-size: 12px;
  margin-top: 0;
}
.prose h2 {
  font-size: 34px;
  margin-bottom: 22px;
}
.prose h3 {
  font-size: 18px;
  margin-block: 27px 12px;
}
.prose p,
.prose li {
  font-size: 14px;
  color: var(--muted);
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose ol,
.prose ul {
  padding-left: 23px;
}
.prose li {
  padding-left: 5px;
  margin-bottom: 11px;
}
.prose li > p {
  margin-block: 5px 14px;
}
.callout {
  background: var(--soft);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 5px 5px 0;
  margin-block: 24px;
}
.callout.warm {
  border-color: var(--ink);
}
.callout p:last-child {
  margin-bottom: 0;
}
.callout > strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}
.table-scroll {
  overflow-x: auto;
  margin-block: 24px;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
}
th {
  color: var(--ink);
  font-weight: 550;
  background: var(--soft);
}
th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--faint);
  vertical-align: top;
}
td {
  color: var(--muted);
}
.prose code {
  font-size: 0.9em;
  background: var(--soft);
  padding: 2px 5px;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
.prose pre {
  padding: 20px;
  overflow-x: auto;
  border: 1px solid var(--faint);
  border-radius: 5px;
  line-height: 1.8;
  font-size: 13px;
}
.prose pre code {
  background: transparent;
  padding: 0;
  overflow-wrap: normal;
}
.prose blockquote {
  border-left: 2px solid var(--border-strong);
  margin: 20px 0;
  padding: 5px 0 5px 22px;
}
.prose blockquote p {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
  margin: 0;
}
.prose figure {
  margin: 28px 0;
}
.prose figcaption {
  color: var(--muted);
  font-size: 11px;
  margin-top: 12px;
}
.doc-next {
  border-top: 1px solid var(--faint);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.doc-next p {
  margin: 0;
}
/* A single suggested download on home; the full chooser stays on downloads.html. */
.home-download-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.home-download-actions .download-button {
  min-width: 220px;
  max-width: 100%;
}
.downloads-header {
  text-align: center;
  padding-block: 80px 56px;
}
.downloads-header h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 48px);
  letter-spacing: -1.2px;
}
.downloads-section {
  padding-bottom: 85px;
}
.downloads-section .download-options {
  max-width: none;
  gap: 22px;
}
.download-card {
  padding: 30px 26px 22px;
  border: 1px solid var(--faint);
  border-radius: 10px;
  background: var(--white);
}
.download-card h2 {
  font-size: 28px;
  letter-spacing: -0.7px;
  margin-bottom: 8px;
}
.download-package {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 28px;
}
.download-guidance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 65px;
  padding-top: 35px;
  border-top: 1px solid var(--faint);
}
.download-guidance h2 {
  font-size: 29px;
  letter-spacing: -0.6px;
}
.download-guidance p,
.download-release-note {
  color: var(--muted);
  font-size: 13px;
}
.download-release-note {
  margin: 45px 0 0;
}
/* Editorial feature illustrations. These are examples, not app screenshots. */
.feature-visual {
  height: 310px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.note-visual {
  background: var(--soft);
}
.visual-note {
  width: 100%;
  padding: 22px 18px;
  background: var(--white);
  border: 1px solid var(--faint);
  border-radius: 6px;
  box-shadow: 0 12px 25px -20px #17171733;
  transform: rotate(-2deg);
}
.visual-note-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  letter-spacing: 1.1px;
  color: var(--muted);
  margin-bottom: 12px;
}
.block-grip {
  font-size: 17px;
}
.visual-quote {
  border-left: 2px solid var(--accent);
  padding-left: 10px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 15px;
}
.visual-note-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.3;
}
.visual-equation {
  font-family: math;
  font-size: 23px;
  text-align: center;
  padding: 14px 0 17px;
}
.visual-task {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.task-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}
.feature-visual.citation-visual {
  /* Match the app's citation overlay while keeping the website palette independent. */
  --citation-accent: #2563eb;
  --citation-tint: #dbeafe;
  --citation-text: #1d4ed8;
  background: var(--soft);
  padding: 16px;
}
.citation-illustration {
  width: 100%;
  height: 100%;
  max-width: 330px;
  fill: var(--ink);
}
.citation-page,
.citation-answer-card {
  fill: var(--white);
  stroke: var(--faint);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.citation-page {
  filter: drop-shadow(0 3px 3px #17171712);
}
.citation-context-lines {
  stroke: var(--border-strong);
  stroke-width: 2;
}
.citation-source-outline {
  fill: none;
  stroke: var(--citation-accent);
  stroke-width: 2;
  stroke-dasharray: 4 3;
}
.citation-source-text {
  color: var(--ink);
  font: 12px/16px var(--serif);
  text-align: justify;
}
.citation-source-badge {
  fill: var(--citation-accent);
}
.citation-source-label {
  fill: var(--white);
  font: 600 12px var(--sans);
  text-anchor: middle;
}
.citation-connector {
  fill: none;
  stroke: var(--citation-accent);
  stroke-opacity: 0.65;
  stroke-width: 1.5;
}
.citation-answer-card {
  filter: drop-shadow(0 3px 4px #17171718);
}
.citation-answer-label,
.citation-page-label {
  fill: var(--muted);
  font: 9px var(--sans);
  letter-spacing: 1px;
}
.citation-answer-text {
  font: 12px var(--sans);
}
.citation-answer-badge {
  fill: var(--citation-tint);
}
.citation-answer-number {
  fill: var(--citation-text);
  font: 600 11px var(--sans);
  text-anchor: middle;
}
.provider-visual {
  background: var(--soft);
}
.provider-choice-card {
  width: 100%;
  max-width: 280px;
  padding: 22px 18px 18px;
  background: var(--white);
  border: 1px solid var(--faint);
  border-radius: 9px;
  box-shadow: 0 12px 25px -20px #17171733;
}
.provider-choice-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 550;
}
.provider-choice-heading img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.provider-choices {
  display: grid;
  gap: 10px;
}
.provider-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  border: 1px solid var(--faint);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.provider-choice.is-selected {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.provider-choice-radio {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}
.provider-choice.is-selected .provider-choice-radio {
  border-color: var(--accent);
}
.provider-choice.is-selected .provider-choice-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.feature .provider-choice-caption {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.feature-illustration-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 10px;
}
/* Matching local and online panels connected in reading order. */
.rag-diagram {
  margin: 0;
}
.rag-flow {
  --rag-model-width: clamp(180px, 22%, 245px);
  --rag-inset: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px var(--rag-model-width);
  gap: 16px;
}
.rag-connector {
  display: block;
  width: 32px;
  height: 32px;
  place-self: center;
  color: var(--border-strong);
}
.rag-local,
.rag-cloud {
  position: relative;
  display: grid;
  align-items: center;
  min-width: 0;
  padding: 36px var(--rag-inset);
  border: 1px solid var(--faint);
  border-radius: 12px;
  background: var(--white);
}
.rag-zone-heading {
  position: absolute;
  top: 12px;
  left: var(--rag-inset);
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.rag-local-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  gap: 24px;
  padding: 0;
  margin: 0;
}
.rag-step {
  text-align: center;
}
.rag-local-steps li {
  position: relative;
}
.rag-local-steps li + li::before {
  content: "";
  position: absolute;
  width: 19px;
  height: 1px;
  background: var(--border-strong);
  left: -22px;
  top: 40px;
}
.rag-local-steps li + li::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--border-strong);
  border-top: 1px solid var(--border-strong);
  transform: rotate(45deg);
  left: -8px;
  top: 38px;
}
.rag-art {
  display: block;
  width: 100%;
  height: 82px;
  margin-bottom: 10px;
  color: var(--ink);
}
.rag-step strong {
  display: block;
  font-size: 14px;
  font-weight: 550;
}
@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 32px;
  }
  .rag-flow {
    --rag-inset: 21px;
    gap: 12px;
  }
  .feature-visual {
    margin-bottom: 0;
    padding-inline: 22px;
  }
  .visual-note {
    width: 100%;
    padding-inline: 19px;
  }
  .visual-note-title {
    font-size: 16px;
  }
  .download-card {
    padding-inline: 20px;
  }
}
@media (max-width: 850px) {
  .rag-flow {
    --rag-inset: 24px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .rag-connector {
    transform: rotate(90deg);
  }
  .rag-zone-heading {
    top: 8px;
  }
  .rag-local,
  .rag-cloud {
    grid-column: 1 / -1;
    padding-block: 24px;
  }
  .rag-local-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rag-step {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    text-align: left;
  }
  .rag-art {
    height: 65px;
    margin: 0;
  }
  .rag-local-steps li + li::before {
    width: 1px;
    height: 22px;
    left: 40px;
    top: -27px;
  }
  .rag-local-steps li + li::after {
    left: 38px;
    top: -10px;
    transform: rotate(135deg);
  }
  .feature-grid {
    gap: 40px 24px;
  }
}
@media (max-width: 720px) {
  .downloads-header {
    padding-block: 56px 40px;
  }
  .downloads-section .download-options,
  .download-guidance {
    grid-template-columns: 1fr;
  }
  .download-guidance {
    gap: 35px;
    margin-top: 40px;
  }
  .download-card {
    padding: 26px;
  }
  .feature-visual {
    height: 305px;
    margin-bottom: 24px;
    padding-inline: 25px;
  }
  .visual-note {
    max-width: 365px;
  }
  .visual-note-title {
    font-size: 18px;
  }
  .visual-equation {
    font-size: 25px;
  }
}
@media (max-width: 400px) {
  .home-download-actions {
    gap: 15px;
  }
  .feature-visual {
    padding-inline: 16px;
  }
  .visual-note {
    padding: 18px 15px;
  }
  .visual-note-title {
    font-size: 16px;
  }
  .visual-equation {
    font-size: 22px;
  }
  .rag-flow {
    --rag-inset: 18px;
  }
  .rag-step {
    column-gap: 6px;
  }
}

@media (min-width: 1500px) {
  .hero {
    padding-top: 105px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .main-nav {
    gap: 20px;
  }
  .site-header {
    gap: 20px;
  }
  .section-heading {
    gap: 28px;
  }
  .section-heading > p {
    max-width: 290px;
  }
  .doc-layout {
    grid-template-columns: 155px minmax(0, 1fr);
    gap: 36px;
  }
  .footer-bottom nav {
    gap: 15px;
  }
  .faq-section {
    gap: 40px;
  }
}
@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 0 12px;
    padding-block: 16px;
  }
  .brand {
    font-size: 21px;
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  .brand .brand-wordmark {
    width: 102px;
  }
  .main-nav {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 12px;
    font-size: 15px;
  }
  .main-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-toggle:not([hidden]) + .main-nav {
    display: none;
  }
  .nav-toggle[aria-expanded="true"] + .main-nav {
    display: flex;
  }
  .hero {
    padding-block: 74px 42px;
  }
  .hero h1 {
    text-wrap: balance;
  }
  .hero-title-detail {
    display: inline;
  }
  .hero-title-bulb {
    right: calc(100% - 0.65em);
    top: -0.7em;
    width: 0.75em;
    height: 0.89em;
  }
  .hero-title-notes {
    display: inline;
  }
  .hero-title-mobile-waves {
    display: block;
  }
  .hero-title-wave {
    display: none;
  }
  .hero-description {
    font-size: 15px;
    max-width: 460px;
  }
  .download-options {
    grid-template-columns: 1fr;
    max-width: 390px;
  }
  .download-button {
    padding: 12px 17px;
  }
  .intro-section {
    padding-block: 65px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading > p {
    max-width: 100%;
    margin-top: 22px;
  }
  .feature-grid {
    gap: 32px;
    grid-template-columns: 1fr;
  }
  .feature {
    display: block;
  }
  .feature-support {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature p {
    max-width: none;
  }
  .architecture-section {
    padding-block: 56px;
  }
  .architecture-note {
    justify-content: flex-start;
  }
  .faq-section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 55px;
  }
  .closing-section {
    padding: 32px 25px;
    display: block;
    margin-bottom: 55px;
  }
  .closing-section > div + div {
    margin-top: 27px;
  }
  .footer-top {
    gap: 15px;
    padding-bottom: 22px;
  }
  .footer-top p {
    font-size: 14px;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .footer-bottom nav {
    gap: 12px 22px;
  }
  .doc-hero {
    padding-block: 42px 20px;
  }
  .doc-hero .lead {
    font-size: 15px;
  }
  .doc-layout {
    display: block;
    padding-bottom: 55px;
  }
  .toc {
    position: static;
    margin-bottom: 35px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--faint);
    display: flex;
    flex-wrap: wrap;
    gap: 3px 22px;
  }
  .toc > p {
    width: 100%;
    margin-bottom: 7px;
  }
  .prose h2 {
    font-size: 30px;
  }
  .callout {
    padding: 17px 18px;
  }
  th,
  td {
    padding: 10px;
  }
  .doc-next {
    align-items: start;
  }
  .image-dialog {
    padding: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .toc,
  .doc-next,
  .skip-link {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .doc-layout {
    display: block;
  }
  body {
    background: white;
  }
  .prose section {
    break-inside: avoid;
  }
  a {
    text-decoration: underline;
  }
}

.download-unavailable {
  margin: 1rem 0 0;
  color: var(--muted);
  font-weight: 500;
}
