/*
 * /be-ready (2026-10-28). Plain CSS outside the Vite build, on the v2 tokens
 * from home.css (keyed on html.dark). A direct list of picks: a small title,
 * the section pills, then the items. Each item is one link (one tap).
 */

.rk { font-family: var(--hv2-font); color: var(--text); padding-bottom: 40px; }
.rk *, .rk *::before, .rk *::after { box-sizing: border-box; }
.rk-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- top */
.rk-top { padding-top: 20px; }
.rk-top h1 { margin: 0; font: 800 clamp(26px, 3.4vw, 34px)/1.1 var(--hv2-display); letter-spacing: -.025em; color: var(--text); }
.rk-top p { margin: 4px 0 0; font-size: 15px; line-height: 1.45; color: var(--text-muted); }

/* --------------------------------------------------------------- nav */
.rk-nav {
    position: sticky; top: 0; z-index: 30; margin-top: 12px;
    background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--divider);
}
.rk-nav__in { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; scrollbar-width: none; }
.rk-nav__in::-webkit-scrollbar { display: none; }
.rk-nav__pill {
    display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 36px; padding: 0 13px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border); color: var(--text) !important; text-decoration: none !important;
    font: 600 13.5px var(--hv2-font); white-space: nowrap; transition: background .2s, border-color .2s;
}
.rk-nav__pill:hover { border-color: var(--acc); }
.rk-nav__pill.is-on { background: color-mix(in srgb, var(--acc) 14%, var(--surface)); border-color: color-mix(in srgb, var(--acc) 55%, transparent); }
.rk-nav__pill:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ----------------------------------------------------------- sections */
.rk-section { padding-top: 22px; scroll-margin-top: 60px; }
.rk-section h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 800 20px/1.2 var(--hv2-display); letter-spacing: -.015em; color: var(--text); }

/* -------------------------------------------------------------- items */
.rk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.rk-item {
    display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px; min-width: 0;
    border-radius: 16px; background: var(--surface); border: 1px solid var(--border);
    color: var(--text) !important; text-decoration: none !important;
    transition: border-color .2s, box-shadow .2s, transform .2s var(--hv2-ease);
}
.rk-item:hover { border-color: color-mix(in srgb, var(--acc) 50%, var(--border)); box-shadow: var(--shadow); transform: translateY(-1px); }
.rk-item:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.rk-item__media {
    display: grid; place-items: center; width: 76px; height: 76px; border-radius: 12px; overflow: hidden;
    background: color-mix(in srgb, var(--acc) 12%, var(--surface-inset));
}
.rk-item__media.has-img { background: #fff; }
.rk-item__media img { width: 88%; height: 88%; object-fit: contain; }
.rk-item__emoji { font-size: 36px; line-height: 1; }
.rk-item.is-out .rk-item__media { filter: grayscale(.85); opacity: .7; }

.rk-item__body { display: flex; flex-direction: column; min-width: 0; min-height: 76px; }
.rk-item__name { font: 700 15.5px/1.25 var(--hv2-font); color: var(--text); }
.rk-item__product { margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--text-faint); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.rk-item__why { margin-top: 3px; font-size: 13.5px; line-height: 1.4; color: var(--text-muted); }
.rk-item__tip { margin-top: 3px; font-size: 12.5px; line-height: 1.4; color: var(--text-faint); }
.rk-item__foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.rk-price { font: 800 15.5px var(--hv2-font); font-variant-numeric: tabular-nums; color: var(--price); }
.rk-out { font: 600 12.5px var(--hv2-font); color: var(--heat-warm); }
.rk-go { margin-left: auto; font: 700 13px var(--hv2-font); color: var(--cta); white-space: nowrap; }

/* --------------------------------------------------------- small print */
.rk-small { margin: 28px 0 0; max-width: 80ch; font-size: 12.5px; line-height: 1.55; color: var(--text-faint); }

@media (max-width: 640px) {
    .rk-wrap { padding: 0 16px; }
    .rk-top { padding-top: 14px; }
    .rk-top p { font-size: 14px; }
    .rk-grid { grid-template-columns: 1fr; gap: 8px; }
    .rk-item { grid-template-columns: 64px minmax(0, 1fr); padding: 8px; border-radius: 14px; }
    .rk-item:hover { transform: none; }
    .rk-item__media { width: 64px; height: 64px; border-radius: 10px; }
    .rk-item__emoji { font-size: 30px; }
    .rk-item__body { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
    .rk-item, .rk-nav__pill { transition: none !important; }
}
