/* =========================================================================
   slotpickfa.com — design system
   Direction: bright consumer decision tool. Mint surfaces, emerald primary,
   coral accent, large rounded cards, score donuts and match meters.
   ========================================================================= */

:root {
  --bg: #ffffff;
  --mint: #f2fbf7;
  --mint-2: #e3f6ec;
  --line: #dbe7e1;
  --line-2: #c2d6cc;
  --ink: #0b2a20;
  --ink-2: #3f5b51;
  --dim: #6f8a7f;
  --green: #0e9f6e;
  --green-d: #0a7d56;
  --coral: #ff6b4a;
  --amber: #f0a020;
  --blue: #2b6cb0;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 24px;
  --wrap: 1140px;
  --fs-xs: 0.8rem;
  --fs-s: 0.92rem;
  --fs-b: 1.02rem;
  --fs-h3: 1.15rem;
  --fs-h2: 1.55rem;
  --fs-h1: clamp(1.8rem, 1.2rem + 2.4vw, 2.85rem);
  --shadow-s: 0 2px 8px rgba(11, 42, 32, 0.06);
  --shadow: 0 8px 26px rgba(11, 42, 32, 0.09);
  --font: system-ui, -apple-system, "SF Pro Rounded", "SF Pro Text", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-b);
  line-height: 1.85;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }
