/* ============================================================
   v3 pages/features.css: Features (prototype features.html).
   The list is server-rendered in production; script only filters it.

   Class map from the prototype (ft- to rt-feat-):
     ft-find, ft-count, ft-sub     rt-feat-find, rt-feat-count, rt-feat-sub
     ft-rail                       rt-feat-rail (buttons use aria-pressed)
     ft-group, ft-group.dark       rt-feat-group, rt-feat-group-dark
     ft-gh, ft-grid, ft-card       rt-feat-gh, rt-feat-grid, rt-feat-card
     ft-new, ft-none               rt-feat-new, rt-feat-none
   The even-row tint relies on the groups being sibling <section>s.
   ============================================================ */

.rt-hero .rt-feat-sub{max-width:none}
.rt-feat-find{display:block;position:relative;max-width:560px;margin-top:26px}
.rt-feat-find input{width:100%;height:54px;border-radius:12px;border:1px solid #4b607f;background:rgba(255,255,255,.08);color:#fff;font:inherit;font-size:17px;padding:0 16px 0 46px}
.rt-feat-find input::placeholder{color:#9fb0c8}
.rt-feat-find input:focus{outline:2px solid #fff;outline-offset:2px}
.rt-feat-find:before{content:"";position:absolute;left:17px;top:50%;margin-top:-10px;width:14px;height:14px;border:2px solid #c7d5e8;border-radius:50%;box-sizing:border-box;pointer-events:none}
.rt-feat-find:after{content:"";position:absolute;left:28px;top:50%;margin-top:3px;width:8px;height:2px;background:#c7d5e8;transform:rotate(45deg);pointer-events:none}
.rt-feat-count{margin-top:12px;font-size:14px;color:#b8c6da}

.rt-feat-rail{position:sticky;top:0;z-index:15;background:rgba(255,255,255,.97);backdrop-filter:blur(8px);border-bottom:1px solid var(--rt-line)}
.rt-feat-rail .rt-in{display:flex;gap:8px;overflow-x:auto;padding-top:10px;padding-bottom:10px;scrollbar-width:none}
.rt-feat-rail .rt-in::-webkit-scrollbar{display:none}
.rt-feat-rail button{flex:none;font:inherit;font-size:13.5px;font-weight:700;color:var(--rt-ink);border:1px solid var(--rt-line);border-radius:99px;padding:7px 14px;background:#fff;cursor:pointer}
.rt-feat-rail button small{font-weight:500;color:var(--rt-muted);margin-left:5px}
.rt-feat-rail button[aria-pressed=true]{border-color:var(--rt-night);background:var(--rt-night);color:#fff}
.rt-feat-rail button[aria-pressed=true] small{color:#c7d5e8}

.rt-feat-group{padding:36px 0;border-bottom:1px solid var(--rt-line)}
.rt-feat-group:nth-of-type(even){background:var(--rt-soft)}
.rt-feat-group-dark,.rt-feat-group-dark:nth-of-type(even){background:radial-gradient(ellipse at 15% 20%,#1b2944 0,transparent 55%),radial-gradient(ellipse at 90% 100%,#2a1a26 0,transparent 45%),var(--rt-night)}
.rt-feat-gh{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.rt-feat-gh .rt-num{margin:0}
.rt-feat-gh h2{font-size:24px}
.rt-feat-group-dark h2{color:#fff}
.rt-feat-group-dark .rt-num{color:var(--rt-red-lit)}
.rt-feat-grid{display:grid;gap:10px}
.rt-feat-card{border:1px solid var(--rt-line);border-radius:12px;padding:14px 16px;background:#fff}
.rt-feat-group-dark .rt-feat-card{background:rgba(255,255,255,.05);border-color:var(--rt-night-line)}
.rt-feat-card b{display:block;color:var(--rt-ink);font-size:16px;font-weight:700;letter-spacing:-.01em}
.rt-feat-group-dark .rt-feat-card b{color:#fff}
.rt-feat-card span{display:block;font-size:14.5px;margin-top:3px}
.rt-feat-group-dark .rt-feat-card span{color:#c7d2e3}
.rt-feat-card .rt-feat-new{display:inline-block;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#a16207;background:#fef3c7;border-radius:5px;padding:1px 6px;margin:0 0 0 8px;vertical-align:2px}
.rt-feat-card mark{background:#fde68a;color:inherit;padding:0 1px;border-radius:2px}
.rt-feat-none{display:none;padding:48px 0;text-align:center}
.rt-feat-none b{display:block;font-size:20px;color:var(--rt-ink);margin-bottom:6px}

@media(min-width:700px){.rt-feat-grid{grid-template-columns:repeat(2,1fr);gap:12px}}
@media(min-width:900px){.rt-feat-rail{top:63px}.rt-feat-group{padding:60px 0}.rt-feat-gh h2{font-size:32px}.rt-feat-gh{margin-bottom:26px}}
@media(min-width:1080px){.rt-feat-grid{grid-template-columns:repeat(3,1fr)}}
