/* Teanoon Plush, 2026-11-17: guides, use cases, comparison, glossary, guarantees, AI agent, technologies.
   Loaded only on those pages (templates/head.html). Same toys as the rest of the site: sky hero and giant mark, sticky notes, soft white cards,
   package colour panels, round ink buttons. */

/* compact hero of an article: long titles, a trail of toy tags, the plush of the matching offer */
.crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:12px}
.crumbs li{display:flex;align-items:center;gap:6px}
.crumbs li+li::before{content:"";width:6px;height:6px;border-radius:50%;background:#fff}
.crumbs a{display:block;padding:7px 13px;border-radius:var(--r-pill);background:rgba(255,255,255,.62);font:700 13.5px/1.2 var(--t);text-decoration:none;color:var(--ink);transition:background .2s}
.crumbs a:hover{background:#fff}
.gd-hero h1{font-size:clamp(32px,calc(50*var(--u)),70px);line-height:1.02;max-width:17em}
.gd-hero .sh-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,.5fr)}
.gd-hero .r-pic,.ag-pic{height:calc(270*var(--u));min-height:150px}
.gd-hero .pair-pic{height:calc(250*var(--u))}
.byline{font:600 15.5px/1.4 var(--t);color:var(--ink-sky);margin-top:2px}

/* article column */
.gd-body{padding-top:clamp(28px,4vw,56px)}
.lg-g.wide{max-width:1440px}
.lg-g.one{grid-template-columns:minmax(0,1fr);max-width:1240px}
.lg-g.one .lg-side{position:static}
.lg-g.one .toc ol{columns:2;column-gap:20px}
.lg-g.one .toc li{break-inside:avoid}
.gd{display:flex;flex-direction:column;gap:clamp(20px,2.6vw,34px);min-width:0}
.gd-body .lg-side{gap:0}
.note.short{padding:clamp(22px,2.6vw,34px) clamp(20px,2.8vw,38px);gap:10px;--rot:-.5deg;scroll-margin-top:110px}
.note.short h2{font-size:clamp(36px,3.2vw,46px)}
.note.short p{font:600 clamp(17px,1.45vw,20px)/1.5 var(--t);color:var(--ink-rain)}
.note.short:hover{transform:rotate(var(--rot))}
.gd-q,.gd-x,.ofr{scroll-margin-top:110px}
.gd-q>h2,.gd-x>h2{font:800 clamp(27px,2.7vw,40px)/1.05 var(--d);letter-spacing:-.02em;margin-bottom:16px}
.gd-x{display:flex;flex-direction:column;align-items:flex-start}
.gd-x .lnk,.side .lnk,.tk-hd .lnk{padding-block:5px;text-underline-offset:3px}
.gd-q .qq{font-size:clamp(18px,1.5vw,21px)}

