/* Curious Corner (coozie.co/curious-corner/): the landing page and the guides. Loaded after css/site.css,
   whose tokens it uses. In the stamp language of the Coozie app (owner's designs, Oct 2026). */

/* Curious Corner: shared pieces, in the stamp language of the Coozie app redesign.
   Depends on the tokens in site.css. */

/* stamps */
.stamp-wrap{display:inline-block;filter:drop-shadow(0 6px 14px rgba(73,3,32,.10));line-height:0}
.stamp{position:relative;display:inline-block;background:var(--white);padding:8px;border-radius:2px;
  --r:4px;--s:12px;
  -webkit-mask:
    radial-gradient(circle at 50% 0,#0000 var(--r),#000 calc(var(--r) + .6px)) 50% 0/var(--s) 100% repeat-x,
    radial-gradient(circle at 50% 100%,#0000 var(--r),#000 calc(var(--r) + .6px)) 50% 100%/var(--s) 100% repeat-x,
    radial-gradient(circle at 0 50%,#0000 var(--r),#000 calc(var(--r) + .6px)) 0 50%/100% var(--s) repeat-y,
    radial-gradient(circle at 100% 50%,#0000 var(--r),#000 calc(var(--r) + .6px)) 100% 50%/100% var(--s) repeat-y;
  -webkit-mask-composite:source-in;
  mask:
    radial-gradient(circle at 50% 0,#0000 var(--r),#000 calc(var(--r) + .6px)) 50% 0/var(--s) 100% repeat-x,
    radial-gradient(circle at 50% 100%,#0000 var(--r),#000 calc(var(--r) + .6px)) 50% 100%/var(--s) 100% repeat-x,
    radial-gradient(circle at 0 50%,#0000 var(--r),#000 calc(var(--r) + .6px)) 0 50%/100% var(--s) repeat-y,
    radial-gradient(circle at 100% 50%,#0000 var(--r),#000 calc(var(--r) + .6px)) 100% 50%/100% var(--s) repeat-y;
  mask-composite:intersect}
.stamp-tile{display:flex;align-items:center;justify-content:center;border-radius:8px;
  background:linear-gradient(180deg,#C9D5FF 0%,#EDF1FF 100%);color:var(--wonder)}
.stamp-tile svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.stamp-tile img{display:block;width:84%;height:84%;object-fit:contain}
.stamp-tile.photo{background:linear-gradient(180deg,#DCE4FF 0%,#F3F6FF 100%)}
.stamp-tile.peach{background:linear-gradient(180deg,#FFD9CB 0%,#FFF1EB 100%);color:var(--spark)}
.stamp-tile.love{background:linear-gradient(180deg,#F2CEFE 0%,#FAF0FF 100%);color:#9B4FD6}
.stamp-sm .stamp{padding:5px;--r:3px;--s:9px}
.stamp-sm .stamp-tile{width:36px;height:36px;border-radius:6px}
.stamp-sm .stamp-tile svg{width:20px;height:20px}
.stamp-md .stamp-tile{width:56px;height:56px}
.stamp-md .stamp-tile svg{width:30px;height:30px}
.stamp-lg .stamp{padding:10px;--r:5px;--s:14px}
.stamp-lg .stamp-tile{width:96px;height:96px;border-radius:10px}
.stamp-lg .stamp-tile svg{width:52px;height:52px}
.stamp-xl .stamp{padding:12px;--r:6px;--s:16px}
.stamp-xl .stamp-tile{width:132px;height:132px;border-radius:12px}
.stamp-xl .stamp-tile svg{width:76px;height:76px}
.stamp-label{display:block;margin-top:10px;text-align:center;font-weight:600;font-size:15px;color:var(--cherry)}

/* chips */
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:999px;background:var(--white);
  border:1px solid var(--stone);color:var(--cherry);font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap}
.chip:hover{border-color:var(--wonder);color:var(--wonder)}
.chip.active,.chip.active:hover{background:var(--cherry);border-color:var(--cherry);color:var(--white)}
@media (max-width:640px){.chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}.chips::-webkit-scrollbar{display:none}}

/* pastel cards, the app's tile language */
.pcard{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:26px;min-height:250px;
  padding:22px;border-radius:24px;background:#E6EAFF;color:var(--cherry);text-decoration:none;
  transition:transform 140ms var(--ease-out),box-shadow 140ms var(--ease-out)}
a.pcard:hover{transform:translateY(-2px);box-shadow:var(--shadow-lift);color:var(--cherry)}
.pcard.peach{background:#FDE6DD}
.pcard.love{background:#F6E6FF}
.pcard.pure{background:var(--white);border:1px solid var(--stone)}
.pcard.soon{background:transparent;border:1.5px dashed var(--border-strong);justify-content:center;align-items:center;text-align:center;color:var(--text-muted)}
.pcard.soon .plus{width:52px;height:52px;border-radius:50%;background:var(--white);display:flex;align-items:center;justify-content:center;color:var(--spark);font-size:26px;font-weight:600;box-shadow:0 2px 8px rgba(73,3,32,.08)}
.pcard.soon .when{font-weight:600;font-size:15px;color:var(--spark)}
.pcard h3,.pcard .ptitle{margin:0;font-size:clamp(20px,1.8vw,24px);line-height:1.25;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
.pcard .pline{margin:6px 0 0;font-size:14.5px;line-height:1.45;color:var(--text-muted)}
.pcard .pmeta{margin:10px 0 0;font-size:12.5px;color:var(--text-muted)}
.pcard .pmeta .script{font-family:var(--font-display);color:var(--wonder);font-size:13px}
.pcard .pby{margin:8px 0 0;font-size:13.5px;font-weight:600;color:var(--cherry)}

/* rows of cards: grid on desktop, swipe on phone */
.prow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media (max-width:900px){.prow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .prow{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding:4px 20px 14px;margin:0 -20px;-webkit-overflow-scrolling:touch}
  .prow>*{flex:0 0 80%;scroll-snap-align:center}
  .prow::-webkit-scrollbar{display:none}
}


/* the landing page */
.ch-hero{display:flex;align-items:center;gap:clamp(24px,4vw,56px);flex-wrap:wrap;padding-top:clamp(36px,6vh,64px);padding-bottom:clamp(24px,4vh,40px)}
.ch-hero .copy{flex:1 1 440px}
.ch-hero h1{font-size:clamp(40px,5.4vw,72px);line-height:1.05;letter-spacing:-.025em}
.ch-hero h1 .sub{display:block;font-size:.42em;font-weight:500;color:var(--wonder);line-height:1.35;margin-top:14px;letter-spacing:-.01em}
.ch-hero .lead{margin-top:18px}

/* stamps with a round badge in the middle, as in the Coozie app (owner, 22 Oct 2026): portrait tiles, a white disc
   with the icon in the tile's colour, or an orange disc with a white icon; no Coozie pictures in them */
.stamp-tile.badged{box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}
.stamp-tile .bdg{display:flex;align-items:center;justify-content:center;width:60%;aspect-ratio:1;border-radius:50%;background:var(--white);color:inherit;box-shadow:0 3px 10px rgba(73,3,32,.12)}
.stamp-tile .bdg.spark{background:var(--spark);color:var(--white);box-shadow:0 0 0 4px rgba(255,255,255,.6),0 5px 14px rgba(254,102,45,.32)}
.stamp .stamp-tile .bdg svg{width:52%;height:52%;stroke-width:2}
.stamp-md .stamp-tile.badged{width:64px;height:76px}
.stamp-lg .stamp-tile.badged{width:92px;height:108px}
.stamp-xl .stamp-tile.badged{width:124px;height:146px}

/* a stamp with a picture in its tile: the guides' kicker, Coozie waving with a speech bubble. The same 64 x 76 as
   the other stamps; the square picture sits whole in the middle, on its own lavender */
.stamp-md .stamp-tile.pic{width:64px;height:76px;overflow:hidden;background:#DDE0FA}
.stamp .stamp-tile.pic img{width:100%;height:100%;object-fit:contain}

/* the hero picture: the owner's thinking Coozie, cut out of its studio background (22 Oct 2026) */
.ch-art{flex:0 0 auto;margin-right:clamp(0px,2vw,24px)}
.ch-art img{display:block;width:clamp(240px,27vw,340px);height:auto}
@media (max-width:640px){.ch-art{order:-1;width:100%;display:flex;justify-content:center;margin:0 0 4px}.ch-art img{width:210px}}

/* the pillars: a name and one line each; a pillar lists guides only once they're written (owner, 22 Oct 2026) */
.ch-pillars{padding-top:clamp(16px,3vh,32px);padding-bottom:clamp(36px,5vh,56px)}
.ch-pillars .h2-sm,.ch-latest .h2-sm{max-width:none;margin-bottom:22px}
.pillar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
@media (max-width:1100px){.pillar-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.pillar-grid{grid-template-columns:1fr}}
.pillar{display:flex;flex-direction:column;gap:16px;padding:20px 18px 22px;border-radius:24px;background:#E6EAFF;color:var(--cherry);scroll-margin-top:110px}
.pillar.peach{background:#FDE6DD}
.pillar.love{background:#F6E6FF}
.pillar .stamp-wrap{align-self:flex-start;transform:rotate(-3deg)}
.pillar:nth-child(even) .stamp-wrap{transform:rotate(3deg)}
.pillar h3{margin:0;font-size:clamp(19px,1.5vw,21px);line-height:1.25;font-weight:700;letter-spacing:-.01em}
.pillar p{margin:6px 0 0;font-size:14.5px;line-height:1.45;color:var(--text-muted)}
@media (max-width:520px){.pillar{flex-direction:row;align-items:center;gap:18px}}

/* a brand colour of its own for each pillar, so its guides can be told apart (owner, 22 Oct 2026, option B): white
   cards with the colour along the top edge, and a solid stamp in it with a white disc. AI toys spark, Parenting
   philosophies cherry, Minutes in between joy, Bade sawaal wonder, Real homes love. --pc is the edge and stamp,
   --pi the icon on the white disc, darker where the colour itself is too light to read on white, --pb the stamp's
   perforated border, a pale tint of the colour so the stamp edge shows on the white card (owner, 22 Oct 2026) */
.c-spark{--pc:var(--spark);--pt:var(--spark);--pi:var(--spark-deep);--pb:#FFD1C0}
.c-cherry{--pc:var(--cherry);--pt:var(--cherry);--pi:var(--cherry);--pb:#DDC1CD}
.c-joy{--pc:var(--joy);--pt:var(--joy);--pi:var(--wonder-deep);--pb:#D5E0FF}
.c-wonder{--pc:var(--wonder);--pt:var(--wonder);--pi:var(--wonder);--pb:#C6D3F8}
.c-love{--pc:var(--love-deep);--pt:var(--love);--pi:#9B4FD6;--pb:#F6DCFF}
.pillar.coded,.pcard.coded{position:relative;background:var(--white)}
.pillar.coded::before,.pcard.coded::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  box-shadow:inset 0 5px 0 var(--pc),inset 0 0 0 1px var(--stone)}
.stamp-tile.coded{background:var(--pt);color:var(--pi)}
.coded .stamp{background:var(--pb)}

/* the pillars filter the guides below (owner, 22 Oct 2026): the chosen one is ringed, the others fade back; a
   pillar with no guide yet shows "Coming soon." */
a.pillar{text-decoration:none;cursor:pointer;transition:transform 140ms var(--ease-out),box-shadow 140ms var(--ease-out),opacity 140ms var(--ease-out)}
a.pillar:hover{transform:translateY(-2px);box-shadow:var(--shadow-lift);color:var(--cherry)}
a.pillar:focus-visible{outline:3px solid var(--wonder);outline-offset:3px}
a.pillar.on,a.pillar.on:hover{transform:translateY(-2px);box-shadow:0 0 0 2.5px var(--cherry),var(--shadow-lift)}
.pillar-grid.filtered .pillar:not(.on){opacity:.55}
.pillar-grid.filtered .pillar:not(.on):hover{opacity:1}
.ch-latest{scroll-margin-top:96px}
.latest-head{display:flex;align-items:center;justify-content:space-between;gap:12px 16px;flex-wrap:wrap;margin-bottom:22px}
.ch-latest .latest-head .h2-sm{margin-bottom:0}
.filter-note{margin:-6px 0 18px;font-size:14.5px;font-weight:600;color:var(--text-muted)}
.guide-empty{grid-column:1/-1;min-height:0;padding:30px 24px;gap:14px}
.guide-empty p{margin:0;font-size:15.5px;line-height:1.5;color:var(--cherry)}
.pcard.guide-empty .when{font-family:var(--font-display);font-weight:400;font-size:clamp(26px,2.6vw,32px);line-height:1.5;color:var(--wonder)}
.ch-latest [hidden]{display:none !important}
button.chip{font-family:inherit;cursor:pointer}

/* the written guides */
.ch-latest{padding-bottom:clamp(44px,6vh,72px)}
.guide-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media (max-width:760px){.guide-list{grid-template-columns:1fr}}
.pcard.guide-card{flex-direction:row;align-items:center;justify-content:flex-start;gap:22px;min-height:0;padding:22px 24px}
.pcard .pkick{margin:0 0 6px;font-size:11.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted)}
@media (max-width:520px){.pcard.guide-card{flex-direction:column;align-items:flex-start}}

/* ---- a guide ---- */
/* Curious Corner guide: a handwritten note in the furniture, Montserrat in the body */
.cc-hero{padding-top:clamp(36px,6vh,64px);padding-bottom:clamp(20px,3vh,32px)}
.cc-kicker{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.cc-kicker .display{font-size:clamp(20px,2.2vw,26px);color:var(--wonder)}
.cc-hero h1{font-size:clamp(34px,4.6vw,58px);line-height:1.1;letter-spacing:-.02em;max-width:20ch;margin-top:18px}
.cc-byline{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px;font-size:15px;color:var(--text-muted)}
.cc-byline .who{display:flex;align-items:center;gap:10px;color:var(--cherry);font-weight:600}
.cc-byline .who span{display:inline-flex;width:34px;height:34px;border-radius:50%;background:var(--love);color:var(--cherry);align-items:center;justify-content:center;font-size:13px;font-weight:700}
.cc-byline .updated{font-family:var(--font-display);font-size:15px;color:var(--wonder)}
.cc-byline .dot{opacity:.5}

.cc-paper{position:relative;max-width:1160px;margin:0 auto;padding:0 clamp(20px,4vw,48px) clamp(44px,6vh,72px)}
.cc-card{position:relative;background:var(--white);border:1px solid var(--stone);border-radius:var(--radius-xl);padding:clamp(28px,4vw,56px) clamp(20px,5vw,72px) clamp(36px,5vw,64px);
  background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,rgba(73,3,32,.045) 31px,rgba(73,3,32,.045) 32px);background-size:100% 32px;background-origin:content-box}
.cc-tape{position:absolute;top:-13px;left:clamp(24px,6vw,64px);width:96px;height:28px;background:rgba(242,206,254,.92);transform:rotate(-3deg);border-radius:3px;box-shadow:0 1px 2px rgba(73,3,32,.08)}
.cc-tape::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.35) 0 6px,transparent 6px 12px);border-radius:3px}

.cc-body{max-width:62ch;margin:0 auto;font-size:clamp(17px,1.25vw,18.5px);line-height:1.72}
.cc-body p{margin:0 0 1.15em}
.cc-body h2{font-size:clamp(26px,2.8vw,36px);line-height:1.2;margin:1.6em 0 .7em;text-wrap:balance}
.cc-body a{text-underline-offset:3px}
.cc-body strong{font-weight:700;color:var(--cherry)}

/* the drawn cards */
.vis{margin:1.8em 0 2em;padding:clamp(18px,3vw,26px);background:var(--pure);border:1px solid var(--stone);border-radius:var(--radius-lg)}
.vis-title{margin:0 0 16px;font-size:clamp(17px,1.5vw,20px);font-weight:600;line-height:1.3;letter-spacing:-.01em;text-wrap:balance}
.vis-row{display:flex;align-items:stretch;gap:14px}
.vis-box{flex:1 1 0;min-width:0;padding:18px 18px 16px;gap:14px;min-height:0;justify-content:flex-start}
.vis-box h3{font-size:17px;font-weight:700;margin:0 0 12px;letter-spacing:0}
.vis-band{margin:14px 0 0;padding:12px 16px;border-radius:var(--radius-md);background:rgba(30,80,227,.08);border:2px solid var(--wonder);text-align:center;font-weight:600;font-size:14.5px;line-height:1.4}
.vis-note{margin:12px 0 0;font-size:12.5px;line-height:1.5;color:var(--text-muted)}

/* 0. the wish row: four stamps, the app's language */
.wish{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:1.4em 0 2em}
.wish .stamp-tile{width:76px;height:88px;border-radius:9px}
.wish .stamp-tile svg{width:38px;height:38px}
.wish .stamp{padding:8px;--r:4px;--s:12px}
.wish>div{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;min-width:0}
.wish .stamp-wrap{transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
.wish>div:nth-child(odd) .stamp-wrap{transform:rotate(-4deg)} .wish>div:nth-child(even) .stamp-wrap{transform:rotate(3deg)}
.wish .wl{font-size:14px;font-weight:600;line-height:1.35;max-width:13ch}
@media (max-width:600px){.wish{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}}
@media (prefers-reduced-motion:reduce){.wish .stamp-wrap{transition:none}}

/* 1. recorded toy vs AI toy: two small flows */
ol.flow{list-style:none;margin:0;padding:0;counter-reset:f}
ol.flow li{position:relative;padding-left:36px;margin:0 0 14px;font-size:14.5px;line-height:1.4;min-height:24px}
ol.flow li::before{counter-increment:f;content:counter(f);position:absolute;left:0;top:-1px;width:24px;height:24px;border-radius:50%;background:var(--white);border:1.5px solid var(--wonder);color:var(--wonder);text-align:center;font-weight:700;font-size:12px;line-height:21px}
ol.flow li:not(:last-child)::after{content:"";position:absolute;left:12px;top:25px;bottom:-13px;width:1.5px;background:var(--border-strong)}
.peach ol.flow li::before{border-color:var(--spark);color:var(--spark)}
.flow-foot{display:flex;align-items:center;gap:8px;margin-top:2px;font-size:13.5px;font-weight:600}
.flow-foot svg{flex:none;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.peach .flow-foot{color:var(--spark)} .flow-foot.go{color:var(--wonder)}

/* 2. a conversation, drawn as chat bubbles */
.chat{display:flex;flex-direction:column;gap:10px}
.msg{display:flex;align-items:flex-end;gap:10px;max-width:88%}
.msg .b{padding:10px 14px;border-radius:18px;font-size:15px;line-height:1.45}
.msg .tag{display:block;font-size:10.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted);margin-bottom:2px}
.msg.kid{align-self:flex-end;flex-direction:row-reverse}
.msg.kid .b{background:var(--love);border-bottom-right-radius:6px}
.msg.toy .b{background:var(--white);border:1px solid var(--stone);border-bottom-left-radius:6px}
.msg .av{flex:none}
.kid-av{display:inline-flex;width:30px;height:30px;border-radius:50%;background:var(--white);border:1px solid var(--stone);align-items:center;justify-content:center;color:var(--cherry)}
.kid-av svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}

/* 3. same question, two ages */
.age .pmeta{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted)}
.age .say{margin:0;font-size:15.5px;line-height:1.5;font-weight:500}
.age .big{font-weight:800;font-size:34px;line-height:1;color:var(--wonder);letter-spacing:-.02em}
.age.peach .big{color:var(--spark)}

/* 4. comparison */
.cmp-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--radius-md);border:1px solid var(--stone);background:var(--white)}
table.cmp{width:100%;min-width:560px;border-collapse:separate;border-spacing:0;font-size:14px;line-height:1.45}
.cmp th,.cmp td{padding:12px 14px;text-align:left;vertical-align:middle;border-bottom:1px solid var(--stone)}
.cmp tr:last-child th,.cmp tr:last-child td{border-bottom:0}
.cmp thead th{font-size:15px;font-weight:700;background:var(--white);vertical-align:middle}
.cmp thead th small{display:block;font-size:12px;font-weight:500;color:var(--text-muted);margin-top:2px}
.cmp th[scope=row]{font-size:11.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted);width:20%}
.cmp .ai{background:#EEF2FF}
.cmp thead .ai{color:var(--wonder)}
.cmp .yes{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--wonder)}
.cmp .yes svg{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* 5. the six things a good AI toy does */
.good-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:1.3em 0 1.8em}
.gcard{display:flex;gap:14px;align-items:flex-start;padding:16px;border-radius:20px;background:#E6EAFF;min-width:0}
.gcard.peach{background:#FDE6DD} .gcard.love{background:#F6E6FF}
.gcard h3{margin:0 0 4px;font-size:16px;line-height:1.3;font-weight:700;letter-spacing:0}
.gcard p{margin:0;font-size:14.5px;line-height:1.5}
@media (max-width:600px){.good-grid{grid-template-columns:1fr}}

/* 6. try tonight */
.try{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:1.2em 0 1.6em;padding:16px 18px;border:1.5px dashed var(--border-strong);border-radius:var(--radius-lg)}
.try .step{display:flex;flex-direction:column;gap:6px}
.try .lbl{font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted)}
.try .say{font-family:var(--font-display);font-size:18px;line-height:1.4;color:var(--wonder)}
.try .count{display:flex;gap:6px}
.try .count span{width:28px;height:28px;border-radius:50%;border:1.5px solid var(--border-strong);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12.5px;color:var(--text-muted)}
.try .count span:last-child{border-color:var(--spark);background:var(--spark);color:var(--white)}
.try .arrow{color:var(--border-strong);font-size:20px;line-height:1;padding:0 2px}
.try .then{font-weight:600;font-size:15px}
.try:not(:has(.count)){column-gap:22px;justify-content:space-between}
.try:not(:has(.count)) .arrow{display:none}

/* 7. the closing card: every box ticked */
.ticks{display:flex;align-items:center;gap:clamp(18px,3vw,30px);flex-wrap:wrap;margin:1.2em 0 1.4em;padding:clamp(18px,3vw,26px);background:var(--pure);border:1px solid var(--stone);border-radius:var(--radius-lg)}
.ticks ul{list-style:none;margin:0;padding:0;flex:1 1 260px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.ticks li{display:flex;align-items:flex-start;gap:8px;font-size:14.5px;line-height:1.4;font-weight:600}
.ticks li svg{flex:none;margin-top:2px}
@media (max-width:520px){.ticks ul{grid-template-columns:1fr}}

.cc-close{margin-top:1.6em;padding:clamp(22px,3vw,32px);background:var(--love-light);border:1px solid var(--love);border-radius:var(--radius-lg);text-align:center}
.cc-close p{margin:0 0 16px;font-size:clamp(17px,1.4vw,19px)}
.cc-close .btn{text-decoration:none}
.cc-more{padding:clamp(36px,5vh,56px) clamp(20px,4vw,48px) clamp(44px,6vh,72px);max-width:1160px;margin:0 auto}

@media (max-width:600px){
  table.cmp{min-width:0}
  .cmp thead{display:none}
  .cmp tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--stone)}
  .cmp tbody tr:last-child{border-bottom:0}
  .cmp th[scope=row]{grid-column:1/-1;width:auto;padding:12px 12px 2px;border-bottom:0}
  .cmp td{padding:6px 8px 12px;border-bottom:0;font-size:13px;overflow-wrap:anywhere;hyphens:auto}
  .cmp td::before{content:attr(data-p);display:block;font-size:11px;font-weight:700;color:var(--cherry);margin-bottom:2px}
  .cmp td.ai::before{color:var(--wonder)}
  .try{flex-direction:column;align-items:flex-start}
  .try .arrow{display:none}
}
@media (max-width:720px){
  .vis-row{flex-direction:column}
  .vis-box{flex:0 0 auto}
  .msg{max-width:96%}
}

/* ---- the why chain: its own drawings (the why web, the numbers, the why-o-meter, the four kinds, the answer
   sheet), its footnotes and sources ---- */
.cc-sub{margin:12px 0 0;font-size:clamp(17px,1.5vw,20px);line-height:1.5;color:var(--text-muted);max-width:44ch}
sup.fn{line-height:0;font-size:.68em;vertical-align:super}
sup.fn a{font-weight:700;text-decoration:none;padding:0 1px;color:var(--wonder)}
sup.fn a:hover{text-decoration:underline}
.vis-sub{margin:0 0 16px !important;font-size:14.5px;line-height:1.5;color:var(--text-muted)}
/* a figure allowed to run wider than the text column */
.vis.wide{--w:min(860px,calc(100vw - 2*clamp(20px,4vw,48px) - 2*clamp(20px,5vw,72px) - 4px));width:var(--w);margin-left:calc((100% - var(--w))/2)}
/* 1. the opening why web: one morning chain, growing across the web */
.ow-fig{padding:clamp(14px,2.4vw,22px)}
.oweb{position:relative;aspect-ratio:860/620}
.oweb svg{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;pointer-events:none}
.ow-bg path{fill:none;stroke:rgba(73,3,32,.11);stroke-width:1.2}
.ow-bg path.ring{stroke-dasharray:3 5}
.ow-th path{fill:none;stroke:var(--spark);stroke-width:2.4;stroke-linecap:round;opacity:0;transition:opacity .3s}
.ow-th path.on{opacity:1}
.ow-th path.dash{stroke-dasharray:2 7}
.ow{position:absolute;translate:-50% -50%;width:max-content;z-index:1;transition:opacity .45s var(--ease-out),scale .45s var(--ease-out)}
.ow.q{max-width:30%;padding:10px 15px;border-radius:18px;background:var(--white);border:2px solid var(--spark);font-weight:600;font-size:15.5px;line-height:1.35;color:var(--cherry);box-shadow:0 6px 16px rgba(254,102,45,.14)}
.ow .n{position:absolute;top:-11px;left:12px;padding:1px 8px;border-radius:999px;background:var(--spark);color:var(--white);font:800 10.5px/1.6 var(--font-body);letter-spacing:.03em;white-space:nowrap}
.ow.a{max-width:22%;padding:4px 10px;border-radius:10px;background:var(--pure);font-size:13.5px;line-height:1.4;font-style:italic;color:var(--text-muted);text-align:center}
.ow.a small{display:block;font-style:normal;font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--wonder)}
.ow.note{max-width:31%;padding:15px 15px 12px;border-radius:16px;background:var(--white);border:2px dashed rgba(254,102,45,.55);font-size:14px;line-height:1.5;color:var(--cherry)}
.ow.note .n{background:var(--white);color:var(--spark);border:1.5px solid var(--spark);line-height:1.4}
.ow.last{max-width:36%;padding:14px 20px;background:var(--spark);border-color:var(--spark);color:var(--white);font-family:var(--font-display);font-weight:400;font-size:clamp(18px,2vw,22px);line-height:1.5;box-shadow:0 0 0 7px rgba(254,102,45,.14),0 10px 24px rgba(254,102,45,.25)}
.ow.last .n{background:var(--cherry)}
.oweb.anim .ow{opacity:0;scale:.88}
.oweb.anim .ow.show{opacity:1;scale:1}
.oweb.anim .ow.q.show,.oweb.anim .ow.note.show{transition-delay:.28s}
.ow-replay{display:block;margin:12px auto 0;padding:6px 14px;border-radius:999px;border:1.5px solid var(--stone);background:var(--white);font:600 13px var(--font-body);color:var(--cherry);cursor:pointer}
.ow-replay:hover{border-color:var(--spark)}
.ow-replay[hidden]{display:none}
/* the web needs about 900px: between 701 and 900px its labels and captions ran into each other (measured and seen at
   768 and 820px, 22 Oct 2026), so tablets get the stacked chain too; the script's query (why-do-kids-ask-why.html)
   must say the same width */
@media (max-width:900px){
  .oweb{aspect-ratio:auto;display:flex;flex-direction:column;gap:18px;padding:10px 0 4px}
  .ow{position:relative;translate:none;max-width:86% !important}
  .ow.q{align-self:flex-start} .ow.q[data-p="n2"],.ow.q[data-p="n4"]{align-self:flex-end}
  .ow.a{align-self:center}
  .ow.note{align-self:center;max-width:100% !important}
  .ow.last{align-self:center}
}
/* 2. the numbers */
.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:1.2em 0 1.8em}
.stat{padding:20px;border-radius:22px;background:#E6EAFF;min-width:0}
.stat.peach{background:#FDE6DD} .stat.love{background:#F6E6FF;grid-column:1/-1}
.stat .num{display:block;font-weight:800;font-size:clamp(42px,5vw,56px);line-height:1;letter-spacing:-.03em;color:var(--wonder)}
.stat.peach .num{color:var(--spark)}
.stat .unit{display:block;margin:6px 0 10px;font-weight:700;font-size:16.5px;line-height:1.3}
.stat p{margin:0 !important;font-size:15px;line-height:1.55}
.stat .pair{display:flex;gap:clamp(18px,4vw,40px);flex-wrap:wrap;margin-bottom:10px}
.stat .pair > div{min-width:0}
.stat.love .num{color:#9B4FD6}
.stat.love{display:flex;flex-direction:column;gap:14px}
.stat .head{margin:0 !important;font-weight:700;font-size:clamp(19px,2vw,22px);line-height:1.3}
.sbars{display:grid;gap:14px}
.sbar{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;align-items:center}
.sbar .pct{grid-row:1/3;font-weight:800;font-size:clamp(30px,3.4vw,38px);line-height:1;letter-spacing:-.02em;color:#9B4FD6}
.sbar .lbl{font-size:14.5px;font-weight:600;line-height:1.35}
.sbar .track{height:12px;margin-top:6px;border-radius:999px;background:rgba(155,79,214,.16);overflow:hidden}
.sbar .track i{display:block;height:100%;border-radius:999px;background:#9B4FD6}
.moonline{display:flex;gap:12px;align-items:flex-start;padding-top:14px;border-top:1px dashed rgba(155,79,214,.4)}
.moonline p{margin:0 !important;font-size:15px;line-height:1.55}
@media (max-width:600px){.stats{grid-template-columns:1fr}}
/* 4. the why-o-meter: how many whys to expect, moment by moment */
.lv5{--c:#FE662D;--t:#FFE3D7} .lv4{--c:#FF9466;--t:#FFEDE5} .lv3{--c:#F2CEFE;--t:#F8E8FF} .lv2{--c:#A3BBFF;--t:#E8EDFF} .lv1{--c:#DCE4FF;--t:#F1F4FF}
.m-key{display:flex;align-items:center;gap:10px;margin:0 0 14px !important;font-size:14px;line-height:1.45;color:var(--text-muted)}
.meter{position:relative;display:grid;grid-template-columns:84px minmax(0,1fr);grid-template-rows:auto repeat(5,minmax(0,1fr)) auto;column-gap:22px;margin:4px 0 0 4px}
.m-end{grid-column:1;justify-self:center;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);white-space:nowrap;line-height:1.2}
.m-end.top{grid-row:1;margin-bottom:12px} .m-end.bot{grid-row:7;margin-top:12px}
.m-bezel{grid-column:1;grid-row:2/7;margin:-6px;border-radius:48px;background:var(--white);border:1px solid var(--stone);box-shadow:inset 0 2px 6px rgba(73,3,32,.08)}
.m-seg{grid-column:1;position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:74px;padding:6px 4px;text-align:center;font-size:10.5px;line-height:1.2;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--cherry);background:var(--c);border-bottom:2px solid rgba(255,255,255,.75);transition:background-color 380ms var(--ease-out),color 380ms var(--ease-out)}
.m-seg.lv5{color:var(--white)}
.m-seg.top{border-radius:40px 40px 8px 8px}
.m-seg.bot{border-radius:8px 8px 40px 40px;border-bottom:0}
.m-tags{grid-column:2;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;align-content:center;gap:8px;padding:6px 0;transition:opacity 380ms var(--ease-out),transform 380ms var(--ease-out)}
.m-tag{position:relative;flex:1 1 220px;padding:9px 14px 10px;border-radius:14px;background:var(--t);line-height:1.35}
.m-tag:first-child::before{content:"";position:absolute;left:-10px;top:50%;transform:translateY(-50%);border:8px solid transparent;border-right:10px solid var(--t);border-left:0}
.m-tag b{display:block;font-size:15px;font-weight:700}
.m-tag span{display:block;font-size:14px;font-style:italic;color:rgba(73,3,32,.78)}
.fill.anim .m-seg{background:#EEEAE4;color:rgba(73,3,32,.35)}
.fill.anim .m-tags{opacity:0;transform:translateX(8px)}
.fill.anim.on .m-seg{background:var(--c);color:var(--cherry)}
.fill.anim.on .m-seg.lv5{color:var(--white)}
.fill.anim.on .m-tags{opacity:1;transform:none}
.fill .lv1{transition-delay:0ms} .fill .lv2{transition-delay:160ms} .fill .lv3{transition-delay:320ms} .fill .lv4{transition-delay:480ms} .fill .lv5{transition-delay:640ms}
.m-guess{display:inline-block;margin:14px 0 0 !important;font-size:12.5px;color:var(--text-muted)}
@media (max-width:560px){
  .meter{grid-template-columns:68px minmax(0,1fr);grid-template-rows:auto repeat(5,auto) auto;column-gap:16px;margin-left:2px}
  .m-seg{font-size:9.5px;letter-spacing:.02em;min-height:66px;white-space:nowrap;padding-inline:2px}
  .m-end{font-size:9.5px}
  .m-tags{flex-direction:column;align-items:stretch}
  .m-tag{flex:none}
  .m-tag b{font-size:14px} .m-tag span{font-size:13.5px}
}
/* 5. the four kinds of why, as four boxes */
.kinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:1.3em 0 1.8em}
.kind{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:22px;background:#E6EAFF;min-width:0}
.kind.peach{background:#FDE6DD} .kind.love{background:#F6E6FF} .kind.pure{background:var(--pure);border:1px solid var(--stone)}
.kind-h{display:flex;align-items:center;gap:12px}
.kind-h b{font-size:16px;line-height:1.3}
.kind .hear{margin:0 !important;font-size:17px;line-height:1.4;font-weight:600}
.kind .hear small{display:block;font-size:13px;font-weight:500;color:var(--text-muted);margin-top:2px}
.kind .wants{align-self:flex-start;font-size:13px;font-weight:700;padding:5px 12px;border-radius:999px;background:var(--white);color:var(--spark);box-shadow:0 1px 3px rgba(73,3,32,.08)}
.kind:not(.peach) .wants{color:var(--wonder)} .kind.love .wants{color:#9B4FD6}
.kind .helps{margin:0 !important;display:flex;align-items:flex-start;gap:9px;padding:11px 14px;border-radius:14px;background:var(--white);box-shadow:0 1px 3px rgba(73,3,32,.08);font-size:14.5px;line-height:1.5}
.kind .helps svg{flex:none;width:17px;height:17px;margin-top:2px;fill:none;stroke:var(--spark);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.kind:not(.peach) .helps svg{stroke:var(--wonder)} .kind.love .helps svg{stroke:#9B4FD6}
@media (max-width:600px){.kinds{grid-template-columns:1fr}}
/* 7. tips, as an A B C D answer sheet */
.opts{margin:1.2em 0 1.4em;padding:clamp(16px,2.5vw,22px);border-radius:var(--radius-lg);background:var(--pure);border:1px solid var(--stone)}
.opts-h{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 12px !important}
.opts-h b{font-size:16.5px;line-height:1.35;font-weight:700}
.opts-h em{font-style:normal;font-family:var(--font-display);font-size:14px;color:var(--wonder)}
.opt{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border-radius:16px;background:var(--white);border:1.5px solid var(--stone)}
.opt + .opt{margin-top:10px}
.opt .l{flex:none;width:36px;height:36px;border-radius:50%;border:2px solid currentColor;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;line-height:1;color:var(--wonder)}
.opt.ob .l{color:var(--spark)} .opt.oc .l{color:#9B4FD6} .opt.od .l{color:var(--cherry)}
.opt h3{margin:5px 0 4px;font-size:16px;line-height:1.3;font-weight:700;letter-spacing:0}
.opt p{margin:0 !important;font-size:14.5px;line-height:1.5}
.opt .ok{flex:none;margin-left:auto;align-self:center;width:26px;height:26px;border-radius:50%;background:#E6EAFF;color:var(--wonder);display:flex;align-items:center;justify-content:center}
.opt .ok svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
/* 8. try tonight */
.g-why .try .say{font-family:var(--font-display);font-size:18px;line-height:1.45;color:var(--wonder);max-width:15em}
.try.mini{margin:12px 0 2px;padding:12px 14px;gap:10px;background:var(--pure)}
.try.mini .say{font-size:16px}
.try.mini .then{font-size:14px;max-width:10em}
.try.mini{column-gap:26px}
.try.mini .arrow{display:none}
@media (max-width:600px){.opt .ok{display:none}.opt{gap:12px;padding:14px}}
/* 9. Coozie close */
.coo{display:flex;align-items:center;gap:clamp(18px,3vw,30px);flex-wrap:wrap;margin:1.2em 0 1.4em;padding:clamp(18px,3vw,26px);background:var(--pure);border:1px solid var(--stone);border-radius:var(--radius-lg)}
.coo p{flex:1 1 260px;margin:0 !important}
.sources{margin-top:2.4em;padding-top:1.4em;border-top:1px solid var(--stone)}
.sources h2{font-size:clamp(20px,2vw,24px) !important;margin:0 0 .6em !important}
.sources ol{margin:0;padding-left:1.4em;font-size:14px;line-height:1.55;color:var(--text-muted)}
.sources li{margin:0 0 8px}
.sources li:target{color:var(--cherry)}
.sources .back{margin-left:6px;font-size:12.5px;font-weight:600;text-decoration:none}
@media (prefers-reduced-motion:reduce){
  .m-seg,.m-tags,.ow,.ow-th path{transition:none !important}
}

/* "One thing to try tonight": the three steps in one row on wider screens (the third one wrapped under the first) */
.try:not(:has(.count)){display:grid;grid-template-columns:repeat(3,auto);justify-content:space-between;align-items:start}
@media (max-width:600px){.try:not(:has(.count)){grid-template-columns:1fr;row-gap:14px}}
