/* TOPHIVE Skills — original editorial directory interface */
@import url("./agents-menu.css");
:root{--paper:#f7f8f4;--white:#fff;--ink:#1b2423;--muted:#6b7973;--hair:#dce3de;--mint:#a9cbb5;--forest:#123128;--soft:#ecf0ec;--max:1240px}
*{box-sizing:border-box}
/* Native overlay scrollbars need no layout gutter. Reserving a stable gutter
   on macOS creates a visible empty strip. Classic non-overlay scrollbars use
   stable width to prevent shifts when content height changes. */
html{
  scroll-behavior:smooth;
  scroll-padding-top:90px;
  overflow-y:auto;
  scrollbar-gutter:auto;
  scrollbar-width:thin;
  scrollbar-color:#9eb8a5 transparent;
}
html[data-classic-scrollbar="true"]{
  scrollbar-gutter:stable;
  scrollbar-color:#9eb8a5 #eef2ec;
}
html::-webkit-scrollbar{width:10px}
html::-webkit-scrollbar-track{background:transparent}
html[data-classic-scrollbar="true"]::-webkit-scrollbar-track{background:#eef2ec}
html::-webkit-scrollbar-thumb{
  background:#9eb8a5;
  border:2px solid transparent;
  border-radius:999px;
  min-height:40px;
}
html[data-classic-scrollbar="true"]::-webkit-scrollbar-thumb{border-color:#eef2ec}
html::-webkit-scrollbar-thumb:hover{background:#739780}
@supports not (scrollbar-gutter:stable){
  html[data-classic-scrollbar="true"]{overflow-y:scroll}
}
@media(forced-colors:active){
  html{scrollbar-color:auto}
}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input{font:inherit}button{cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #669c86;outline-offset:4px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 clamp(23px,5vw,66px)}
.skip-link{position:absolute;top:-100px;left:20px;background:var(--ink);color:#fff;padding:12px;z-index:100}.skip-link:focus{top:12px}
.site-header{border-bottom:1px solid #dce3de;position:relative;z-index:30;background:#f7f8f4;color:#1b2423}
.nav-wrap{min-height:68px;display:flex;align-items:center;gap:24px}
.brand{display:inline-flex;align-items:center;gap:11px;white-space:nowrap;font-size:16px;font-weight:830;letter-spacing:-.054em}
.brandmark{display:grid;place-items:center;width:29px;height:29px;border:2px solid currentColor;border-radius:7px;font-size:14px;font-weight:750;transform:rotate(-8deg);transition:transform .34s cubic-bezier(.2,1.4,.3,1)}
.brand:hover .brandmark,.brand:focus-visible .brandmark{transform:rotate(12deg) translateY(-1px) scale(1.05)}

.nav{display:flex;align-items:center;gap:21px;margin-left:auto}
.nav a{font-size:12px;font-weight:690}.nav a:hover,.nav a[aria-current=page],.site-footer nav a:hover{color:#368269}
.nav-action{background:#1c2424;color:#fff;border-radius:999px;padding:11px 16px;font-size:12px;font-weight:730;display:inline-flex;gap:15px;align-items:center}
.nav-action:hover,.btn-dark:hover{background:#34463f}
.mobile-toggle{display:none}
.hero{overflow:hidden}
.hero-wrap{padding-top:clamp(68px,8vw,120px)}
.hero-eyebrow,.eyebrow{font:740 10px ui-monospace,Menlo,Consolas,monospace;letter-spacing:.13em;color:#65746c}
.hero-eyebrow{display:flex;align-items:center;gap:12px;white-space:nowrap}
.eyebrow-dot,.signal{width:7px;height:7px;border-radius:50%;background:#7aaf8d;display:inline-block;flex-shrink:0}
.eyebrow-line{width:38px;height:1px;background:#9cad9f}
.hero-layout{display:grid;grid-template-columns:minmax(0,1.58fr) minmax(250px,.58fr);align-items:end;gap:clamp(30px,5vw,74px);padding-top:46px}
.hero h1,.section-intro h2,.proof h2,.closing h2,.detail h1,.docs h1{font-size:clamp(52px,6.2vw,94px);line-height:1.01;letter-spacing:-.08em;font-weight:780;margin:0}
.hero h1 em,.section-intro h2 em,.method h2 em,.proof h2 em,.closing h2 em,.detail h1 em,.docs h1 em{font-style:normal;color:#89a896}
.hero-copy>p{max-width:520px;margin:34px 0 0;font-size:17px;line-height:1.65;color:#62736a}
.hero-actions{display:flex;align-items:center;gap:29px;flex-wrap:wrap;margin-top:37px}
.btn{display:inline-flex;align-items:center;gap:35px;border-radius:5px;padding:16px 21px;font-size:12px;font-weight:760;white-space:nowrap}
.btn-dark{background:#1f2926;color:white;transition:background .2s}
.text-link{display:inline-flex;gap:20px;align-items:center;font-size:12px;font-weight:740;border-bottom:1px solid #aabbb0;padding-bottom:8px}
.text-link:hover{color:#3d896a}
.hero-side{background:#e6ece7;border:1px solid #d8e1d9;min-height:340px;display:flex;flex-direction:column;padding:24px;position:relative}
.hero-side::after{content:'';position:absolute;right:25px;top:78px;bottom:40px;width:1px;background:#c9d5cb}
.hero-side-top{font:700 10px ui-monospace,monospace;letter-spacing:.09em;color:#697c70;display:flex;align-items:center;justify-content:space-between}
.mini-orbit{position:relative;width:29px;height:29px;border:1px solid #b6c6ba;border-radius:50%}.mini-orbit i{position:absolute;width:4px;height:4px;background:#7b9582;border-radius:50%;top:11px;left:11px}.mini-orbit i:nth-child(2){top:3px;left:14px}.mini-orbit i:nth-child(3){top:17px;left:24px}
.hero-side-middle{margin:auto 0 30px;display:grid;gap:12px}
.hero-side-label{font:700 9px ui-monospace,monospace;color:#7f8c83;letter-spacing:.13em}
.hero-side-middle strong{font-size:clamp(32px,4vw,58px);line-height:1.01;letter-spacing:-.07em;font-weight:780}
.hero-side-bottom{font:10px ui-monospace,monospace;color:#637367;max-width:200px;line-height:1.5}
.hero-index{margin-top:68px;padding:17px 0 22px;border-top:1px solid var(--hair);display:flex;justify-content:space-between;gap:20px;font:700 10px ui-monospace,monospace;letter-spacing:.09em;color:#77867b}
.hero-index b{font-size:16px;margin-left:13px;color:#618976}
/* QUICK START — light editorial section with a single purposeful terminal surface. */
.command-strip{background:var(--paper);color:var(--ink)}
.command-strip-inner{position:relative;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center;gap:clamp(24px,4vw,65px);padding-top:42px;padding-bottom:45px}
/* Measured detail at the existing section boundary; not a second grid system. */
.command-strip-inner::before{content:"";position:absolute;top:0;left:clamp(23px,5vw,66px);width:92px;height:9px;pointer-events:none;background:repeating-linear-gradient(90deg,rgba(82,116,92,.23) 0 1px,transparent 1px 12px);-webkit-mask-image:linear-gradient(90deg,#000 52%,transparent);mask-image:linear-gradient(90deg,#000 52%,transparent)}
.command-intro{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:0}
.strip-kicker{font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace;color:#587662;letter-spacing:.12em}
.strip-description{font-size:clamp(28px,2.9vw,40px);line-height:1.12;font-weight:765;letter-spacing:-.057em;margin:16px 0 10px}
.strip-description em{font-style:normal;color:#88a793}
.strip-support{font-size:13px;line-height:1.6;color:#6c7c70;margin:0;max-width:320px}
.command-console{position:relative;min-width:0;background:#1d2f28;color:#e6f2e8;border:1px solid #345342;border-radius:8px;overflow:hidden;box-shadow:0 10px 25px -24px rgba(20,50,33,.45);transition:border-color 220ms ease,box-shadow 220ms ease}
/* Localized ~4% pixel texture, confined to the terminal surface. */
.command-console::before{content:"";position:absolute;right:0;top:0;width:148px;height:108px;pointer-events:none;background-image:radial-gradient(circle,rgba(212,237,216,.08) .7px,transparent 1px);background-size:12px 12px;opacity:.55;-webkit-mask-image:linear-gradient(245deg,#000,transparent 88%);mask-image:linear-gradient(245deg,#000,transparent 88%)}
.command-console>*{position:relative}
.command-console:hover,.command-console:focus-within{border-color:#70947a;box-shadow:0 10px 28px -22px rgba(28,69,40,.5)}
.command-console-top,.command-console-foot{display:flex;align-items:center;gap:12px;padding:11px 17px;font:700 9px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em}
.command-console-top{border-bottom:1px solid #385546;color:#c0d5c5}
.console-dots{display:flex;gap:5px;margin-right:3px}
.console-dots i{width:6px;height:6px;display:block;border-radius:50%;background:#4d735c}
.console-dots i:first-child{background:#92b99b}
.console-id{margin-left:auto;color:#b2cab8}
.command-inline{display:flex;align-items:center;gap:12px;background:transparent;border:0;border-radius:0;padding:17px;min-width:0}
.dollar{font:13px ui-monospace,SFMono-Regular,Menlo,monospace;color:#9bc7a9}
.command-inline code{font:12px/1.75 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:normal;overflow-wrap:anywhere;min-width:0;flex:1;color:#e7f2e9}
.copy-btn{background:#e4eee2;color:#1e3528;width:34px;height:34px;border-radius:5px;border:1px solid transparent;display:grid;place-items:center;flex-shrink:0;cursor:pointer}
.copy-btn:hover{background:white}
.copy-btn:focus-visible{outline:2px solid #accdb3;outline-offset:3px}
.command-console-foot{justify-content:space-between;flex-wrap:wrap;border-top:1px solid #385546;color:#bbd2c1;gap:12px}
.command-console-foot>span{white-space:nowrap}
.command-console-foot i{display:inline-block;width:5px;height:5px;border-radius:50%;background:#78ab87;vertical-align:2px;margin-right:7px}
.command-console-foot a{color:#c6ddcb;font-size:10px;font-weight:650;letter-spacing:0;border-bottom:1px solid #668472;padding-bottom:3px}
.command-console-foot a:hover{color:white;border-color:#c6ddcb}
@media(prefers-reduced-motion:reduce){.command-console{transition:none}}
@media(max-width:730px){
 .command-strip-inner{grid-template-columns:1fr;gap:23px;padding-top:29px;padding-bottom:31px}
 .strip-description{margin:12px 0 9px;font-size:clamp(29px,6.8vw,36px)}
}
@media(max-width:430px){
 .command-console-top,.command-console-foot{padding:11px 13px}
 .command-inline{padding:14px 13px;gap:9px;align-items:flex-start}
 .command-inline code{font-size:11px}
 .console-id{font-size:8px}
}
.section-pad{padding:clamp(80px,9vw,135px) 0}
.section-intro{display:grid;grid-template-columns:1fr minmax(230px,.42fr);align-items:end;gap:45px;margin-bottom:57px}
.section-intro h2,.proof h2,.closing h2{font-size:clamp(40px,5vw,71px);margin-top:19px}
.section-intro>p,.closing-action>p{color:#687870;font-size:15px;line-height:1.7;max-width:325px;margin:0 0 4px}
.library-toolbar{border-block:1px solid var(--hair);display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 0}
.library-count{display:flex;align-items:center;gap:12px}.library-count strong{font-size:13px}.count{font:11px ui-monospace,monospace;color:#859188;border-left:1px solid #cfd7d0;padding-left:12px}
.skill-listing{display:grid;grid-template-columns:46px 64px minmax(0,1fr) 100px 30px;gap:25px;align-items:center;border-bottom:1px solid var(--hair);padding:36px 0;transition:padding .2s ease}
.skill-listing:hover{padding-left:10px;padding-right:10px;background:#edf2ed}
.skill-listing[hidden]{display:none!important}
.listing-index{font:12px ui-monospace,monospace;color:#64756b}.listing-index span{opacity:.5}
.listing-icon{background:#172f3b;padding:7px;width:62px;height:62px;border-radius:11px}.listing-icon img{width:100%;height:100%;object-fit:contain;border-radius:8px}
.listing-info{min-width:0}.listing-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.listing-heading h3{font-size:clamp(21px,2.6vw,29px);font-weight:760;letter-spacing:-.05em;margin:0}.listing-category{font:700 9px ui-monospace,monospace;letter-spacing:.08em;background:#e2ece4;padding:7px 9px;color:#547461}
.listing-info>p{margin:10px 0 0;color:#6b7d71;font-size:13px;line-height:1.55;max-width:540px}
.listing-meta{display:flex;flex-direction:column;align-items:end;gap:10px;font:11px ui-monospace,monospace;color:#7e8b82}
.listing-arrow{font-size:26px;justify-self:end}
.library-bottom{display:flex;justify-content:space-between;gap:20px;padding:20px 0;color:#91a096;font:9px ui-monospace,monospace;letter-spacing:.04em}
.empty-state{padding:44px 0;border-bottom:1px solid var(--hair)}.empty-state[hidden]{display:none}.empty-state p{font-size:13px;color:var(--muted)}
.proof{background:#16251f;color:#f2f8f2}
.proof-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:clamp(45px,7vw,110px);align-items:center}
.proof-copy .eyebrow{color:#86b49c}.proof h2{margin:24px 0}.proof h2 em{color:#9cc7ab}.proof-copy p{color:#b0c3b5;line-height:1.75;font-size:15px;max-width:340px}.light-link{color:#d7f0e0;margin-top:23px;border-color:#799787}
.editor{background:#1f3429;border:1px solid #40604b;border-radius:12px;overflow:hidden;box-shadow:0 28px 70px -49px #000}
.editor-top,.editor-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid #345243;font:10px ui-monospace,monospace;color:#95b4a0}
.editor-dots{display:flex;gap:5px}.editor-dots i{display:block;width:7px;height:7px;background:#81998a;border-radius:50%}.editor-dots i:first-child{background:#b2c7ad}
.editor-tabs{display:flex;align-items:center;gap:4px;padding:20px 20px 0}.editor-tabs button{background:transparent;color:#8fab9b;border:0;border-bottom:2px solid transparent;padding:12px 15px;font-size:12px}
.editor-tabs button[aria-selected=true]{color:#ecf8f0;border-color:#b1d5b9}
.editor-body{display:flex;gap:26px;padding:36px 21px 48px;min-height:220px}
.editor-line-number{font:12px ui-monospace,monospace;color:#678372}
.code-content{color:#d7ebdb;font:13px/2.3 ui-monospace,Menlo,Consolas,monospace}
.tok-comment{color:#7e9c88}.tok-key{color:#c4ddb4}.tok-string{color:#a5daba}
.editor-bottom{border-top:1px solid #345243;border-bottom:0;color:#829b8b}.editor-state{color:#a7d9b9}
.closing-layout{display:grid;grid-template-columns:1fr 360px;gap:40px;align-items:end}.closing h2{margin-bottom:0}
.site-footer{border-top:1px solid var(--hair)}.footer-wrap{min-height:105px;display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-wrap>span{color:#87948c;font-size:12px}.site-footer nav{display:flex;gap:19px;font-size:12px;font-weight:630}
.toast{position:fixed;bottom:25px;right:25px;z-index:100;background:#253e31;color:#fff;padding:12px 17px;border-radius:7px;font-size:12px;box-shadow:0 15px 32px #0002;transform:translateY(30px);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast[data-visible=true]{opacity:1;transform:translateY(0)}
/* Detail and docs pages */
.subhero{padding-top:95px;padding-bottom:72px}.breadcrumbs{font:11px ui-monospace,monospace;color:#819087;display:flex;gap:12px;align-items:center;margin-bottom:28px}.breadcrumbs a:hover{color:#285f48}
.detail .detail-head{display:grid;grid-template-columns:1fr 260px;gap:30px;align-items:end}.detail h1,.docs h1{font-size:clamp(48px,6.2vw,84px)}.detail-intro,.docs-intro{font-size:17px;line-height:1.7;color:#6b7b70;max-width:660px;margin:24px 0 0}.detail-meta{font:11px ui-monospace,monospace;color:#82918a;display:grid;gap:15px;border-left:1px solid var(--hair);padding:18px 0 18px 25px}.detail-meta b{color:#1c3529;font-weight:680}
.detail-main{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:52px;padding-top:55px;border-top:1px solid var(--hair);padding-bottom:100px}.detail-section{padding-bottom:46px}.detail-section h2,.docs h2{font-size:32px;letter-spacing:-.06em;margin:0 0 15px}.detail-section p,.detail-section li,.docs p,.docs li{font-size:14px;line-height:1.75;color:#67776f}.detail-section ul{padding-left:18px}.detail-section li+li{margin-top:10px}.detail-h3{font-size:21px;letter-spacing:-.035em;margin:28px 0 10px}
.detail-aside{align-self:start;position:sticky;top:20px}.install-box{background:#1d3027;color:#eff7f0;padding:26px;border-radius:10px}.install-box label{font:11px ui-monospace,monospace;color:#acc5b1}.install-box code{display:block;overflow-wrap:anywhere;font:12px/1.9 ui-monospace,monospace;padding:16px;background:#2a4635;border:1px solid #405e49;margin:16px 0;border-radius:6px}.install-box button{border:1px solid #87b395;color:#fff;background:#30543e;border-radius:6px;width:100%;padding:12px;font-size:12px;font-weight:750}.install-box button:hover{background:#406c50}.install-box p{font-size:11px;color:#c3d4c7;line-height:1.6}.detail-aside-links{margin-top:24px;display:grid;gap:12px}.detail-aside-links a{border-bottom:1px solid var(--hair);padding-bottom:13px;font-size:13px;font-weight:700;display:flex;justify-content:space-between;gap:10px}
.detail-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:25px}.detail-tags span{padding:8px 12px;border:1px solid var(--hair);font-size:10px;color:#557462}
.source-files{border-top:1px solid var(--hair);margin-top:20px}.source-files a{display:flex;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid var(--hair);font:13px ui-monospace,monospace}.source-files a:hover{color:#2b8060}
.callout{padding:22px;background:#e8efea;border-left:3px solid #81aa8f;margin-top:25px}.callout strong{font-size:14px}.callout p{margin-bottom:0}
.docs{padding-bottom:110px}.docs-layout{display:grid;grid-template-columns:210px minmax(0,1fr);gap:70px;margin-top:65px}.docs-aside{display:grid;align-self:start;position:sticky;top:25px;gap:15px;font-size:12px;font-weight:740}.docs-aside a{color:#73857a}.docs-aside a:hover{color:#225c42}.docs-content section{padding:0 0 45px;margin:0 0 45px;border-bottom:1px solid var(--hair)}.codebox{background:#1b2b23;color:#d8edde;padding:18px 20px;border-radius:7px;position:relative;overflow:auto}.codebox code{font:13px/1.9 ui-monospace,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.codebox button{position:absolute;right:9px;top:10px;background:#376049;border:0;border-radius:5px;padding:7px 10px;color:#fff;font-size:11px}
@media(max-width:1000px){.hero-layout{grid-template-columns:minmax(0,1.3fr) minmax(210px,.62fr)}.hero h1{font-size:clamp(50px,6.7vw,75px)}.listing-meta{display:none}.skill-listing{grid-template-columns:35px 62px minmax(0,1fr) 30px}.hero-side{min-height:300px}}
@media(max-width:730px){.nav-wrap{min-height:69px}.mobile-toggle{display:flex;margin-left:auto;flex-direction:column;justify-content:center;gap:6px;width:38px;height:38px;border:1px solid var(--hair);background:none;border-radius:8px;padding:9px}.mobile-toggle span{width:100%;height:2px;background:var(--ink)}.nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:start;gap:18px;background:var(--paper);padding:24px 7%;border-bottom:1px solid var(--hair)}.nav[data-open=true]{display:flex}.nav a{font-size:15px}.nav-action{display:none}.hero-wrap{padding-top:66px}.hero-layout{grid-template-columns:1fr}.hero h1{font-size:clamp(51px,10vw,72px)}.hero-side{min-height:240px}.hero-side-middle strong{font-size:42px}.hero-index{margin-top:42px}.command-strip-inner{grid-template-columns:1fr;padding-top:24px;padding-bottom:25px}.section-intro,.proof-layout,.closing-layout,.detail .detail-head,.detail-main,.docs-layout{grid-template-columns:1fr}.section-intro>p,.closing-action>p{max-width:520px}.library-bottom>span:last-child{display:none}.detail-meta{border-left:0;border-top:1px solid var(--hair);padding-left:0;grid-template-columns:repeat(2,1fr)}.detail-main{gap:0}.detail-aside{position:static;order:-1;margin-bottom:45px}.docs-layout{gap:25px}.docs-aside{position:static;display:flex;flex-wrap:wrap;border-bottom:1px solid var(--hair);padding-bottom:20px}.footer-wrap{flex-wrap:wrap;padding-top:25px;padding-bottom:28px}.footer-wrap>span{display:none}}
@media(max-width:430px){.hero h1{font-size:clamp(43px,11vw,56px)}.hero-eyebrow{font-size:9px}.hero-copy>p{font-size:15px}.hero-actions{gap:20px}.section-intro h2,.proof h2,.closing h2{font-size:46px}.library-toolbar{align-items:stretch;flex-direction:column}.skill-listing{grid-template-columns:45px minmax(0,1fr) 18px;gap:14px}.listing-index{display:none}.listing-icon{width:45px;height:45px;padding:5px}.listing-heading h3{font-size:21px}.listing-info p{font-size:12px}.listing-category{display:none}.library-bottom{font-size:8px}.editor-body{padding:25px 13px 35px;gap:9px}.code-content{font-size:10px}.editor-top,.editor-bottom{padding:13px}.detail-meta{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.001ms!important;transition:none!important}}


/* Shared global header: identical surface on every page, including mobile menu. */
@media(max-width:730px){.site-header .nav{background:#f7f8f4}}


/* SITE STRUCTURAL GRID — subtle architectural frame, no new layout or content.
   A single constrained pair of vertical rails connects header, all page
   sections and footer. The original .wrap is the content alignment authority.
   Lines are decorative; they never intercept clicks or change geometry. */
:root{
  --site-grid-max:var(--max);
  --site-grid-ink:rgba(101,125,106,.19);
  --site-grid-outer:clamp(14px,2vw,22px);
  --site-grid-hatch-ink:rgba(48,76,60,.08);
  --site-grid-hatch-width:clamp(22px,calc((100vw - var(--site-grid-max))/2 - 18px),48px);
  /* 8px gradient period / sin(45deg). The same seamless tile starts at page
     y=0 for both header and body hatches; no separate gradient phase. */
  --site-grid-hatch-tile:11.3137085px;
  --site-grid-node-size:14px;
  --site-grid-node-stroke:rgba(116,140,122,.34);
  --site-grid-node-dot:#9ab6a2;
  --site-header-surface:#f7f8f4;
}
body{position:relative;min-height:100vh}
/* Position rails at the same centered max-width as .wrap. */
body::before{
  content:"";
  position:absolute;
  top:0;bottom:0;
  left:50%;
  transform:translateX(-50%);
  width:min(calc(100% - (2 * var(--site-grid-outer))),var(--site-grid-max));
  border-inline:1px solid var(--site-grid-ink);
  pointer-events:none;
  z-index:35;
}
/* HYBRID GRID — quiet 135deg hatching outside the existing keylines.
   Only show it when the viewport has actual room beyond the 1240px frame;
   never spend content width or introduce horizontal overflow. */
@media(min-width:1320px){
  body::after{
    content:"";
    position:absolute;
    top:0;bottom:0;
    left:50%;
    width:calc(var(--site-grid-max) + (2 * var(--site-grid-hatch-width)));
    transform:translateX(-50%);
    background-image:
      repeating-linear-gradient(135deg,transparent 0 7px,var(--site-grid-hatch-ink) 7px 8px),
      repeating-linear-gradient(135deg,transparent 0 7px,var(--site-grid-hatch-ink) 7px 8px);
    background-size:var(--site-grid-hatch-width) var(--site-grid-hatch-tile);
    background-position:left top,right top;
    background-repeat:repeat-y;
    pointer-events:none;
    z-index:34;
  }
}
/* The global header is a light surface, including on dark Lab experiments.
   Draw the SAME rails into that surface so opaque header backgrounds cannot
   hide their top segment. Body rails continue below the header boundary. */
body .site-header[data-shared-header]{
  z-index:36;
  background-color:var(--site-header-surface);
  background-image:linear-gradient(to right,
    var(--site-grid-ink) 0 1px,
    transparent 1px calc(100% - 1px),
    var(--site-grid-ink) calc(100% - 1px) 100%);
  background-size:min(calc(100% - (2 * var(--site-grid-outer))),var(--site-grid-max)) 100%;
  background-position:center top;
  background-repeat:no-repeat;
}
/* Match the global 135deg hatched gutters at the header as well. */
@media(min-width:1320px){
  body .site-header[data-shared-header]{
    background-image:
      linear-gradient(to right,
        var(--site-grid-ink) 0 1px,
        transparent 1px calc(100% - 1px),
        var(--site-grid-ink) calc(100% - 1px) 100%),
      repeating-linear-gradient(135deg,transparent 0 7px,var(--site-grid-hatch-ink) 7px 8px),
      repeating-linear-gradient(135deg,transparent 0 7px,var(--site-grid-hatch-ink) 7px 8px);
    background-size:
      var(--site-grid-max) 100%,
      var(--site-grid-hatch-width) var(--site-grid-hatch-tile),
      var(--site-grid-hatch-width) var(--site-grid-hatch-tile);
    background-repeat:no-repeat,repeat-y,repeat-y;
    background-position:
      center top,
      calc(50% - (var(--site-grid-max) / 2) - (var(--site-grid-hatch-width) / 2)) top,
      calc(50% + (var(--site-grid-max) / 2) + (var(--site-grid-hatch-width) / 2)) top;
  }
}
/* Precision target nodes: quiet perimeter, centered dot and a paper halo.
   Each node is centered on the existing rail / header-rule intersection. */
.site-header::before,.site-header::after{
  content:"";
  position:absolute;
  width:var(--site-grid-node-size);
  height:var(--site-grid-node-size);
  bottom:calc(var(--site-grid-node-size) / -2);
  border:1px solid var(--site-grid-node-stroke);
  border-radius:50%;
  background:radial-gradient(circle at center,var(--site-grid-node-dot) 0 1.5px,var(--site-header-surface) 1.6px);
  box-shadow:0 0 0 2px var(--site-header-surface);
  z-index:36;
  pointer-events:none;
}
.site-header::before{left:max(var(--site-grid-outer),calc((100% - var(--site-grid-max))/2));transform:translateX(-50%)}
.site-header::after{right:max(var(--site-grid-outer),calc((100% - var(--site-grid-max))/2));transform:translateX(50%)}
/* Section boundaries are quiet and consistently anchored to the same grid. */
main>section+section{border-top:1px solid var(--site-grid-ink)}
@media(max-width:730px){
  :root{--site-grid-outer:12px;--site-grid-node-size:11px}
}
@media(prefers-reduced-motion:reduce){
  body::before,.site-header::before,.site-header::after{transition:none}
}


/* FINAL POLISH PASS — retain approved editorial layout and content.
   Shared spacing, low-noise motion, consistent section/ruler structure. */
:root{
  --ui-fast:180ms;
  --ui-standard:260ms;
  --ui-ease:cubic-bezier(.22,1,.36,1);
}
.hero-wrap{padding-top:clamp(66px,7.5vw,110px)}
.hero-layout{padding-top:clamp(34px,3.3vw,46px)}
.hero-copy>p{margin-top:clamp(24px,2.6vw,33px);max-width:520px}
.hero-actions{margin-top:clamp(26px,2.9vw,35px)}
.hero-index{margin-top:clamp(48px,5.1vw,66px)}
.hero-eyebrow,.eyebrow,.strip-kicker,.hero-index{letter-spacing:.105em}
.hero-index{line-height:1.55}
.site-header .nav a,.site-footer a{transition:color var(--ui-fast) ease}
.nav-action,.btn-dark{transition:background var(--ui-fast) ease,transform var(--ui-standard) var(--ui-ease)}
.nav-action:hover,.btn-dark:hover{transform:translateY(-1px)}
.hero-side{transition:border-color var(--ui-standard) ease}
.hero-side:hover{border-color:#b7cbbd}
.mini-orbit{transition:transform 550ms var(--ui-ease)}
.hero-side:hover .mini-orbit{transform:rotate(36deg)}
.hero-actions a span[aria-hidden],.nav-action span[aria-hidden],.listing-arrow{display:inline-block;transition:transform var(--ui-standard) var(--ui-ease)}
.hero-actions a:hover span[aria-hidden],.nav-action:hover span[aria-hidden]{transform:translate(2px,-2px)}
.copy-btn{transition:background var(--ui-fast) ease,transform var(--ui-fast) ease}
.copy-btn:active{transform:scale(.94)}
.command-inline:focus-within{border-color:#9cc4a5;box-shadow:0 0 0 2px rgba(154,194,163,.14)}
.section-intro{margin-bottom:clamp(38px,4vw,53px)}


.editor-tabs button{transition:color var(--ui-fast) ease,border-color var(--ui-fast) ease}
.editor-tabs button:hover{color:#e1f2e6}
@media(max-width:730px){
 .hero-eyebrow{white-space:normal;line-height:1.6}
 .hero-layout{padding-top:32px}
 .hero-index{margin-top:38px}
 .hero-side{min-height:220px}
}
@media(prefers-reduced-motion:reduce){
 .nav-action,.btn-dark,.hero-side,.mini-orbit,.copy-btn,.editor-tabs button,.hero-actions a span[aria-hidden],.nav-action span[aria-hidden],.listing-arrow{transition:none!important}
 .nav-action:hover,.btn-dark:hover,.hero-side:hover .mini-orbit,.hero-actions a:hover span[aria-hidden],.nav-action:hover span[aria-hidden]{transform:none}
}


/* INSIDE THE SKILL — a real interactive route inspector, not a decorative code card. */
.proof.section-pad{padding:clamp(54px,6.2vw,84px) 0 clamp(40px,calc(6.2vw - 14px),70px)}
.proof .proof-layout{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(34px,5vw,80px)}
.proof .proof-copy h2{font-size:clamp(36px,4vw,56px);line-height:1.1;letter-spacing:-.065em;margin:17px 0 18px}
.proof .proof-copy p{font-size:14px;line-height:1.7;max-width:380px;margin:0}
.proof .light-link{margin-top:27px}
.proof .editor{border-radius:8px;border-color:#466352;background:#1b3026;box-shadow:0 20px 40px -35px #000}
.proof .editor-top{padding:13px 16px;font-size:10px;letter-spacing:.045em;color:#d1e3d5}
.proof .editor-preview-tag{color:#b9d1be;white-space:nowrap}
.proof .editor-tabs{gap:8px;padding:11px 15px 0;border-bottom:1px solid #35513f}
.proof .editor-tabs button{padding:11px 12px 12px;font-size:12px;font-weight:650;letter-spacing:0;cursor:pointer}
.proof .editor-tabs button:focus-visible{outline:2px solid #b1d5b9;outline-offset:-3px;border-radius:3px}
.proof .editor-body{min-height:175px;padding:22px 17px 24px;gap:18px;align-items:flex-start}
.proof .editor-line-number{font:12px/2.05 ui-monospace,SFMono-Regular,Menlo,monospace;color:#a1bda8;text-align:right;white-space:nowrap;border-right:1px solid #375441;padding-right:13px}
.proof .code-content{font:12.5px/1.97 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;min-width:0;color:#ebf4ec}
.proof .tok-comment{color:#bad3be}
.proof .editor-bottom{padding:12px 17px;font-size:10px;letter-spacing:.02em;color:#c2d7c7}
.proof .editor-state{display:inline-flex;align-items:center;gap:9px;color:#c3e1c9;font-weight:700}
.proof .editor-live-dot{width:6px;height:6px;border-radius:50%;background:#8ec49a}
@media(max-width:730px){
 .proof.section-pad{padding:42px 0 36px}
 .proof .proof-layout{grid-template-columns:1fr;gap:24px}
 .proof .proof-copy h2{font-size:clamp(35px,7.5vw,46px)}
 .proof .proof-copy p{max-width:540px}
 .proof .light-link{margin-top:17px}
}
@media(max-width:430px){
 .proof .editor-top{gap:8px;padding:12px;font-size:9px}
 .proof .editor-dots{flex-shrink:0}
 .proof .editor-preview-tag{font-size:8px}
 .proof .editor-tabs{padding:7px 9px 0;gap:3px}
 .proof .editor-tabs button{padding:10px 11px;font-size:11px}
 .proof .editor-body{padding:15px 11px 18px;gap:11px}
 .proof .editor-line-number{font-size:11px;padding-right:9px}
 .proof .code-content{font-size:11px;line-height:2.05}
 .proof .editor-bottom{padding:12px;gap:8px;flex-wrap:wrap}
}


/* FINAL CTA — concise editorial close, not a second oversized hero. */
.closing.section-pad{padding:clamp(55px,5.5vw,76px) 0 clamp(37px,4vw,54px);background:var(--paper);border-top:1px solid var(--hair)}
.closing .closing-layout{grid-template-columns:minmax(0,1fr) minmax(300px,370px);align-items:center;gap:clamp(32px,5vw,90px)}
.closing .eyebrow{color:#587763;font-size:10px}
.closing .closing-copy h2{font-size:clamp(42px,4.7vw,66px);line-height:1.08;letter-spacing:-.07em;margin:17px 0 0}
.closing .closing-action{display:grid;gap:18px;justify-items:start;padding-bottom:0}
.closing .closing-action>p{max-width:365px;margin:0;color:#64766a;font-size:14px;line-height:1.7}
.closing .closing-links{display:flex;align-items:center;gap:23px;flex-wrap:wrap}
.closing .closing-links .btn{gap:23px;padding:15px 18px;font-size:12px}
.closing .closing-links .text-link{gap:11px;white-space:nowrap;padding-bottom:7px}
@media(max-width:730px){
 .closing.section-pad{padding-top:42px;padding-bottom:37px}
 .closing .closing-layout{grid-template-columns:1fr;align-items:stretch;gap:23px}
 .closing .closing-copy h2{font-size:clamp(40px,8vw,53px)}
 .closing .closing-action{gap:17px;padding-bottom:0}
 .closing .closing-action>p{max-width:525px;font-size:13px}
}
@media(max-width:430px){
 .closing .closing-links{gap:16px}
 .closing .closing-links .btn{padding:13px 15px}
}

/* THE METHOD — concise developer workflow, not a second marketing hero. */
.method{background:#e9efeb;padding:clamp(44px,4.7vw,64px) 0 clamp(46px,5vw,66px)}
.method-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(225px,310px);gap:clamp(24px,4vw,62px);align-items:end}
.method-title{min-width:0}
.method-head .eyebrow{margin-bottom:15px;color:#56785f}
.method .method-head h2{font-size:clamp(35px,3.6vw,50px);line-height:1.09;letter-spacing:-.068em;margin:0}
.method-summary{border-left:1px solid #c6d8c9;padding:1px 0 2px 18px;display:grid;gap:11px}
.method-summary-label{font:700 10px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.075em;color:#50745b}
.method .method-summary p{max-width:310px;font-size:13px;line-height:1.62;color:#637768;margin:0}
.method-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:clamp(26px,3.1vw,39px);border-top:1px solid #c3d3c7;border-bottom:1px solid #c3d3c7}
.method-rail article{min-width:0;padding:18px clamp(16px,2.4vw,30px) 23px 0}
.method-rail article+article{border-left:1px solid #c3d3c7;padding-left:clamp(16px,2.4vw,30px)}
.method-index{display:flex;align-items:center;gap:8px;font:700 10px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.075em;color:#527a60}
.method-index::before{content:"";display:block;flex:none;width:5px;height:5px;background:#8bae95;border-radius:1px}
.method .method-rail h3{font-size:clamp(20px,2vw,24px);letter-spacing:-.047em;font-weight:770;margin:17px 0 7px;line-height:1.16}
.method-rail p{max-width:305px;font-size:12px;line-height:1.65;color:#66796b;margin:0}
@media(max-width:730px){
 .method{padding:36px 0 39px}
 .method-head{grid-template-columns:1fr;gap:20px}
 .method .method-head h2{font-size:clamp(35px,8vw,45px)}
 .method-summary{padding-left:13px;gap:6px}
 .method .method-summary p{max-width:530px}
 .method-rail{grid-template-columns:1fr;margin-top:26px}
 .method-rail article,.method-rail article+article{border-left:0;padding:17px 0 19px}
 .method-rail article+article{border-top:1px solid #c3d3c7}
 .method .method-rail h3{margin:9px 0 5px}
 .method-rail p{max-width:490px}
}


/* AGENT INSIGHT DECK — four concise, manually advanced messages. */
.hero-deck {
  position: relative;
  min-width: 0;
  padding-top: 18px;
  isolation: isolate;
}

.hero-deck-layer {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: calc(100% - 18px);
  border: 1px solid #bdd0c1;
  background: #d2e1d5;
  pointer-events: none;
}

.hero-deck-layer--middle {
  left: 8px;
  right: 8px;
  top: 9px;
  background: #dce8df;
  border-color: #c5d8c9;
}

.hero-deck-card {
  appearance: none;
  width: 100%;
  height: 354px;
  min-height: 0;
  border-radius: 0;
  color: var(--ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  z-index: 1;
  transition: border-color var(--ui-standard) ease, background var(--ui-standard) ease;
}

.hero-deck-card::after { display: none; }
.hero-deck-card:hover { border-color: #afc4b3; background: #e4ede5; }
.hero-deck-card:focus-visible { outline: 3px solid #4b886b; outline-offset: 4px; }
.hero-deck-card:active:not(.is-dismissing) { background: #dfe9e0; }
.hero-deck-card .hero-side-middle { margin: 40px 0 0; gap: 10px; flex-shrink: 0; }
.hero-deck-card .hero-side-middle strong {
  display: block;
  max-width: 100%;
  white-space: pre-line;
  font-size: clamp(26px, 2.15vw, 32px);
  line-height: 1.055;
  letter-spacing: -.065em;
  overflow-wrap: normal;
}
.hero-deck-card .hero-side-bottom {
  display: block;
  max-width: 220px;
  min-height: 52px;
  margin-top: 14px;
  font: 11px/1.55 ui-monospace, Menlo, Consolas, monospace;
  color: #5d7163;
}

.hero-deck-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #cbd8ce;
  font: 700 10px/1.4 ui-monospace, Menlo, Consolas, monospace;
  letter-spacing: .08em;
  color: #5f7565;
}
.hero-deck-count { font-variant-numeric: tabular-nums; }
.hero-deck-next { display: flex; align-items: center; gap: 7px; white-space: nowrap; color: #355b45; transition: color 180ms ease; }
.hero-deck-card:hover .hero-deck-next { color: #1b4631; }
.hero-deck-next span { font-size: 14px; line-height: 1; }
.hero-deck-instruction, .hero-deck-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-deck-card.is-dismissing { animation: deck-dismiss 340ms cubic-bezier(.4,0,.45,1) both; pointer-events: none; }
.hero-deck-card.is-entering { animation: deck-arrive 440ms cubic-bezier(.17,.85,.27,1) both; pointer-events: none; }
@keyframes deck-dismiss {
  to { opacity: 0; transform: translate3d(85px,-13px,0) rotate(5deg); }
}
@keyframes deck-arrive {
  from { opacity: .25; transform: translate3d(-13px,6px,0) scale(.97); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 731px) and (max-width: 850px) {
  .hero-deck-card .hero-side-middle { margin-top: 25px; }
  .hero-deck-card .hero-side-middle strong { font-size: 24px; }
}
@media (max-width: 730px) {
  .hero-deck-card { height: 320px; }
  .hero-deck-card .hero-side-middle { margin-top: 30px; }
  .hero-deck-card .hero-side-middle strong { font-size: clamp(32px, 5.4vw, 40px); }
}
@media (max-width: 430px) {
  .hero-deck-card .hero-side-middle { margin-top: 24px; }
  .hero-deck-card .hero-side-middle strong { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-deck-card, .hero-deck-card.is-dismissing, .hero-deck-card.is-entering { animation: none !important; transition: none !important; }
}


/* HERO AGENT LOGO STACK — illustrative marks, not provider endorsements.
   Text is unchanged for assistive tech. Deliberately no click / autoplay;
   transform-only hover preserves the title's measured layout geometry. */
.hero h1 .hero-title-line {
  display: block;
  white-space: nowrap;
  /* Keep the editorial weight, but avoid overly compressed wordforms. */
  letter-spacing: -.078em;
}
.hero h1 .hero-agent-stack {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: .12em;
  white-space: nowrap;
  padding: 0;
  /* Pull "agents" closer to the last card without moving the stack. */
  margin: 0 -.075em 0 .045em;
  isolation: isolate;
}
.hero h1 .hero-agent-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: .70em;
  height: .70em;
  flex: 0 0 .70em;
  margin: 0 0 0 -.25em;
  border: .025em solid #202826;
  border-radius: .15em;
  background: #fff;
  box-shadow: 0 .035em .08em rgba(24,40,31,.065);
  transform-origin: center 90%;
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1), box-shadow 320ms ease;
}
.hero h1 .hero-agent-mark:first-child { margin-left: 0; }
.hero h1 .hero-agent-mark--openai { z-index: 1; transform: rotate(-7deg); }
.hero h1 .hero-agent-mark--claude { z-index: 2; transform: rotate(4deg); background: #fff0e8; }
.hero h1 .hero-agent-mark--gemini { z-index: 3; transform: rotate(-4deg); background: #f0f6e8; }
.hero h1 .hero-agent-mark--cursor { z-index: 4; transform: rotate(6deg); background: #f6f6f3; }
.hero h1 .hero-agent-mark img {
  display: block;
  width: 66%;
  height: 66%;
  object-fit: contain;
}
.hero h1 .hero-agent-mark--claude img {
  filter: invert(43%) sepia(35%) saturate(1120%) hue-rotate(329deg) brightness(.95);
}
.hero h1 .hero-agent-mark--gemini img {
  width: 71%;
  height: 71%;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero h1 .hero-agent-stack:hover .hero-agent-mark--openai { transform: translate(-.04em,-.07em) rotate(-14deg); }
  .hero h1 .hero-agent-stack:hover .hero-agent-mark--claude { transform: translate(-.015em,-.11em) rotate(9deg); }
  .hero h1 .hero-agent-stack:hover .hero-agent-mark--gemini { transform: translate(.015em,-.11em) rotate(-9deg); }
  .hero h1 .hero-agent-stack:hover .hero-agent-mark--cursor { transform: translate(.04em,-.07em) rotate(13deg); }
}
@media (min-width: 731px) and (max-width: 850px) {
  /* Preserve a readable two-column headline near the tablet breakpoint. */
  .hero h1 .hero-title-line { font-size: .95em; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: clamp(34px, 10.7vw, 46px); }
  .hero h1 .hero-title-line { letter-spacing: -.087em; }
  .hero h1 .hero-agent-mark {
    width: .56em;
    height: .56em;
    flex-basis: .56em;
    margin-left: -.27em;
    border-radius: .13em;
  }
}
@media (max-width: 365px) {
  /* Four logos still fit the first line at compact 320–365px widths. */
  .hero h1 { font-size: clamp(32px, 10.5vw, 42px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .hero-agent-mark { transition: none !important; }
}
