/* ============================================================================
   Manycrawl — site stylesheet
   Tokens are the app's own (chrome-extension/dashboard/dashboard.css) so the
   site and the product read as the same object. Committed light theme: the app
   is light-only and the brand is a warm paper ground.
   ========================================================================= */

:root{
  color-scheme: light;

  /* ---- from the app ---- */
  --bg:#faf8f6;
  --surface:#ffffff;
  --surface-2:#f4f0ec;
  --hover:#f5f1ee;
  --divider:#f2efec;
  --border:#eeece9;
  --input-border:#ded9d3;
  --text:#241d17;
  --label:#5c554e;
  --muted:#6f665d;          /* was #948a80 — 3.0:1, failed AA */
  --eyebrow:#6f665d;        /* was #a99f95 — 2.3:1, failed AA */
  --brand:#ff7d41;          /* surface only — white on it is 2.5:1 */
  --on-brand:#241d17;       /* ink on brand = 6.5:1 */
  --brand-hover:#f2650f;
  --brand-deep:#b34509;     /* was #c9500d — 4.0:1, just failed AA */
  --tint:#fff2ec;
  --tint-border:#ffcbac;
  --danger:#c0392b;

  /* ---- site-only ---- */
  --rule:#e7e2dc;
  --ink-2:#3d342c;
  --good:#3c7a52;
  --good-tint:#eef6f0;
  --shadow-sm:0 1px 2px rgba(36,29,23,.05);
  --shadow-md:0 4px 16px rgba(36,29,23,.07);

  --display:"Archivo",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,sans-serif;
  --body:"IBM Plex Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,"SF Mono",Menlo,Consolas,monospace;

  --r-sm:6px;
  --r:10px;
  --r-lg:14px;

  --wrap:1180px;
  --measure:70ch;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *{transition:none!important;animation:none!important;}
}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:var(--body);font-size:16.5px;line-height:1.6;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
img,svg{max-width:100%;height:auto;}
a{color:inherit;}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:2px;}

/* Grid and flex children default to min-width:auto, so a wide child — a table
   with a min-width, a long unbroken URL — sizes the TRACK rather than scrolling
   inside its own container. Every multi-column container here can hold a table,
   so the floor is reset globally rather than case by case. */
.tpl-body > *,.featrow > *,.hero-grid > *,.grid > *,.beats > *,.plans > *,
.foot-in > *,.statrow > *,.facts > *{min-width:0;}

/* ---------------------------------------------------------------- structure */
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px;}
.wrap-narrow{max-width:820px;margin:0 auto;padding:0 24px;}
.section{padding:76px 0;}
.section--tight{padding:52px 0;}
.section--ruled{border-top:1px solid var(--border);}
.section--paper{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);white-space:nowrap;border:0;}
.skip{position:absolute;left:-9999px;}
.skip:focus{left:16px;top:12px;z-index:100;background:var(--text);color:var(--surface);
  padding:9px 15px;border-radius:var(--r-sm);font-size:14px;}

/* ------------------------------------------------------------------- header */
.site-head{position:sticky;top:0;z-index:50;background:rgba(250,248,246,.9);
  backdrop-filter:saturate(150%) blur(10px);border-bottom:1px solid var(--border);}
.head-in{display:flex;align-items:center;gap:28px;height:62px;}
.brand{display:flex;align-items:center;gap:9px;text-decoration:none;font-family:var(--display);
  font-weight:700;font-size:18px;letter-spacing:-.025em;color:var(--text);flex:none;}
.brand-mark{width:24px;height:24px;flex:none;}
.head-nav{display:flex;align-items:center;flex:1;}
.head-nav ul.nav{display:flex;align-items:center;gap:3px;list-style:none;margin:0;padding:0;}
.head-nav li{margin:0;}
.head-nav a{display:block;text-decoration:none;color:var(--label);font-size:14.5px;font-weight:500;
  padding:7px 11px;border-radius:var(--r-sm);transition:background .12s,color .12s;}
.head-nav a:hover{background:var(--hover);color:var(--text);}
.head-nav a[aria-current="page"]{color:var(--brand-deep);background:var(--tint);}
.head-cta{display:flex;align-items:center;gap:10px;flex:none;}
.head-ghost{text-decoration:none;color:var(--label);font-size:14.5px;font-weight:500;padding:7px 4px;}
.head-ghost:hover{color:var(--text);}
.nav-toggle{display:none;background:none;border:1px solid var(--input-border);border-radius:var(--r-sm);
  width:38px;height:34px;align-items:center;justify-content:center;cursor:pointer;color:var(--text);}
@media (max-width:940px){
  .head-nav{position:absolute;top:62px;left:0;right:0;background:var(--surface);
    border-bottom:1px solid var(--border);flex-direction:column;align-items:stretch;
    padding:10px 20px 16px;gap:2px;box-shadow:var(--shadow-md);}
  .head-nav[hidden]{display:none;}
  .head-nav ul.nav{flex-direction:column;align-items:stretch;gap:2px;width:100%;}
  .head-nav a{padding:10px 12px;font-size:16px;}
  .nav-toggle{display:flex;}
  .head-in{justify-content:space-between;}
  .head-cta .head-ghost{display:none;}
}

