@font-face {
  font-family: "Sora";
  src: url("/design-system/fonts/rg-sora.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/design-system/fonts/rg-bricolage.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("/design-system/fonts/rg-geist.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("/design-system/fonts/rg-jetbrains.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

/* Base for the guides, pricing, compare, policy and help pages. The homepage and /try use landing-home.css instead.
   Colours, fonts, the header, the footer and the buttons come from /public.css, which every public page loads. */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.6 var(--sans);-webkit-font-smoothing:antialiased}
/* Short pages keep the footer at the bottom of the window. */
body{display:flex;flex-direction:column;min-height:100vh}
main{flex:1 0 auto}
img,video{max-width:100%;height:auto}
img{display:block}
a{color:inherit}
button{font:inherit;cursor:pointer}
h1,h2,h3,h4,p{margin-top:0}
h1,h2{font-family:var(--display);font-weight:700;letter-spacing:-.035em;line-height:1.06;text-wrap:balance}
h1{font-size:clamp(34px,4.8vw,56px);margin-bottom:20px}
h2{font-size:clamp(26px,3vw,36px);margin-bottom:16px}
h3,h4{font-family:var(--sans);font-weight:600;letter-spacing:-.02em;line-height:1.25;margin-bottom:8px}
h3{font-size:20px}
h4{font-size:17px}
/* The second half of a headline, in the accent, as on the homepage. */
h1 em,h2 em{font-style:normal;color:var(--signal-text)}
strong,b{font-weight:600}
main a:where(:not(.button)){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
main a:where(:not(.button)):hover{text-decoration-thickness:2px}
code,pre,kbd{font-family:var(--mono)}
code{font-size:.88em}
:not(pre)>code{padding:.1em .35em;border:1px solid var(--line);border-radius:6px;background:var(--paper-2);color:var(--ink)}
/* Commands and prompts wrap on narrow screens instead of widening the page. */
pre{max-width:100%;margin:16px 0;padding:12px 14px;border-radius:10px;background:var(--paper-2);color:var(--ink);font-size:13.5px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
summary{cursor:pointer}
.wrap{width:min(1070px,100% - 32px);margin-inline:auto}
.icon-defs{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.eyebrow{display:block;margin-bottom:16px;font:500 12px/1.5 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.fine-print{font-size:14px;line-height:1.55;color:var(--mute)}

/* Where you are: Home / Guides / this page. */
.search-breadcrumbs{padding-top:20px;padding-bottom:4px;font-size:13.5px;line-height:1.5;color:var(--mute)}
.search-breadcrumbs ol{display:flex;flex-wrap:wrap;gap:6px 0;list-style:none;margin:0;padding:0}
.search-breadcrumbs li{color:inherit;font-size:inherit}
.search-breadcrumbs li+li::before{content:"/";margin:0;padding:0 10px;opacity:.6}
.search-breadcrumbs a:where(:not(.button)){text-decoration:none}
.search-breadcrumbs a:where(:not(.button)):hover{color:var(--ink);text-decoration:underline}
.public-document>.search-breadcrumbs,.guide-index>.search-breadcrumbs{width:100%}

/* Policy, help and not-found pages: one readable column. */
.public-document{max-width:760px;padding-block:56px 88px;overflow-wrap:break-word}
.public-document h1{font-size:clamp(34px,5vw,48px)}
.public-document h2{font-size:24px;line-height:1.2;letter-spacing:-.025em;margin-top:40px;padding-top:28px;border-top:1px solid var(--line-2)}
.public-document p,.public-document li{color:var(--ink-2);font-size:17px;line-height:1.65}
.public-document li{margin:6px 0}
.public-document strong{color:var(--ink)}
.public-document .meta{color:var(--mute);font-size:14px;margin-bottom:32px}
.public-document table{display:block;overflow:auto;border-collapse:collapse;width:100%;font-size:15px;line-height:1.5}
.public-document td,.public-document th{padding:12px;border:1px solid var(--line-2);text-align:left;vertical-align:top}
.public-document th{background:var(--paper-2);color:var(--ink);font-weight:600}
.public-document td{color:var(--ink-2)}
.pricing-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}

/* Guide lists: /blog, /guides and /compare. */
.guide-index{padding:48px 0 88px}
.guide-index>header{max-width:720px;margin-bottom:40px}
.guide-index>header p{color:var(--ink-2);font-size:clamp(17px,1.6vw,19px);line-height:1.55}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.guide-card{display:flex;flex-direction:column;align-items:flex-start;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--card);text-decoration:none;transition:border-color .2s}
.guide-card:hover{border-color:var(--ink)}
.guide-card .eyebrow{margin-bottom:12px}
.guide-card h2{font:600 22px/1.2 var(--sans);letter-spacing:-.025em;margin-bottom:10px;text-wrap:pretty}
.guide-card p{color:var(--ink-2);font-size:16px;line-height:1.55}
.guide-card>span:last-child{margin-top:auto;font-size:14.5px;font-weight:500;text-decoration:underline;text-underline-offset:3px}

@media(max-width:760px){
  .guide-index,.public-document{padding-block:32px 60px}
  .guide-grid{grid-template-columns:1fr}
  .guide-card{padding:20px}
  .pricing-actions .button{flex:1}
  .public-document h2{font-size:22px}
}
@media(max-width:640px){
  body{font-size:16px}
  .public-document p,.public-document li{font-size:16px}
}

/* Guides, product pages, pricing and compare pages (body.search-page). Builds on landing.css; colours and fonts come from /public.css. */
.search-page section[id],.search-page h2[id]{scroll-margin-top:84px}

/* Top of the page */
.search-hero{max-width:900px;padding:48px 0 36px;text-align:center}
.search-hero h1{font-size:clamp(36px,5vw,60px);line-height:1.02;margin:0 auto 20px}
.search-hero>p{max-width:60ch;margin:0 auto 24px;color:var(--ink-2);font-size:clamp(17px,1.6vw,19px);line-height:1.5;text-wrap:pretty}
.search-hero>.fine-print{margin:18px auto 0;font-size:14px;line-height:1.55;color:var(--mute)}
.search-hero>.guide-byline{margin:0 0 16px;font-size:14px;color:var(--mute)}
.guide-article .search-hero>p:first-of-type{max-width:64ch}

/* Pictures: a white frame with a hairline, so dark screenshots and see-through pictures both sit cleanly on the page. */
.search-proof{margin:0 auto 32px;padding:10px;border:1px solid var(--line);border-radius:16px;background:var(--card);box-shadow:0 24px 50px -34px rgba(20,18,14,.4)}
.search-proof img,.guide-example img,.example-grid img{display:block;width:100%;height:auto;border:1px solid var(--line-2);border-radius:10px;background:var(--card)}
.search-proof figcaption,.guide-example figcaption,.example-grid figcaption{margin:12px auto 4px;max-width:72ch;color:var(--mute);font-size:14px;line-height:1.55;text-align:center}
.example-grid,.guide-example{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;margin:28px 0}
.example-grid figure,.guide-example figure{margin:0;min-width:0}
.example-grid strong{color:var(--ink)}
.enlarge-image,.copy-prompt,.search-viewer-toolbar button{min-height:44px;padding:6px 14px;border:1px solid var(--line-2);border-radius:999px;background:var(--card);color:var(--ink);font:500 13.5px/1.3 var(--sans)}
.enlarge-image:hover,.copy-prompt:hover,.search-viewer-toolbar button:hover{border-color:var(--ink)}
.enlarge-image{display:block;margin:10px 0 0 auto}
.copy-prompt{display:block;margin:8px 0 4px auto}
.copy-prompt-status{display:block;min-height:20px;margin:0 0 14px;text-align:right;color:var(--ok);font-size:13px}
.search-image-viewer{width:min(1320px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line-2);border-radius:16px;background:var(--card);color:var(--ink);box-shadow:var(--shadow)}
.search-image-viewer::backdrop{background:rgba(0,0,0,.72)}
.search-viewer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;border-bottom:1px solid var(--line);background:var(--paper-2);font-size:14px}
.search-viewer-toolbar>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}
.search-viewer-toolbar>div{display:flex;gap:8px;flex-shrink:0}
.search-viewer-area{overflow:auto;max-height:calc(100dvh - 112px);overscroll-behavior:contain}
.search-viewer-area img{display:block;width:100%;height:auto;max-width:none;margin:auto}
.search-image-viewer[data-zoomed=true] img{width:var(--image-width)}

/* Reading column */
.search-body{max-width:760px}
.search-section{padding:44px 0;border-bottom:1px solid var(--line-2)}
.search-section h2,.search-related h2{font-size:clamp(26px,3vw,36px);line-height:1.08;margin:0 0 18px}
.search-section h3{font-size:20px;line-height:1.25;margin:0 0 8px}
.search-section p,.search-section li,.search-section dd{color:var(--ink-2);font-size:17px;line-height:1.65}
.search-section strong{color:var(--ink)}
.search-section .fine-print{color:var(--mute);font-size:14px;line-height:1.55}
.search-section ul,.search-section ol{padding-left:22px}
.search-section li{margin:8px 0}
.guide-checklist li::marker{color:var(--signal)}
.guide-sources p{font-size:15px}
.guide-toc{max-width:760px;margin:0 auto 8px;padding:20px 24px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.guide-toc p{margin:0 0 10px;font:500 12px/1.5 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.guide-toc ol{columns:2 280px;column-gap:28px;list-style:none;margin:0;padding:0}
.guide-toc li{margin:0 0 6px;break-inside:avoid}
.guide-toc a:where(:not(.button)){display:inline-block;padding:2px 0;color:var(--ink-2);font-size:16px;text-decoration-color:var(--line-2)}
.guide-toc a:where(:not(.button)):hover{color:var(--ink);text-decoration-color:var(--ink)}

/* Numbered steps */
.guide-steps{display:grid;gap:14px;list-style:none;counter-reset:step;margin:24px 0 0;padding:0}
.search-section .guide-steps{padding:0}
.guide-steps>li{counter-increment:step;position:relative;margin:0;padding:22px 22px 22px 66px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.guide-steps>li::before{content:counter(step);position:absolute;left:22px;top:22px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--ink);color:var(--paper);font:600 13px var(--sans)}
.guide-steps p{margin:0 0 10px}
.guide-steps>li>:last-child{margin-bottom:0}

/* Notes, quotes and prompts */
.guide-callout,.search-section blockquote{margin:24px 0;padding:18px 22px;border:1px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink);font-size:17px;line-height:1.6}
/* A note that matters gets a soft tint, not a coloured edge. */
.guide-callout{background:var(--signal-soft);border-color:transparent}
.guide-callout strong{display:block;color:var(--ink);font-size:17px}
.guide-callout p{margin:8px 0 0;font-size:16px;line-height:1.6}
.search-section blockquote>:last-child{margin-bottom:0}
.guide-prompt{white-space:pre-wrap;overflow-wrap:anywhere}
.search-page pre[data-copy-prompt]{padding:16px 18px;border-radius:12px;font-size:14px;line-height:1.65}

/* Cards side by side: plans, options, comparisons */
.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}
.plan-grid article{padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--card);min-width:0}
.plan-grid article h2,.plan-grid article h3{font:600 20px/1.25 var(--sans);letter-spacing:-.02em;margin:0 0 10px;padding:0;border:0;text-wrap:pretty}
/* Sections already have a line between them, so a document heading inside one does not add a second. */
.public-document .search-section h2{margin-top:0;padding-top:0;border-top:0}
.plan-grid p{font-size:16px;line-height:1.55}
.plan-grid article>:last-child{margin-bottom:0}

/* Tables */
.comparison-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.comparison-scroll:focus-visible{outline:2px solid var(--signal-text);outline-offset:3px}
.comparison-scroll table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.55;text-align:left}
.comparison-scroll caption{padding:14px 18px 0;text-align:left;color:var(--mute);font-size:14px}
.comparison-scroll th,.comparison-scroll td{padding:14px 18px;border-bottom:1px solid var(--line);vertical-align:top}
.comparison-scroll tbody tr:last-child>*{border-bottom:0}
.comparison-scroll th{color:var(--ink);font-weight:600}
.comparison-scroll thead th{background:var(--paper-2);font-size:14px}
.comparison-scroll td{color:var(--ink-2)}

