/* The search demonstration (23 Oct 2026): a calm results page. The top answer is a soft featured panel, other results are light rows on hairlines, a partner is one compact marked card, and a product question adds a short guide and product cards. A quiet margin column says what each part demonstrates; on phones the notes sit above their result. Compact like prototypes/. */
.demo{display:inline-block;margin:0 auto 18px;padding:6px 14px;border-radius:999px;background:var(--ink);color:var(--cream);font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.cmp .demonote{margin:14px auto 0;font-size:14px;font-weight:500;color:var(--ink);max-width:56ch}
.ex{margin-top:26px;text-align:center}
.ex ul{list-style:none;margin:12px auto 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:900px}
.ex button{border:1px solid var(--line);background:rgba(255,253,248,.7);border-radius:999px;padding:9px 16px;font-size:14px;cursor:pointer;transition:border-color .15s ease,color .15s ease}
.ex .muted{font-size:14px;color:var(--mute)}
@media (hover:hover) and (pointer:fine){.ex button:hover{border-color:var(--tomato);color:var(--label)}}

/* what this page shows: three plain steps above the search */
.intro{padding-block:clamp(36px,5vw,64px) clamp(28px,4vw,48px);text-align:center}
.intro h1{margin:0 auto;font-weight:300;font-size:clamp(26px,3vw,40px);line-height:1.12;letter-spacing:-.03em;max-width:24ch;text-wrap:balance}
.how3{list-style:none;margin:28px auto 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;max-width:980px;text-align:left}
.how3 li{display:flex;gap:12px;align-items:baseline;font-size:15px;line-height:1.5}
.how3 b{flex:0 0 auto;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--tomato);color:var(--cream);font-size:13px;font-weight:600}
@media (max-width:760px){.how3{grid-template-columns:minmax(0,1fr)}}

/* results: one column of results and a quiet margin column of notes */
.res{padding-block:clamp(56px,7vw,96px) 0;scroll-margin-top:12px}
.res .in{max-width:1040px;margin:0 auto;--note:220px;display:flex;flex-direction:column}
/* a product search: products and the guide lead, answers follow */
.product-first .shelf{order:1;margin-top:20px}.product-first .list{order:2;margin-top:28px}
.rhead{max-width:calc(100% - var(--note) - 40px)}
.rhead h2{margin:8px 0 0;font-weight:300;font-size:clamp(26px,2.8vw,38px);line-height:1.12;letter-spacing:-.03em;text-wrap:balance}
.rhead .read{margin:8px 0 0;font-size:14px;color:var(--mute)}
.list{list-style:none;margin:24px 0 0;padding:0}
.row,.shelf{display:grid;grid-template-columns:minmax(0,1fr) var(--note);gap:40px;align-items:start}
.note{position:relative;margin:0;padding:14px 0 0 16px;font-size:13px;line-height:1.5;color:var(--label)}
.note:not(:empty)::before{content:"";position:absolute;left:0;top:20px;width:7px;height:7px;border-radius:50%;background:var(--tomato)}
.kind{margin:0;font-size:12px;font-weight:500;color:var(--mute)}
.row h3,.shelf h3{margin:4px 0 0;font-weight:400;letter-spacing:-.015em}
.sub{margin:4px 0 0;font-size:15px;line-height:1.5;color:var(--mute)}
.meta{margin:8px 0 0;font-size:13px;color:var(--mute)}

/* the top answer: soft panel, the short answer first */
.is-top .feat{background:#fffdf8;border-radius:20px;padding:24px 26px 20px;box-shadow:0 10px 32px rgba(58,39,35,.07),0 0 0 1px rgba(58,39,35,.06)}
.is-top h3{font-size:clamp(22px,2vw,28px);line-height:1.15}
.feat .lead{margin:10px 0 0;font-size:18px;line-height:1.45}
.steps{list-style:none;counter-reset:s;margin:14px 0 0;padding:0;display:grid;gap:8px}
.steps li{counter-increment:s;display:flex;gap:10px;align-items:baseline;font-size:15px;line-height:1.45}
.steps li::before{content:counter(s);flex:0 0 auto;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--powder);color:var(--label);font-size:11px;font-weight:600}
.feat .meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;padding-top:12px;margin-top:16px;border-top:1px solid var(--line)}
.feat .more{color:var(--ink);font-weight:500}
.feat .more::after{content:" →"}

