@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}
}

/* Example pictures for guide pages. They tell the homepage's made-up story (the Dawn sleep app) with the post tiles
   that /case-animation.css draws (.rgc-post), on the same white card the homepage uses, light and dark.
   Every block is role="img" with a label that starts "Example:" and carries a visible Example badge.
   Made-up numbers stay inside these blocks. */
.search-page .ex-vis{--rgc-post:var(--sans);--ex-line:var(--line);--ex-soft:var(--ink-2);display:grid;gap:14px;margin:28px 0 10px;padding:20px;background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 50px -34px rgba(20,18,14,.4);color:var(--ink);font-size:14px;line-height:1.45;text-align:left;min-width:0}
.search-page .search-hero .ex-vis{margin:36px auto 0;max-width:860px}
.search-page .ex-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}
.search-page .ex-head b{font-size:17px;font-weight:600;letter-spacing:-.02em}
.search-page .ex-head>span:not([class]){color:var(--mute);font-size:13px}
.search-page .ex-badge{display:inline-flex;align-items:center;padding:4px 9px;border-radius:999px;background:var(--paper-2);color:var(--mute);font:500 10.5px/1.2 var(--mono);letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.search-page .ex-chip{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;font:500 11px/1.2 var(--mono);white-space:nowrap}
.search-page .ex-chip::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
/* A lighter green tint than the homepage chip, so the small label passes contrast. */
.search-page .ex-chip.ok{color:var(--ok);background:color-mix(in srgb,var(--ok) 7%,transparent)}
.search-page .ex-chip.wait{color:var(--wait);background:var(--wait-soft)}
.search-page .ex-chip.plan{color:var(--plan);background:var(--plan-soft)}
/* The page's paragraph rules are stronger than the tile's own, so the tile text is restated here. */
.search-page .ex-vis .rgc-post .rgc-hook{margin:0;font:800 9.4cqw/1.13 var(--rgc-post);color:#fff}
.search-page .ex-vis .rgc-post.rgc-small .rgc-hook{font-size:12.5cqw}
.search-page .ex-vis .rgc-post{width:100%}
.search-page .ex-tiles{display:grid;grid-template-columns:repeat(var(--ex-cols,3),minmax(0,1fr));gap:12px}
.search-page .ex-tiles.ex-six{--ex-cols:6}
.search-page .ex-tiles:not(.ex-six){max-width:600px}
.search-page .ex-tiles figure{margin:0;min-width:0}
.search-page .ex-tiles figcaption{margin-top:8px;color:var(--ex-soft);font-size:12.5px;line-height:1.4}
.search-page .ex-tiles figcaption b{display:block;color:var(--ink);font-weight:600}
.search-page .ex-pick .rgc-post{box-shadow:0 0 0 3px var(--ink)}
/* A slide that shows the app's own screen instead of a photo. */
.search-page .ex-screen{position:absolute;inset:0;display:grid;align-content:center;gap:5cqw;padding:9cqw 8cqw;background:linear-gradient(170deg,#1d2440,#0f1226 60%,#2a1c3a)}
.search-page .ex-screen i{display:block;font:700 7.4cqw/1.2 var(--rgc-post);font-style:normal;color:#fff}
.search-page .ex-screen span{display:block;padding:5cqw;border-radius:5cqw;background:rgba(255,255,255,.1);border:.4cqw solid rgba(255,255,255,.16);font:500 6.2cqw/1.3 var(--rgc-post);color:#e7e6ee}
.search-page .ex-screen span b{display:block;font-size:11cqw;line-height:1.1;color:#fff}
.search-page .ex-vis .rgc-post.ex-app::after{display:none}
/* Review: a phone with the first slide, beside what will be sent. */
.search-page .ex-review{display:grid;grid-template-columns:minmax(0,210px) minmax(0,1fr);gap:20px;align-items:center}
.search-page .ex-phone{padding:8px;border-radius:26px;background:var(--phone);box-shadow:0 0 0 1.5px #2a2a28 inset}
.search-page .ex-phone .rgc-post{border-radius:19px}
.search-page .ex-dots{display:flex;justify-content:center;gap:5px;padding:8px 0 2px}
.search-page .ex-dots i{width:6px;height:6px;border-radius:50%;background:#4a4a46}
.search-page .ex-dots i:first-child{background:#f3f1ea}
.search-page .ex-facts{display:grid;gap:0;margin:0}
.search-page .ex-facts div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;padding:10px 0;border-top:1px solid var(--ex-line);font-size:13.5px}
.search-page .ex-facts div:first-child{border-top:0}
.search-page .ex-facts dt{color:var(--ex-soft)}
.search-page .ex-facts dd{margin:0;color:var(--ink)}
.search-page .ex-button{display:block;padding:11px;border-radius:999px;background:var(--ink);color:var(--paper);text-align:center;font-size:14.5px;font-weight:600}
/* Rows: one post or one account per line. */
.search-page .ex-row .rgc-tag,.search-page .ex-row .rgc-hook{display:none}
.search-page .ex-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;align-items:center;padding-top:12px;border-top:1px solid var(--ex-line)}
.search-page .ex-row.ex-thumb{grid-template-columns:46px minmax(0,1fr) auto}
.search-page .ex-row .rgc-post{border-radius:6px}
.search-page .ex-row b{display:block;font-size:14px;font-weight:600}
.search-page .ex-row span:not(.ex-chip){color:var(--ex-soft);font-size:12.5px}
.search-page .ex-n{text-align:right}
.search-page .ex-n b{font:700 19px/1.1 var(--display);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.search-page .ex-note{color:var(--mute);font-size:13px}
/* A prompt the reader can copy gets its button from /search-polish.js; both are styled in /search-pages.css. */
.search-page .worked-steps>h3{margin:40px 0 12px}
.search-page .format-list{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:16px}
.search-page .format-list>li{display:grid;grid-template-columns:104px minmax(0,1fr);gap:20px;align-items:center;padding:16px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.search-page .format-list .ex-vis{margin:0;padding:0;border:0;background:none;gap:6px;justify-items:center}
.search-page .format-list h3{margin:0 0 6px}
.search-page .format-list p{margin:0}
.search-page .format-list .format-hook{margin-top:8px;color:var(--ink)}
.search-page .idea-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}
.search-page .idea-groups>div{padding:20px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.search-page .idea-groups h3{margin:0 0 10px;font-size:18px}
.search-page .idea-groups ul{margin:0;padding-left:20px}
.search-page .idea-groups li{margin:6px 0}
@media(max-width:760px){
.search-page .ex-vis{padding:14px}
.search-page .ex-tiles{gap:8px}
.search-page .ex-tiles.ex-wrap{grid-template-columns:repeat(3,minmax(0,1fr))}
.search-page .ex-tiles figcaption{font-size:11.5px}
.search-page .ex-review{grid-template-columns:1fr}
.search-page .ex-phone{width:min(210px,100%);margin-inline:auto}
.search-page .ex-row,.search-page .ex-row.ex-thumb{grid-template-columns:minmax(0,1fr)}
.search-page .ex-row.ex-thumb{grid-template-columns:46px minmax(0,1fr)}
.search-page .ex-row.ex-thumb>.ex-chip,.search-page .ex-row.ex-thumb>.ex-n{grid-column:2;justify-self:start;text-align:left}
.search-page .ex-row>.ex-chip{justify-self:start}
.search-page .ex-n{text-align:left}
.search-page .format-list>li{grid-template-columns:84px minmax(0,1fr);gap:14px;padding:14px}
.search-page .idea-groups{grid-template-columns:1fr}
}
/* Instagram carousel slides are 4:5, not the 9:16 of a TikTok slide. */
.search-page .ex-45 .rgc-post{aspect-ratio:4/5}
/* A tile whose photo has a face near the top keeps its words lower down. */
.search-page .ex-vis .rgc-post.ex-low .rgc-hook{top:auto;bottom:24%}

/* Shared by /pricing, /guides/social-media-tools-for-ai-agents, /guides/automate-tiktok-slideshows-with-claude-code,
   /guides/post-youtube-shorts-from-claude-code, /guides/codex-social-media-manager, /tiktok-slideshow and /instagram-carousel only.
   It reads the colours in public.css (light and dark) and adds nothing to any other page. Every class starts with "pg-". */

/* The direct answer under the H1, and the call to action that follows it. */
.pg-answer{max-width:720px;margin:20px auto 0;padding:18px 20px;border:1px solid var(--line-2);border-radius:16px;background:var(--card);text-align:left;font-size:17px;line-height:1.6;color:var(--ink-2)}
.pg-answer strong{color:var(--ink)}
.pg-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:22px 0 0}
.pg-actions .button{min-height:46px}
.pg-actions-note{margin:10px 0 0;color:var(--mute);font-size:14px;text-align:center}
.search-hero>p.pg-lede{margin-top:22px}
.pg-left .pg-actions,.pg-left .pg-actions-note{justify-content:flex-start;text-align:left}

/* Plan cards. Four across on a wide screen, two on a tablet, one on a phone. */
.pg-plans-wrap{max-width:1070px;margin:8px auto 0}
.pg-plans{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
.pg-plan{position:relative;display:flex;flex-direction:column;gap:10px;padding:22px 20px 20px;border:1px solid var(--line-2);border-radius:18px;background:var(--card);text-align:left;min-width:0}
.pg-plan.pg-start{border:2px solid var(--signal);padding:21px 19px 19px;box-shadow:0 24px 60px -36px var(--signal)}
.pg-plan h2,.pg-plan h3{margin:0;padding:0;border:0;font:600 20px/1.2 var(--sans);letter-spacing:-.02em;color:var(--ink)}
.pg-tag{align-self:flex-start;margin:0;padding:4px 10px;border-radius:999px;background:var(--paper-2);color:var(--ink-2);font:500 11px/1.4 var(--mono);letter-spacing:.06em;text-transform:uppercase}
.pg-start .pg-tag{background:var(--signal-soft);color:var(--signal-text)}
.pg-price{margin:0;color:var(--mute);font-size:14px;line-height:1.45}
.pg-price b{display:block;color:var(--ink);font:700 38px/1.05 var(--display);letter-spacing:-.03em}
.pg-limits{margin:0;color:var(--ink-2);font-size:15px;line-height:1.5}
.pg-list{display:grid;gap:6px;margin:2px 0 0;padding:0;list-style:none;font-size:14px;line-height:1.45;color:var(--ink-2)}
.pg-list li{position:relative;padding-left:22px}
.pg-list li::before{content:"";position:absolute;left:2px;top:.42em;width:11px;height:6px;border-left:2px solid var(--ok);border-bottom:2px solid var(--ok);transform:rotate(-45deg)}
.pg-plan .button{margin-top:auto;width:100%;justify-content:center}
.pg-plan .pg-for{margin:0;color:var(--mute);font-size:13.5px;line-height:1.45}

/* The upgrade path: three steps in a row, a column on a phone. */
.pg-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0 0;padding:0;list-style:none;counter-reset:pg}
.pg-path li{position:relative;padding:18px 16px 16px;border:1px solid var(--line-2);border-radius:16px;background:var(--card);font-size:15px;line-height:1.5;color:var(--ink-2);counter-increment:pg}
.pg-path li::before{content:counter(pg);display:grid;place-items:center;width:28px;height:28px;margin-bottom:10px;border-radius:50%;background:var(--ink);color:var(--paper);font:600 14px/1 var(--sans)}
.pg-path li b{display:block;margin-bottom:4px;color:var(--ink);font-size:16px}
.pg-meter{display:block;width:100%;margin:12px 0 0;height:8px;border-radius:99px;background:var(--paper-2);overflow:hidden}
.pg-meter i{display:block;height:100%;width:var(--fill,50%);border-radius:inherit;background:var(--ok)}
.pg-meter.pg-full i{background:var(--wait)}
.pg-meter.pg-open i{background:linear-gradient(90deg,var(--ok),var(--plan))}
.pg-meter-label{display:block;margin-top:6px;color:var(--mute);font:500 12px/1.4 var(--mono)}

/* The real-flow demo: words on one side, the example animation on the other. */
.pg-demo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,360px);gap:28px;align-items:center;margin-top:18px}
.pg-demo .rg-case{--rgc-height:440px}
.pg-flow{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}
.pg-flow li{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:start;font-size:15.5px;line-height:1.5;color:var(--ink-2)}
.pg-flow li span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--paper-2);color:var(--ink);font:600 13px/1 var(--mono)}
.pg-flow li b{color:var(--ink)}

/* The closing call to action. */
.pg-cta{margin:40px 0 0;padding:30px 24px;border-radius:22px;background:var(--ink);color:var(--paper);text-align:center}
.pg-cta h2{margin:0 0 8px;padding:0;border:0;color:var(--paper);font:700 clamp(26px,3.4vw,36px)/1.1 var(--display);letter-spacing:-.025em}
.pg-cta p{margin:0 auto;max-width:56ch;color:var(--paper);opacity:.82;font-size:16px;line-height:1.55}
.pg-cta .pg-actions{margin-top:20px}
.pg-cta .button-blue{background:var(--paper);color:var(--ink)}
.pg-cta .button-outline{background:transparent;color:var(--paper);border-color:color-mix(in srgb,var(--paper) 40%,transparent)}

/* A short call to action after the main answer. */
.pg-nudge{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px;margin:22px 0 0;padding:16px 18px;border:1px solid var(--line-2);border-radius:16px;background:var(--card)}
.pg-nudge p{margin:0;flex:1 1 280px;font-size:15.5px;line-height:1.5;color:var(--ink-2)}
.pg-nudge p b{color:var(--ink)}
.pg-nudge .pg-actions{margin:0;justify-content:flex-end}

/* A file the reader can copy or download (the slideshow guide's command). */
.pg-file{margin:18px 0 0;border:1px solid var(--line-2);border-radius:16px;background:var(--card);overflow:hidden}
.pg-file-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line);background:var(--paper-2)}
.pg-file-head code{font:500 13px/1.4 var(--mono);color:var(--ink)}
.pg-file-head a{font-size:14px;font-weight:500}
.pg-file pre{margin:0;border-radius:0}

@media (max-width:1000px){
  .pg-plans{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .pg-path{grid-template-columns:1fr}
  .pg-demo{grid-template-columns:1fr}
  .pg-demo .rg-case{--rgc-height:420px;max-width:420px;margin-inline:auto}
}
@media (max-width:560px){
  .pg-plans{grid-template-columns:1fr}
  .pg-answer{font-size:16px;padding:16px}
  .pg-actions .button{flex:1 1 100%}
  .pg-nudge .pg-actions{flex:1 1 100%}
  .pg-cta{padding:26px 18px}
}
.pg-left-actions{justify-content:flex-start;margin:12px 0 0}
.pg-file pre{white-space:pre;overflow-x:auto}.pg-file pre code{white-space:inherit}
/* The shared example animation restarts from an empty chat when it scrolls into view, which read as a blank box for about two
   seconds. On these pages the agent's first message and the three ideas stay visible, and the finished story doesn't fade out first,
   so the stage always shows something. The shared files (design-system/case-animation) are unchanged. */
.pg-demo .rgc-live .rgc-beat[data-s="1"],.pg-demo .rgc-live .rgc-beat[data-s="2"]{opacity:1;transform:none}
.pg-demo .rgc-fadeout .rgc-feed{opacity:1}

/* 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}
}
