/* The public site. Layout and feel follow a reference page: pale gray canvas, white rounded
   cards, tight near-black headings, gray body text, pill buttons, soft gradient tiles and a
   striped closing band. Everything is self-hosted; no outside fonts or files. */
:root {
  --page: #f4f4f6;
  --card: #ffffff;
  --ink: #0a0a0b;
  --body: #5b5b63;
  --mute: #63636b;
  --line: #e4e4e8;
  --soft: #ececf0;
  --blue: #0f6fd1;
  --blue-ink: #ffffff;
  --scan: #e5261f;
  --ok: #0f6b45;
  --warn-bg: #fff4d6;
  --warn-ink: #6b4a00;
  --err-bg: #fde8e6;
  --err-ink: #8f1d17;
  --r-card: 18px;
  --wrap: 1180px;
  --display: "Segoe UI Variable Display", "SF Pro Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --text: "Segoe UI Variable Text", "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.5 var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); }

/* Pills */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 16px; border: 1.5px solid transparent; border-radius: 999px; font: 600 14px/1.2 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .12s ease, background .12s ease; }
.pill:active { transform: scale(.97); }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: #2a2a2e; }
.pill-blue { background: var(--blue); color: var(--blue-ink); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .14); }
.pill-blue:hover { background: #0b5fb6; }
.pill-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.pill-line:hover { background: rgba(10, 10, 11, .06); }
.pill-onband { background: #fff; }
.pill-onband:hover { background: #f1f1f3; }
.pill:disabled { background: #c9c9cf; color: #fff; cursor: not-allowed; box-shadow: none; }

/* Top bar */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: stretch; gap: 2px; height: 18px; }
.brand-mark i { display: block; width: 3px; background: var(--ink); border-radius: 1px; }
.brand-mark i:nth-child(2) { width: 1.5px; }
.brand-mark i:nth-child(3) { width: 4px; }
.brand-mark i:nth-child(4) { width: 1.5px; }
.brand-name { font: 700 17px/1 var(--display); letter-spacing: -.02em; }
.nav nav { display: flex; gap: 22px; flex: 1; }
.nav nav a { color: var(--mute); font-size: 14px; font-weight: 500; text-decoration: none; padding: 6px 0; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--ink); }
.nav-end { display: flex; gap: 8px; }

/* Hero: copy on the left, the working generator in a white card on the right */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 72px 24px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font: 650 clamp(34px, 4.2vw, 46px)/1.08 var(--display); letter-spacing: -.035em; max-width: 12em; }
.hero-copy p { margin-top: 22px; max-width: 34em; color: var(--body); font-size: 17px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.gen { background: var(--card); border-radius: var(--r-card); padding: 22px; box-shadow: 0 1px 0 rgba(10, 10, 11, .04); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--soft); border-radius: 999px; }
.tabs button { border: 0; background: transparent; padding: 7px 14px; min-height: 34px; border-radius: 999px; font: 600 13px/1.2 var(--text); color: var(--mute); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(10, 10, 11, .12); }
.gen-stage { margin-top: 16px; border-radius: 14px; padding: 16px 18px 14px; background-color: #fafafb; background-image: radial-gradient(rgba(10, 10, 11, .1) 1px, transparent 1.2px); background-size: 14px 14px; }
.stage-top { display: flex; justify-content: space-between; gap: 12px; font: 500 12px/1.3 var(--mono); color: var(--mute); }
.stage-type { color: var(--ink); font-weight: 700; }
.stage-art { position: relative; display: grid; place-items: center; min-height: 190px; padding: 14px 0; transition: opacity .15s ease; }
.stage-art canvas { max-width: 100%; max-height: 190px; height: auto; background: #fff; border-radius: 6px; box-shadow: 0 6px 22px rgba(10, 10, 11, .1); }
.stage-art.is-stale { opacity: .28; }
.scanline { position: absolute; left: 6%; right: 6%; top: 50%; height: 2px; background: var(--scan); box-shadow: 0 0 14px 2px rgba(229, 38, 31, .55); opacity: 0; }
.stage-art.scan .scanline { animation: scan .7s ease-out 1; }
@keyframes scan { 0% { opacity: 0; top: 14%; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { opacity: 0; top: 86%; } }
.stage-note { font-size: 13px; color: var(--mute); text-align: center; min-height: 1.4em; }

#gen-panel { margin-top: 16px; }
.field-label { display: block; font: 600 13px/1.3 var(--text); margin-bottom: 6px; }
.field-row { display: flex; gap: 8px; }
.field { flex: 1; min-width: 0; height: 40px; padding: 0 16px; border: 1.5px solid transparent; border-radius: 999px; background: var(--soft); color: var(--ink); font: 500 16px/1 var(--mono); letter-spacing: .02em; }
.field:hover { border-color: #d3d3d9; }
.field:focus-visible { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(15, 111, 209, .22); }
.field[aria-invalid="true"] { border-color: var(--err-ink); background: #fff; }
.field-row .pill { min-height: 40px; }
.hint { margin-top: 8px; font-size: 13px; color: var(--mute); }
.checks { display: grid; gap: 6px; margin-top: 8px; }
.checks:empty { display: none; }
.checks li { padding: 8px 12px; border-radius: 10px; font-size: 13.5px; line-height: 1.4; }
.checks li.error { background: var(--err-bg); color: var(--err-ink); }
.checks li.warning { background: var(--warn-bg); color: var(--warn-ink); }
.fine { margin-top: 14px; font-size: 12.5px; color: var(--mute); }

/* A row of example cards under the hero */
.strip { padding: 4px 0 56px; }
.strip-row { display: flex; gap: 22px; padding: 12px 24px 16px; overflow-x: auto; scroll-snap-type: x proximity; max-width: 100%; }
.strip-row::-webkit-scrollbar { height: 0; }
.chip { flex: 0 0 196px; scroll-snap-align: start; border-radius: 14px; background: var(--soft); padding: 0 0 12px; overflow: hidden; }
.chip-art { height: 112px; display: grid; place-items: center; background: #fff; border: 6px solid var(--soft); border-radius: 14px; }
.chip-art canvas { max-width: 88%; max-height: 84px; height: auto; }
.chip h3 { margin: 8px 14px 0; font: 650 14px/1.3 var(--text); }
.chip p { margin: 1px 14px 0; font-size: 12.5px; color: var(--mute); }
@media (min-width: 1380px) { .strip-row { justify-content: center; } }

/* Centered section heads */
.features, .plans, .creed { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px; }
.features h2, .plans h2, .creed h2, .creed h1 { text-align: center; font: 650 clamp(26px, 3vw, 32px)/1.15 var(--display); letter-spacing: -.03em; }
.sub { max-width: 34em; margin: 12px auto 0; text-align: center; color: var(--body); font-size: 18px; line-height: 1.4; }

/* Two by two gradient tiles, each with its caption underneath */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 16px; max-width: 900px; margin: 40px auto 0; }
.tile-art { position: relative; height: 300px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; padding: 44px 26px 26px; }
.tag { position: absolute; left: 20px; top: 16px; font: 500 12.5px/1 var(--mono); color: rgba(255, 255, 255, .92); }
.art-violet { background: radial-gradient(120% 90% at 100% 100%, #f1ecff 0, transparent 60%), linear-gradient(135deg, #8a5cf6 0, #b79dff 42%, #d9ccff 100%); }
.art-teal { background: radial-gradient(110% 90% at 0 100%, #e9fff9 0, transparent 58%), linear-gradient(140deg, #0f9f8f 0, #2fd1bd 48%, #a8f1e4 100%); }
.art-blue { background: radial-gradient(110% 90% at 100% 100%, #eef2ff 0, transparent 58%), linear-gradient(140deg, #2f5bea 0, #5f86ff 46%, #c4d2ff 100%); }
.art-green { background: radial-gradient(110% 90% at 0 100%, #effff3 0, transparent 58%), linear-gradient(140deg, #1c9d5a 0, #4fd58a 48%, #bff3d2 100%); }
.art-violet .tag { color: #2a1160; background: rgba(255, 255, 255, .78); padding: 4px 8px; border-radius: 6px; left: 16px; top: 14px; }
.art-teal .tag { color: #053d36; background: rgba(255, 255, 255, .78); padding: 4px 8px; border-radius: 6px; left: 16px; top: 14px; }
.art-blue .tag { color: #0c1f66; background: rgba(255, 255, 255, .82); padding: 4px 8px; border-radius: 6px; left: 16px; top: 14px; }
.art-green .tag { color: #073d21; background: rgba(255, 255, 255, .78); padding: 4px 8px; border-radius: 6px; left: 16px; top: 14px; }
.glass { width: 100%; max-width: 360px; background: #ffffff; border-radius: 14px; padding: 14px; box-shadow: 0 14px 40px rgba(10, 10, 11, .16); }
.warn { padding: 9px 12px; border-radius: 10px; background: var(--warn-bg); color: var(--warn-ink); font-size: 13px; line-height: 1.4; }
.warn + .warn { margin-top: 8px; }
.warn b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.reg { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.reg th { text-align: left; font-weight: 600; color: var(--mute); padding: 0 6px 6px 0; }
.reg td { padding: 6px 6px 6px 0; border-top: 1px solid var(--line); color: var(--ink); }
.reg .mono { font-size: 11.5px; }
.st { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: #45454c; font-size: 11.5px; font-weight: 600; }
.st-on { background: #dcf5e6; color: var(--ok); }
.st-off { background: #ececf0; color: #55555c; }
.chat { width: 100%; max-width: 360px; display: grid; gap: 10px; }
.bubble { padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 10px 30px rgba(10, 10, 11, .14); }
.bubble.you { justify-self: end; max-width: 88%; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.bubble.bot { justify-self: start; max-width: 92%; background: #fff; color: var(--ink); border-bottom-left-radius: 5px; }
.bubble.bot canvas { display: block; max-width: 150px; height: auto; margin-bottom: 8px; }
.files { display: grid; gap: 7px; font: 500 12.5px/1.3 var(--mono); color: var(--ink); }
.files li { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ext { flex: none; width: 38px; padding: 3px 0; border-radius: 6px; background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 700; text-align: center; }
.ext-sheet { background: var(--blue); }
.cap { margin-top: 12px; padding: 0 4px; font-size: 14.5px; line-height: 1.45; color: var(--body); }
.cap b { color: var(--ink); font-weight: 650; }

/* A wide white card: words on the left, a picture of the thing on a dotted ground on the right */
.wide { max-width: calc(var(--wrap) - 48px); margin: 40px auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--card); border-radius: var(--r-card); overflow: hidden; }
.wide-copy { padding: 34px 32px 32px; display: flex; flex-direction: column; align-items: flex-start; }
.wide-copy h2 { font: 650 24px/1.2 var(--display); letter-spacing: -.025em; }
.wide-copy p { margin-top: 16px; color: var(--body); font-size: 15.5px; line-height: 1.5; max-width: 32em; }
.wide-copy .pill { margin-top: auto; }
.wide-copy p + .pill { margin-top: 40px; }
.wide-art { padding: 28px; display: grid; place-items: center; background-image: radial-gradient(rgba(10, 10, 11, .12) 1px, transparent 1.2px); background-size: 12px 12px; }
.code { margin: 0; width: 100%; max-width: 440px; padding: 18px 20px; border-radius: 14px; background: #101013; color: #eaeaf0; font: 500 12.5px/1.6 var(--mono); overflow-x: auto; box-shadow: 0 18px 44px rgba(10, 10, 11, .22); }
.code .c { color: #9a9aa6; }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 36px auto 0; }
.plan { background: var(--card); border-radius: var(--r-card); padding: 24px; border: 1.5px solid transparent; }
.plan-main { border-color: var(--ink); }
.plan h3 { font: 650 16px/1.2 var(--text); }
.price { margin-top: 8px; font: 650 34px/1 var(--display); letter-spacing: -.03em; }
.price span { font: 500 14px/1 var(--text); letter-spacing: 0; color: var(--mute); }
.plan ul { margin-top: 18px; display: grid; gap: 9px; font-size: 14.5px; color: var(--body); }
.plan li { padding-left: 20px; position: relative; }
.price-year { margin-top: 6px; font-size: 13.5px; color: var(--mute); }
.plans-cta, .plans-more { margin-top: 20px; text-align: center; }
.plans-more { margin-top: 28px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 9px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

/* The pricing page: its heading, the plan table and the rules under it */
.plans-top { padding-top: 64px; }
.plans-top h1 { text-align: center; font: 650 clamp(34px, 4.2vw, 46px)/1.08 var(--display); letter-spacing: -.035em; }
.plans + .plans { padding-top: 8px; }
.compare-wrap { max-width: 900px; margin: 28px auto 0; overflow-x: auto; background: var(--card); border-radius: var(--r-card); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; }
.compare caption { padding: 20px 24px 6px; text-align: left; font: 650 16px/1.2 var(--text); }
.compare th, .compare td { padding: 12px 24px 12px 0; text-align: left; vertical-align: top; }
.compare th:first-child { padding-left: 24px; }
.compare thead th { font-weight: 650; color: var(--ink); }
.compare tbody th { font-weight: 500; color: var(--body); }
.compare tbody td { color: var(--ink); }
.compare tbody tr { border-top: 1px solid var(--line); }
.rules { max-width: var(--wrap); margin: 0 auto; padding: 8px 24px 72px; }
.rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto; }
.rule { background: var(--card); border-radius: var(--r-card); padding: 24px; }
.rule h3 { font: 650 18px/1.2 var(--display); letter-spacing: -.02em; }
.rule p { margin-top: 10px; color: var(--body); font-size: 15px; line-height: 1.5; }
.rule h3 + p { margin-top: 12px; }
.rule a { color: var(--blue); }

/* The API docs: a list of sections at the side, the sections in white cards, dark code blocks */
.docs { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 72px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px 40px; }
.docs-top { grid-column: 1 / -1; max-width: 760px; }
.docs-top h1 { font: 650 clamp(34px, 4.2vw, 46px)/1.08 var(--display); letter-spacing: -.035em; }
.docs-top .sub { margin: 16px 0 0; text-align: left; font-size: 17px; line-height: 1.5; }
.lang-choice { margin-top: 22px; display: inline-flex; align-items: center; gap: 4px; padding: 4px; background: var(--soft); border-radius: 999px; }
.lang-label { padding: 0 8px 0 10px; font-size: 13.5px; color: var(--mute); }
.lang-choice button { min-height: 32px; padding: 6px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font: 600 13.5px/1.2 var(--text); cursor: pointer; }
.lang-choice button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toc { position: sticky; top: 76px; align-self: start; font-size: 14px; }
.toc-title { font-weight: 650; }
.toc ol { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.toc a { display: block; padding: 4px 0; color: var(--mute); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.docs-body { display: grid; gap: 16px; min-width: 0; }
.docs-body > section { background: var(--card); border-radius: var(--r-card); padding: 28px; min-width: 0; scroll-margin-top: 76px; }
.docs-body h2 { font: 650 24px/1.2 var(--display); letter-spacing: -.025em; scroll-margin-top: 76px; }
.docs-body h3 { font: 650 16px/1.3 var(--text); }
.docs-body p, .docs-body li { color: var(--body); font-size: 15.5px; line-height: 1.55; }
.docs-body h2 + *, .docs-body p + p, .docs-body p + ul, .docs-body ul + p, .docs-body p + pre, .docs-body pre + p { margin-top: 14px; }
.docs-body a { color: var(--blue); }
.docs-body code, .compare code { font: 500 .9em/1.4 var(--mono); overflow-wrap: anywhere; }
.docs-body var { font-style: italic; }
.steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.facts { display: grid; gap: 10px; }
.facts li { padding-left: 16px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.code-block, .ex-code pre, .ex-answer { margin: 0; padding: 16px 18px; border-radius: 12px; background: #101013; color: #eaeaf0; font: 500 13px/1.6 var(--mono); overflow-x: auto; }
.code-block code, .ex-code pre code, .ex-answer code { font: inherit; overflow-wrap: normal; white-space: pre; }
.example { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; min-width: 0; }
.docs-body .example + p, .docs-body .example + ul { margin-top: 18px; }
.docs-body .ex-call { margin: 0; }
.ex-code { min-width: 0; }
.ex-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.ex-lang { font-size: 13px; font-weight: 650; color: var(--ink); }
.ex-copy { min-height: 32px; padding: 5px 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 600 13px/1.2 var(--text); cursor: pointer; }
.ex-copy:hover { background: rgba(10, 10, 11, .06); }
.docs-body .ex-answer-label { margin: 4px 0 0; font-size: 13.5px; color: var(--mute); }
.ex-answer { background: var(--soft); color: var(--ink); max-height: 420px; }
.lang-choice[hidden], .ex-code[hidden], .ex-copy[hidden] { display: none; }
/* The AI apps page: the connector address to copy, inside a step */
.copy-box { margin: 10px 0 4px; }
.docs-body .steps + p { margin-top: 14px; }
.tool-id { display: block; margin-top: 2px; }
.compare.tools td:nth-child(2) { min-width: 280px; }
.docs-body .compare-wrap { margin: 18px 0 0; max-width: none; border: 1px solid var(--line); }
.compare.errors td:last-child { min-width: 280px; }

/* The legal pages: the docs layout, with the date under the title */
.legal-date { margin-top: 12px; font-size: 14.5px; color: var(--mute); }
.legal .docs-body strong { color: var(--ink); font-weight: 650; }
.compare.cookies th code { white-space: nowrap; overflow-wrap: normal; }

/* A centered statement */
.creed { text-align: center; padding-top: 72px; padding-bottom: 72px; }
.creed p { margin-top: 6px; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.creed h2 + p, .creed h1 + p { margin-top: 18px; }
.creed .pill { margin-top: 26px; }

/* The closing band: level stripes from sky to red */
.band { margin: 8px 12px 0; border-radius: 8px; padding: 110px 24px 140px; text-align: center;
  background: linear-gradient(180deg,
    #a9e0fb 0 6%, #d6f0fd 6% 12%, #fbfdff 12% 24%, #f1fbf3 24% 34%, #e2f7df 34% 44%, #d5f3c9 44% 56%,
    #dcf2bd 56% 64%, #ebedb4 64% 72%, #f6dfae 72% 80%, #fbbf9d 80% 88%, #f58279 88% 100%); }
.band h2 { font: 650 clamp(26px, 3vw, 32px)/1.15 var(--display); letter-spacing: -.03em; }
.band-actions { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.foot { max-width: var(--wrap); margin: 0 auto; padding: 28px 24px 40px; text-align: center; font-size: 13px; color: var(--mute); }
.foot p + p, .foot-links + p { margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 14px; }
.foot-links a { color: var(--mute); text-decoration: none; padding: 4px 0; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

/* Narrow screens: the nav links move to a second row of their own */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 44px; }
  .wide { grid-template-columns: 1fr; margin-left: 16px; margin-right: 16px; }
  .nav-in { flex-wrap: wrap; justify-content: space-between; row-gap: 4px; }
  .nav nav { order: 3; flex: 1 0 100%; flex-wrap: wrap; gap: 4px 18px; }
  .docs { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .toc { position: static; background: var(--card); border-radius: var(--r-card); padding: 20px 24px; }
  .toc ol { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); column-gap: 18px; }
}
@media (max-width: 720px) {
  .docs { padding-left: 16px; padding-right: 16px; }
  .docs-body > section { padding: 22px 18px; }
  .tiles, .plan-grid, .rule-grid { grid-template-columns: 1fr; }
  .tile-art { height: auto; min-height: 260px; }
  .field-row { flex-direction: column; }
  .nav-end { flex-wrap: wrap; }
  .band { padding: 80px 20px 100px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .gen { animation: rise .5s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .05s; }
  .hero-copy > :nth-child(3) { animation-delay: .1s; }
  .hero-copy > :nth-child(4) { animation-delay: .15s; }
  .gen { animation-delay: .12s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-art.scan .scanline { animation: none; }
  .pill { transition: none; }
}

/* The type tabs never wrap inside a tab */
.tabs button { white-space: nowrap; }
@media (max-width: 420px) { .tabs button { padding: 7px 10px; } .gen { padding: 16px; } }