/* -------------------------------------------------------------------- type */
h1,h2,h3,h4{font-family:var(--display);font-weight:600;letter-spacing:-.022em;
  line-height:1.13;margin:0;text-wrap:balance;color:var(--text);}
h1{font-size:clamp(33px,4.6vw,52px);letter-spacing:-.033em;line-height:1.05;}
h2{font-size:clamp(25px,3vw,34px);letter-spacing:-.027em;}
h3{font-size:20px;}
h4{font-size:16px;}
p{margin:0 0 16px;max-width:var(--measure);}
.lede{font-size:19px;line-height:1.55;color:var(--label);max-width:60ch;}
.eyebrow{font-family:var(--mono);font-size:11.5px;font-weight:500;text-transform:uppercase;
  letter-spacing:.13em;color:var(--eyebrow);margin:0 0 14px;}
.dek{color:var(--muted);font-size:16px;max-width:62ch;margin:12px 0 0;}
.mono{font-family:var(--mono);}
strong{font-weight:600;}
.section-head{margin-bottom:34px;}
.section-head .dek{margin-top:10px;}

/* ------------------------------------------------------------------ buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--body);font-size:15px;font-weight:600;text-decoration:none;
  padding:11px 20px;border-radius:var(--r-sm);border:1px solid transparent;cursor:pointer;
  transition:background .12s,border-color .12s,color .12s;white-space:nowrap;}
.btn-primary{background:var(--brand);color:var(--on-brand);}
.btn-primary:hover{background:var(--brand-hover);}
.btn-secondary{background:var(--surface);color:var(--text);border-color:var(--input-border);}
.btn-secondary:hover{background:var(--hover);border-color:var(--muted);}
.btn-ghost{background:transparent;color:var(--brand-deep);padding:11px 4px;}
.btn-ghost:hover{color:var(--brand-hover);}
.btn-sm{font-size:13.5px;padding:8px 14px;}
.btn-lg{font-size:16px;padding:13px 26px;}
.btn-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;}
/* Below this width two buttons no longer fit side by side, and auto-width ones
   wrap to ragged different lengths that read as an accident. Stack them full
   width so it reads as a decision. A ghost button is a text link, so it keeps
   its own size. */
@media (max-width:620px){
  .btn-row{flex-direction:column;align-items:stretch;gap:10px;}
  .btn-row .btn:not(.btn-ghost){width:100%;}
  .btn-row .btn-ghost{align-self:flex-start;}
}

/* -------------------------------------------------------------------- hero */
.hero{padding:74px 0 60px;}
.hero h1{max-width:15ch;}
.hero h1 em{font-style:normal;color:var(--brand-deep);}
.hero .lede{margin:20px 0 28px;font-size:20px;}
.hero-note{font-size:13.5px;color:var(--muted);margin:16px 0 0;}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:56px;align-items:center;}
@media (max-width:960px){.hero-grid{grid-template-columns:1fr;gap:38px;}}

/* --------------------------------------------------------- the three beats */
.beats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);
  border:1px solid var(--border);border-radius:var(--r);overflow:hidden;}
@media (max-width:820px){.beats{grid-template-columns:1fr;}}
.beat{background:var(--surface);padding:26px 24px 28px;}
.beat-n{display:none;}
.beat h3{font-size:19px;margin-bottom:8px;}
.beat p{font-size:15px;color:var(--label);margin:0;}
.beat ul{margin:12px 0 0;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:5px;}
.beat ul li{font-family:var(--mono);font-size:11.5px;background:var(--surface-2);
  color:var(--label);padding:3px 7px;border-radius:4px;}

/* ------------------------------------------------------------- table motif */
/* The product turns the web into rows. Output examples are the proof, so they
   get the most careful treatment on the site. */
.tablewrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--r);
  background:var(--surface);-webkit-overflow-scrolling:touch;}
table.data{border-collapse:collapse;width:100%;min-width:560px;font-size:14px;}
table.data th{font-family:var(--mono);font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.08em;color:var(--muted);text-align:left;padding:10px 14px;white-space:nowrap;
  background:var(--surface-2);border-bottom:1px solid var(--border);}
table.data td{padding:10px 14px;border-bottom:1px solid var(--divider);vertical-align:top;
  line-height:1.45;color:var(--ink-2);}
table.data tr:last-child td{border-bottom:0;}
table.data td.n{font-variant-numeric:tabular-nums;font-family:var(--mono);font-size:13px;}
table.data td.k{font-family:var(--mono);font-size:12.5px;color:var(--label);white-space:nowrap;}
table.data td.empty{color:var(--muted);font-style:italic;}
/* Scroll container INSIDE an already-bordered .spec — no border of its own, so
   the table's own cell padding is the only inset that matters. */
.spec .tablewrap{border:0;border-radius:0;}
.spec-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;padding:0;}
.spec-scroll table.data{min-width:560px;}
.table-cap{font-size:13px;color:var(--muted);margin:10px 0 0;}
.table-cap b{color:var(--label);font-weight:600;}

/* ------------------------------------------------------------ generic cards */
.grid{display:grid;gap:16px;}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}
@media (max-width:980px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:660px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}}

.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);
  padding:20px;display:flex;flex-direction:column;}
.card h3{font-size:17px;margin-bottom:7px;}
.card p{font-size:14.5px;color:var(--label);margin:0;}