/* Questions and answers */
.answer-list{margin:0}
.answer-list dt{margin-top:16px;padding-top:16px;border-top:1px solid var(--line-2);color:var(--ink);font-size:17.5px;font-weight:600;letter-spacing:-.01em;line-height:1.35}
.answer-list dd{margin:8px 0 0;max-width:68ch;font-size:16px;line-height:1.6}
.search-section details{border-top:1px solid var(--line-2)}
.search-section details+details{margin-top:0}
.search-section details:last-of-type{border-bottom:1px solid var(--line-2)}
.search-section summary{min-height:44px;padding:12px 0;color:var(--ink);font-size:16.5px;font-weight:600;line-height:1.4}

/* Setup: the prompt to paste, with its copy button */
.setup{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:32px;margin-top:44px;padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.setup h2{font-size:clamp(26px,3vw,32px);margin-bottom:14px}
.setup p{margin-bottom:0;color:var(--ink-2);font-size:16px;line-height:1.55}
.setup-instruction{min-width:0;padding:18px;border-radius:12px;background:var(--paper-2)}
.setup-instruction .button{width:100%;margin-top:16px}
.instruction-line{display:flex;align-items:flex-start;gap:12px;margin-bottom:14px;font-size:15px;line-height:1.55}
.instruction-line .icon{margin-top:3px;color:var(--signal-text)}
.codex-visible-prompt{margin:0;color:var(--ink);font-size:14.5px;line-height:1.6;overflow-wrap:anywhere}
pre.codex-visible-prompt{padding:0;background:none;font-size:13.5px}
.search-body pre.codex-visible-prompt{margin:14px 0;padding:12px 14px;background:var(--paper-2)}
.setup-instruction pre.codex-visible-prompt{margin:0;padding:0;background:none}
.copy-feedback{min-height:20px;margin:10px 0 0;color:var(--mute);font-size:13.5px;line-height:1.5}
.setup .copy-feedback,.setup-instruction .copy-feedback{font-size:13.5px;color:var(--mute)}
.prompt-details{margin-top:10px;color:var(--ink-2);font-size:14px}
.prompt-details summary{width:fit-content;min-height:44px;padding-block:12px;font-size:14px;font-weight:500}
.prompt-details p{padding:12px 14px;border-radius:10px;background:var(--card);border:1px solid var(--line);color:var(--ink);font:13px/1.6 var(--mono);overflow-wrap:anywhere}

/* More to read */
.search-related{max-width:760px;margin-inline:auto;padding:48px 0 72px}
.search-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.search-links a:where(:not(.button)){display:flex;align-items:center;min-height:56px;padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);font-size:15.5px;font-weight:500;line-height:1.4;text-decoration:none;transition:border-color .2s}
.search-links a:where(:not(.button)):hover{border-color:var(--ink)}
.search-links a:last-child:nth-child(odd){grid-column:1/-1}
.guide-hub .search-related{max-width:none;margin-inline:0;padding:24px 0 16px}
.guide-hub .search-related h3{margin:28px 0 12px;font:500 12px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}

/* /codex and /claude: wider chapters with the pictures between them */
.codex-page .search-hero{max-width:960px}
.codex-page .codex-opening,.codex-page .codex-chapter{max-width:1070px}
.codex-page .search-proof{margin-bottom:0}
.codex-page .codex-chapter{padding:72px 0;border:0}
.codex-page .codex-chapter-copy{max-width:760px;margin:0 auto 36px}
.codex-page .codex-chapter-copy h2{font-size:clamp(28px,3.6vw,42px)}
.codex-page .codex-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.codex-page .codex-context-grid article{padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.codex-page .codex-context-grid h3{margin:0 0 8px}
.codex-page .codex-context-grid p{margin:0;font-size:16px;line-height:1.55}
.codex-page .codex-text-link,.codex-page .codex-platform-note{max-width:760px;margin:24px auto 0;font-size:15px}
.codex-page #next-post{padding-top:32px;padding-bottom:56px}
.codex-page #next-post .codex-chapter-copy{margin-bottom:0}
.codex-page .codex-first-post{border-top:1px solid var(--line-2);padding-top:48px}
.codex-page .setup-instruction{margin:24px 0;padding:20px;border:1px solid var(--line);background:var(--card)}
.codex-page .codex-security p{font-size:15.5px}
.codex-page .guide-steps>li{padding:8px 0 10px 44px;border:0;border-radius:0;background:none}
.codex-page .guide-steps>li::before{left:0;top:8px}

@media(max-width:760px){
  .search-hero{padding:32px 0 24px}
  .search-hero .button{width:100%}
  .search-section{padding:32px 0}
  .search-proof{padding:6px;border-radius:12px;margin-bottom:20px}
  .search-proof img{border-radius:7px}
  .plan-grid,.search-links,.guide-example,.example-grid,.codex-page .codex-context-grid{grid-template-columns:1fr}
  .guide-example{max-width:480px;margin-inline:auto}
  .guide-steps>li{padding:18px 18px 18px 58px}
  .guide-steps>li::before{left:16px;top:18px}
  .setup{grid-template-columns:1fr;gap:20px;padding:20px;margin-top:28px}
  .search-related{padding:36px 0 56px}
  .codex-page .codex-desktop-break{display:none}
  .codex-page .codex-chapter{padding:44px 0}
  .codex-page .codex-chapter-copy{margin-bottom:24px}
  .search-image-viewer{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}
  .search-viewer-toolbar{gap:8px;font-size:12px}
  .search-viewer-area{max-height:calc(100dvh - 100px)}
  /* Guide tables turn into one card per row, each value under its column name. */
  .guide-article .comparison-scroll{overflow:visible;border:0;background:none}
  .guide-article .comparison-scroll table,.guide-article .comparison-scroll caption,.guide-article .comparison-scroll tr,.guide-article .comparison-scroll td{display:block}
  .guide-article .comparison-scroll caption{padding:0;margin:0 0 14px}
  .guide-article .comparison-scroll thead{display:none}
  .guide-article .comparison-scroll tbody{display:grid;gap:10px}
  .guide-article .comparison-scroll tr{padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--card)}
  .guide-article .comparison-scroll td{width:100%;padding:0;border:0;font-size:15px}
  .guide-article .comparison-scroll td+td{margin-top:12px}
  .guide-article .comparison-scroll td::before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--mute);font:500 11px/1.5 var(--mono);letter-spacing:.08em;text-transform:uppercase}
  .guide-article .comparison-scroll td:first-child{color:var(--ink);font-weight:600}
}
@media(max-width:640px){
  .search-section p,.search-section li,.search-section dd{font-size:16px}
  .comparison-scroll th,.comparison-scroll td{padding:12px}
}

