/*
Theme Name: What To Use For
Description: Fast, accessible directory theme for whattousefor.com. Needs the WTUF Directory plugin.
Author: Air Marketing
Version: 2.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: wtuf
*/

:root {
  color-scheme: light;
  --bg: #faf8f4; --surface: #ffffff; --surface-2: #f3efe8; --text: #22252b; --muted: #5d6470; --line: #e6e0d6; --line-strong: #d6cfc2;
  --accent: #1d6b66; --accent-soft: #e3f0ee; --btn: #22252b; --btn-hover: #0f1114; --ok: #1f7a55; --err: #b3372a;
  --ai: #6650c4; --software: #2b69b5; --services: #1f7a63; --products: #ad5420; --feat: #8a6410; --own: #1d6b66;
  --ai-soft: #efecfb; --software-soft: #e8f0fa; --services-soft: #e5f3ee; --products-soft: #faede3;
  --radius: 16px; --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(34,37,43,.04), 0 8px 24px rgba(34,37,43,.06);
  --shadow-lg: 0 2px 4px rgba(34,37,43,.04), 0 18px 44px rgba(34,37,43,.10);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.015em; font-weight: 750; }
h1 { font-size: clamp(1.85rem, 4.4vw, 2.6rem); letter-spacing: -.025em; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted, small { color: var(--muted); }
.lede { font-size: 1.125rem; color: var(--muted); max-width: 62ch; }
.ico { flex: none; width: 1.15em; height: 1.15em; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(250,248,244,.9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 16px; min-height: 66px; flex-wrap: wrap; }
.brand { font-weight: 800; font-size: 1.18rem; letter-spacing: -.03em; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav__link .ico { color: var(--muted); }
.nav__link:hover { background: var(--surface-2); }
.nav__link--ai:hover .ico, .nav__link--ai[aria-current] .ico { color: var(--ai); }
.nav__link--software:hover .ico, .nav__link--software[aria-current] .ico { color: var(--software); }
.nav__link--services:hover .ico, .nav__link--services[aria-current] .ico { color: var(--services); }
.nav__link--products:hover .ico, .nav__link--products[aria-current] .ico { color: var(--products); }
.nav__link[aria-current] { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); }
.nav__cta { margin-left: 10px; }
.top__search { order: 3; flex: 1 1 100%; padding-bottom: 12px; }
.navbtn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 11px 10px; }
.navbtn span { display: block; height: 2px; background: var(--text); border-radius: 2px; margin: 4px 0; }
@media (min-width: 960px) {
  .top__in { flex-wrap: nowrap; }
  .top__search { order: 0; flex: 1 1 240px; max-width: 320px; padding: 0; margin-left: 10px; }
  .nav { order: 2; }
}
@media (max-width: 959px) {
  .navbtn { display: block; }
  .nav { display: none; order: 4; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 4px 0 14px; margin: 0; }
  .nav.is-open { display: flex; }
  .nav__link { padding: 12px; font-size: 1rem; }
  .nav__cta { margin: 8px 0 0; }
}

/* Buttons, chips, badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent; font: 650 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; }
.btn--primary { background: var(--btn); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.btn--primary:hover { background: var(--btn-hover); color: #fff; box-shadow: 0 6px 16px rgba(34,37,43,.22); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--ghost.is-done { color: var(--ok); border-color: currentColor; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .92rem; }
.btn--lg { min-height: 52px; padding: 12px 24px; font-size: 1.05rem; border-radius: 14px; }
.btn:active { transform: translateY(1px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1em; }
.chip { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); text-decoration: none; font-size: .94rem; font-weight: 500; transition: border-color .15s, background .15s, transform .15s; }
.chip:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); transform: translateY(-1px); }
.chip.is-on { background: var(--text); color: #fff; border-color: var(--text); }
.chips--prompts .chip::before { content: "\2192"; margin-right: 7px; color: var(--muted); font-size: .9em; }
.chips--prompts .chip:hover::before { color: var(--accent); }
.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650; background: var(--surface-2); color: var(--muted); text-decoration: none; white-space: nowrap; vertical-align: middle; }
.badge--ai { color: var(--ai); background: var(--ai-soft); }
.badge--software { color: var(--software); background: var(--software-soft); }
.badge--services { color: var(--services); background: var(--services-soft); }
.badge--products { color: var(--products); background: var(--products-soft); }
.badge--feat { color: var(--feat); background: #f8efd6; }
.badge--own { color: var(--own); background: var(--accent-soft); }

/* Search */
.sform__row { display: flex; align-items: center; gap: 4px 12px; }
.sform__field { display: flex; align-items: center; flex: 1; min-width: 0; }
.sform input[type=search] { flex: 1; min-width: 0; font: inherit; color: var(--text); background: transparent; border: 0; outline: 0; padding: 10px 6px; -webkit-appearance: none; appearance: none; }
.sform input::placeholder { color: #8b919c; opacity: 1; }
.sform button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 8px 10px; border-radius: 10px; font: 650 1rem var(--font); }
.sform:not(.sform--big) .sform__row { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; padding: 0 4px 0 10px; }
.sform:not(.sform--big) .sform__row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.sform--big { max-width: 780px; margin: 0 auto 18px; text-align: left; }
.sform--big .sform__row { flex-wrap: wrap; background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: 22px; padding: 10px 10px 10px 24px; box-shadow: var(--shadow-lg); }
.sform--big .sform__row:focus-within { border-color: var(--accent); box-shadow: var(--shadow-lg), 0 0 0 4px var(--accent-soft); }
.sform--big .sform__label { font-weight: 800; font-size: clamp(1.05rem, 2.6vw, 1.3rem); white-space: nowrap; letter-spacing: -.02em; }
.sform--big .sform__field { flex: 1 1 260px; }
.sform--big input[type=search] { font-size: clamp(1.05rem, 2.6vw, 1.3rem); padding: 8px 4px; margin-right: 10px; }
.sform--big button { background: var(--btn); color: #fff; min-height: 52px; padding: 10px 20px; border-radius: 15px; }
.sform--big button:hover { background: var(--btn-hover); }
.sform__scope { border: 0; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: .9rem; font-weight: 600; color: var(--muted); transition: all .15s; }
.pill:hover span { border-color: var(--text); color: var(--text); }
.pill input:checked + span { background: var(--text); border-color: var(--text); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.findmore .sform--big, .pagehead .sform--big { margin-left: 0; }
.findmore .sform__scope, .pagehead .sform__scope { justify-content: flex-start; }
.pagehead .sform--big { margin-top: 18px; }
@media (max-width: 520px) { .sform--big .sform__row { padding: 14px; } .sform--big button span { display: none; } .sform--big .sform__field { flex-basis: 100%; } }

/* Hero */
.hero { position: relative; padding: clamp(40px, 8vw, 88px) 0 clamp(28px, 5vw, 52px); text-align: center; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(42% 60% at 12% 8%, rgba(102,80,196,.10), transparent 70%),
    radial-gradient(40% 56% at 88% 4%, rgba(43,105,181,.09), transparent 70%),
    radial-gradient(46% 60% at 78% 100%, rgba(31,122,99,.08), transparent 70%),
    radial-gradient(40% 56% at 16% 100%, rgba(173,84,32,.07), transparent 70%),
    linear-gradient(#fdfcfa, var(--bg)); }
.hero__title { font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: .3em; letter-spacing: -.035em; }
.hero__sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); margin: 0 auto 30px; max-width: 48ch; }
.hero .chips { justify-content: center; margin: 0 auto; max-width: 860px; }
.hero--sec { padding-top: 22px; }
.hero--sec .crumbs { margin-bottom: clamp(18px, 4vw, 40px); text-align: left; }
.hero--sec .hero__title { display: inline-flex; align-items: center; gap: 14px; font-size: clamp(2rem, 5.4vw, 3.1rem); }
.hero__icon { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border-radius: .32em; background: var(--surface); box-shadow: var(--shadow); }
.hero__icon .ico { width: .62em; height: .62em; }
.hero--ai .hero__icon { color: var(--ai); } .hero--software .hero__icon { color: var(--software); }
.hero--services .hero__icon { color: var(--services); } .hero--products .hero__icon { color: var(--products); }

/* Blocks */
.block { margin-block: clamp(30px, 5vw, 56px); }
.block__title { font-size: 1.4rem; margin-bottom: 16px; display: flex; align-items: baseline; gap: 10px; }
.count { font-size: .85rem; font-weight: 650; background: var(--surface-2); border-radius: 999px; padding: 2px 10px; letter-spacing: 0; }
.page { padding-block: 20px 8px; }
.pagehead { margin: 10px 0 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--muted); }
.empty { padding: 30px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; color: var(--muted); background: var(--surface); }
.disclosure { font-size: .85rem; color: var(--muted); margin-top: 20px; }

/* Section tiles */
.sections { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); }
.sec { --c: var(--accent); --s: var(--accent-soft); display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s; }
.sec:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--c); }
.sec--ai { --c: var(--ai); --s: var(--ai-soft); } .sec--software { --c: var(--software); --s: var(--software-soft); }
.sec--services { --c: var(--services); --s: var(--services-soft); } .sec--products { --c: var(--products); --s: var(--products-soft); }
.sec__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--s); color: var(--c); margin-bottom: 8px; }
.sec__icon .ico { width: 24px; height: 24px; }
.sec__label { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.sec__blurb { color: var(--muted); flex: 1; }
.sec__count { font-weight: 650; font-size: .92rem; color: var(--c); margin-top: 6px; }

/* Task list */
.tasklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tasklist a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 10px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 550; transition: border-color .15s, background .15s; }
.tasklist a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.tasklist small { background: var(--surface-2); border-radius: 999px; padding: 1px 9px; font-size: .78rem; font-weight: 650; }