a { color: var(--green-d); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 0.55em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.3rem; margin: 0 0 1em; }
li { margin-bottom: 0.4em; }
code { font-family: ui-monospace, Menlo, monospace; font-size: 0.86em; background: var(--mint-2); padding: 0.1em 0.35em; border-radius: 5px; }
table { border-collapse: collapse; width: 100%; }
.dim { color: var(--dim); }
.unk { color: var(--dim); font-size: var(--fs-xs); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 1rem; }
.skip { position: absolute; inset-inline-start: -9999px; background: var(--green); color: #fff; padding: 0.6rem 1rem; z-index: 100; border-radius: 0 0 var(--r-s) 0; }
.skip:focus { inset-inline-start: 0; }

/* ----------------------------------------------------------------- topbar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.95); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 0.8rem; min-height: 66px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.55rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.25; }
.brand strong { font-size: 1.08rem; letter-spacing: -0.03em; }
.brand small { font-size: 0.7rem; color: var(--dim); }
.nav-toggle { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 0.45rem; background: var(--mint); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 0.95rem; font: inherit; font-size: var(--fs-s); font-weight: 700; cursor: pointer; color: var(--ink); }
.nav-toggle .bars { width: 15px; height: 2px; background: var(--green); box-shadow: 0 5px 0 var(--green), 0 -5px 0 var(--green); }
.main-nav { display: none; width: 100%; }
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0.3rem 0 0.8rem; padding: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.main-nav a { display: block; padding: 0.6rem 0.8rem; border-radius: 999px; color: var(--ink); font-size: var(--fs-s); font-weight: 600; }
.main-nav a:hover { background: var(--mint); text-decoration: none; }
.main-nav a[aria-current="page"] { background: var(--mint-2); color: var(--green-d); }
.main-nav .nav-cta { background: var(--green); color: #fff; text-align: center; font-weight: 800; }
.main-nav .nav-cta:hover { background: var(--green-d); }
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .main-nav { display: block !important; width: auto; margin-inline-start: auto; }
  .main-nav ul { flex-direction: row; align-items: center; gap: 0.2rem; margin: 0; }
  .main-nav a { padding: 0.45rem 0.8rem; font-size: 0.87rem; white-space: nowrap; }
}

/* ------------------------------------------------------------- breadcrumb */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.7rem 0 0; margin: 0; font-size: var(--fs-xs); color: var(--dim); }
.crumbs li + li::before { content: "›"; margin-inline-end: 0.35rem; color: var(--line-2); }
.crumbs a { color: var(--dim); }
.crumbs [aria-current] span { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ layout */
.sec { max-width: var(--wrap); margin-inline: auto; padding: 2.4rem 1rem; }
.sec + .sec { padding-top: 0.6rem; }
.sec-lead { color: var(--ink-2); max-width: 64ch; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.4em; color: var(--green-d); }
.tinted { background: var(--mint); border-block: 1px solid var(--line); }
.tinted .sec { padding-block: 2.6rem; }

/* -------------------------------------------------------------------- hero */
.hero { background: linear-gradient(180deg, var(--mint) 0%, #fff 100%); }
.hero-in { max-width: var(--wrap); margin-inline: auto; padding: 2.4rem 1rem 1.4rem; text-align: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero p.lead { color: var(--ink-2); max-width: 56ch; margin-inline: auto; font-size: 1.06rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.1rem; }
.chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: var(--fs-xs); font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow-s); }
.chip b { color: var(--green-d); }

/* ----------------------------------------------------------------- buttons */
.btn, .btn-2, .btn-cta, .btn-coral {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font: inherit; font-weight: 800; font-size: var(--fs-s); border-radius: 999px;
  padding: 0.68rem 1.4rem; cursor: pointer; border: 2px solid transparent; min-height: 46px;
}
.btn, .btn-cta { background: var(--green); color: #fff; }
.btn:hover, .btn-cta:hover { background: var(--green-d); text-decoration: none; }
.btn-2 { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-2:hover { border-color: var(--green); color: var(--green-d); text-decoration: none; }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { filter: brightness(0.94); text-decoration: none; }

/* ------------------------------------------------------------------ picker */
.picker { background: #fff; border: 2px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: 1.3rem; max-width: 880px; margin-inline: auto; }
.picker-steps { display: flex; gap: 0.4rem; justify-content: center; margin-bottom: 1.1rem; flex-wrap: wrap; }
.pstep { display: inline-flex; align-items: center; gap: 0.4rem; font-size: var(--fs-xs); font-weight: 700; color: var(--dim); background: var(--mint); border-radius: 999px; padding: 0.3rem 0.8rem; }
.pstep b { width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--dim); display: grid; place-items: center; font-size: 0.7rem; }
.pstep.is-on { background: var(--mint-2); color: var(--green-d); }
.pstep.is-on b { background: var(--green); color: #fff; }

.picker h2 { font-size: var(--fs-h3); text-align: center; margin-bottom: 0.3rem; }
.picker-hint { text-align: center; color: var(--dim); font-size: var(--fs-s); margin-bottom: 1rem; }

.crit-grid { display: grid; gap: 0.6rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .crit-grid { grid-template-columns: repeat(4, 1fr); } }
.crit {
  display: flex; flex-direction: column; gap: 0.25rem; align-items: center; text-align: center;
  background: var(--mint); border: 2px solid transparent; border-radius: var(--r-m);
  padding: 0.85rem 0.6rem; cursor: pointer; font: inherit; color: var(--ink); min-height: 96px;
}
.crit:hover { border-color: var(--line-2); }
.crit[aria-pressed="true"] { background: var(--mint-2); border-color: var(--green); }
.crit-ico { font-size: 1.4rem; line-height: 1; }
.crit-name { font-size: var(--fs-xs); font-weight: 800; line-height: 1.4; }
.crit-rank { font-size: 0.68rem; color: var(--green-d); font-weight: 800; min-height: 1em; }

.picker-actions { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1.1rem; flex-wrap: wrap; }

/* result */
.result { margin-top: 1.3rem; border-top: 2px dashed var(--line); padding-top: 1.2rem; }
.result-lead { text-align: center; font-size: var(--fs-s); color: var(--dim); margin-bottom: 0.9rem; }
.rcard { display: grid; gap: 0.8rem; background: var(--mint); border-radius: var(--r-m); padding: 1rem; align-items: center; }
@media (min-width: 700px) { .rcard { grid-template-columns: auto 1fr auto; } }
.rcard.is-top { background: linear-gradient(135deg, var(--mint-2), #fff); border: 2px solid var(--green); }
.rcard + .rcard { margin-top: 0.6rem; }
.rcard h3 { margin: 0 0 0.15rem; font-size: 1.05rem; }
.rcard-why { font-size: var(--fs-xs); color: var(--ink-2); margin: 0.3rem 0 0; }
.rcard-badge { display: inline-block; background: var(--green); color: #fff; font-size: 0.68rem; font-weight: 800; border-radius: 999px; padding: 0.1rem 0.6rem; margin-bottom: 0.3rem; }

/* score donut */
.donut { width: 74px; height: 74px; position: relative; flex: 0 0 auto; }
.donut svg { transform: rotate(-90deg); }
.donut-t { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; color: var(--green-d); line-height: 1; }
.donut-t small { display: block; font-size: 0.55rem; color: var(--dim); font-weight: 600; }

/* match meter */
.match { display: grid; gap: 0.2rem; min-width: 130px; }
.match-bar { height: 9px; background: var(--mint-2); border-radius: 999px; overflow: hidden; }
.match-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--amber)); border-radius: 999px; }
.match-l { font-size: 0.68rem; color: var(--dim); display: flex; justify-content: space-between; }

/* ------------------------------------------------------------------- cards */
.cards { display: grid; gap: 1rem; }
@media (min-width: 700px) { .cards.c2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards.c3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 1.1rem; box-shadow: var(--shadow-s); display: flex; flex-direction: column; }
.card h3 { margin-top: 0; }
.card p { font-size: var(--fs-s); color: var(--ink-2); }
.card .btn, .card .btn-2 { margin-top: auto; }

/* brand row card — the pick site's ranking presentation */
.brow { display: grid; gap: 0.8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 1rem; box-shadow: var(--shadow-s); align-items: center; }
@media (min-width: 820px) { .brow { grid-template-columns: 46px 120px 1fr 150px 170px; } }
.brow + .brow { margin-top: 0.7rem; }
.brow-n { width: 40px; height: 40px; border-radius: 50%; background: var(--mint-2); color: var(--green-d); display: grid; place-items: center; font-weight: 800; }
.brow:first-child .brow-n { background: var(--green); color: #fff; }
.brow h3 { margin: 0 0 0.15rem; font-size: 1.02rem; }
.brow-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.35rem; }
.tag { font-size: 0.68rem; font-weight: 700; background: var(--mint); border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.55rem; color: var(--ink-2); }
.tag.best { background: var(--mint-2); border-color: var(--green); color: var(--green-d); }
.brow-cta { display: grid; gap: 0.4rem; }
.brow-cta a { text-align: center; }
.brand-logo { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 5px 8px; max-height: 46px; width: auto; object-fit: contain; }

/* ------------------------------------------------------------------ tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-m); background: #fff; }
.ctable { font-size: var(--fs-s); min-width: 780px; }
.ctable caption { text-align: start; padding: 0.7rem 0.9rem; font-size: var(--fs-xs); color: var(--dim); border-bottom: 1px solid var(--line); }
.ctable th, .ctable td { padding: 0.65rem 0.75rem; text-align: start; border-bottom: 1px solid var(--line); }
.ctable thead th { background: var(--mint); font-size: var(--fs-xs); color: var(--ink-2); font-weight: 800; }
.ctable tbody tr:hover { background: var(--mint); }
.ctable .num { font-variant-numeric: tabular-nums; font-weight: 700; }
.pill { display: inline-block; background: var(--mint-2); color: var(--green-d); border-radius: 999px; padding: 0.1rem 0.6rem; font-size: var(--fs-xs); font-weight: 800; }
.pill.no { background: #f4f5f4; color: var(--dim); font-weight: 600; }

/* ------------------------------------------------------------------- notes */
.callout { background: var(--mint); border: 1px solid var(--line); border-inline-start: 5px solid var(--green); border-radius: var(--r-m); padding: 1rem 1.15rem; margin: 1.3rem 0; font-size: var(--fs-s); }
.callout h3 { margin-top: 0; font-size: var(--fs-b); color: var(--green-d); }
.callout.warn { border-inline-start-color: var(--coral); background: #fff5f2; }
.callout.warn h3 { color: var(--coral); }
.callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------- faq */
.qs { display: grid; gap: 0.6rem; }
.q { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-s); }
.q summary { cursor: pointer; padding: 0.9rem 1.05rem; list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: "+"; margin-inline-start: auto; color: var(--green); font-weight: 800; font-size: 1.25rem; }
.q[open] summary::after { content: "−"; }
.q summary h3 { margin: 0; font-size: var(--fs-b); font-weight: 700; }
.q .a { padding: 0 1.05rem 1rem; font-size: var(--fs-s); color: var(--ink-2); }
.q .a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ nextup */
.nextup { display: grid; gap: 0.6rem; }
@media (min-width: 700px) { .nextup { grid-template-columns: repeat(2, 1fr); } }
.nextup a { display: flex; gap: 0.7rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 0.8rem 0.95rem; color: var(--ink); box-shadow: var(--shadow-s); }
.nextup a:hover { border-color: var(--green); text-decoration: none; }
.nextup .ico { width: 34px; height: 34px; border-radius: 50%; background: var(--mint-2); display: grid; place-items: center; flex: 0 0 auto; }
.nextup strong { display: block; font-size: var(--fs-s); }
.nextup span { font-size: var(--fs-xs); color: var(--dim); }

/* --------------------------------------------------------------- comments */
.comments { max-width: 820px; }
.cmt { background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 0.9rem 1.05rem; margin-bottom: 0.6rem; box-shadow: var(--shadow-s); }
.cmt-head { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; font-size: var(--fs-s); }
.cmt-head strong { font-weight: 800; }
.cmt-head time { margin-inline-start: auto; font-size: var(--fs-xs); color: var(--dim); }
.cmt-topic { font-size: var(--fs-xs); background: var(--mint); border-radius: 999px; padding: 0.1rem 0.6rem; color: var(--ink-2); }
.cmt-brand { font-size: var(--fs-xs); color: var(--dim); }
.cmt-body { margin: 0.35rem 0 0; font-size: var(--fs-s); color: var(--ink-2); }
.cmt.is-pending { border: 2px dashed var(--amber); background: #fffdf6; }
.cmt-pending { font-size: var(--fs-xs); color: var(--amber); margin: 0.3rem 0 0; font-weight: 700; }
.stars { color: var(--amber); letter-spacing: 2px; }
.cmt-form { background: var(--mint); border: 1px solid var(--line); border-radius: var(--r-l); padding: 1.2rem; margin-top: 1.4rem; }
.cmt-form h3 { margin-top: 0; }
.f-row { display: grid; gap: 0.3rem; margin-bottom: 0.85rem; }
.f-row label { font-size: var(--fs-s); font-weight: 700; }
.f-row input, .f-row select, .f-row textarea { font: inherit; font-size: var(--fs-s); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 0.6rem 0.75rem; width: 100%; color: var(--ink); }
.f-row textarea { resize: vertical; }
.f-msg { font-size: var(--fs-s); color: var(--green-d); min-height: 1.2em; margin: 0.6rem 0 0; font-weight: 600; }

/* ------------------------------------------------------------------ footer */
.site-foot { background: var(--mint); border-top: 1px solid var(--line); margin-top: 3rem; padding: 2.2rem 0 1.4rem; }
.foot-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 780px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
.foot-col h2 { font-size: var(--fs-s); color: var(--green-d); margin-bottom: 0.5rem; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 0.3rem; }
.foot-col a { color: var(--ink-2); font-size: var(--fs-xs); }
.foot-note { border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1.1rem; font-size: var(--fs-xs); color: var(--dim); }
.foot-note p { margin-bottom: 0.5em; }

/* -------------------------------------------------------------------- 404 */
.e404 { text-align: center; padding: 4rem 1rem; }
.e404 .code { font-size: 4.6rem; font-weight: 800; color: var(--green); line-height: 1; margin: 0; }