/* --------------------------------------------------------- template cards */
.tcard{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);
  padding:17px 18px 16px;text-decoration:none;display:flex;flex-direction:column;gap:7px;
  transition:border-color .13s,box-shadow .13s,transform .13s;}
.tcard:hover{border-color:var(--tint-border);box-shadow:var(--shadow-md);transform:translateY(-1px);}
.tcard-top{display:flex;align-items:center;gap:9px;}
.tcard-icon{width:26px;height:26px;flex:none;border-radius:var(--r-sm);background:var(--surface-2);
  display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:11px;
  font-weight:600;color:var(--label);}
.tcard h3{font-size:15.5px;letter-spacing:-.015em;margin:0;flex:1;min-width:0;}
.tcard p{font-size:13.5px;color:var(--muted);margin:0;line-height:1.45;flex:1;}
.tcard-foot{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:3px;}

.tag{font-family:var(--mono);font-size:11px;font-weight:500;text-transform:uppercase;
  letter-spacing:.07em;padding:2.5px 6px;border-radius:4px;background:var(--surface-2);
  color:var(--muted);white-space:nowrap;}
.tag-desktop{background:var(--tint);color:var(--brand-deep);}
.tag-free{background:var(--good-tint);color:var(--good);}
.tag-nokey{background:var(--surface-2);color:var(--label);}

/* ------------------------------------------------------------ hub controls */
.hub-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:24px;}
.hub-search{flex:1;min-width:220px;max-width:340px;position:relative;}
.hub-search input{width:100%;font-family:var(--body);font-size:14.5px;padding:9px 13px;
  border:1.5px solid var(--input-border);border-radius:var(--r-sm);background:var(--surface);
  color:var(--text);}
.hub-search input:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px rgba(255,125,65,.14);}
.chipbar{display:flex;flex-wrap:wrap;gap:6px;}
.chipbtn{font-family:var(--body);font-size:13.5px;font-weight:500;padding:7px 13px;
  border-radius:100px;border:1px solid var(--input-border);background:var(--surface);
  color:var(--label);cursor:pointer;transition:all .12s;}
.chipbtn:hover{border-color:var(--muted);color:var(--text);}
.chipbtn[aria-pressed="true"]{background:var(--text);border-color:var(--text);color:var(--surface);}
.hub-count{font-family:var(--mono);font-size:12px;color:var(--muted);margin-left:auto;}
.hub-empty{padding:44px 0;text-align:center;color:var(--muted);font-size:15px;}

.hub-group{margin-bottom:44px;}
.hub-group-head{display:flex;align-items:baseline;gap:10px;margin-bottom:16px;
  padding-bottom:9px;border-bottom:1px solid var(--border);}
.hub-group-head h2{font-size:20px;}
.hub-group-head span{font-family:var(--mono);font-size:11.5px;color:var(--muted);}

/* --------------------------------------------------------- template page */
.tpl-head{padding:44px 0 30px;border-bottom:1px solid var(--border);}
.crumb{font-family:var(--mono);font-size:12px;color:var(--muted);margin-bottom:16px;}
.crumb a{color:var(--muted);text-decoration:none;}
.crumb a:hover{color:var(--brand-deep);text-decoration:underline;}
.tpl-head h1{font-size:clamp(30px,4vw,42px);max-width:18ch;}
.tpl-head .lede{margin-top:14px;}
.tpl-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:20px;}

.tpl-body{display:grid;grid-template-columns:minmax(0,1fr) 292px;gap:48px;
  align-items:start;padding:42px 0 20px;}
@media (max-width:980px){.tpl-body{grid-template-columns:1fr;gap:34px;}}
.tpl-main > section{margin-bottom:44px;}
.tpl-main > section:last-child{margin-bottom:0;}
.tpl-main h2{font-size:23px;margin-bottom:14px;}
.tpl-main h2 .h2n{font-family:var(--mono);font-size:12px;font-weight:600;color:var(--brand-deep);
  letter-spacing:.06em;display:block;margin-bottom:7px;text-transform:uppercase;}
.tpl-main p{color:var(--ink-2);}

.tpl-aside{position:sticky;top:82px;display:flex;flex-direction:column;gap:16px;}
@media (max-width:980px){.tpl-aside{position:static;}}
.aside-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);padding:17px 18px;}
.aside-box h3,.aside-box h4{font-family:var(--mono);font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.1em;color:var(--muted);margin-bottom:11px;}
.aside-box ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:8px;}
.aside-box li{font-size:14px;color:var(--ink-2);line-height:1.42;display:grid;
  grid-template-columns:15px 1fr;gap:7px;}
.aside-box li::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--brand);
  margin-top:7px;}
.aside-cta{background:var(--tint);border-color:var(--tint-border);}
.aside-cta p{font-size:14px;color:var(--ink-2);margin:0 0 13px;}
/* The card IS the call to action, so its button spans it rather than sitting in
   one corner at whatever width its label happens to be. */
.aside-cta .btn{width:100%;}