/* /guides/social-media-tools-for-ai-agents. Every figure here is drawn at build time from landing/agent-tools-data.mjs
   by scripts/agent-tools-render.mjs. One ink colour for every tool's bar, ours included; meaning is carried by shape and text, not colour alone. */
.at-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.at-fig{margin:24px 0 20px}
.search-section .at-fig figcaption{margin-top:10px;color:var(--mute);font-size:13.5px;line-height:1.5}
.at-ours{display:inline-block;margin-left:6px;padding:1px 7px;border:1px solid var(--line-2);border-radius:999px;color:var(--mute);font:500 10px/1.5 var(--mono);letter-spacing:.06em;text-transform:uppercase;vertical-align:middle}
.at-scroll,.at-chart,.at-lane,.at-group{border:1px solid var(--line);border-radius:16px;background:var(--card)}
.at-matrix table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px}
.at-matrix caption{padding:14px 16px 4px;text-align:left;color:var(--mute);font-size:13.5px}
.at-matrix th,.at-matrix td{padding:11px 6px;border-bottom:1px solid var(--line);text-align:center;vertical-align:middle}
.at-matrix tbody tr:last-child>*{border-bottom:0}
.at-matrix thead th{vertical-align:bottom;color:var(--ink-2);font-size:12.5px;font-weight:600;line-height:1.25}
.at-matrix th:first-child{width:25%;padding-left:16px;text-align:left;color:var(--ink);font-size:15.5px;font-weight:600}
.at-mark{display:inline-flex;flex-direction:column;align-items:center;gap:3px;min-width:22px;color:var(--mute);font-size:18px;line-height:22px}
.at-mark svg{display:block;width:22px;height:22px}
.at-mark svg circle{fill:var(--ok)}
.at-mark svg path{fill:none;stroke:var(--card);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.at-dash{display:block;width:12px;height:2.5px;margin:10px 0;border-radius:2px;background:var(--ink-2)}
.at-said{margin-top:12px;color:var(--ink-2);font-size:13.5px;line-height:1.5}
.search-section .at-said p{margin:0;font-size:13.5px;line-height:1.5}
.search-section .at-said ul{margin:4px 0 0;padding-left:18px}
.search-section .at-said li{margin:2px 0;font-size:13.5px;line-height:1.5}
.at-not-stated>span:first-child{display:block;width:22px;height:22px;border:1.5px dashed var(--mute);border-radius:50%;font:600 12px/19px var(--sans);text-align:center}
.at-partial i{display:block;width:22px;height:22px;border:2px solid var(--wait);border-radius:50%;background:linear-gradient(90deg,var(--wait) 50%,transparent 50%)}
.at-note{color:var(--ink-2);font-size:11.5px;line-height:1.2}
.search-section .at-legend{display:flex;flex-wrap:wrap;gap:8px 20px;margin:12px 0 0;padding:0;list-style:none}
.search-section .at-legend li{display:inline-flex;align-items:center;gap:8px;margin:0;color:var(--ink-2);font-size:13.5px;line-height:1.4}
.at-legend .at-mark{flex:none}
.at-more{margin-top:10px;color:var(--mute);font-size:13.5px}
.at-more summary,.at-sources summary{cursor:pointer;color:var(--ink-2);text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:3px}
.search-section .at-key{margin:8px 0 0;padding-left:20px}
.search-section .at-key li{margin:2px 0;font-size:13.5px;line-height:1.5}
.at-chart{display:grid;gap:11px;padding:20px}
.at-bar,.at-cost{display:grid;grid-template-columns:150px minmax(0,1fr) 46px;gap:4px 14px;align-items:center;color:var(--ink);font-size:15px}
.at-bar-name{font-weight:600}
.at-bar-track{display:block;height:14px;border-radius:7px;background:var(--paper-2)}
.at-bar-track i{display:block;height:100%;min-width:4px;border-radius:7px;background:var(--ink)}
.at-bar b,.at-cost b{font-weight:600;font-variant-numeric:tabular-nums}
.at-bar small{grid-column:2/-1;color:var(--ink-2);font-size:13px}
.at-cost{grid-template-columns:150px minmax(0,1.2fr) minmax(0,1fr);padding-top:10px;border-top:1px solid var(--line)}
.at-cost-head,.at-cost-head+.at-cost{border-top:0;padding-top:0}
.at-cost b{font-size:14.5px}
.at-cost-head{color:var(--mute);font:500 11px/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase}
.at-free{justify-self:start;padding:3px 10px;border-radius:999px;font-size:13px;line-height:1.4}
.at-free-yes{background:color-mix(in srgb,var(--ok) 9%,transparent);color:var(--ok);font-weight:600}
.at-free-no{background:var(--paper-2);color:var(--ink-2)}
.at-lanes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.at-lane,.at-group{display:grid;align-content:start;gap:6px;padding:18px}
.at-lane-n{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--ink);color:var(--paper);font:600 13px/1 var(--sans)}
.at-lane b,.at-group b{color:var(--ink);font-size:16px;line-height:1.3}
.at-lane small,.at-group-n{color:var(--mute);font-size:13px;line-height:1.4}
.search-section .at-lane ul,.search-section .at-group ul{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 0;padding:0;list-style:none}
.search-section .at-lane li,.search-section .at-group li{margin:0;padding:4px 10px;border:1px solid var(--line-2);border-radius:999px;color:var(--ink);font-size:14px;line-height:1.4}
.at-lane sup{color:var(--mute);font-size:10px}
.at-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.at-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 32px}
.at-page h3#waits-example{margin:32px 0 0}
.tool-table{width:min(1038px,100vw - 32px);margin-left:50%;transform:translateX(-50%)}
.tool-table table{min-width:1000px;table-layout:fixed;font-size:14.5px;line-height:1.5}
.tool-table th,.tool-table td{padding:13px 11px}
.tool-table thead th:first-child{width:152px}
.tool-table thead th:nth-child(2){width:96px}
.tool-table thead th:nth-child(4){width:168px}
.tool-table thead th:nth-child(6){width:112px}
.tool-table tbody th{position:sticky;left:0;z-index:1;background:var(--card);box-shadow:1px 0 0 var(--line);font-weight:600;text-align:left}
.tool-table thead th:first-child{position:sticky;left:0;z-index:2}
.tool-table tbody th a{font-size:13.5px;font-weight:400}
.at-sources{margin-top:6px;font-size:13.5px;font-weight:400}
.search-section .at-sources p{margin:4px 0 0;font-size:13.5px;line-height:1.5}
.at-cards{display:none}
@media(max-width:760px){
  .guide-article .tool-table{display:none}
  .at-cards{display:grid;gap:8px}
  .at-card{border:1px solid var(--line);border-radius:12px;background:var(--card)}
  .at-card summary{display:grid;gap:2px;padding:12px 14px;cursor:pointer}
  .at-card summary b{color:var(--ink);font-size:16.5px}
  .at-card summary span{color:var(--ink-2);font-size:13.5px}
  .at-card summary .at-ours{color:var(--mute);font-size:10px}
  .search-section .at-card dl{margin:0;padding:0 14px}
  .at-card dl div{padding:9px 0;border-top:1px solid var(--line)}
  .at-card dt{color:var(--mute);font:500 11px/1.5 var(--mono);letter-spacing:.08em;text-transform:uppercase}
  .search-section .at-card dd{margin:2px 0 0;font-size:14.5px;line-height:1.5}
  .search-section .at-card p{margin:0;padding:8px 14px 12px;font-size:14px;line-height:1.5}
  .search-section .at-card p+p{padding-top:0;color:var(--mute);font-size:13.5px}
  .at-matrix table{font-size:13.5px}
  .at-matrix th,.at-matrix td{padding:6px 1px}
  .at-matrix th:first-child{width:28%;padding-left:8px;font-size:11.5px;overflow-wrap:anywhere}
  .at-matrix thead th:not(:first-child){height:176px;padding-bottom:8px}
  .at-matrix thead th:not(:first-child) span{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);text-align:left;white-space:nowrap;font-size:12px}
  .at-matrix .at-note{max-width:44px;font-size:11px;line-height:1.05;letter-spacing:-.02em}
  .at-matrix .at-mark svg,.at-matrix .at-partial i,.at-matrix .at-not-stated>span:first-child{width:20px;height:20px}
  .at-matrix .at-not-stated>span:first-child{line-height:17px}
  .at-matrix .at-ours{display:block;width:max-content;margin:2px 0 0}
  .at-chart{padding:14px;gap:10px}
  .at-bar{grid-template-columns:112px minmax(0,1fr) 40px;gap:2px 10px;font-size:14px}
  .at-cost{grid-template-columns:minmax(0,1fr);gap:2px;padding-top:8px;font-size:14px}
  .at-costs{gap:8px}
  .at-cost b{font-size:13.5px}
  .at-cost-head{display:none}
  .at-cost .at-free{justify-self:start;padding:1px 8px;font-size:12.5px}
  .at-two{grid-template-columns:1fr}
  .at-lanes,.at-groups{display:block;border:1px solid var(--line);border-radius:16px;background:var(--card)}
  .at-lane,.at-group{display:block;position:relative;padding:11px 14px;border:0;border-radius:0;background:none}
  .at-lane+.at-lane,.at-group+.at-group{border-top:1px solid var(--line)}
  .at-lane{padding-left:46px}
  .at-lane-n{position:absolute;left:12px;top:12px;width:22px;height:22px;font-size:12px}
  .at-lane b,.at-group b{font-size:15px}
  .at-lane small{display:none}
  .at-group-n{margin-left:6px}
  .search-section .at-lane ul,.search-section .at-group ul{display:block;margin:2px 0 0}
  .search-section .at-lane li,.search-section .at-group li{display:inline;padding:0;border:0;color:var(--ink-2);font-size:14px}
  .search-section .at-lane li:not(:last-child)::after,.search-section .at-group li:not(:last-child)::after{content:" · ";color:var(--mute)}
  .search-page .at-page .ex-review{grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:start}
  .search-page .at-page .ex-phone{width:112px;padding:5px;border-radius:18px}
  .search-page .at-page .ex-phone .rgc-post{border-radius:13px}
  .search-page .at-page .ex-facts div{grid-template-columns:1fr;gap:1px;padding:6px 0;font-size:13px}
  .search-page .at-page .ex-chip{white-space:normal}
  .search-page .at-page .ex-button{margin-top:8px;padding:9px}
  .at-page .search-section{padding:26px 0}
  .at-page .at-fig{margin:16px 0 12px}
  .search-section .at-legend{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}
  .search-section .at-legend li{font-size:12.5px}
  .at-card summary{padding:10px 14px}
}
/* Long error codes (for example on /tiktok-api-audit) wrap instead of widening the page on a phone. */
.search-body samp{font-family:var(--mono);font-size:.92em;overflow-wrap:anywhere}

