/* agentrooms.io: one stylesheet for every page.
   Soft and calm (critic round 3): warm grounds, surfaces instead of lines, one soft shadow, sentence case, weights 400
   and 500 only (600 inside buttons), nothing smaller than 13 px.
   Colour means state: neutral mark; brass for the one primary button, link hover and focus; sage for live and now;
   amber only for "needs you".
   Type sizes: 13 14 16 17 19 26 32 40 52 (34 and 18 on phones for the headline and ledes).
   Radii: 20 figure frames (16 on phones, 36 the phone picture), 16 cards and bands, 999 chips and buttons, 8 code.
   Spacing: 4 8 12 16 24 32 48 80 120. */

/* ---------- tokens ---------- */
:root{
  color-scheme:dark;
  --bg:#1f1e1c;--surface:#262522;--raised:#2e2c29;
  --text:#ece8df;--text-2:#d6d1c6;--muted:#a39e94;--faint:#8c877e;--hair:rgba(236,232,223,.08);
  --brand:#DDDCD3;--btn:#c39a38;--btn-hover:#cca545;--btn-ink:#1f1e1c;--link-hover:#d2ab4f;--focus:#c39a38;
  --sage:#87966a;--need:#e6c077;
  --scrim:rgba(20,19,18,.5);
  --frame-shadow:0 0 0 1px var(--hair),0 24px 56px -32px rgba(0,0,0,.55);
  --app:#101214;
  --r-frame:20px;--r-card:16px;--r-code:8px;
  --max:1120px;--measure:36rem;--gutter:16px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
}
@media (prefers-color-scheme: light){
  :root{color-scheme:light;
    --bg:#faf9f5;--surface:#f3f0e8;--raised:#ebe7dc;
    --text:#1f1e1c;--text-2:#3a3833;--muted:#6b665d;--faint:#716c64;--hair:rgba(31,30,28,.09);
    --brand:#545B4C;--btn:#c39a38;--btn-hover:#b98f2c;--btn-ink:#1f1e1c;--link-hover:#8a6a1c;--focus:#8a6a1c;
    --sage:#5f6d45;--need:#9a6c14;
    --scrim:rgba(250,249,245,.55);
    --frame-shadow:0 0 0 1px var(--hair),0 24px 56px -32px rgba(31,30,28,.18)}
}
@media (min-width:700px){:root{--gutter:32px}}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:88px}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.6 var(--font);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration-color:var(--faint);text-decoration-thickness:1px;text-underline-offset:3px;transition:color .15s ease}
a:hover{color:var(--link-hover);text-decoration-color:currentColor}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:4px}
h1,h2,h3{margin:0;text-wrap:balance}
p{margin:0}
p,li{text-wrap:pretty}
b,strong{font-weight:500}
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:16px;top:-80px;z-index:60;background:var(--btn);color:var(--btn-ink);padding:10px 16px;border-radius:999px;font-weight:600;text-decoration:none}
.skip:focus{top:10px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}
.sprite{position:absolute;width:0;height:0;overflow:hidden}

/* icons: one set, 16 px grid, one 1.5 stroke, muted beside a word; never filled except the GitHub mark in its button */
.ic{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

/* ---------- buttons and links ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border:0;border-radius:999px;
  background:var(--surface);color:var(--text);font:600 16px/1.2 var(--font);text-decoration:none;cursor:pointer;
  transition:background-color .15s ease}
.btn:hover{background:var(--raised);color:var(--text)}
.btn.primary{background:var(--btn);color:var(--btn-ink)}
.btn.primary:hover{background:var(--btn-hover);color:var(--btn-ink)}
.btn.small{min-height:44px;padding:0 18px;font-weight:500;font-size:14px}
.btn .ic{width:16px;height:16px}
.btn.small .ic{color:var(--muted)}
@media (max-width:699px){.btn.primary{min-width:220px}}
/* a secondary action is a text link with an arrow, never a filled grey pill */
.tlink{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--text);font-weight:500;font-size:16px;text-decoration:none}
.tlink .ic{color:var(--muted);transition:transform .15s ease,color .15s ease}
.tlink:hover .ic{transform:translateX(2px);color:currentColor}
@media (prefers-reduced-motion: reduce){.btn,.tlink .ic,a{transition:none}}

/* ---------- header: the same layout at every scroll position ---------- */
.site-head{position:sticky;top:0;z-index:40;background:var(--bg);transition:box-shadow .2s ease}
.site-head.is-scrolled{box-shadow:0 1px 0 var(--hair)}
.site-head .wrap{display:flex;align-items:center;gap:8px;height:64px}
.brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;margin-right:auto;color:var(--text);text-decoration:none;
  font-size:16px;font-weight:500;letter-spacing:-.005em}