/* input / output spec panels */
.spec{border:1px solid var(--border);border-radius:var(--r);background:var(--surface);overflow:hidden;}
.spec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 16px;background:var(--surface-2);border-bottom:1px solid var(--border);}
.spec-head b{font-family:var(--mono);font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.1em;color:var(--label);}
.spec-head span{font-family:var(--mono);font-size:11px;color:var(--muted);}
.spec-body{padding:16px;}
.spec-label{font-size:14px;font-weight:600;color:var(--text);margin:0 0 9px;}
.paste{font-family:var(--mono);font-size:13px;line-height:1.75;background:var(--bg);
  border:1px dashed var(--input-border);border-radius:var(--r-sm);padding:12px 14px;
  color:var(--label);white-space:pre-wrap;word-break:break-word;margin:0;}
.spec-hint{font-size:13.5px;color:var(--muted);margin:11px 0 0;line-height:1.5;}

/* facts strip */
.facts{display:flex;flex-wrap:wrap;gap:1px;background:var(--border);border:1px solid var(--border);
  border-radius:var(--r);overflow:hidden;}
.fact{background:var(--surface);padding:15px 18px;flex:1 1 170px;}
.fact b{display:block;font-family:var(--display);font-size:20px;font-weight:600;
  letter-spacing:-.02em;color:var(--brand-deep);margin-bottom:3px;}
.fact span{font-size:13px;color:var(--muted);line-height:1.4;display:block;}

/* steps */
ol.steps{list-style:none;margin:0;padding:0;counter-reset:st;}
ol.steps li{counter-increment:st;display:grid;grid-template-columns:28px 1fr;gap:14px;
  padding:15px 0;border-bottom:1px solid var(--divider);}
ol.steps li:first-child{padding-top:0;}
ol.steps li:last-child{border-bottom:0;}
ol.steps li::before{content:counter(st,decimal-leading-zero);font-family:var(--mono);font-size:11.5px;
  font-weight:600;color:var(--brand-deep);padding-top:4px;}
ol.steps li > b,ol.steps li > span{grid-column:2;}
ol.steps b{display:block;font-family:var(--display);font-weight:600;font-size:16px;margin-bottom:3px;}
ol.steps span{display:block;font-size:15px;color:var(--label);line-height:1.5;}

/* the limits box — the most valuable copy on the page, so it gets real weight */
.limits{border:1px solid var(--tint-border);background:var(--tint);border-radius:var(--r);
  padding:18px 20px;}
.limits h3{font-size:16px;margin-bottom:8px;display:flex;align-items:center;gap:8px;}
.limits h3::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--brand);flex:none;}
.limits p{margin:0;font-size:15px;color:var(--ink-2);max-width:none;}

/* faq */
.faq details{border-bottom:1px solid var(--divider);}
.faq details:first-of-type{border-top:1px solid var(--divider);}
.faq summary{cursor:pointer;list-style:none;padding:15px 34px 15px 0;position:relative;
  font-family:var(--display);font-weight:600;font-size:16px;color:var(--text);}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:"+";position:absolute;right:6px;top:13px;font-family:var(--mono);
  font-size:18px;color:var(--brand-deep);font-weight:400;}
.faq details[open] summary::after{content:"\2212";}
.faq summary:hover{color:var(--brand-deep);}
.faq .ans{padding:0 34px 17px 0;font-size:15px;color:var(--label);line-height:1.55;}
.faq .ans p{margin:0;max-width:none;color:var(--label);}

/* related */
.related{border-top:1px solid var(--border);padding:38px 0 0;}

/* ---------------------------------------------------------------- prose */
.prose{max-width:var(--measure);}
.prose h2{margin:38px 0 12px;}
.prose h3{margin:28px 0 9px;}
.prose > :first-child{margin-top:0;}
.prose p,.prose li{color:var(--ink-2);}
.prose ul,.prose ol{padding-left:22px;margin:0 0 18px;}
.prose li{margin-bottom:7px;}
.prose a{color:var(--brand-deep);text-decoration:underline;text-underline-offset:2px;}
.prose a:hover{color:var(--brand-hover);}
.prose code{font-family:var(--mono);font-size:.87em;background:var(--surface-2);
  padding:1.5px 5px;border-radius:4px;color:var(--label);}
.prose blockquote{margin:0 0 18px;padding:2px 0 2px 18px;border-left:3px solid var(--tint-border);
  color:var(--label);font-style:italic;}

pre.code{font-family:var(--mono);font-size:13px;line-height:1.7;background:var(--surface);
  border:1px solid var(--border);border-radius:var(--r-sm);
  padding:16px 18px;overflow-x:auto;margin:0 0 20px;color:var(--label);}
pre.code b{color:var(--text);font-weight:600;}
pre.code i{color:var(--muted);font-style:normal;}

/* --------------------------------------------------------------- pricing */
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:start;}
@media (max-width:880px){.plans{grid-template-columns:1fr;}}
.plan{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);
  padding:26px 24px 24px;display:flex;flex-direction:column;}
.plan--feature{border:2px solid var(--brand);position:relative;}
.plan-flag{position:absolute;top:-11px;left:24px;background:var(--brand);color:var(--on-brand);
  font-family:var(--mono);font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.09em;padding:3px 9px;border-radius:4px;}
.plan h3{font-size:18px;}
.plan-price{font-family:var(--display);font-size:38px;font-weight:700;letter-spacing:-.035em;
  margin:14px 0 2px;line-height:1;}
.plan-price small{font-family:var(--body);font-size:14.5px;font-weight:400;color:var(--muted);
  letter-spacing:0;}