/* numbered steps: handwritten numbers on round stickers */
.prose .nums{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.prose .nums li{display:flex;align-items:flex-start;gap:12px;padding-left:0}
.prose .nums li::before{display:none}
.num{flex:none;width:36px;height:36px;border-radius:50%;background:var(--n-yellow);color:var(--ink-note);font:700 25px/36px var(--h);text-align:center;white-space:normal;transform:rotate(-4deg)}
.nums li:nth-child(4n+2) .num{background:var(--n-green);transform:rotate(3deg)}
.nums li:nth-child(4n+3) .num{background:var(--n-pink)}
.nums li:nth-child(4n) .num{background:var(--n-blue);transform:rotate(5deg)}
.prose p+.nums,.prose .nums+p,.prose p+.gtb,.prose .gtb+p,.prose ul+.gtb,.prose .gtb+ul{margin-top:14px}

/* tables inside an article */
.gtb{box-shadow:none;border:2px solid #e3e9f3;border-radius:24px}
.tb.gt{min-width:560px;font-size:15.5px;line-height:1.4}
.tb.gt-4{min-width:720px}.tb.gt-5{min-width:880px}
.tb.gt th,.tb.gt td{vertical-align:top;white-space:normal}
.tb.gt tbody th{font:800 16px/1.25 var(--d);white-space:normal;min-width:128px}
.tb.gt thead th{vertical-align:bottom}
.tb.gt td:nth-child(2){white-space:normal}
.gtb .refund{min-width:680px}
.gtb .refund td{white-space:nowrap}
.gtb .refund th,.gtb .refund td{padding:12px}

/* the matching offer: the package's own colour panel */
.ofr{position:relative;overflow:hidden;border-radius:36px;padding:clamp(22px,3.4vw,46px);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:clamp(14px,3vw,40px);align-items:end}
.ofr-t{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0}
.ofr h2{font:800 clamp(42px,4.8vw,72px)/.95 var(--d);font-variation-settings:"opsz" 96;letter-spacing:-.025em}
.ofr .bk{margin-top:8px}
.ofr-pic{height:clamp(130px,calc(220*var(--u)),250px);width:auto;transform-origin:50% 100%;animation:breathe 5s ease-in-out infinite}
.p-openclaw-agent{background:linear-gradient(135deg,#d6ecff,#cfdcff 50%,#ffd6ea);--dot:#2e7bf0}
.p-mail-server{background:linear-gradient(135deg,#c6f4e6,#dcf8d4 50%,#fbf6b8);--dot:#17b58a}
.p-naming{background:linear-gradient(135deg,#fff0a6,#ffd89a 55%,#ffc2a0);--dot:#f08a1c}

/* glossary terms as toy tags, links as soft rows: .rows is in site.css */
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.tags a{display:block;background:#fff;color:var(--ink);padding:10px 15px;border-radius:var(--r-pill);font:600 15px/1.1 var(--t);text-decoration:none;box-shadow:0 6px 16px rgba(80,60,20,.08);transition:background .2s,color .2s}
.tags a:hover{background:var(--ink);color:#fff}

/* guides index: one sticky note per guide */
.idx{padding-top:clamp(36px,4vw,64px)}
.gcards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.2vw,32px)}
.gcards li{display:flex}
.gcard{flex:1;padding:22px 22px 18px;gap:10px;text-decoration:none;color:var(--ink-note)}
.gcard:focus-visible{border-radius:var(--r-note)}
.gc-n{font:700 40px/1 var(--h);color:var(--ink-note)}
.gcard h2{font:800 clamp(22px,1.9vw,28px)/1.1 var(--d);letter-spacing:-.015em;text-wrap:balance}
.gcard p{font-size:16px;line-height:1.42}
.gc-go{margin-top:auto;padding-top:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;font:700 15.5px/1.2 var(--d)}

/* use cases index: three colour panels */
.ucs{background:#fff;padding:clamp(36px,4vw,64px) 0 var(--sec)}
.uc-list{display:flex;flex-direction:column;gap:clamp(14px,1.8vw,24px);max-width:1280px;margin:0 auto}
.uc{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(16px,3vw,48px);align-items:center;border-radius:38px;padding:clamp(20px,3vw,42px);text-decoration:none;color:var(--ink);transition:transform .35s var(--ease-squash)}
.uc:focus-visible{border-radius:38px}
.uc-pic img{width:clamp(104px,calc(176*var(--u)),200px);height:auto;transform-origin:50% 100%}
.uc:hover .uc-pic img{animation:hop .6s var(--ease-pop)}
.uc-t{display:flex;flex-direction:column;gap:6px;min-width:0}
.uc h2{font:800 clamp(30px,3.5vw,54px)/1 var(--d);font-variation-settings:"opsz" 96;letter-spacing:-.022em}
.uc-p{font-size:17px;line-height:1.45;color:var(--ink-soft);max-width:44em}
.uc .gc-go{margin:0;padding:0;white-space:nowrap}
.pair-pal{max-width:100%}
@media (hover:hover){.uc:hover{transform:scale(1.015,.975)}}

/* glossary */
.gl-body{padding-top:clamp(24px,3vw,44px)}
.gl{max-width:1280px}
.az{position:sticky;top:76px;z-index:20;display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:var(--r-l);padding:8px 10px 8px 20px;box-shadow:0 10px 30px rgba(80,60,20,.1)}
.az p{font:700 27px/1 var(--h)}
.az ul{display:flex;flex-wrap:wrap;gap:4px}
.az a{display:flex;align-items:center;justify-content:center;min-width:38px;height:38px;border-radius:50%;background:#eef3f9;color:var(--ink);font:800 15.5px/1 var(--d);text-decoration:none;transition:background .2s,color .2s,transform .25s var(--ease-press)}
.az a:hover{background:var(--ink);color:#fff;transform:scale(1.12)}
.gl-l{display:grid;grid-template-columns:110px minmax(0,1fr);gap:clamp(12px,2vw,28px);align-items:start;margin-top:clamp(26px,3.4vw,48px);scroll-margin-top:150px}
.gl-l h2{position:sticky;top:150px;display:flex;align-items:center;justify-content:center;width:96px;height:96px;border-radius:50%;background:var(--lc,var(--n-yellow));font:700 66px/1 var(--h);letter-spacing:0;color:var(--ink-note);transform:rotate(-5deg);box-shadow:0 10px 22px rgba(80,60,20,.1)}
.gl-l.t2{--lc:var(--n-green)}.gl-l.t3{--lc:var(--n-pink)}.gl-l.t4{--lc:var(--n-blue)}.gl-l.t5{--lc:var(--n-orange)}.gl-l.t6{--lc:var(--n-violet)}
.gl-l:nth-child(even) h2{transform:rotate(4deg)}
.gl-l dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.gl-t{background:#fff;border-radius:var(--r-l);padding:18px 22px 20px;box-shadow:var(--sh-soft);scroll-margin-top:150px}
.gl-t:target{background:var(--hi);box-shadow:0 0 0 3px var(--ink)}
.gl-t dt{font:800 clamp(20px,1.7vw,24px)/1.1 var(--d);letter-spacing:-.015em}
.gl-t dd{margin:7px 0 0;font-size:16.5px;line-height:1.5;color:var(--ink-soft)}

/* guarantees */
.gu-sum{padding:clamp(40px,5vw,76px) 0}
.gu-sum .hd{margin-bottom:clamp(22px,3vw,40px)}
.notes4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(14px,1.8vw,26px)}
.notes4 .note{padding:22px 20px 22px;gap:10px}
.notes4 .note h3{font-size:clamp(32px,2.7vw,40px)}
.notes4 .note p{font-size:16px;line-height:1.42}
.notes4 .stop{width:52px;height:52px;background:#fff;box-shadow:var(--sh-toy);border:2px solid var(--ink)}
.notes4 .stop svg{width:24px;height:24px}

/* AI agent */
.ag-offer{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:18px;background:#fff;border-radius:var(--r-xl);padding:14px 16px 14px 26px;box-shadow:0 12px 30px rgba(30,60,120,.16)}
.ag-get{background:#fff;padding:var(--sec) 0}
.ag-get .hd{margin-bottom:var(--hd-gap)}
.ag-sec .hd{margin-bottom:var(--hd-gap)}
.ag-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(26px,4vw,72px);align-items:start;max-width:1280px;margin:0 auto}
.ag-col{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}
.ag-col h2{font-size:clamp(34px,4vw,58px)}
.ag-col .pills li:nth-child(n){margin-left:0;background:var(--sky-wash);box-shadow:none;font-size:16.5px}
.ag-col.no .pills li:nth-child(n){background:#f3f3f6}
.ag-col.no .pills li::before{background:var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9h7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")}
.ag-col .lgs{justify-content:flex-start}
.ag-col .lg{background:var(--sky-wash);box-shadow:none}
.band.ag-sec .lead{color:var(--on-night-2)}
.ag-sec .notes3 .note h3{font-size:clamp(32px,2.8vw,40px)}

/* technologies: shelves of toy blocks */
.tk{background:#fff;padding:clamp(48px,6vw,92px) 0}
.tk:nth-child(even){background:linear-gradient(180deg,var(--sky3),var(--sky-wash))}
.tk-hd{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:16px 56px;align-items:end;margin-bottom:clamp(22px,3vw,40px)}
.tk-hd>div{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(232px,1fr));gap:clamp(12px,1.4vw,18px)}
.tc{background:#f2f8ff;border-radius:28px;padding:18px 20px 20px;display:flex;flex-direction:column;gap:6px;--sq:1}
.tk:nth-child(even) .tc{background:#fff;box-shadow:0 10px 26px rgba(30,60,120,.1)}
.tc-l{display:flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:18px 18px 18px 6px;background:var(--c,var(--n-yellow));color:var(--ink-note);margin-bottom:6px;transform:rotate(-4deg)}
.tc:nth-child(6n+2) .tc-l{--c:var(--n-green);transform:rotate(3deg)}.tc:nth-child(6n+3) .tc-l{--c:var(--n-pink)}.tc:nth-child(6n+4) .tc-l{--c:var(--n-blue);transform:rotate(5deg)}.tc:nth-child(6n+5) .tc-l{--c:var(--n-orange)}.tc:nth-child(6n) .tc-l{--c:var(--n-violet);transform:rotate(2deg)}
.tc-l .lg-i{width:27px;height:27px}
.tc-w::before{content:attr(data-l);font:800 26px/1 var(--d)}
.tc h3{font:800 22px/1.1 var(--d);letter-spacing:-.015em}
.tc p{font-size:15.5px;line-height:1.4;color:var(--ink2)}
@media (hover:hover){.tc{transition:transform .35s var(--ease-squash)}.tc:hover{transform:scale(1.03,.96)}}

@media (max-width:1180px){
  .gcards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .notes4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:820px){
  .gd-hero h1{font-size:clamp(29px,8.2vw,40px);max-width:none}
  .gd-hero .sh-grid{grid-template-columns:1fr}
  .gd-hero .sh-art{justify-content:flex-start}
  .gd-hero .r-pic,.gd-hero .pair-pic{height:120px;min-height:0}
  .lg-g.one .toc ol{columns:1}
  .gd-hero .sh-grid{padding-bottom:26px}
  .gd-body .lg-side{display:block}
  .ofr{grid-template-columns:1fr;border-radius:28px}
  .ofr-pal{order:-1}
  .ofr-pic{height:120px}
  .ofr .btn{flex:1 1 100%}
  .gcards{grid-template-columns:1fr}
  .uc{grid-template-columns:1fr;border-radius:28px;gap:12px}
  .uc .gc-go{justify-content:space-between}
  .az{position:static;padding:12px 12px 12px 16px;border-radius:var(--r-m)}
  .az a{min-width:40px;height:40px}
  .gl-l{grid-template-columns:1fr;gap:10px}
  .gl-l h2{position:static;width:68px;height:68px;font-size:48px}
  .gl-l dl{grid-template-columns:1fr}
  .notes4{grid-template-columns:1fr}
  .ag-offer{border-radius:var(--r-l);padding:16px}
  .ag-offer .btn{flex:1 1 100%}
  .ag-two{grid-template-columns:1fr}
  .ag-pic{height:170px;min-height:0}
  .tk-hd{grid-template-columns:1fr}
  .tgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tc{padding:14px 14px 16px;border-radius:var(--r-m)}
  .tc h3{font-size:19px}
  .tb.gt tbody th{min-width:112px;font-size:15px}
}
@media (max-width:380px){.tgrid{grid-template-columns:1fr}}
.uc-lab{margin-top:6px}