.brand:hover{color:var(--text)}
.brand svg{width:28px;height:28px;flex:none;color:var(--brand);fill:currentColor}
.nav{display:none;align-items:center;gap:2px;margin-right:12px}
.nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:999px;color:var(--muted);font-size:14px;text-decoration:none}
.nav a:hover,.nav a[aria-current="page"]{color:var(--text)}
.head-signin{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:var(--muted);font-size:14px;font-weight:500;text-decoration:none}
.head-signin:hover{color:var(--text)}
.head-cta{display:none}
@media (min-width:960px){.nav{display:flex}.head-cta{display:inline-flex}.menu{display:none}}

/* phone menu: a borderless icon, then a sheet under the header over a soft blurred scrim */
.menu>summary{list-style:none;display:inline-grid;place-items:center;width:44px;height:44px;margin-right:-10px;border-radius:999px;color:var(--muted);cursor:pointer}
.menu>summary::-webkit-details-marker{display:none}
.menu>summary .ic{width:20px;height:20px}
.menu>summary .when-open{display:none}
.menu[open]>summary{color:var(--text)}
.menu[open]>summary .when-open{display:block}
.menu[open]>summary .when-closed{display:none}
.menu:not([open]) .sheet,.menu:not([open]) .scrim{display:none}
.scrim{position:fixed;inset:64px 0 0;z-index:39;background:var(--scrim);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.sheet{position:fixed;top:64px;left:0;right:0;z-index:41;background:var(--bg);border-radius:0 0 var(--r-frame) var(--r-frame);
  box-shadow:0 24px 56px -32px rgba(0,0,0,.45);padding:8px var(--gutter) 24px}
.sheet nav{display:grid;gap:4px}
.sheet nav a{display:flex;align-items:center;gap:12px;min-height:52px;padding:0 12px;margin:0 -12px;border-radius:var(--r-card);
  color:var(--text);font-size:17px;text-decoration:none}
.sheet nav a:hover,.sheet nav a[aria-current="page"]{background:var(--surface);color:var(--text)}
.sheet nav a .ic{color:var(--muted)}
.sheet .btn{display:flex;width:100%;margin-top:16px}

/* ---------- type ---------- */
.eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.4}
.eyebrow .ic{color:var(--muted)}
h1{font-size:34px;line-height:1.1;letter-spacing:-.015em;font-weight:500}
@media (min-width:700px){h1{font-size:52px;line-height:1.08}}
h2{font-size:26px;line-height:1.15;letter-spacing:-.01em;font-weight:500}
@media (min-width:700px){h2{font-size:32px}}
h3{font-size:17px;line-height:1.35;font-weight:500}
.lede{margin-top:12px;max-width:var(--measure);color:var(--muted);font-size:18px;line-height:1.5;text-wrap:balance}
@media (min-width:700px){.lede{font-size:19px}}
.fine{color:var(--muted);font-size:14px;line-height:1.5;text-wrap:balance}
.cap{color:var(--muted);font-size:14px;line-height:1.5;text-wrap:balance;text-align:left}
.chip{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;background:var(--surface);
  color:var(--muted);font-size:13px;font-weight:400;white-space:nowrap;vertical-align:middle}
.nb{white-space:nowrap}

/* ---------- figures: every product picture in the same soft frame ---------- */
figure{margin:0}
picture{display:block}
.frame{position:relative;border-radius:var(--r-frame);overflow:hidden;background:var(--app);box-shadow:var(--frame-shadow)}
.frame img{width:100%}
.frame.phone{border-radius:36px;max-width:340px}
@media (max-width:699px){.frame{border-radius:16px}.frame.phone{border-radius:28px}}
img.is-loading{opacity:0}
img.is-in{transition:opacity .2s ease-out}
@media (prefers-reduced-motion: reduce){img.is-in{transition:none}}

/* ---------- footer ---------- */
.site-foot{padding:48px 0 56px;color:var(--muted);font-size:14px}
.foot-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}
.foot-brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--text);font-weight:500;text-decoration:none}
.foot-brand:hover{color:var(--text)}
.foot-brand svg{width:22px;height:22px;color:var(--brand);fill:currentColor}
.foot-row nav{display:flex;flex-wrap:wrap;gap:0 4px}
.foot-row nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;color:var(--muted);text-decoration:none}
.foot-row nav a:hover{color:var(--text)}
.foot-copy{margin-left:auto}
.foot-legal{margin-top:16px;color:var(--faint);font-size:13px;line-height:1.5;max-width:36rem}
@media (max-width:699px){
  .foot-row{display:grid;grid-template-columns:1fr auto;row-gap:4px}
  .foot-copy{margin-left:0;grid-column:2;grid-row:1}
  .foot-row nav{grid-column:1 / -1;margin-left:-10px}
}