.plan-sub{font-size:14px;color:var(--muted);margin:0 0 20px;}
.plan ul{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-direction:column;gap:9px;flex:1;}
.plan ul li{font-size:14.5px;color:var(--ink-2);display:grid;grid-template-columns:17px 1fr;gap:8px;
  line-height:1.45;}
.plan ul li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--brand);
  margin-top:7px;}
.plan ul li.off{color:var(--muted);}
.plan ul li.off::before{background:var(--input-border);}

.plan--feature{background:linear-gradient(var(--tint),var(--surface) 120px);}
.plan--pop{position:relative;}
.plan-flag--soft{background:var(--surface-2);color:var(--ink-2);border:1px solid var(--border);
  padding:2px 8px;}

/* spots remaining — the scarcity meter under the Lifetime CTA */
.spots{margin-top:18px;padding-top:15px;border-top:1px solid var(--border);}
.spots-label{font-size:13.5px;color:var(--ink-2);line-height:1.35;margin:0 0 9px;}
.spots-label strong{font-family:var(--display);font-size:17px;font-weight:700;color:var(--text);
  letter-spacing:-.015em;}
.spots-bar{height:7px;border-radius:100px;background:rgba(36,29,23,.09);overflow:hidden;}
.spots-fill{display:block;height:100%;border-radius:100px;min-width:10px;
  background:linear-gradient(90deg,var(--brand-hover),var(--brand));}
.spots-foot{display:flex;justify-content:space-between;align-items:baseline;gap:10px;
  flex-wrap:wrap;margin-top:9px;}
.spots-sub{font-family:var(--mono);font-size:10.5px;color:var(--muted);letter-spacing:.05em;
  text-transform:uppercase;}
.spots-note{font-size:12.5px;color:var(--muted);}

/* ------------------------------------------------------- MCP client tiles */
/* A card that is the whole link: logo, name, one line, and where it goes. */
.clients{margin-top:26px;}
.client{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r-lg);padding:22px 20px 20px;text-decoration:none;color:inherit;
  transition:border-color .12s,box-shadow .12s,transform .12s;}
.client:hover{border-color:var(--input-border);box-shadow:var(--shadow-md);transform:translateY(-1px);}
.client img{width:40px;height:40px;border-radius:9px;margin-bottom:14px;
  background:var(--surface-2);object-fit:contain;}
.client h3{font-size:16.5px;margin:0 0 6px;}
.client p{font-size:14px;color:var(--muted);margin:0 0 16px;line-height:1.5;flex:1;}
.client p code{font-size:12.5px;}
.client-go{font-family:var(--mono);font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.08em;color:var(--brand-deep);}
.client:hover .client-go{color:var(--brand-hover);}
.client-go::after{content:" \2192";}

/* ------------------------------------------------------------------ footer */
.site-foot{border-top:1px solid var(--border);background:var(--surface);margin-top:20px;}
.foot-in{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:34px;padding:52px 0 40px;}
@media (max-width:900px){.foot-in{grid-template-columns:repeat(2,1fr);gap:28px;}}
@media (max-width:520px){.foot-in{grid-template-columns:1fr;}}
.foot-brand p{font-size:14px;color:var(--muted);margin:12px 0 0;max-width:34ch;}
.foot-col p.foot-label{font-family:var(--mono);font-size:11px;font-weight:600;text-transform:uppercase;
  letter-spacing:.1em;color:var(--muted);margin:0 0 13px;}
.foot-col ul.nav{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;}
.foot-col li{margin:0;}
.foot-col a{font-size:14.5px;color:var(--label);text-decoration:none;}
.foot-col a:hover{color:var(--brand-deep);text-decoration:underline;}
.foot-bar{border-top:1px solid var(--divider);padding:18px 0 26px;display:flex;
  justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:13px;color:var(--muted);}
.foot-bar a{color:var(--muted);text-decoration:none;}
.foot-bar a:hover{color:var(--label);}

/* ------------------------------------------------------------------ misc */
.cta-band{background:var(--text);color:#f6f1ec;border-radius:var(--r-lg);padding:46px 44px;
  display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;}
