/* Botcents home and portal. Built from the chosen design (fintech hero +
   live feed): lavender glow, generous whitespace, the mascot beside the
   headline, a wide quiz bar, then a live feed of offers with real photos. */
:root {
  --bg: #faf8ff; --surface: #ffffff; --ink: #1e1535; --ink-2: #3b335a; --soft: #6a6385; --line: #ece7f8;
  --violet: #6b4bff; --violet-deep: #4b2fd6; --violet-2: #efeaff; --violet-glow: rgba(107, 75, 255, 0.3);
  --gold: #f2b123; --gold-2: #fff4d6; --live: #0f9a5f; --live-bg: #e2f6ec;
  --display: 'Sora', system-ui, sans-serif;
  --text: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 22px; --r-sm: 14px;
  --shadow: 0 1px 0 rgba(30, 21, 53, 0.04), 0 18px 40px -28px rgba(46, 26, 120, 0.35);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.55 var(--text); position: relative; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.w { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.glow { position: absolute; inset: 0 0 auto 0; height: 980px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 55% at 78% 22%, #e8ddff 0%, transparent 70%), radial-gradient(ellipse 45% 40% at 5% 10%, #fff0db 0%, transparent 70%), linear-gradient(180deg, #f6f1ff, var(--bg) 70%); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 44px; height: 44px; object-fit: contain; }
.logo b { font: 700 26px/1 var(--display); letter-spacing: -0.03em; color: var(--violet-deep); position: relative; }
.logo b::after { content: ''; position: absolute; left: 4%; right: 8%; bottom: -7px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--gold), #ffcf6b); transform: rotate(-1.5deg); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 10px 14px; border-radius: 999px; }
.nav a:hover { background: rgba(255, 255, 255, 0.7); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--violet); color: var(--on-accent, #fff); font: 700 16px/1 var(--text); padding: 15px 24px; border-radius: 999px;
  box-shadow: 0 14px 30px -14px var(--violet-glow); transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.btn:hover { background: var(--violet-deep); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 30px; align-items: center; padding: 40px 0 34px; }
.pill { display: inline-block; font: 700 12.5px/1 var(--text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-deep); background: var(--violet-2); padding: 9px 14px; border-radius: 999px; }
.hero h1 { font: 700 clamp(40px, 5.6vw, 72px)/1.02 var(--display); letter-spacing: -0.045em; margin: 22px 0 20px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--hl, var(--violet)); display: block; }
.hero h1 em span { position: relative; white-space: nowrap; z-index: 0; }
.hero h1 em span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 10px; border-radius: 8px; background: linear-gradient(90deg, #ffb48a, #ffd36b); opacity: 0.7; z-index: -1; }
.hero p.lede { font-size: clamp(17px, 1.8vw, 19.5px); color: var(--soft); max-width: 31em; margin: 0 0 28px; }
.features { display: flex; flex-wrap: wrap; }
.features div { display: flex; align-items: center; gap: 10px; padding: 0 20px 0 0; margin-right: 20px; border-right: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.features div:last-child { border: 0; }
.features i { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow); font-style: normal; font-size: 18px; }
.mascot { position: relative; justify-self: center; width: min(470px, 100%); aspect-ratio: 1; }
.mascot::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(170, 140, 255, 0.45), transparent 65%); filter: blur(10px); }
.mascot img { position: relative; width: 100%; height: 100%; object-fit: contain; animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.quizbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px); border-radius: 26px; padding: 22px 26px; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.8); }
.quizbar h2 { margin: 0; font: 700 clamp(22px, 2.6vw, 30px)/1.15 var(--display); letter-spacing: -0.03em; }
.quizbar h2 small { display: block; font: 600 13.5px/1.3 var(--text); letter-spacing: 0; color: var(--soft); margin-top: 4px; }
.qopts { display: flex; gap: 10px; flex-wrap: wrap; }
.qopts a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 700 16px/1 var(--text); padding: 16px 22px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line), 0 6px 16px -12px rgba(46, 26, 120, 0.4); transition: transform 0.12s, box-shadow 0.12s, background 0.12s; }
.qopts a:hover { box-shadow: inset 0 0 0 1.5px var(--violet); transform: translateY(-1px); }
.qopts a.primary { background: var(--violet); color: var(--on-accent, #fff); box-shadow: 0 12px 26px -14px var(--violet-glow); }
.qopts a.primary:hover { background: var(--violet-deep); }

.sec { padding: 72px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font: 700 clamp(28px, 3.2vw, 38px)/1.1 var(--display); letter-spacing: -0.035em; }
.sec-head p { margin: 6px 0 0; color: var(--soft); }
.updated { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--soft); font-weight: 600; }
.updated::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgba(15, 154, 95, 0.15); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip { border: 0; cursor: pointer; font: 600 14.5px/1 var(--text); padding: 11px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.chip[aria-pressed='true'] { background: var(--violet); color: var(--on-accent, #fff); box-shadow: none; }

.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; background: var(--surface); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; min-height: 168px; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(30, 21, 53, 0.04), 0 28px 50px -30px rgba(46, 26, 120, 0.45); }
.card .ph { position: relative; border-radius: 16px; overflow: hidden; background: var(--violet-2); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph .tag { position: absolute; left: 8px; top: 8px; }
.card .body { display: grid; gap: 6px; align-content: start; padding: 4px 4px 4px 0; }
.card .tool { font-size: 12.5px; font-weight: 700; color: var(--soft); }
.card h3 { margin: 0; font: 700 17px/1.25 var(--display); letter-spacing: -0.02em; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.coin-chip { display: inline-flex; align-items: center; gap: 6px; font: 700 13.5px/1 var(--text); color: #6b4a00; background: var(--gold-2); padding: 6px 10px 6px 6px; border-radius: 999px; }
.coin-chip img { width: 20px; height: 20px; }
.ends { font-size: 13px; color: var(--soft); font-weight: 600; }
.tag { display: inline-flex; align-items: center; gap: 5px; font: 700 11.5px/1 var(--text); padding: 6px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.95); color: var(--live); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.warn { color: #a26300; }
.tag.end { color: var(--soft); }
.tag.end::before { display: none; }
.card.gone { opacity: 0.82; }
.card.gone .ph img { filter: grayscale(1); }
.card.gone h3 { color: var(--soft); text-decoration: line-through; text-decoration-color: rgba(106, 99, 133, 0.5); }
.ended-row .card { min-height: 0; grid-template-columns: 90px minmax(0, 1fr); }
.empty { padding: 30px; text-align: center; color: var(--soft); background: #fff; border-radius: var(--r); grid-column: 1 / -1; }

.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool-card { text-decoration: none; background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 8px; align-content: start; transition: transform 0.15s; }
.tool-card:hover { transform: translateY(-3px); }
.tool-card i { width: 46px; height: 46px; border-radius: 14px; background: var(--violet-2); display: grid; place-items: center; font-style: normal; font-size: 22px; }
.tool-card b { font: 700 18px/1.2 var(--display); letter-spacing: -0.02em; }
.tool-card span { color: var(--soft); font-size: 14.5px; }

.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; background: #fff; border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); cursor: pointer; text-align: left; border: 0; align-items: center; }
.guide img { width: 130px; height: 100px; object-fit: cover; border-radius: 14px; }
.guide .k { font: 700 11px/1 var(--text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet-deep); background: var(--violet-2); padding: 5px 8px; border-radius: 6px; display: inline-block; }
.guide b { display: block; font: 700 17px/1.25 var(--display); letter-spacing: -0.02em; margin: 8px 0 6px; }
.guide span span:last-child { font-size: 13px; color: var(--soft); }
dialog.g { border: 0; border-radius: 24px; padding: 0; width: min(560px, 100% - 32px); box-shadow: 0 40px 80px -30px rgba(30, 21, 53, 0.5); }
dialog.g::backdrop { background: rgba(30, 21, 53, 0.35); backdrop-filter: blur(4px); }
dialog.g img { width: 100%; height: 200px; object-fit: cover; }
dialog.g .in { padding: 22px 26px 26px; }
dialog.g h3 { font: 700 24px/1.15 var(--display); letter-spacing: -0.03em; margin: 0 0 10px; }
dialog.g ol { padding-left: 20px; color: var(--ink-2); margin: 0 0 18px; }
dialog.g li { margin: 8px 0; }

table.dir { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); font-size: 15px; }
table.dir th, table.dir td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.dir th { font: 700 12px/1 var(--text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); background: #fbfaff; }
table.dir tr:last-child td { border-bottom: 0; }
table.dir td:first-child { font-weight: 700; width: 26%; }
table.dir .o { display: block; margin-bottom: 6px; }
table.dir .o small { color: var(--soft); font-size: 13.5px; }

.join { margin-top: 84px; position: relative; background: linear-gradient(110deg, #f1eaff, #fff3e4); border-radius: 30px; padding: 34px 40px 34px 230px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 28px; align-items: center; overflow: hidden; }
.join .m { position: absolute; left: 20px; bottom: -8px; width: 190px; }
.join h2 { margin: 0 0 6px; font: 700 clamp(24px, 2.6vw, 32px)/1.15 var(--display); letter-spacing: -0.03em; }
.join p { margin: 0; color: var(--soft); }
.join form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.join input { border: 0; padding: 0 18px; font-size: 16px; min-height: 50px; border-radius: 999px; min-width: 0; background: transparent; color: var(--ink); }
.join input:focus { outline: none; }
.join .note { font-size: 13px; color: var(--soft); margin: 10px 0 0 18px; }
.join .err { color: #c0392b; font-size: 14px; margin: 8px 0 0 18px; min-height: 1em; }
.join .preview { grid-column: 1 / -1; border-radius: 18px; overflow: hidden; background: #fff; margin-top: 10px; }
.join .preview iframe { width: 100%; height: 520px; border: 0; display: block; }

footer.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 40px 0 26px; border-bottom: 1px solid var(--line); }
footer.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.foot nav a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2); }
.small-print { padding: 18px 0 48px; color: var(--soft); font-size: 13px; line-height: 1.6; }

@media (max-width: 1020px) {
  .feed, .guides { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 760px) {
  .w { width: min(1180px, 100% - 32px); }
  .top { padding: 14px 0; }
  .top .btn { padding: 12px 16px; font-size: 14.5px; }
  .logo b { font-size: 22px; }
  .logo img { width: 38px; height: 38px; }
  .hero { grid-template-columns: 1fr; padding: 6px 0 22px; gap: 0; }
  .mascot { width: 170px; order: -1; justify-self: end; margin: -6px -6px -54px 0; }
  .hero h1 { margin-top: 10px; }
  .features div { border: 0; padding: 0; margin: 0 14px 10px 0; font-size: 13.5px; }
  .features i { width: 34px; height: 34px; font-size: 16px; }
  .quizbar { padding: 18px; border-radius: 22px; }
  .qopts { width: 100%; }
  .qopts a { flex: 1 1 100%; justify-content: center; }
  .feed, .guides, .tools { grid-template-columns: 1fr; }
  .card { grid-template-columns: 104px minmax(0, 1fr); min-height: 0; }
  .guide { grid-template-columns: 100px minmax(0, 1fr); }
  .guide img { width: 100px; height: 84px; }
  .join { grid-template-columns: 1fr; padding: 150px 20px 24px; }
  .join .m { left: 50%; translate: -50% 0; top: -6px; bottom: auto; width: 150px; }
  .join form { grid-template-columns: 1fr; border-radius: 22px; }
  .join .btn { width: 100%; }
  table.dir td:first-child { width: 34%; }
}
@media (prefers-reduced-motion: reduce) { .mascot img { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 760px) {
  .features { display: none; }
  .hero p.lede { margin-bottom: 18px; font-size: 16.5px; }
  .qopts { gap: 8px; }
  .qopts a { padding: 15px 18px; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: 34px; margin-bottom: 12px; }
  .mascot { width: 132px; margin: -4px -4px -58px 0; }
  .pill { font-size: 11px; padding: 7px 11px; }
  .hero p.lede { font-size: 15.5px; margin-bottom: 14px; }
  .quizbar h2 small { display: none; }
  .quizbar { padding: 16px; gap: 12px; }
}

/* ---------- phone layout, take two: one mascot, short headline, compact quiz ---------- */
.m-only { display: none; }
.peek { display: none; }
@media (max-width: 760px) {
  .d-only { display: none; }
  .m-only { display: inline; }
  .logo img { display: none; }
  .mascot, .pill { display: none; }
  .hero { padding: 18px 0 14px; }
  .hero h1 { font-size: clamp(31px, 8.6vw, 38px); line-height: 1.04; margin: 0 0 10px; letter-spacing: -0.04em; }
  .hero h1 em { font-size: 0.62em; margin-top: 8px; letter-spacing: -0.025em; }
  .hero p.lede { font-size: 15.5px; margin: 0 0 6px; }
  .quizbar { position: relative; margin-top: 46px; padding: 18px 16px 16px; }
  .peek { display: block; position: absolute; right: 8px; top: -64px; width: 86px; height: auto; animation: bob 5s ease-in-out infinite; }
  .quizbar h2 { font-size: 21px; padding-right: 70px; }
  .quizbar h2 small { display: block; font-size: 13px; }
  .qopts { display: grid; grid-template-columns: 1.2fr 1fr 0.7fr; gap: 8px; width: 100%; }
  .qopts a { flex: none; padding: 14px 8px; font-size: 15px; justify-content: center; }
  .sec { padding-top: 44px; }
  .sec-head { margin-bottom: 12px; }
  .sec-head h2 { font-size: 26px; }
  .sec-head p { font-size: 14.5px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px 4px; scrollbar-width: none; }
  .chip { flex: none; padding: 10px 14px; font-size: 14px; }
  .feed { gap: 10px; }
  .card { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: 18px; }
  .card .ph { border-radius: 12px; aspect-ratio: 1; align-self: start; }
  .card h3 { font-size: 15.5px; }
  .card .tool { font-size: 12px; }
  .card .ph .tag { left: 5px; top: 5px; padding: 4px 6px; font-size: 10.5px; }
  .coin-chip { font-size: 12.5px; padding: 4px 8px 4px 4px; }
  .coin-chip img { width: 17px; height: 17px; }
  .ended-row .card { grid-template-columns: 64px minmax(0, 1fr); }
  .tools { gap: 10px; }
  .tool-card { padding: 16px; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; }
  .tool-card i { grid-row: span 2; width: 40px; height: 40px; }
  .guides { gap: 10px; }
  .join { margin-top: 56px; padding: 22px 18px 20px; }
  .join .m { display: none; }
}
@media (max-width: 430px) {
  .hero h1 { font-size: 31px; }
  .quizbar h2 small { display: block; }
}
@media (max-width: 760px) { .qopts a { gap: 0; } }

/* ---------- portal: header search, page heads, articles, tool directory ---------- */
.top-r { display: flex; align-items: center; gap: 10px; }
.s-btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.85); color: var(--ink-2); font: 600 14.5px/1 var(--text); padding: 11px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.s-btn kbd { font: 600 12px/1 var(--text); padding: 3px 6px; border-radius: 6px; background: var(--violet-2); color: var(--violet-deep); }
.nav a[aria-current='page'] { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.glow.soft { height: 600px; opacity: 0.8; }
dialog.search { border: 0; padding: 0; border-radius: 22px; width: min(640px, 100% - 24px); margin-top: 10vh; box-shadow: 0 40px 80px -30px rgba(30, 21, 53, 0.5); }
dialog.search::backdrop { background: rgba(30, 21, 53, 0.3); backdrop-filter: blur(4px); }
.s-box { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.s-box input { flex: 1; border: 0; font-size: 18px; padding: 10px 8px; min-width: 0; color: var(--ink); background: transparent; }
.s-box input:focus { outline: none; }
.s-x { border: 0; background: var(--violet-2); color: var(--violet-deep); font: 700 12px/1 var(--text); padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.s-res { max-height: 60vh; overflow-y: auto; padding: 8px; }
.s-hit { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; text-decoration: none; }
.s-hit:hover, .s-hit:focus { background: var(--violet-2); outline: none; }
.s-type { font: 700 11px/1 var(--text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--violet-deep); }
.s-hit b { font-size: 16px; }
.s-sub { font-size: 13.5px; color: var(--soft); }
.s-hint { color: var(--soft); padding: 14px; margin: 0; }
.page-head { padding: 40px 0 26px; max-width: 760px; }
.page-head h1 { font: 700 clamp(34px, 4.6vw, 56px)/1.05 var(--display); letter-spacing: -0.04em; margin: 16px 0 12px; }
.page-head .lede { color: var(--soft); font-size: 18px; margin: 0; }
.guides.big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
a.guide { text-decoration: none; }
.article { max-width: 720px; padding: 30px 0 10px; }
.article .crumb { display: inline-block; text-decoration: none; color: var(--soft); font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.article h1 { font: 700 clamp(32px, 4.4vw, 50px)/1.06 var(--display); letter-spacing: -0.04em; margin: 16px 0 12px; }
.article .lede { font-size: 19px; color: var(--ink-2); margin: 0 0 8px; }
.article .meta { color: var(--soft); font-size: 14px; margin: 0 0 22px; }
.article .hero-ph { width: 100%; border-radius: 22px; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 10px; }
.article h2 { font: 700 24px/1.2 var(--display); letter-spacing: -0.03em; margin: 32px 0 10px; }
.article p, .article li { font-size: 17.5px; line-height: 1.65; color: var(--ink-2); }
.article ol { padding-left: 22px; }
.article li { margin: 8px 0; }
.related { margin: 30px 0 26px; padding: 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); display: grid; gap: 12px; }
.related h3 { margin: 0; font: 700 16px/1.2 var(--display); }
.rel { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; align-items: center; font-size: 15px; }
.rel .tag { background: var(--live-bg); }
.rel span:last-child { color: var(--soft); }
.dir-tools { display: grid; gap: 14px; margin-top: 24px; }
.dir-tools input { width: 100%; max-width: 520px; font-size: 16.5px; padding: 15px 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); color: var(--ink); }
.dir-tools input:focus { outline: none; box-shadow: var(--shadow), inset 0 0 0 2px var(--violet); }
.tlist { display: grid; gap: 10px; }
.trow { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr 1.2fr auto; gap: 6px 22px; align-items: start; background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); scroll-margin-top: 20px; }
.trow.hl { box-shadow: 0 0 0 3px var(--violet), var(--shadow); }
.trow .tname b { display: block; font: 700 18px/1.2 var(--display); letter-spacing: -0.02em; }
.trow .tname span { font-size: 13px; color: var(--soft); font-weight: 600; }
.trow .lbl { display: block; font: 700 11px/1 var(--text); letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); margin-bottom: 5px; }
.trow > div { font-size: 14.5px; color: var(--ink-2); }
.trow .chk { font: 700 11px/1 var(--text); color: #a26300; background: #fff1d2; padding: 3px 6px; border-radius: 6px; white-space: nowrap; }
.toffers { grid-column: 1 / -2; display: flex; flex-wrap: wrap; gap: 6px; }
.toffers .tag { background: var(--live-bg); }
.toffers .tag.bf { background: #fff1d2; color: #8a5300; }
.tlink { align-self: center; text-decoration: none; font-weight: 700; color: var(--violet-deep); font-size: 14px; white-space: nowrap; }
@media (max-width: 1020px) { .s-btn span, .s-btn kbd { display: none; } }
@media (max-width: 760px) {
  .top-r .btn { display: none; }
  .s-btn { padding: 11px; }
  .page-head { padding: 22px 0 16px; }
  .guides.big { grid-template-columns: 1fr; }
  .trow { grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 16px; }
  .trow .tname { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
  .trow .tfree { grid-column: 1 / -1; }
  .toffers { grid-column: 1 / -1; }
  .tlink { grid-column: 1 / -1; justify-self: start; }
  .article p, .article li { font-size: 16.5px; }
  .dir-tools .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; }
}
.link-more { text-decoration: none; font-weight: 700; color: var(--violet-deep); white-space: nowrap; }
.qopts a { gap: 0; }

/* ---------- the live glow bot (assets/bot.js) ---------- */
botcents-bot:not(:defined) { display: inline-block; }
.mascot .hero-bot { --size: 86%; position: relative; display: block; margin: 9% auto 0; }
.mascot img { display: none; }
.join .m { --size: 190px; height: 190px; }
.peek { --size: 92px; }
/* offer tiles: the bot doing that kind of thing, on a tile in the site's colors */
.card .ph { background: radial-gradient(circle at 50% 40%, #fff 0%, var(--violet-2) 75%); }
.card .ph img[src*="/cat/"] { object-fit: contain; padding: 8%; transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.card:hover .ph img[src*="/cat/"] { transform: scale(1.08) rotate(-3deg); }
.tool-card i { background: var(--violet-2); overflow: hidden; }
.tool-card i img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.more-btn { grid-column: 1 / -1; justify-self: center; border: 0; cursor: pointer; font: 700 15px/1 var(--text); padding: 14px 22px; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.more-btn:hover { box-shadow: inset 0 0 0 1.5px var(--violet); }
/* guide pictures: the bot on a tile in the site's colors (no stock photos) */
.guide img[src*="/cat/"] { object-fit: contain; padding: 6px; background: radial-gradient(circle at 50% 40%, #fff 0%, var(--violet-2) 80%); }
.article .hero-ph[src*="/cat/"] { object-fit: contain; padding: 4% 0; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--violet-2) 75%); aspect-ratio: 16 / 7; }
/* ---------- hero headline (round 17) ---------- */
.pill { display: inline-flex; align-items: center; gap: 9px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1fbf75; box-shadow: 0 0 0 0 rgba(31, 191, 117, 0.6); animation: livepulse 2s ease-out infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 9px rgba(31, 191, 117, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 191, 117, 0); } }
.hero h1 { font-size: clamp(40px, 4.7vw, 64px); line-height: 1.03; margin: 20px 0 18px; }
.hero h1 .amt { position: relative; display: inline-block; white-space: nowrap; color: var(--pop, var(--violet)); padding: 0 0.04em; z-index: 0; }
.hero h1 .amt svg { position: absolute; left: -2%; width: 104%; bottom: -0.16em; height: 0.34em; z-index: -1; overflow: visible; }
.hero h1 .amt path { fill: none; stroke: var(--mark, var(--hl, #f2b123)); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: swoosh 0.9s 0.35s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes swoosh { to { stroke-dashoffset: 0; } }
.hero p.lede b { color: var(--ink); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 0 0 30px; }
.btn.big { font-size: 17px; padding: 17px 26px; border-radius: 999px; box-shadow: 0 16px 30px -14px var(--violet-glow, rgba(107, 75, 255, 0.5)); }
.hero-cta .ghost { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; }
.hero-cta .ghost:hover { border-color: var(--violet); }
@media (prefers-reduced-motion: reduce) { .hero h1 .amt path { animation: none; stroke-dashoffset: 0; } .live-dot { animation: none; } }
@media (max-width: 760px) {
  .hero h1 .amt svg { bottom: -0.12em; }
  .hero-cta { margin: 6px 0 4px; gap: 10px 18px; }
  .btn.big { font-size: 16px; padding: 15px 22px; }
}
@media (max-width: 700px) { .hero-cta { display: none; } } /* on phones the quiz bar right below is the call to action */

/* ---------- wordmark: "Bot" in ink, "cents" in the highlight, and the bot peeking
   up over the flat tops of the "e" and "n", like it just spotted a deal ---------- */
.logo { gap: 0; padding-top: 0.5em; font-size: 26px; }
.logo b.wm { font-size: 1em; color: var(--ink); letter-spacing: -0.035em; line-height: 1; }
.logo b.wm::after { display: none; }
.wm .c { color: var(--pop, var(--violet-deep)); }
.wm { position: relative; isolation: isolate; white-space: nowrap; }
.wm .en { position: relative; display: inline-block; }
.wm .wm-bot { position: absolute; left: 50%; bottom: 0.69em; width: 1.24em; height: 0.8em; margin-left: -0.62em; overflow: hidden; pointer-events: none; z-index: -1; }
.wm .wm-bot img { display: block; max-width: none; position: absolute; left: 50%; top: 0.1em; width: 1.16em; height: auto; margin-left: -0.58em; transition: transform .35s cubic-bezier(.3, 1.5, .5, 1); }
.logo:hover .wm .wm-bot img, .lt-logo:hover .wm .wm-bot img { transform: translateY(-0.07em) rotate(-5deg); }
@media (prefers-reduced-motion: reduce) { .logo:hover .wm .wm-bot img, .lt-logo:hover .wm .wm-bot img { transform: none; } }