/* The example case that plays as a chat. One stylesheet for the console's "You're connected" screen and the
   homepage hero (see case-animation.mjs). It pictures a chat and real posts, which are light in every theme,
   so it carries its own colours. Fonts follow the page it sits on. */
.rg-case{--rgc-bg:#f4f2ed;--rgc-card:#fff;--rgc-ink:#151412;--rgc-soft:#6b665e;--rgc-line:#dedad2;--rgc-sunk:#ebe8e1;--rgc-go:#2f7d47;--rgc-hot:#ff5a1f;
  --rgc-display:var(--display,var(--rg-font-display,inherit));--rgc-mono:var(--mono,var(--rg-font-mono,ui-monospace,Menlo,monospace));--rgc-post:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  display:grid;gap:8px;justify-items:center;width:100%;font-size:14px;line-height:1.45}
.rgc-stage{position:relative;width:100%;height:var(--rgc-height,420px);border-radius:16px;background:var(--rgc-sunk);overflow:hidden;text-align:left;color:var(--rgc-ink);color-scheme:light}
.rgc-example{position:absolute;top:8px;right:8px;z-index:3;padding:4px 9px;border-radius:999px;background:var(--rgc-ink);color:#fff;font-family:var(--rgc-mono);font-size:10px;font-weight:500;line-height:1.2;letter-spacing:.08em;text-transform:uppercase}
/* By default the feed rests on the stage's bottom edge: the end of the finished story, with no script needed. */
.rgc-feed{position:absolute;inset:auto 0 0 0;padding:12px;display:grid;gap:10px;transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.rgc-live .rgc-feed{inset:0 0 auto 0}
.rgc-feed p{margin:0}
.rgc-live .rgc-beat{opacity:0;transform:translateY(12px);transition:opacity .4s ease,transform .4s ease}
.rgc-live .rgc-beat.rgc-on{opacity:1;transform:none}
.rgc-msg{max-width:90%;border-radius:14px;padding:9px 11px;font-size:12.5px;line-height:1.4}
.rgc-msg.rgc-agent{justify-self:start;background:var(--rgc-card);border:1px solid var(--rgc-line);border-bottom-left-radius:4px}
.rgc-msg.rgc-user{justify-self:end;background:var(--rgc-ink);color:#fff;border-bottom-right-radius:4px;font-weight:500}
.rgc-who{display:block;margin-bottom:3px;color:var(--rgc-soft);font-family:var(--rgc-mono);font-size:9.5px;font-weight:500;letter-spacing:.08em}

/* A post: a photo with the text and buttons a real TikTok or Reels post has. Sizes follow the post's own width. */
.rgc-post{position:relative;aspect-ratio:9/16;border-radius:9px;overflow:hidden;background:#1b1a18;container-type:inline-size;color:#fff}
.rgc-post .rgc-bg{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.rgc-post::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.28),transparent 26%,transparent 52%,rgba(0,0,0,.62))}
.rgc-post>*{z-index:1}
.rgc-post .rgc-tag{position:absolute;left:6cqw;top:6cqw;background:#fff;color:#111;font:800 5.4cqw/1 var(--rgc-post);font-style:normal;letter-spacing:.02em;padding:1.8cqw 2.6cqw;border-radius:1.4cqw}
.rgc-post .rgc-hook{position:absolute;left:6cqw;right:19cqw;top:33%;margin:0;font:800 9.4cqw/1.13 var(--rgc-post);letter-spacing:-.015em;color:#fff;-webkit-text-stroke:.9cqw #000;paint-order:stroke fill;text-shadow:0 .6cqw 1.6cqw rgba(0,0,0,.55)}
.rgc-post .rgc-rail{position:absolute;right:3.5cqw;bottom:17cqw;display:grid;gap:4.6cqw;justify-items:center;font:600 4.2cqw/1 var(--rgc-post)}
.rgc-post .rgc-rail span{display:grid;gap:1.2cqw;justify-items:center}
.rgc-post .rgc-rail svg{width:9.5cqw;height:9.5cqw;fill:#fff;filter:drop-shadow(0 .4cqw .8cqw rgba(0,0,0,.45))}
.rgc-post .rgc-meta{position:absolute;left:5.5cqw;right:19cqw;bottom:5.5cqw;font:500 4.6cqw/1.28 var(--rgc-post);text-shadow:0 .3cqw .8cqw rgba(0,0,0,.6)}
.rgc-post .rgc-meta b{display:block;font-weight:700;margin-bottom:.6cqw}
.rgc-post.rgc-small .rgc-hook{right:6cqw;top:30%;font-size:12.5cqw;-webkit-text-stroke-width:1.3cqw}
.rgc-post.rgc-small .rgc-tag{font-size:7.4cqw}
.rgc-post.rgc-yt .rgc-meta b::after{content:"Subscribe";margin-left:2.5cqw;background:#fff;color:#111;font-weight:700;font-size:3.9cqw;padding:.9cqw 2.2cqw;border-radius:4cqw;text-shadow:none}
.rgc-post.rgc-ig .rgc-meta b::after{content:"Follow";margin-left:2.5cqw;border:.35cqw solid #fff;font-weight:600;font-size:3.9cqw;padding:.7cqw 2cqw;border-radius:1.6cqw}

/* The post the person shares (one they saw doing well), shown like a shared TikTok */
.rgc-viral{display:flex;align-items:stretch;gap:10px;margin-top:8px;padding:6px;border:1px solid var(--rgc-line);border-radius:12px;background:var(--rgc-bg)}
.rgc-vthumb{position:relative;flex:none;width:62px;aspect-ratio:9/16;border-radius:8px;overflow:hidden;background:#1b1a18}
.rgc-vthumb img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.rgc-vthumb em{position:absolute;left:4px;bottom:4px;font:700 10px/1 var(--rgc-post);font-style:normal;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.7)}
.rgc-vinfo{display:grid;align-content:center;gap:3px;min-width:0}
.rgc-src{display:flex;align-items:center;gap:4px;font-size:10px;font-weight:500;line-height:1.45;color:var(--rgc-soft)}
.rgc-src svg{width:11px;height:11px;fill:currentColor}
.rgc-viral b{display:block;font-family:var(--rgc-display);font-size:20px;font-weight:600;line-height:1;letter-spacing:-.02em}
.rgc-capt{font-size:11px;line-height:1.3;color:var(--rgc-ink)}
.rgc-stats{font-size:10px;font-weight:500;line-height:1.45;color:var(--rgc-soft)}
.rgc-user .rgc-viral{color:var(--rgc-ink);font-weight:400}
/* The person's first message sits on the right, so it starts under the "Example" label, not behind it. */
.rgc-feed>.rgc-user:first-child{margin-top:22px}

.rgc-concepts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.rgc-cx{display:grid;gap:5px;transition:opacity .4s ease,transform .4s ease}
.rgc-cx .rgc-post{box-shadow:0 2px 8px rgba(21,20,18,.14);transition:box-shadow .3s ease}
.rgc-cx>p{font-size:10.5px;color:var(--rgc-soft);line-height:1.25}
.rgc-cx>p strong{color:var(--rgc-ink);font-weight:600}
.rgc-picked .rgc-cx:not(.rgc-cx-b){opacity:.4}
.rgc-picked .rgc-cx-b{transform:scale(1.04)}
.rgc-picked .rgc-cx-b .rgc-post{box-shadow:0 0 0 3px var(--rgc-hot),0 6px 14px rgba(21,20,18,.2)}

.rgc-weekcard{background:var(--rgc-card);border:1px solid var(--rgc-line);border-radius:14px;padding:10px;display:grid;gap:9px}
.rgc-lbl{color:var(--rgc-soft);font-family:var(--rgc-mono);font-size:9.5px;font-weight:500;line-height:1.45;letter-spacing:.08em}
.rgc-week{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.rgc-day{display:grid;gap:4px}
.rgc-day>span{color:var(--rgc-soft);font-family:var(--rgc-mono);font-size:9px;font-weight:500;line-height:1.45;letter-spacing:.06em;text-align:center}
.rgc-slot{position:relative;aspect-ratio:9/16;border-radius:8px;border:1.5px dashed #c9c4b9}
.rgc-slot .rgc-post{position:absolute;inset:-1.5px;aspect-ratio:auto;border-radius:8px}
.rgc-live .rgc-slot .rgc-post{opacity:0;transform:translateY(-16px) scale(.8);transition:opacity .35s ease,transform .35s cubic-bezier(.2,1.3,.4,1)}
.rgc-live .rgc-on .rgc-slot .rgc-post{opacity:1;transform:none}
.rgc-live .rgc-on .rgc-day:nth-child(2) .rgc-post{transition-delay:.18s}.rgc-live .rgc-on .rgc-day:nth-child(3) .rgc-post{transition-delay:.36s}
.rgc-live .rgc-on .rgc-day:nth-child(4) .rgc-post{transition-delay:.54s}.rgc-live .rgc-on .rgc-day:nth-child(5) .rgc-post{transition-delay:.72s}
.rgc-approve{position:relative;display:grid;place-items:center;height:42px;border-radius:999px;background:var(--rgc-ink);color:#fff;font-size:14.5px;font-weight:600;line-height:1.45;transition:background .25s ease,scale .15s ease,opacity .4s ease,transform .4s ease}
.rgc-approve .rgc-yes{display:none}
.rgc-approve.rgc-tap{scale:.96}
.rgc-approve.rgc-done{background:var(--rgc-go)}
.rgc-approve.rgc-done .rgc-ask{display:none}.rgc-approve.rgc-done .rgc-yes{display:inline}
.rgc-approve::after{content:"";position:absolute;right:22%;top:50%;width:26px;height:26px;margin-top:-13px;border-radius:50%;background:rgba(255,90,31,.9);box-shadow:0 0 0 7px rgba(255,90,31,.28);opacity:0;transform:translate(40px,30px);transition:opacity .3s ease,transform .5s ease}
.rgc-approve.rgc-aim::after{opacity:1;transform:none}
.rgc-approve.rgc-done::after{opacity:0}

.rgc-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.rgc-res{display:grid;gap:5px;justify-items:center}
.rgc-res .rgc-post{width:100%;box-sizing:border-box;border:3px solid var(--rgc-ink);border-radius:13px}
.rgc-net{display:flex;align-items:center;gap:4px;font-size:10.5px;font-weight:500;line-height:1.45}
.rgc-net svg{width:12px;height:12px;fill:currentColor}
.rgc-n{font-family:var(--rgc-display);font-size:19px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.rgc-res small{font-size:10px;color:var(--rgc-soft);margin-top:-3px}
/* A TikTok inbox draft has no numbers yet: the person posts it in TikTok. */
.rgc-draft{font-family:var(--rgc-display);font-size:14px;font-weight:600;line-height:1.35;color:#7a5a1c}
.rgc-fadeout .rgc-feed{opacity:0;transition:opacity .5s ease}

/* Pause sits under the picture; it follows the page's own text colour. */
.rgc-toggle{padding:4px 10px;border:1px solid currentColor;border-radius:999px;background:none;color:inherit;font:inherit;font-size:12px;font-weight:500;line-height:1.4;opacity:.72;cursor:pointer}
.rgc-toggle:hover{opacity:1}
.rgc-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px;opacity:1}
/* It keeps its space from the first paint, so nothing moves when the script starts. */
.rg-case:not(.rgc-live) .rgc-toggle{visibility:hidden}

/* Reduced motion: the whole conversation shows at once, as tall as it needs, and there is nothing to pause. */
@media (prefers-reduced-motion:reduce){
  .rgc-stage{height:auto}
  .rgc-feed{position:static;transition:none}
  .rgc-toggle{display:none}
}

/* The example case, wide: an agent app window with ReelGenie open beside the chat. The homepage hero only
   (see caseWindowMarkup in case-animation.mjs). It is loaded with case-animation.css and reuses that file's
   posts (.rgc-post), viral card (.rgc-viral) and Pause button (.rgc-toggle); everything else is under .rgw.
   It pictures two apps, light in every theme, so it carries its own colours. Fonts follow the page. */
.rgw{--rgw-bg:#faf9f6;--rgw-side:#f3f1ec;--rgw-line:#e4e1da;--rgw-ink:#1c1b19;--rgw-soft:#77736c;--rgw-faint:#a39f97;--rgw-go:#2f7d47;
  width:100%;min-width:0;box-sizing:border-box;border:1px solid #d6d2ca;border-radius:12px;background:var(--rgw-bg);color:var(--rgw-ink);overflow:hidden;color-scheme:light;
  box-shadow:0 30px 70px -30px rgba(20,18,14,.45),0 1px 3px rgba(20,18,14,.08);font-size:13.5px;line-height:1.5;text-align:left}
.rgw p{margin:0}
.rgw-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;height:38px;padding:0 13px;border-bottom:1px solid var(--rgw-line);background:var(--rgw-side)}
.rgw-dots{display:flex;gap:8px}
.rgw-dots i{width:12px;height:12px;border-radius:50%}
.rgw-dots i:nth-child(1){background:#ff5f57}.rgw-dots i:nth-child(2){background:#febc2e}.rgw-dots i:nth-child(3){background:#28c840}
.rgw-title{font-size:12.5px;font-weight:500;color:var(--rgw-soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rgw-example{justify-self:end;padding:3px 8px;border-radius:999px;background:var(--rgw-ink);color:#fff;font-family:var(--rgc-mono);font-size:10px;font-weight:500;line-height:1.2;letter-spacing:.08em;text-transform:uppercase}
/* The height is fixed, so the page keeps its shape before the script and the pictures arrive. */
.rgw-body{display:grid;grid-template-columns:196px minmax(0,1fr) minmax(0,388px);height:644px}

/* Sessions */
.rgw-side{background:var(--rgw-side);border-right:1px solid var(--rgw-line);padding:10px 8px;display:flex;flex-direction:column;gap:2px;font-size:12.5px;min-width:0}
.rgw-new{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:7px;font-weight:500}
.rgw-new b{width:18px;height:18px;border-radius:50%;background:var(--rgw-ink);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:400;line-height:1}
.rgw-find{margin:4px 0 6px;padding:6px 9px;border-radius:7px;background:#e9e6df;color:var(--rgw-faint);font-size:12px}
.rgw-grp{padding:8px 8px 3px;font-size:11px;color:var(--rgw-faint)}
.rgw-ses{display:flex;justify-content:space-between;gap:8px;padding:6px 8px;border-radius:7px;color:#55524c}
.rgw-ses span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rgw-ses time{color:var(--rgw-faint);font-size:11px;flex:none}
.rgw-ses.rgw-on{background:#e6e3dc;color:var(--rgw-ink);font-weight:500}
.rgw-me{margin-top:auto;display:flex;align-items:center;gap:8px;padding:9px 8px 2px;border-top:1px solid var(--rgw-line);font-size:12px}
.rgw-me i{width:22px;height:22px;border-radius:50%;background:#c7b299;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:600;font-style:normal}

/* Chat */
.rgw-chat{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0}
.rgw-path{display:flex;align-items:center;gap:8px;height:36px;padding:0 18px;border-bottom:1px solid var(--rgw-line);font-family:var(--rgc-mono);font-size:11.5px;color:var(--rgw-soft);white-space:nowrap}
.rgw-path b{font-weight:500;color:var(--rgw-ink)}
.rgw-path em{margin-left:auto;font-style:normal;display:flex;align-items:center;gap:6px}
.rgw-path em i{width:6px;height:6px;border-radius:50%;background:var(--rgw-go)}
.rgw-scroll{position:relative;overflow:hidden}
/* By default the chat rests with its newest line at the bottom edge (or at the top while it is short), with no script needed. */
.rgw-feed{position:absolute;inset:auto 0 0 0;min-height:100%;box-sizing:border-box;padding:18px 20px 12px;display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:14px;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
/* While it plays the script moves it instead, so a new line glides in. */
.rgc-live .rgw-feed{inset:0 0 auto 0;min-height:0}
.rgw-beat{display:none}
.rgw-beat.rgw-on{display:grid}
.rgw-call.rgw-beat.rgw-on{display:flex}
.rgw-beat.rgw-in,.rgw-view.rgw-in,.rgw-approve.rgw-show{animation:rgwIn .3s ease both}
@keyframes rgwIn{from{opacity:0;transform:translateY(6px)}}
.rgw-say{font-size:13.5px;line-height:1.55}
.rgw-think{font-size:12px;color:var(--rgw-faint)}
.rgw-call{align-items:center;gap:8px;font-family:var(--rgc-mono);font-size:11.5px;color:var(--rgw-soft);border:1px solid var(--rgw-line);border-radius:8px;padding:6px 9px;background:#fff}
.rgw-call>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rgw-call b{font-weight:500;color:var(--rgw-ink)}
.rgw-call .rgw-x{color:var(--rgw-faint)}
.rgw-call small{margin-left:auto;color:var(--rgw-faint);font-size:10.5px;visibility:hidden}
.rgw-call.rgw-ok small{visibility:visible}
.rgw-st{width:13px;height:13px;box-sizing:border-box;border-radius:50%;border:1.6px solid #cfcbc3;border-top-color:var(--rgw-soft);animation:rgwSpin .7s linear infinite;flex:none}
.rgw-ok .rgw-st{border:0;background:var(--rgw-go);animation:none;position:relative}
.rgw-ok .rgw-st::after{content:"";position:absolute;left:4px;top:2.5px;width:3.5px;height:6px;border:solid #fff;border-width:0 1.6px 1.6px 0;transform:rotate(40deg)}
@keyframes rgwSpin{to{transform:rotate(360deg)}}
/* Paused by the person: the spinner and any fade stop where they are. */
.rgw-paused .rgw,.rgw-paused .rgw *,.rgw-paused .rgw *::after{animation-play-state:paused}
.rgw-user{justify-self:end;max-width:78%;background:#ebe8e1;border-radius:16px;padding:8px 13px}
/* The person shares a post they saw: their words, then the post, on the right. */
.rgw-share.rgw-on{justify-items:end;gap:8px}
.rgw .rgc-vthumb{width:52px}
.rgw .rgc-viral{max-width:310px;margin-top:0;background:#fff}
.rgw-concepts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:400px}
.rgw-cx{display:grid;gap:6px;transition:opacity .35s ease}
.rgw-cx .rgc-post{box-shadow:0 2px 8px rgba(20,18,14,.14);transition:box-shadow .25s ease}
.rgw-cx p{font-size:11.5px;color:var(--rgw-soft)}
.rgw-cx p strong{color:var(--rgw-ink)}
.rgw-picked .rgw-cx:not(.rgw-cx-b){opacity:.4}
.rgw-picked .rgw-cx-b .rgc-post{box-shadow:0 0 0 2.5px var(--rgw-ink),0 8px 18px rgba(20,18,14,.2)}
.rgw-compose{margin:0 16px 14px;border:1px solid #d9d5cd;border-radius:14px;background:#fff;padding:10px 10px 8px 14px;display:grid;gap:9px;box-shadow:0 1px 2px rgba(20,18,14,.04)}
.rgw-type{color:var(--rgw-faint);min-height:20px}
.rgw-type.rgw-typed{color:var(--rgw-ink)}
.rgw-tools{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--rgw-soft);white-space:nowrap}
.rgw-plus{width:24px;height:24px;box-sizing:border-box;border-radius:7px;border:1px solid var(--rgw-line);display:grid;place-items:center;font-size:15px;line-height:1}
.rgw-send{margin-left:auto;width:26px;height:26px;border-radius:8px;background:#d9d5cd;color:#fff;display:grid;place-items:center;font-size:13px;transition:background .2s}
.rgw-send.rgw-hot{background:var(--rgw-ink)}

/* ReelGenie on the right: the product's own look */
.rgw-pane{border-left:1px solid var(--rgw-line);background:#f4f2ed;display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0}
.rgw-ph{display:flex;align-items:center;gap:14px;height:44px;padding:0 14px;border-bottom:1px solid #e1ddd4;background:#fff}
.rgw-brand{display:flex;align-items:center;gap:7px;font-family:var(--rgc-display);font-size:13.5px;font-weight:600}
.rgw-brand img{width:18px;height:18px}
.rgw-tabs{display:flex;gap:12px;margin-left:auto;font-size:12px;color:var(--rgw-soft)}
.rgw-tabs span{padding:12px 0;border-bottom:2px solid transparent}
.rgw-tabs span.rgw-on{color:var(--rgw-ink);font-weight:500;border-bottom-color:var(--rgw-ink)}
.rgw-views{position:relative;overflow:hidden}
.rgw-view{position:absolute;inset:0;padding:16px 14px;display:none;grid-template-columns:minmax(0,1fr);align-content:start;gap:12px}
.rgw-view.rgw-on{display:grid}
.rgw-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.rgw-top b{font-family:var(--rgc-display);font-size:16px;font-weight:600;line-height:1.2;letter-spacing:-.01em}
.rgw-pill{font-family:var(--rgc-mono);font-size:10.5px;font-weight:500;letter-spacing:.04em;border-radius:999px;padding:4px 9px;background:#f3e6cf;color:#7a5a1c;border:1px solid #e6d3ad;white-space:nowrap}
.rgw-pill.rgw-idle{background:#efede7;color:#77736c;border-color:#e1ddd4}
.rgw-pill.rgw-go{background:#e3f1e7;color:#23633a;border-color:#c4e0cc}
.rgw-card{background:#fff;border:1px solid #e1ddd4;border-radius:16px;padding:12px;display:grid;gap:10px}
.rgw-week{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.rgw-day{display:grid;gap:5px;justify-items:center}
.rgw-d{font-size:10.5px;color:var(--rgw-soft)}
.rgw-d b{color:var(--rgw-ink);font-weight:600}
.rgw-slot{position:relative;width:100%;box-sizing:border-box;aspect-ratio:9/16;border-radius:8px;border:1.5px dashed #d3cec4;background:#faf8f4}
.rgw-slot .rgc-post{position:absolute;inset:-1.5px;aspect-ratio:auto;border-radius:8px;opacity:0;transform:translateY(-14px) scale(.86);transition:opacity .3s ease,transform .34s cubic-bezier(.2,1.25,.4,1)}
.rgw-ck{position:absolute;right:-5px;top:-5px;width:17px;height:17px;box-sizing:border-box;border-radius:50%;background:var(--rgw-go);border:2px solid #fff;opacity:0;transform:scale(.4);transition:opacity .25s,transform .25s;z-index:2}
.rgw-ck::after{content:"";position:absolute;left:4.5px;top:2px;width:3.5px;height:6.5px;box-sizing:content-box;border:solid #fff;border-width:0 1.7px 1.7px 0;transform:rotate(40deg)}
.rgw-filled .rgw-slot .rgc-post{opacity:1;transform:none}
.rgw-filled .rgw-day:nth-child(2) .rgc-post{transition-delay:.16s}.rgw-filled .rgw-day:nth-child(3) .rgc-post{transition-delay:.32s}
.rgw-filled .rgw-day:nth-child(4) .rgc-post{transition-delay:.48s}.rgw-filled .rgw-day:nth-child(5) .rgc-post{transition-delay:.64s}
.rgw-approved .rgw-ck{opacity:1;transform:none}
.rgw-approved .rgw-day:nth-child(2) .rgw-ck{transition-delay:.08s}.rgw-approved .rgw-day:nth-child(3) .rgw-ck{transition-delay:.16s}
.rgw-approved .rgw-day:nth-child(4) .rgw-ck{transition-delay:.24s}.rgw-approved .rgw-day:nth-child(5) .rgw-ck{transition-delay:.32s}
.rgw-t{font-size:10px;color:var(--rgw-soft)}
.rgw-nets{display:flex;gap:4px;color:var(--rgw-soft)}
.rgw-nets svg{width:10px;height:10px;fill:currentColor}
.rgw-foot{font-size:11.5px;color:var(--rgw-soft)}
.rgw-approve{position:relative;display:none;place-items:center;height:44px;border-radius:999px;background:var(--rgw-ink);color:#fff;font-size:14.5px;font-weight:600;transition:background .2s ease,scale .12s ease}
.rgw-approve.rgw-show{display:grid}
.rgw-approve .rgw-yes{display:none}
.rgw-approve.rgw-tap{scale:.97}
.rgw-approve.rgw-done{background:var(--rgw-go)}
.rgw-approve.rgw-done .rgw-ask{display:none}.rgw-approve.rgw-done .rgw-yes{display:inline}
.rgw-cur{position:absolute;left:0;top:0;width:16px;height:22px;z-index:5;opacity:0;pointer-events:none;transition:transform .8s cubic-bezier(.3,.1,.2,1),opacity .25s}
.rgw-cur svg{display:block;width:100%;height:100%;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
/* Results: one post, a row per account */
.rgw-post{display:grid;grid-template-columns:74px minmax(0,1fr);gap:12px;align-items:start}
.rgw-post .rgc-post{border-radius:9px}
.rgw-post b{display:block;margin-bottom:3px;font-family:var(--rgc-display);font-size:13.5px;font-weight:600;line-height:1.3}
.rgw-post p{font-size:11.5px;color:var(--rgw-soft)}
.rgw-rows{display:grid}
.rgw-row{display:grid;grid-template-columns:16px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 0;border-top:1px solid #ece8e0;font-size:12px}
.rgw-row>svg{width:14px;height:14px;fill:var(--rgw-ink)}
.rgw-who b{display:block;font-size:12px;font-weight:500}
.rgw-who span{font-size:10.5px;color:var(--rgw-go)}
/* A TikTok inbox draft: no numbers until the person posts it in TikTok. */
.rgw-draft .rgw-who span{color:#8a6420}
.rgw-nm{text-align:right}
.rgw-nm b{display:block;font-family:var(--rgc-display);font-size:16px;font-weight:600;line-height:1.1;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.rgw-nm span{font-size:10.5px;color:var(--rgw-soft);font-variant-numeric:tabular-nums}
.rgw-nm i{font-style:normal}

@media (max-width:980px){
  .rgw-body{grid-template-columns:minmax(0,1fr) minmax(0,340px)}
  .rgw-side{display:none}
}
@media (max-width:700px){
  /* The chat keeps a fixed height; ReelGenie below it is as tall as its taller view, so neither view is cut off or leaves a gap. */
  .rgw-body{grid-template-columns:minmax(0,1fr);grid-template-rows:480px auto;height:auto}
  .rgw-pane{border-left:0;border-top:1px solid var(--rgw-line)}
  .rgw-bar{grid-template-columns:auto minmax(0,1fr) auto}
  /* The opening frame fits the shorter chat, so the agent's first message is in view: no tool row, a smaller shared post and ideas. */
  .rgw-call.rgw-beat[data-s="2"]{display:none}
  .rgw-feed{padding:14px 14px 12px;gap:12px}
  .rgw .rgc-vthumb{width:30px}
  .rgw .rgc-viral b{font-size:17px}
  .rgw .rgc-stats{display:none}
  .rgw-concepts{gap:7px;max-width:196px}
  /* Both views take the same cell and only their visibility changes; the button keeps its space before it appears. */
  .rgw-views{display:grid}
  .rgw-view{position:static;grid-area:1/1;display:grid;visibility:hidden;padding-bottom:14px}
  .rgw-view.rgw-on{visibility:visible}
  .rgw-approve{display:grid;visibility:hidden}
  .rgw-view.rgw-on .rgw-approve.rgw-show{visibility:visible}
  .rgw-day{align-content:start}
  .rgw-d,.rgw-t{white-space:nowrap;font-size:9.5px}
  .rgw-week{gap:4px;align-items:start}
  .rgw-tabs span:first-child{display:none}
  .rgw-post{grid-template-columns:50px minmax(0,1fr)}
  .rgw-row{padding:7px 0}
}
/* Reduced motion: the script shows the finished story and nothing moves, spins or fades in. */
@media (prefers-reduced-motion:reduce){
  .rgw-feed,.rgw-cx,.rgw-slot .rgc-post,.rgw-ck,.rgw-cur{transition:none}
  .rgw-beat.rgw-in,.rgw-view.rgw-in,.rgw-approve.rgw-show,.rgw-st{animation:none}
}

/* Comparison pages only (/compare and /compare/*). Linked from those pages, never from shared styles.
   Uses the colour tokens from public.css, so it follows light and dark with the rest of the page.
   The demo is the homepage's example case (design-system/case-animation, the wide window), which
   carries its own light colours in every theme. */

/* Hero: the reason to switch in one line, then two ways to start. */
.search-hero .cmp-switch{max-width:640px;margin:18px auto 0;padding:10px 16px;border:1px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);font-size:15px;line-height:1.5;text-align:left}
.search-hero .cmp-switch strong{font-weight:600}
.cmp-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:18px}
.cmp-actions .button{margin:0}
.search-hero .cmp-actions + .fine-print{margin-top:12px}
.guide-index > header .cmp-actions{justify-content:flex-start}

/* The demo: four steps, then the example window playing them. */
.cmp-demo{margin-top:clamp(28px,5vw,48px);margin-bottom:clamp(28px,5vw,56px)}
.cmp-demo > h2{margin:0 0 6px;font:700 clamp(24px,3.2vw,32px)/1.15 var(--display);letter-spacing:-.02em;text-align:center}
.cmp-demo > p{max-width:620px;margin:0 auto 18px;color:var(--mute);text-align:center}
.cmp-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:1070px;margin:0 auto 18px;padding:0;list-style:none;counter-reset:cmp}
.cmp-flow li{counter-increment:cmp;display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--card);font-size:14px;line-height:1.4}
.cmp-flow li::before{content:counter(cmp);flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--ink);color:var(--paper);font:600 12px/1 var(--mono)}
.cmp-flow b{display:block;font-weight:600}
.cmp-flow span{color:var(--mute)}
.cmp-demo .rg-case{max-width:1070px;margin:0 auto}
.cmp-demo .rgc-toggle{display:block;margin:10px auto 0;padding:4px 12px;border:1px solid var(--line-2);border-radius:999px;color:var(--ink-2);background:var(--card);opacity:1;font:500 13px var(--sans);cursor:pointer}
.cmp-demo figcaption{margin-top:8px;color:var(--mute);font-size:13px;text-align:center}

/* Who should switch, and who should stay: two cards side by side. */
.cmp-choose{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.cmp-choose > div{padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:var(--card)}
.cmp-choose > div.cmp-go{border-color:var(--ok);box-shadow:inset 0 3px 0 var(--ok)}
.cmp-choose h3{margin:0 0 8px;font-size:17px}
.cmp-choose ul{margin:0;padding-left:20px}
.cmp-choose li + li{margin-top:6px}

/* Switching steps. */
.cmp-steps{margin:14px 0 0;padding:0;list-style:none;counter-reset:step;display:grid;gap:10px}
.cmp-steps li{counter-increment:step;position:relative;margin:0;padding:12px 14px 12px 52px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.cmp-steps li::before{content:counter(step);position:absolute;left:14px;top:12px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--ink);color:var(--paper);font:600 13px/1 var(--mono)}
.cmp-steps b{display:block}

/* A call to start, after the table and at the end. */
.cmp-cta{margin:28px 0;padding:clamp(18px,3vw,28px);border-radius:20px;background:var(--ink);color:var(--paper);text-align:center}
.cmp-cta h2,.cmp-cta p.cmp-cta-title{margin:0 0 6px;color:var(--paper);font:700 clamp(20px,2.6vw,26px)/1.2 var(--display);letter-spacing:-.01em}
.cmp-cta p{margin:0 auto;max-width:560px;color:var(--paper);opacity:.85}
.cmp-cta .cmp-actions{margin-top:14px}
.cmp-cta .button-blue{background:var(--paper);color:var(--ink)}
.cmp-cta .button-outline{background:transparent;color:var(--paper);border-color:color-mix(in srgb,var(--paper) 45%,transparent)}
.cmp-cta .button-outline:hover{background:color-mix(in srgb,var(--paper) 12%,transparent)}

/* Hub: pick by what you need. */
.cmp-pick{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;margin-top:14px;padding:0;list-style:none}
/* Beat the shared list indent (.search-section ul/ol) for the card lists. */
.search-section .cmp-pick,.search-section .cmp-steps{padding:0}
.cmp-pick li{margin:0;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.cmp-pick b{display:block;margin-bottom:4px}

@media (max-width:860px){
  .cmp-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .cmp-flow,.cmp-choose{grid-template-columns:1fr}
  .cmp-actions .button{width:100%}
  .search-hero .cmp-switch{font-size:14px}
}

/* The one look every public page shares. public-layout.mjs adds this file to every page it renders:
   the homepage and /try (landing-home.css), and the guides, pricing, compare and policy pages
   (landing.css, search-pages.css). Colours and fonts are defined here once, light and dark;
   the page stylesheets only read them. The header, footer, cookie banner and buttons are here too. */
@font-face{font-family:"Geist";src:url("/design-system/fonts/rg-geist.woff2") format("woff2");font-style:normal;font-weight:100 900;font-display:swap}
/* Headings only use weight 700, so pages load a static 700 cut of Bricolage (22 KB) instead of the variable font (41 KB). */
@font-face{font-family:"RG Display";src:url("/design-system/fonts/rg-bricolage-700.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}

:root{
  --paper:#F5F3EE; --paper-2:#ECE9E1; --card:#FFFFFF; --ink:#111110; --ink-2:#3B3A36; --mute:#67655D; --line:rgba(17,17,16,.10); --line-2:rgba(17,17,16,.16);
  --signal:#FF5A1F; --signal-ink:#FFFFFF; --signal-soft:rgba(255,90,31,.12);
  /* The accent for small text and focus rings: the orange itself is too light to read on paper. */
  --signal-text:#C2410C;
  /* Large orange words in headings: #FF5A1F was 2.81:1 on the page colour; this meets 3:1 for large text (owner, 2026-11-17, #449). */
  --signal-display:#EC501A;
  --ok:#0F7F3D; --ok-soft:rgba(19,154,75,.12); --wait:#8F5C00; --wait-soft:rgba(214,140,0,.14); --bad:#BF2A30; --bad-soft:rgba(217,58,63,.11); --plan:#3352C4; --plan-soft:rgba(62,99,221,.11);
  --phone:#0E0E0D; --screen:#FFFFFF; --screen-ink:#111; --screen-mute:#6F6E69; --screen-line:#ECEAE4;
  --shadow:0 1px 0 rgba(255,255,255,.6) inset, 0 30px 80px -30px rgba(0,0,0,.35), 0 8px 24px -12px rgba(0,0,0,.18);
  --code:#16161A; --code-ink:#E9E7E1;
  --r-s:10px; --r-m:18px; --r-l:28px;
  --display:"RG Display",ui-sans-serif,system-ui,sans-serif; --sans:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; --mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace; --serif:"Instrument Serif",ui-serif,Georgia,serif;
  /* Older names that a few pages' own <style> blocks still read. */
  --rg-surface:var(--card); --rg-text:var(--ink); --rg-text-muted:var(--mute); --rg-border:var(--line-2); --rg-accent:var(--signal-text);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --paper:#0C0C0B; --paper-2:#151513; --card:#181816; --ink:#F3F1EA; --ink-2:#C9C6BC; --mute:#8D8A80; --line:rgba(243,241,234,.09); --line-2:rgba(243,241,234,.16);
    --signal:#FF6A33; --signal-soft:rgba(255,106,51,.16); --signal-text:#FF6A33; --signal-display:#FF6A33; --ok:#3DD17E; --ok-soft:rgba(61,209,126,.14); --wait:#F2B33D; --wait-soft:rgba(242,179,61,.15); --bad:#FF6B6F; --bad-soft:rgba(255,107,111,.14); --plan:#7C9CFF; --plan-soft:rgba(124,156,255,.15);
    --shadow:0 0 0 1px rgba(255,255,255,.06), 0 40px 90px -30px rgba(0,0,0,.8); --code:#111113; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --paper:#0C0C0B; --paper-2:#151513; --card:#181816; --ink:#F3F1EA; --ink-2:#C9C6BC; --mute:#8D8A80; --line:rgba(243,241,234,.09); --line-2:rgba(243,241,234,.16);
  --signal:#FF6A33; --signal-soft:rgba(255,106,51,.16); --signal-text:#FF6A33; --signal-display:#FF6A33; --ok:#3DD17E; --ok-soft:rgba(61,209,126,.14); --wait:#F2B33D; --wait-soft:rgba(242,179,61,.15); --bad:#FF6B6F; --bad-soft:rgba(255,107,111,.14); --plan:#7C9CFF; --plan-soft:rgba(124,156,255,.15);
  --shadow:0 0 0 1px rgba(255,255,255,.06), 0 40px 90px -30px rgba(0,0,0,.8); --code:#111113; color-scheme:dark;
}

a:focus-visible,button:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--signal-text);outline-offset:3px;border-radius:6px}
.skip-link{position:absolute;top:-100px;left:16px;z-index:100;padding:10px 14px;border-radius:10px;background:var(--card);color:var(--ink);border:1px solid var(--line-2);text-decoration:none}
.skip-link:focus{top:12px}

/* Buttons: the main one is a black pill (white in dark), the second one is white with a hairline. */
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 22px;border:1px solid transparent;border-radius:999px;font:500 16px/1.2 var(--sans);text-decoration:none;cursor:pointer;transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s,box-shadow .2s}
.button:active{transform:scale(.98)}
.button-blue,.button-dark{background:var(--ink);color:var(--paper)}
.button-blue:hover,.button-dark:hover{box-shadow:0 10px 30px -10px rgba(0,0,0,.45)}
.button-outline{background:var(--card);color:var(--ink);border-color:var(--line-2)}
.button-outline:hover{background:var(--paper-2)}
.button-small{min-height:38px;padding:0 16px;gap:8px;font-size:14px}

/* Header */
.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:28px;width:100%;max-width:none;height:64px;min-height:0;margin:0;padding:0 max(16px,calc((100% - 1180px) / 2));border:0;border-bottom:1px solid transparent;backdrop-filter:saturate(1.6) blur(14px);-webkit-backdrop-filter:saturate(1.6) blur(14px);background:color-mix(in srgb,var(--paper) 78%,transparent);color:var(--ink);font-family:var(--sans);line-height:1.55;transition:border-color .3s}
.site-header.scrolled{border-color:var(--line)}
.site-header a,.site-footer a{color:inherit;text-decoration:none}
.site-header .brand,.site-footer .brand{display:flex;align-items:center;gap:10px;font:600 18px/1 var(--sans);letter-spacing:-.02em;white-space:nowrap}
.site-header .brand img,.site-footer .brand img{display:block;width:30px;height:30px;flex:none}
.site-header .nav-pill{display:flex;gap:26px;font-size:15px;color:var(--ink-2)}
.site-header .nav-pill a:hover,.site-header .login-link:hover{color:var(--ink)}
.site-header .header-actions{display:flex;align-items:center;gap:16px;margin-left:auto}
.site-header .login-link{font-size:15px;color:var(--ink-2)}
.site-header .button{min-width:0;height:38px;border:0;background:var(--ink);color:var(--paper);font:500 14px var(--sans)}
/* The light and dark switch needs the script in the page head, so it only shows once that has run. */
.site-header .theme-t{display:none;place-items:center;width:38px;height:38px;padding:0;border:1px solid var(--line-2);border-radius:50%;background:none;color:var(--ink);cursor:pointer}
.js .site-header .theme-t{display:grid}
.site-header .theme-t svg{width:16px;height:16px}

/* Footer */
.site-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:24px 40px;width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 48px;border:0;border-top:1px solid color-mix(in srgb,var(--paper) 12%,transparent);background:var(--ink);box-shadow:0 0 0 100vmax var(--ink);clip-path:inset(0 -100vmax);color:color-mix(in srgb,var(--paper) 60%,transparent);font:400 14px/1.55 var(--sans)}
.site-footer .brand{color:var(--paper);margin-bottom:12px}
.site-footer p{margin:4px 0 0;color:inherit;font-size:14px;line-height:1.55}
.site-footer nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 24px;max-width:560px;color:inherit}
.site-footer a:hover,.site-footer [data-analytics-settings]:hover{color:var(--paper)}
.site-footer [data-analytics-settings]{padding:0;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
.site-footer :focus-visible{outline-color:var(--paper)}

/* Cookie banner */
.analytics-choice{position:fixed;bottom:16px;left:16px;right:16px;max-width:660px;margin:auto;z-index:80;padding:18px 22px;background:var(--card);color:var(--ink);border:1px solid var(--line-2);border-radius:18px;box-shadow:var(--shadow);font:400 14px/1.5 var(--sans)}
.analytics-choice[hidden]{display:none}
.analytics-choice p{margin:0 0 12px;color:var(--ink-2);font-size:inherit;line-height:inherit}
.analytics-choice a{color:var(--ink);text-decoration:underline}
.analytics-choice>div{display:flex;gap:12px;justify-content:flex-end}
.analytics-choice .button{min-height:40px;padding:0 18px;border:1px solid var(--line-2);background:none;color:var(--ink);font:500 14px var(--sans)}
.analytics-choice .button-blue{background:var(--ink);color:var(--paper);border-color:transparent}
.analytics-choice-short{display:none}

@media (max-width:900px){
  .site-header .nav-pill{display:none}
}
@media(max-width:640px){.analytics-choice{bottom:0;left:0;right:0;max-width:none;border-width:1px 0 0;border-radius:14px 14px 0 0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));font-size:13px;line-height:18px}.analytics-choice p{margin:0 0 8px;line-height:18px}.analytics-choice-full{display:none}.analytics-choice-short{display:inline}.analytics-choice>div{gap:8px}.analytics-choice>div button.button{flex:1;min-height:40px;padding-block:0}
  .site-header{gap:12px}
  .site-header .login-link,.js .site-header .theme-t{display:none}
  .site-footer nav{justify-content:flex-start}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