.cta-band h2{color:#fff;max-width:20ch;}
.cta-band p{color:#d8cec4;margin:10px 0 0;font-size:16px;max-width:44ch;}
.cta-band .btn-secondary{background:transparent;color:#f6f1ec;border-color:#5a4d42;}
.cta-band .btn-secondary:hover{background:#332a23;border-color:#7a6a5c;}

.callout{background:var(--tint);border:1px solid var(--tint-border);padding:16px 20px;
  border-radius:var(--r-sm);margin:0 0 20px;}
.callout p{margin:0;font-size:15px;color:var(--ink-2);max-width:none;}
.callout p + p{margin-top:9px;}
.callout b.tagline{display:block;font-family:var(--mono);font-size:11px;text-transform:uppercase;
  letter-spacing:.11em;color:var(--brand-deep);margin-bottom:7px;}

.statrow{display:flex;flex-wrap:wrap;gap:1px;background:var(--border);border:1px solid var(--border);
  border-radius:var(--r);overflow:hidden;}
.statrow > div{background:var(--surface);flex:1 1 150px;padding:20px 22px;}
.statrow b{display:block;font-family:var(--display);font-size:28px;font-weight:700;
  letter-spacing:-.03em;color:var(--text);line-height:1;margin-bottom:6px;}
.statrow span{font-size:13.5px;color:var(--muted);line-height:1.4;}

.recipe{list-style:none;margin:0;padding:0;counter-reset:rp;}
.recipe li{counter-increment:rp;display:grid;grid-template-columns:auto 1fr;gap:16px;
  padding:0 0 22px;position:relative;}
.recipe li:not(:last-child)::after{content:"";position:absolute;left:14px;top:32px;bottom:4px;
  width:1px;background:var(--border);}
.recipe .rn{width:29px;height:29px;border-radius:50%;background:var(--surface);
  border:1px solid var(--tint-border);color:var(--brand-deep);font-family:var(--mono);
  font-size:12px;font-weight:600;display:flex;align-items:center;justify-content:center;
  z-index:1;flex:none;}
.recipe h3{font-size:16px;margin-bottom:3px;}
.recipe h3 a{color:var(--brand-deep);text-decoration:none;}
.recipe h3 a:hover{text-decoration:underline;}
.recipe p{font-size:14.5px;color:var(--label);margin:0;}

.postlist{list-style:none;margin:0;padding:0;}
.postlist li{border-bottom:1px solid var(--border);padding:22px 0;}
.postlist li:first-child{border-top:1px solid var(--border);}
.postlist a{text-decoration:none;display:block;}
.postlist h3{font-size:20px;margin-bottom:6px;}
.postlist a:hover h3{color:var(--brand-deep);}
.postlist p{font-size:15px;color:var(--label);margin:0;}
.postlist .meta{font-family:var(--mono);font-size:11.5px;color:var(--muted);
  text-transform:uppercase;letter-spacing:.07em;margin-bottom:8px;}

/* gives list on a template page */
ul.tpl-gives{list-style:none;margin:0 0 18px;padding:0;display:flex;flex-wrap:wrap;gap:6px;}
ul.tpl-gives li{font-size:13.5px;background:var(--surface);border:1px solid var(--border);
  color:var(--label);padding:5px 11px;border-radius:100px;}

/* hero table mock */
.mocktable{border:1px solid var(--border);border-radius:var(--r);background:var(--surface);
  box-shadow:var(--shadow-md);overflow:hidden;}
.mocktable-bar{display:flex;align-items:center;gap:7px;padding:9px 14px;background:var(--surface-2);
  border-bottom:1px solid var(--border);}
.mocktable-bar i{width:9px;height:9px;border-radius:50%;background:var(--input-border);display:block;}
.mocktable-bar span{font-family:var(--mono);font-size:11.5px;color:var(--muted);margin-left:6px;}
.mocktable .tablewrap{border:0;border-radius:0;}
.mocktable table.data{min-width:520px;}
.mocktable table.data th.new{color:var(--brand-deep);background:var(--tint);}
.mocktable-foot{padding:9px 14px;border-top:1px solid var(--border);font-family:var(--mono);
  font-size:11.5px;color:var(--muted);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.mocktable-foot b{color:var(--brand-deep);font-weight:600;}

/* compact template list on the home page */
ul.tpl-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;}
ul.tpl-list li{padding:11px 0;border-bottom:1px solid var(--divider);display:flex;
  align-items:baseline;gap:10px;flex-wrap:wrap;}
ul.tpl-list li:last-child{border-bottom:0;}
ul.tpl-list a{font-family:var(--display);font-weight:600;font-size:15px;color:var(--text);
  text-decoration:none;flex:none;}
ul.tpl-list a:hover{color:var(--brand-deep);}
ul.tpl-list span{font-size:14px;color:var(--muted);flex:1;min-width:0;}
@media (max-width:620px){
  ul.tpl-list li{flex-direction:column;gap:2px;}
  ul.tpl-list span{flex:none;}
}

/* two-column feature rows */
.featrow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:52px;align-items:center;}
.featrow + .featrow{margin-top:64px;}
@media (max-width:900px){.featrow{grid-template-columns:1fr;gap:28px;}
  .featrow + .featrow{margin-top:44px;}}
.featrow--flip > :first-child{order:2;}

/* tool group table on /mcp */
.toolgroup{margin-bottom:26px;}
.toolgroup h3{font-size:16px;margin-bottom:4px;}
.toolgroup p{font-size:14.5px;color:var(--muted);margin:0 0 10px;}
.toollist{display:flex;flex-wrap:wrap;gap:5px;}
.toollist code{font-family:var(--mono);font-size:12.5px;background:var(--surface);
  border:1px solid var(--border);padding:4px 8px;border-radius:5px;color:var(--label);}

.compare{width:100%;}
.compare td:first-child{font-weight:600;color:var(--text);}
.compare td.yes{color:var(--good);}
.compare td.no{color:var(--muted);}

/* ---- catalogue icons ------------------------------------------------------
   The app's own registry, rendered the way the product renders it. Brand marks
   are official third-party logos: multicolour, never recoloured, on a neutral
   tile. Functional glyphs are single-stroke and take the accent. */
.tcard-icon svg,.tpl-icon svg{display:block;width:100%;height:100%;}
.tcard-icon.is-brand,.tpl-icon.is-brand{background:var(--surface-2);padding:4px;}
.tcard-icon.is-glyph,.tpl-icon.is-glyph{background:var(--tint);color:var(--brand-deep);padding:5px;}
.tcard:hover .tcard-icon.is-glyph{background:var(--tint);}

.tpl-title{display:flex;align-items:center;gap:14px;margin-bottom:0;}
.tpl-title h1{margin:0;}
.tpl-icon{width:44px;height:44px;flex:none;border-radius:var(--r);display:flex;
  align-items:center;justify-content:center;font-family:var(--mono);font-size:14px;
  font-weight:600;color:var(--label);background:var(--surface-2);}
@media (max-width:560px){
  .tpl-title{gap:11px;}
  .tpl-icon{width:36px;height:36px;}
}

/* ---- blog post ------------------------------------------------------------
   A post body is the one kind of page whose content is NOT wrapped in .wrap:
   put_post owns the body and the collection reads it, so the gutter has to come
   from here. `main >` is the precise test — on every other page the direct
   child of main is .wrap itself. */
/* A post is the one page whose content is not inside .wrap — put_post owns the
   body — so the gutter and the grid come from here. */
.post-wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px;
  display:grid;grid-template-columns:minmax(0,1fr) 268px;gap:0 56px;align-items:start;}
.post-head{grid-column:1 / -1;}
.post-main{grid-column:1;min-width:0;max-width:var(--measure);}
.post-aside{grid-column:2;position:sticky;top:82px;display:flex;flex-direction:column;
  gap:16px;min-width:0;}
@media (max-width:980px){
  .post-wrap{grid-template-columns:1fr;}
  .post-head{grid-column:1;order:-2;}
  .post-aside{grid-column:1;order:-1;position:static;margin:24px 0 8px;}
  .post-main{grid-column:1;order:0;max-width:none;}
}

/* Table of contents. Server-rendered from the headings, so the links are real
   and crawlable; the script only adds the active state. */
.post-toc{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);
  padding:16px 18px;}
.post-toc .toc-label{font-family:var(--mono);font-size:11px;font-weight:600;
  text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin:0 0 11px;}
.post-toc ol{list-style:none;margin:0;padding:0;counter-reset:toc;
  display:flex;flex-direction:column;gap:2px;}
.post-toc li{counter-increment:toc;margin:0;}
.post-toc a{display:grid;grid-template-columns:20px 1fr;gap:6px;padding:5px 0;
  font-size:13.5px;line-height:1.4;color:var(--label);text-decoration:none;
  border-left:2px solid transparent;padding-left:10px;margin-left:-12px;
  transition:color .12s,border-color .12s;}
.post-toc a::before{content:counter(toc,decimal-leading-zero);font-family:var(--mono);
  font-size:10.5px;color:var(--muted);padding-top:2px;}
.post-toc a:hover{color:var(--brand-deep);}
.post-toc a.is-current{color:var(--brand-deep);border-left-color:var(--brand);font-weight:600;}
.post-toc a.is-current::before{color:var(--brand-deep);}
@media (max-width:980px){
  .post-toc a{border-left:0;padding-left:0;margin-left:0;}
  .post-toc a.is-current{border-left:0;}
}

/* Closing CTA inside the article */
.post-end-cta{margin:44px 0 70px;padding:26px 28px;background:var(--tint);
  border:1px solid var(--tint-border);border-radius:var(--r-lg);}
.post-end-cta h3{font-size:20px;margin-bottom:7px;}
.post-end-cta p{font-size:15.5px;color:var(--ink-2);margin:0 0 18px;max-width:52ch;}
.post-head{padding:44px 0 26px;max-width:var(--measure);}
.post-head h1{font-size:clamp(29px,3.9vw,40px);max-width:22ch;margin:0;}
.post-head .eyebrow{margin-bottom:12px;}
.prose > .lede{font-size:19px;line-height:1.55;color:var(--label);margin:22px 0 30px;
  padding-bottom:26px;border-bottom:1px solid var(--border);max-width:var(--measure);}
.prose .tablewrap{margin:0 0 22px;}
.prose ol{counter-reset:none;}
.prose > :last-child{margin-bottom:0;}

/* ---- hero field -----------------------------------------------------------
   Abstract, not illustrative. Adaline's hero is a field of mutating glyphs
   because their product is language; ours is a lattice of cells that keep
   resolving into short runs, because ours is tables. Canvas rather than DOM:
   ~1,200 cells redrawing is a paint, not 1,200 elements. */
.hero-field{position:relative;overflow:hidden;aspect-ratio:4/3;}
.hero-field canvas{display:block;width:100%;height:100%;}
@media (max-width:960px){.hero-field{aspect-ratio:16/10;}}
/* On a phone the hero canvas is the thing between the headline and the
   download button, so it costs a scroll and a rAF loop to say nothing the
   copy does not. Hidden outright — the draw loop checks for a zero-size
   canvas and idles, and comes back if the window is widened. */
@media (max-width:720px){.hero-field{display:none;}}

/* ---- app shot -------------------------------------------------------------
   A fixed-height frame for animated product surfaces. The height is RESERVED,
   not derived from content: rows streaming in used to grow the block and shove
   the rest of the page down on every tick. Nothing inside may change its size. */
.appshot{position:relative;border:1px solid var(--border);border-radius:var(--r-lg);
  background:var(--surface);overflow:hidden;box-shadow:var(--shadow-md);}
.appshot-bar{display:flex;align-items:center;gap:7px;padding:9px 14px;background:var(--surface-2);
  border-bottom:1px solid var(--border);}
.appshot-bar i{width:9px;height:9px;border-radius:50%;background:var(--input-border);display:block;}
.appshot-bar .t{font-family:var(--mono);font-size:11.5px;color:var(--muted);margin-left:6px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.appshot-bar .live{margin-left:auto;display:flex;align-items:center;gap:6px;flex:none;
  font-family:var(--mono);font-size:10.5px;text-transform:uppercase;letter-spacing:.09em;color:var(--good);}
.appshot-bar .live::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--good);
  animation:apulse 2s ease-in-out infinite;}