/* Cards */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.cards--ranked { grid-template-columns: 1fr; max-width: 880px; }
.card { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card--featured { border-color: #e6d7a8; background: linear-gradient(#fffdf6, var(--surface)); }
.card__main { display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 0; text-decoration: none; color: var(--text); }
.card__main::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card__title { font-weight: 720; font-size: 1.06rem; letter-spacing: -.01em; }
.card__tag { color: var(--muted); font-size: .94rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.card__go { position: relative; z-index: 1; flex: none; align-self: center; display: inline-flex; align-items: center; min-height: 42px; padding: 8px 14px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 650; font-size: .9rem; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.card__go:hover { background: var(--btn); color: #fff; border-color: var(--btn); }
.card__rank { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-2); font-weight: 800; color: var(--muted); }
.cards--ranked .card:first-child { border-color: var(--line-strong); box-shadow: var(--shadow); }
.cards--ranked .card:first-child .card__rank { background: var(--btn); color: #fff; }
.wtuf-logo { flex: none; border-radius: 13px; object-fit: cover; background: var(--surface-2); }
.wtuf-logo--letter { display: grid; place-items: center; background: color-mix(in srgb, var(--c) 13%, #fff); color: var(--c); font-weight: 800; font-size: 1.25em; }
@media (max-width: 480px) { .card { flex-wrap: wrap; } .card__go { margin-left: auto; } }

/* Answer box */
.answer { margin-top: 18px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); box-shadow: var(--shadow); max-width: 880px; }
.answer__label { font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 0 0 4px; }
.answer__text { font-size: 1.15rem; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }

/* Listing page */
.listing__head { display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: start; margin: 14px 0 30px; }
.listing__head .wtuf-logo { border-radius: 20px; font-size: 1.6rem; box-shadow: var(--shadow); }
.listing__titles h1 { margin-bottom: .2em; }
.listing__titles .lede { margin-bottom: .6em; }
.listing__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.listing__grid { display: grid; gap: 28px; }
.listing__side .facts { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.facts h2 { font-size: 1.05rem; }
.facts dl { display: grid; grid-template-columns: auto 1fr; gap: 9px 14px; margin: 0 0 18px; font-size: .95rem; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 650; text-align: right; overflow-wrap: anywhere; }
.facts .btn { width: 100%; margin-bottom: 8px; }
@media (min-width: 960px) {
  .listing__head { grid-template-columns: auto 1fr auto; }
  .listing__actions { grid-column: auto; align-self: center; }
  .listing__grid { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
  .listing__side { position: sticky; top: 86px; }
}
.stickybar { display: none; }
@media (max-width: 959px) {
  .stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(34,37,43,.08); }
  .stickybar span { font-weight: 720; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  body.single-wtuf_listing { padding-bottom: 74px; }
}

/* Prose */
.prose { max-width: 72ch; }
.prose section { margin-bottom: 30px; }
.prose h2 { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.callout { padding: 16px 20px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid #c9e0dc; }
.callout h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 4px; } .callout p { margin: 0; font-size: 1.05rem; }
.proscons { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pc { padding: 18px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.pc h3 { margin-bottom: 8px; } .pc ul { list-style: none; padding: 0; margin: 0; }
.pc li { position: relative; padding-left: 26px; }
.pc--pro li::before { content: "+"; position: absolute; left: 4px; font-weight: 800; color: var(--ok); }
.pc--con li::before { content: "\2212"; position: absolute; left: 4px; font-weight: 800; color: var(--err); }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 650; min-height: 50px; }
.faq p { padding: 0 18px 16px; margin: 0; color: var(--muted); }
.postrow { padding: 18px 0; border-bottom: 1px solid var(--line); }

/* CTA */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: clamp(22px, 4vw, 36px); border-radius: 22px; background: var(--text); color: #fff; box-shadow: var(--shadow-lg); }
.cta h2 { margin-bottom: 4px; color: #fff; } .cta p { margin: 0; color: #c9cdd5; max-width: 56ch; }
.cta .btn--primary { background: #fff; color: var(--text); }
.cta .btn--primary:hover { background: var(--surface-2); color: var(--text); }

/* Forms */
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 20px 8px; margin: 0 0 18px; min-width: 0; }
.form legend { font-weight: 750; padding: 0 8px; font-size: 1.05rem; }
.form label { font-weight: 650; display: block; margin-bottom: 4px; }
.form input[type=text], .form input[type=url], .form input[type=email], .form select, .form textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 11px; padding: 11px 13px; min-height: 48px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface); }
.form small { display: block; margin-top: 4px; font-size: .86rem; }
.grid2 { display: grid; gap: 0 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.req { color: var(--err); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.check label { font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 12px; }
.plan input { position: absolute; opacity: 0; }
.plan__box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 400; }
.plan__price { font-size: 1.5rem; font-weight: 800; }
.plan input:checked + .plan__box { border-color: var(--accent); background: var(--accent-soft); }
.plan input:focus-visible + .plan__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin: 0 0 18px; border: 1px solid; }
.notice--ok { color: var(--ok); background: #e7f4ee; }
.notice--err { color: var(--err); background: #fbeceb; }

/* Pager + footer */
.pager ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 26px 0 0; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 6px 13px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 650; }
.pager a:hover { border-color: var(--text); }
.pager .current { background: var(--text); color: #fff; border-color: var(--text); }
.foot { margin-top: clamp(44px, 7vw, 84px); border-top: 1px solid var(--line); background: var(--surface); padding: 40px 0 28px; font-size: .95rem; }
.foot__in { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.foot__col--brand p { color: var(--muted); margin-top: 8px; }
.foot h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 4px; }
.foot li a { display: inline-block; padding: 4px 0; color: var(--text); text-decoration: none; }
.foot li a:hover { color: var(--accent); text-decoration: underline; }
.foot__legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.foot__legal p { margin-bottom: 6px; max-width: 90ch; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