/* ---------- documents (privacy, support): one body size, 16/1.6 ---------- */
.doc{max-width:44rem;padding-top:48px;padding-bottom:48px;font-size:16px;line-height:1.6}
@media (max-width:699px){.doc{padding-top:32px}}
.doc h1{font-size:34px;line-height:1.1}
@media (min-width:700px){.doc h1{font-size:40px}}
.doc section{margin-top:80px}
@media (max-width:699px){.doc section{margin-top:56px}}
.doc h2{font-size:26px;display:flex;align-items:center;gap:12px}
.doc h2 .ic{width:18px;height:18px;color:var(--muted)}
.doc p:not([class]){margin-top:12px;color:var(--text-2)}
.doc .muted{margin-top:12px;color:var(--muted)}
.doc .meta{margin-top:8px;color:var(--muted);font-size:14px}
.doc .lede{margin-top:12px}
.doc .eyebrow{margin:0 0 12px}
.doc p a,.doc li a{text-decoration-line:underline}
.updated{margin-top:16px;color:var(--muted);font-size:14px}
/* the page at a glance: three short rows that open the detail */
.glance{list-style:none;margin:40px 0 0;padding:0;display:grid;gap:8px}
.glance li{display:block}
.glance a{display:grid;grid-template-columns:16px minmax(0,1fr) 16px;column-gap:16px;align-items:start;padding:16px 20px;border-radius:var(--r-card);
  background:var(--surface);text-decoration:none;color:var(--text)}
.glance a:hover{background:var(--raised);color:var(--text)}
.glance .ic{margin-top:4px;color:var(--muted)}
.glance strong{display:block;font-weight:500}
.glance span{display:block;color:var(--muted);font-size:16px;line-height:1.5}
.list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}
.list li{position:relative;padding-left:24px;color:var(--text-2)}
.list li::before{content:"";position:absolute;left:6px;top:11px;width:5px;height:5px;border-radius:50%;background:var(--faint)}
.list li b{color:var(--text)}
/* a group of a long list: one summary line, folded on phones */
.group{margin-top:12px;border-radius:var(--r-card);background:var(--surface)}
.group>summary{display:grid;grid-template-columns:minmax(0,1fr) 16px;column-gap:16px;align-items:center;min-height:56px;padding:12px 20px;
  cursor:pointer;list-style:none;border-radius:var(--r-card)}
.group>summary::-webkit-details-marker{display:none}
.group>summary strong{display:block;font-weight:500;color:var(--text)}
.group>summary small{display:block;color:var(--muted);font-size:14px;line-height:1.45}
.group>summary .ic{color:var(--muted);transition:transform .15s ease}
.group[open]>summary .ic{transform:rotate(90deg)}
.group .list{margin:0;padding:0 20px 20px}
.group .meta{padding:0 20px 20px;margin-top:-8px}
@media (prefers-reduced-motion: reduce){.group>summary .ic{transition:none}}
.steps{counter-reset:s;list-style:none;margin:16px 0 0;padding:0;display:grid;gap:12px}
.steps li{counter-increment:s;position:relative;padding:2px 0 0 40px;min-height:28px;color:var(--text-2)}
.steps li::before{content:counter(s);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:var(--surface);
  color:var(--muted);font-size:13px;display:grid;place-items:center}
code.inline{font:14px/1.5 var(--mono);background:var(--surface);border-radius:var(--r-code);padding:1px 6px;white-space:nowrap;
  -webkit-box-decoration-break:clone;box-decoration-break:clone}
.cmds{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:16px}
.cmds li{display:grid;gap:4px}
.cmds code{justify-self:start;font:14px/1.55 var(--mono);background:var(--surface);color:var(--text);border-radius:var(--r-code);
  padding:4px 10px;white-space:pre-wrap;overflow-wrap:normal;word-break:normal;max-width:100%}
.cmds span{color:var(--muted)}
.more-cmds{margin-top:16px}
.more-cmds>summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--text);font-weight:500;cursor:pointer;list-style:none}
.more-cmds>summary::-webkit-details-marker{display:none}
.more-cmds>summary .ic{color:var(--muted);transition:transform .15s ease}
.more-cmds[open]>summary .ic{transform:rotate(90deg)}
@media (prefers-reduced-motion: reduce){.more-cmds>summary .ic{transition:none}}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:32px}
.doc .ic.lead{vertical-align:-3px;margin-right:8px;color:var(--muted)}

/* Current product typography and surfaces (dock update 6). */
@font-face{font-family:"Source Serif 4";font-style:normal;font-weight:400 700;font-display:swap;src:url('/fonts/source-serif-4-latin.woff2') format('woff2')}
:root{--surface:#262523;--raised:#2c2b28;--text:#ebe8e1;--muted:#a19d94;--shadow-ink:rgba(0,0,0,.42);--read:"Source Serif 4",Charter,"Iowan Old Style",Georgia,serif}
@media(prefers-color-scheme:light){:root{--surface:#f3f1ea;--raised:#ebe8df;--text:#2b2a27;--muted:#6f6c64;--shadow-ink:rgba(43,42,39,.18)}}
h1,h2{font-family:var(--read);font-weight:400}

@media (forced-colors: active){.brand svg,.foot-brand svg{color:CanvasText}}