/* plain results: rows on hairlines, no boxes */
.is-plain .cell,.is-partner .cell{padding:18px 2px;border-bottom:1px solid var(--line)}
.is-top+.is-plain .cell,.is-top+.is-partner .cell{margin-top:12px}
.is-plain h3{font-size:19px;line-height:1.3}
.quiet{margin:0;font-size:15px;color:var(--mute)}

/* the partner: one compact card, marked */
.pc{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:16px;align-items:center;background:var(--cream);border:1px solid rgba(249,176,54,.55);border-radius:16px;padding:12px 14px}
.thumb,.pic{display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#fde7c4,#fbd3c9);color:var(--ink);font-size:22px;font-weight:500}
.thumb{width:56px;height:56px}
.pc h3{font-size:17px;line-height:1.3;margin-top:2px}
.pc .sub{font-size:14px;margin-top:2px}
.by{margin:0;display:flex;align-items:center;flex-wrap:nowrap;gap:8px;font-size:12px;color:var(--mute);white-space:nowrap;min-width:0}
.by .nm{overflow:hidden;text-overflow:ellipsis}
.mark{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--saffron);color:var(--ink);font-size:11px;font-weight:600}
.mark.plain{background:var(--paper);border:1px solid var(--line);font-weight:500}
.visit{align-self:center;border:1px solid var(--ink);border-radius:999px;padding:8px 14px;font-size:13px;font-weight:500;white-space:nowrap}
.visit::after{content:" →"}
@media (hover:hover) and (pointer:fine){.visit:hover{background:var(--ink);color:var(--cream)}}

/* a product question: a short guide, then product cards */
.shelf{margin-top:36px}
.guide{margin-top:10px;background:#fffdf8;border-radius:18px;padding:18px 20px;box-shadow:0 0 0 1px rgba(58,39,35,.06)}
.guide h3{font-size:19px}
.checks{list-style:none;margin:10px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;font-size:14px}
.checks li::before{content:"✓";margin-right:8px;color:var(--tomato);font-weight:600}
.products{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.prod{display:flex;flex-direction:column;gap:4px;background:var(--cream);border:1px solid var(--line);border-radius:16px;padding:12px 12px 14px}
.prod.mine{border-color:rgba(249,176,54,.8);box-shadow:0 0 0 3px rgba(249,176,54,.18)}
.pic{aspect-ratio:4/3;margin-bottom:8px;font-size:34px}
.prod h3{font-size:16px;line-height:1.3}
.prod .sub{font-size:13px}
.ok{display:flex;align-items:center;gap:4px;margin:6px 0 0;font-size:12px;font-weight:500}
.ok i{width:7px;height:7px;border-radius:50%;background:var(--tomato)}
.ok i:last-of-type{margin-right:4px}
.shop{margin:0;font-size:12px;color:var(--mute)}

.empty{padding:18px 2px;font-size:15px;line-height:1.6;color:var(--mute);max-width:calc(100% - var(--note) - 40px)}
.alts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.alts button,.empty button{border:1px solid var(--line);background:var(--cream);border-radius:999px;padding:7px 14px;font-size:14px;color:var(--ink);cursor:pointer}

.legend{max-width:1040px;margin:clamp(64px,8vw,104px) auto 0;padding-top:28px;border-top:1px solid var(--line)}
.legend ul{list-style:none;margin:18px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.legend b{display:block;font-weight:500;font-size:16px;margin-bottom:4px}
.legend span{font-size:15px;line-height:1.5;color:var(--mute)}

@media (max-width:900px){
  .row,.shelf{grid-template-columns:minmax(0,1fr);gap:0}
  .note{order:-1;padding:16px 0 6px 16px}.note:not(:empty)::before{top:22px}.note:empty{display:none}
  .rhead,.empty{max-width:none}
  .products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .legend ul{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:560px){.products,.checks{grid-template-columns:minmax(0,1fr)}.pc{grid-template-columns:48px minmax(0,1fr)}.thumb{width:48px;height:48px}.visit{grid-column:2;justify-self:start}}