@keyframes apulse{0%,100%{opacity:1}50%{opacity:.25}}
.appshot-body{height:var(--shot-h,312px);overflow:hidden;position:relative;}
.appshot-foot{padding:9px 14px;border-top:1px solid var(--border);font-family:var(--mono);
  font-size:11.5px;color:var(--muted);display:flex;justify-content:space-between;gap:12px;
  flex-wrap:wrap;min-height:37px;box-sizing:border-box;}
.appshot-foot b{color:var(--brand-deep);font-weight:600;}

/* The app's own table, copied from chrome-extension/dashboard/dashboard.css so
   the section reads as a recording of the product rather than a website table.
   Scoped to .appui: these values are the app's, not this site's tokens. */
.appui{width:100%;border-collapse:collapse;font-size:13.5px;table-layout:fixed;
  font-family:var(--body);}
.appui th{background:#fff;padding:7px 8px;text-align:left;font-weight:500;font-size:12.5px;
  color:#6c757d;border-right:2px solid #e9ecef;border-bottom:2px solid #e9ecef;white-space:nowrap;}
.appui td{padding:7px 8px;border-bottom:1px solid #e9ecef;border-right:1px solid #e9ecef;
  color:#6c757d;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;vertical-align:middle;
  line-height:19px;}
.appui .num,.appui th.num{width:34px;min-width:34px;text-align:center;font-size:11px;
  font-variant-numeric:tabular-nums;color:#8b949e;}
.appui .name{color:#212529;font-weight:500;}
.appui td.blank{color:#adb5bd;}
.appui .newcol{background:var(--tint);}
.appui th.newcol{color:var(--brand-deep);}

/* Verbatim from the app: 10px ring, brand top edge, 0.7s linear. */
.ai-cell-spinner{display:inline-block;width:10px;height:10px;margin-right:6px;
  border:2px solid rgba(255,125,65,.25);border-top-color:#ff7d41;border-radius:50%;
  vertical-align:-1px;animation:ai-cell-spin .7s linear infinite;}
@keyframes ai-cell-spin{to{transform:rotate(360deg)}}
.cell-pending{color:#adb5bd;font-size:13px;}

.appui tr.rowin{animation:appui-in .4s ease-out both;}
@keyframes appui-in{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .ai-cell-spinner,.appshot-bar .live::before,.appui tr.rowin{animation:none;}
}

/* ---- monitor feed (inside .appshot) --------------------------------------
   Newest row on top. Older rows slide down and are clipped by the fixed
   height rather than growing the block. */
.appui.wide-num .num,.appui.wide-num th.num{width:50px;min-width:50px;}
.appui td.sub{font-family:var(--mono);font-size:11.5px;}
.appui td.kw{font-family:var(--mono);font-size:11.5px;}
.appui td.kw span{background:var(--tint);border:1px solid var(--tint-border);
  border-radius:4px;padding:1px 5px;color:var(--brand-deep);}
.appui td.age{font-family:var(--mono);font-size:11.5px;color:#8b949e;
  font-variant-numeric:tabular-nums;}
.appshot-foot .next{font-variant-numeric:tabular-nums;}

/* ---- MCP transcript (inside .appshot) ------------------------------------
   Same fixed-height contract: the transcript types into a block that is
   already the height of the finished conversation. */
.term{font-family:var(--mono);font-size:13px;line-height:1.75;color:var(--label);
  padding:14px 18px;margin:0;white-space:pre-wrap;word-break:break-word;}
.term .who{color:var(--muted);}
.term .said{color:var(--text);font-weight:600;}
.term .tool{color:var(--text);font-weight:600;}
.term .arg{color:var(--muted);}
.term .out{color:var(--good);}
.term .sum{color:var(--brand-deep);font-weight:600;}
.term .caret{display:inline-block;width:7px;height:15px;background:var(--brand);
  vertical-align:-3px;animation:termcaret 1s step-end infinite;}
@keyframes termcaret{0%,50%{opacity:1}50.01%,100%{opacity:0}}
.term .run{display:inline-block;width:9px;height:9px;margin-right:6px;
  border:2px solid rgba(255,125,65,.25);border-top-color:#ff7d41;border-radius:50%;
  vertical-align:-1px;animation:ai-cell-spin .7s linear infinite;}
@media (prefers-reduced-motion:reduce){.term .caret,.term .run{animation:none;}}
/* The transcript types into a block already sized to the FINISHED text: a
   hidden copy holds the height at whatever the current width makes it, so the
   page never moves and nothing is clipped on a narrow screen. */
.term-hold{position:relative;}
.term-hold .ghost{visibility:hidden;}
.term-hold .live{position:absolute;inset:0;}
