/* R26: all 34 cards on the home page by category; search box above the cards; newsletter button in the hero. */
html body.hy-r13 .r26-hero-cta{margin:32px 0 0}
html body.hy-r13 .r26-hero-cta .btn{margin:0}
html body.hy-r13 .r21-head .r26-search{max-width:560px;margin:24px auto 0;text-align:left}
html body.hy-r13 .r21-head .r26-search{max-width:640px}
@media(max-width:640px){html body.hy-r13 .r21-head .r26-search .aip-sbox{flex-wrap:wrap}html body.hy-r13 .r21-head .r26-search .aip-sbox input{flex:1 1 100%;min-width:0}html body.hy-r13 .r21-head .r26-search .aip-sbox .btn{flex:1 1 100%}}
@media(max-width:340px){html body.hy-r13 .r21-head .r26-search{margin-left:-14px;margin-right:-14px}html body.hy-r13 .r21-head .r26-search .aip-sbox input{padding-left:36px;padding-right:0}}
html body.hy-r13 #home-cards.aip-groups > section.aip-group{padding:0;margin:0}
html body.hy-r13 #home-cards.aip-groups > section.aip-group + section.aip-group{padding-top:64px}
html body.hy-r13 #home-cards.aip-groups > section.aip-group[hidden]{display:none}
html body.hy-r13 #home-cards.aip-groups > section.aip-group[hidden] + section.aip-group{padding-top:0}
html body.hy-r13 #home-cards.aip-groups .aip-grid{margin-top:18px}
html body.hy-r13 #home-cards.aip-groups .aip-grid-suggest{margin-top:16px}
html body.hy-r13 .r26-more{margin-top:64px}
/* R26 (Terra 11:38 PM PT): hairline border, stronger soft shadow, lift on hover/focus. Tool cards only; the dashed "Suggest a tool" tile stays flat. */
html body.hy .aip-card:not(.aip-suggest) a{border:1px solid rgba(140,106,52,.24);border-top:2px solid var(--gold);border-radius:3px;box-shadow:0 1px 2px rgba(60,44,20,.06),0 4px 10px rgba(60,44,20,.06),0 12px 28px rgba(60,44,20,.07);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
html body.hy .aip-card:not(.aip-suggest) a:hover,html body.hy .aip-card:not(.aip-suggest) a:focus-visible{transform:translateY(-3px);border-color:rgba(140,106,52,.4);border-top-color:var(--gold);box-shadow:0 2px 4px rgba(60,44,20,.07),0 10px 22px rgba(60,44,20,.10),0 24px 48px rgba(60,44,20,.13)}
@media(prefers-reduced-motion:reduce){html body.hy .aip-card:not(.aip-suggest) a{transition:box-shadow .18s ease,border-color .18s ease}html body.hy .aip-card:not(.aip-suggest) a:hover,html body.hy .aip-card:not(.aip-suggest) a:focus-visible{transform:none}}
/* R26 (Terra 11:40 PM PT): "See details" cue on every tool card */
html body.hy .aip-h20.r22 .aip-card-meta.r26-meta{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
html body.hy .aip-h20.r22 .aip-card-meta.r26-meta > .r26-meta-l{display:block;flex:1 1 auto;min-width:0}
html body.hy .aip-h20.r22 .aip-card-meta.r26-meta > .r26-meta-l > span{display:block}
html body.hy .aip-h20.r22 .aip-card-meta.r26-meta > .r26-see{display:block;flex:0 0 auto}
html body.hy .r26-see{font-family:var(--ui);font-size:14px;line-height:20px;font-weight:600;color:var(--brand);white-space:nowrap;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:text-decoration-color .18s ease}
html body.hy .r26-arr{display:inline-block;transition:transform .18s ease}
html body.hy .aip-card a{cursor:pointer}
html body.hy .aip-card a:hover .r26-see,html body.hy .aip-card a:focus-visible .r26-see{text-decoration-color:currentColor}
html body.hy .aip-card a:hover .r26-arr,html body.hy .aip-card a:focus-visible .r26-arr{transform:translateX(3px)}
/* R26: with all 34 cards shown, long maker names (Grammarly (Superhuman)) must wrap under the tool name on very narrow phones instead of widening the grid */
@media(max-width:380px){html body.hy .aip-h20 .h20-top{flex-wrap:wrap;row-gap:2px}}
@media(prefers-reduced-motion:reduce){html body.hy .r26-arr{transition:none}html body.hy .aip-card a:hover .r26-arr,html body.hy .aip-card a:focus-visible .r26-arr{transform:none}}
@media(max-width:640px){
html body.hy-r13 .r26-hero-cta{margin-top:32px}
html body.hy-r13 .r21-head .r26-search{margin-top:24px}
html body.hy-r13 #home-cards.aip-groups > section.aip-group + section.aip-group{padding-top:40px}
html body.hy-r13 .r26-more{margin-top:40px}
}
