/* Agent Ready Rankings — v2 design system (system fonts only)
   Design refresh 2026-10-19: hero, card layout, footer grid, responsive nav. */
:root {
  --bg: #0b1016;
  --bg-elevated: #121a24;
  --bg-card: #16202c;
  --bg-card-hover: #1a2634;
  --border: #243245;
  --border-strong: #2f4058;
  --text: #e8edf4;
  --text-muted: #9babbf;
  --text-dim: #74859b;
  --accent: #3dd6c6;
  --accent-dim: #2a9d8f;
  --accent-soft: rgba(61, 214, 198, 0.12);
  --accent-2: #7c9cff;
  --warn: #f4a261;
  --danger: #e76f51;
  --good: #52b788;
  --rank-gold: #f0c14b;
  --rank-silver: #c9d2de;
  --rank-bronze: #d39a6a;
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --max: 1140px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 12px 34px -14px rgba(61, 214, 198, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  /* type scale (1.25) */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: clamp(2rem, 1.4rem + 2.6vw, 3.1rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(124, 156, 255, 0.08), transparent 60%),
    radial-gradient(900px 420px at 0% 0%, rgba(61, 214, 198, 0.07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
[id] { scroll-margin-top: 5.5rem; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s var(--ease); }
a:hover { color: #6fe6da; text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem 4rem; }

/* —— Header —— */
header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 16, 22, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}
header.site .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 750;
  font-size: 1.12rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand span { color: var(--accent); }
.brand .brand-mark {
  display: inline-grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06131a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: var(--shadow-glow);
}
.brand:hover { text-decoration: none; color: var(--text); }
.brand-with-logo { gap: 0; }
.brand-logo {
  display: block;
  height: 3.5rem;
  width: auto;
  max-width: min(330px, 62vw);
  background: #fff;
  border-radius: 12px;
  padding: 0.25rem 0.6rem;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 4px 14px rgba(0,0,0,0.35);
}
.brand-with-logo:hover { opacity: 0.92; }

nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
nav a {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
nav a.active { color: var(--accent); background: var(--accent-soft); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.nav-toggle-btn { display: none; }

/* —— Banner —— */
.banner {
  background: linear-gradient(90deg, rgba(61, 214, 198, 0.09), rgba(124, 156, 255, 0.05));
  border: 1px solid rgba(61, 214, 198, 0.28);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin: 1.5rem 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.banner strong { color: var(--accent); }

/* —— Typography —— */
h1, h2, h3, h4 { color: var(--text); line-height: 1.2; }
h1 { font-size: var(--fs-xl); margin: 2.25rem 0 0.75rem; letter-spacing: -0.03em; font-weight: 750; }
h2 { font-size: var(--fs-lg); margin: 3rem 0 1rem; letter-spacing: -0.02em; font-weight: 700;
     border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
h3 { font-size: var(--fs-md); margin: 1.5rem 0 0.5rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
.lead { color: var(--text-muted); font-size: var(--fs-md); max-width: 44rem; line-height: 1.65; }
.meta { color: var(--text-muted); font-size: var(--fs-sm); }

.section-head { margin: 3.25rem 0 1.1rem; }
.section-head h2 { margin: 0 0 0.35rem; border: none; padding: 0; }
.section-head h2::before {
  content: ""; display: inline-block; width: 0.55rem; height: 0.55rem; border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-right: 0.6rem; vertical-align: 0.15em;
}
.section-head .meta { margin: 0; }

/* —— Hero —— */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  margin: 2.5rem 0 1.5rem;
  padding: 3rem 2.75rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    radial-gradient(600px 260px at 0% 0%, rgba(61, 214, 198, 0.12), transparent 70%),
    radial-gradient(500px 260px at 100% 100%, rgba(124, 156, 255, 0.10), transparent 70%),
    linear-gradient(180deg, var(--bg-elevated), var(--bg));
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.hero h1 { font-size: var(--fs-2xl); margin: 0 0 1rem; line-height: 1.08; letter-spacing: -0.035em; max-width: 18ch; }
.hero .lead { margin-bottom: 1.75rem; }
.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(61, 214, 198, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin: 0 0 1.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.hero-link { font-weight: 600; font-size: var(--fs-sm); color: var(--text-muted); }
.hero-link:hover { color: var(--accent); }
.hero-panel {
  background: rgba(11, 16, 22, 0.55);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.hero-panel-title { margin: 0 0 0.2rem; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); font-weight: 600; }
.hero-panel-foot { margin: 0.35rem 0 0; font-size: var(--fs-sm); }
.podium-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
.podium-card:hover { text-decoration: none; color: var(--text); transform: translateX(3px); border-color: var(--accent-dim); background: var(--bg-card-hover); }
.podium-rank { font-family: var(--mono); font-weight: 800; color: var(--rank-gold); width: 2rem; }
.podium-card:nth-of-type(2) .podium-rank { color: var(--rank-silver); }
.podium-card:nth-of-type(3) .podium-rank { color: var(--rank-bronze); }
.podium-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* —— Cards / grid —— */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.15rem;
  margin: 1.25rem 0;
}
.card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0; transition: opacity 0.2s var(--ease);
}
.card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md), var(--shadow-glow); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 0; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--accent); text-decoration: none; }
.card .meta { font-size: 0.82rem; color: var(--text-muted); margin: 0.85rem 0 0; }
.card p { color: var(--text-muted); font-size: 0.92rem; }
.card-desc { margin: 0 0 0.9rem; line-height: 1.5; }
.top-list { list-style: none; counter-reset: top; margin: 0; padding: 0; }
.top-list li {
  counter-increment: top;
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 0; border-top: 1px solid var(--border); font-size: 0.93rem;
}
.top-list li:first-child { border-top: none; }
.top-list li::before {
  content: counter(top);
  display: inline-grid; place-items: center; flex: 0 0 1.45rem; height: 1.45rem;
  border-radius: 6px; font-family: var(--mono); font-size: 0.75rem; font-weight: 700;
  background: var(--bg); border: 1px solid var(--border); color: var(--text-muted);
}
.top-list li:nth-child(1)::before { color: var(--rank-gold); border-color: rgba(240, 193, 75, 0.5); }
.top-list li a { color: var(--text); flex: 1; }
.top-list li a:hover { color: var(--accent); }
.card-link { font-weight: 600; }

.score-pill {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid rgba(61, 214, 198, 0.3);
  border-radius: 999px;
  padding: 0.12rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

/* —— Rankings table (card container) —— */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 0.75rem 0 2rem;
  box-shadow: var(--shadow-sm);
}
table.rankings {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 0;
}
table.rankings th,
table.rankings td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.rankings tbody tr:last-child td { border-bottom: none; }
table.rankings th {
  background: var(--bg-elevated);
  color: var(--text-dim);
  font-weight: 650;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
table.rankings td a strong { color: var(--text); }
table.rankings td a:hover strong { color: var(--accent); }
table.rankings tbody tr { transition: background 0.15s var(--ease); }
table.rankings tbody tr td:first-child { box-shadow: inset 3px 0 0 transparent; transition: box-shadow 0.15s var(--ease); }
table.rankings tbody tr:hover td { background: rgba(61, 214, 198, 0.045); }
table.rankings tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.rank-num { font-family: var(--mono); color: var(--text-muted); font-weight: 700; width: 3rem; }
table.rankings tbody tr:nth-child(1) .rank-num { color: var(--rank-gold); }
table.rankings tbody tr:nth-child(2) .rank-num { color: var(--rank-silver); }
table.rankings tbody tr:nth-child(3) .rank-num { color: var(--rank-bronze); }

.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-muted);
  margin-right: 0.25rem;
  line-height: 1.5;
}
a.badge:hover { text-decoration: none; border-color: var(--accent-dim); color: var(--accent); }
.badge.free { color: var(--good); border-color: rgba(82, 183, 136, 0.55); }
.badge.freemium { color: var(--accent); border-color: rgba(61, 214, 198, 0.45); }
.badge.paid, .badge.usage { color: var(--warn); border-color: rgba(244, 162, 97, 0.55); }
.badge.watch { color: var(--warn); }
.badge.deprecated { color: var(--danger); }

/* —— Tool page —— */
.tool-header {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  margin-top: 2rem; padding: 1.5rem 1.6rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
}
.tool-header h1 { margin: 0 0 0.5rem; }
.tool-header p { margin: 0; }
.scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}
.score-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem;
  text-align: center;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.score-box:hover { border-color: var(--accent-dim); transform: translateY(-2px); }
.score-box .label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.score-box .val { font-size: 1.6rem; font-family: var(--mono); color: var(--accent); font-weight: 700; }

ul.best-for { padding-left: 1.2rem; color: var(--text-muted); }
ul.best-for li { margin: 0.35rem 0; }

/* —— Footer —— */
footer.site {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 3rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  background: linear-gradient(180deg, transparent, rgba(18, 26, 36, 0.7));
}
footer.site .inner { max-width: var(--max); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 2rem;
}
.footer-brand p { margin: 0.75rem 0 0; max-width: 22rem; line-height: 1.55; }
.footer-brand .footer-note { font-size: var(--fs-xs); color: var(--text-dim); }
.footer-col h4 { margin: 0 0 0.8rem; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0.45rem 0; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem;
  margin-top: 2.25rem !important; padding-top: 1.25rem; border-top: 1px solid var(--border);
  font-size: var(--fs-xs); color: var(--text-dim);
}

/* —— Prose —— */
.prose { max-width: 44rem; }
.prose li { margin: 0.35rem 0; }
.prose code, code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 0.08em 0.35em;
  border-radius: 5px;
}
.prose pre {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9rem; border-radius: var(--radius-sm); overflow: hidden; }
.prose th, .prose td { border: 1px solid var(--border); padding: 0.6rem 0.75rem; text-align: left; }
.prose th { background: var(--bg-elevated); color: var(--text); }

.release-list { list-style: none; padding: 0; }
.release-list li {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-dim);
  padding: 0.85rem 1rem 0.85rem 1.1rem;
  margin: 0.75rem 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.release-list li:hover { border-left-color: var(--accent); transform: translateX(2px); }
.release-list .when { font-size: 0.8rem; color: var(--text-muted); font-family: var(--mono); }

/* —— Monetization: Pro demo bar —— */
.pro-bar {
  background: rgba(18, 26, 36, 0.9);
  border-bottom: 1px solid var(--border);
  font-size: 0.83rem;
}
.pro-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  color: var(--text-muted);
}
.pro-bar-inner strong[data-state="on"] { color: var(--accent); }
.pro-bar-inner strong[data-state="off"] { color: var(--text-muted); }
.pro-hint { opacity: 0.75; font-size: 0.78rem; }
.pro-bar-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.pro-bar .btn { padding: 0.3rem 0.75rem; font-size: 0.8rem; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 650;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.3;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 0.75rem 1.4rem; font-size: 0.98rem; }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #34bfb1);
  border-color: transparent;
  color: #041210;
  box-shadow: 0 6px 18px -8px rgba(61, 214, 198, 0.6);
}
.btn-accent:hover { background: linear-gradient(135deg, #5ce3d5, var(--accent)); color: #041210; box-shadow: 0 10px 24px -8px rgba(61, 214, 198, 0.7); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent-dim); background: var(--accent-soft); }
.btn-inline {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-inline:hover { color: #6fe6da; }

/* —— Freemium gate —— */
.pro-gate {
  position: relative;
  margin: 1rem 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.pro-gate-content {
  padding: 1rem;
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  opacity: 0.45;
  min-height: 8rem;
}
.pro-gate-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 16, 22, 0.55);
  padding: 1rem;
  z-index: 2;
}
.pro-lock-card {
  background: var(--bg-elevated);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  max-width: 26rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.pro-lock-card .lock-icon { font-size: 1.4rem; }
.pro-lock-cta { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin: 0.75rem 0 0.35rem; }
.pro-lock-card .meta { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

/* Unlocked: show content, hide lock overlay */
html.pro-unlocked .pro-gate-content {
  filter: none;
  user-select: auto;
  pointer-events: auto;
  opacity: 1;
}
html.pro-unlocked .pro-gate-lock { display: none; }

/* Ranking table Pro-only columns — blurred placeholders until unlocked */
.pro-only-cell {
  filter: blur(4px);
  color: transparent !important;
  user-select: none;
  position: relative;
}
html.pro-unlocked .pro-only-cell {
  filter: none;
  color: inherit !important;
  user-select: auto;
}
table.rankings th.pro-only-cell { filter: none; color: var(--text-dim) !important; }
table.rankings th.pro-only-cell::after { content: " 🔒"; font-size: 0.7rem; }
html.pro-unlocked table.rankings th.pro-only-cell::after { content: ""; }
.pro-only-inline { filter: blur(3px); }
html.pro-unlocked .pro-only-inline { filter: none; }
.table-pro-note { font-size: 0.85rem; color: var(--text-muted); margin: 0.5rem 0 0.25rem; }

.badge.pro-badge {
  color: var(--accent);
  border-color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
}
.badge.early-access { color: var(--warn); border-color: var(--warn); }
.badge.affiliate { color: var(--accent); border-color: var(--accent-dim); }
.badge.sponsored {
  color: var(--rank-gold);
  border-color: var(--rank-gold);
  text-transform: none;
}
.badge.sponsored-example { color: var(--danger); border-color: var(--danger); }

/* —— Pricing —— */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
  margin: 1.75rem 0;
}
.price-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.6rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.price-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.price-card.featured {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 1px var(--accent-dim), var(--shadow-glow);
}
.price-card.featured:hover { border-color: var(--accent); }
.price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rank-gold);
  border: 1px solid rgba(240, 193, 75, 0.6);
  background: rgba(240, 193, 75, 0.08);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}
.price-card h2 { margin-top: 0; border: none; padding: 0; }
.price-card .price { margin: 0.5rem 0 1.25rem; }
.price-card .amount { font-size: 2.3rem; font-family: var(--mono); color: var(--text); font-weight: 750; letter-spacing: -0.03em; }
.price-card.featured .amount { color: var(--accent); }
.price-card .or { display: block; font-size: 0.9rem; color: var(--text-muted); margin-top: 0.25rem; }
.price-card ul { list-style: none; padding-left: 0; color: var(--text-muted); margin: 0 0 1.5rem; }
.price-card li { margin: 0.5rem 0; padding-left: 1.5rem; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-proposed {
  background: rgba(244, 162, 97, 0.06);
  border: 1px dashed rgba(244, 162, 97, 0.6);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* —— Sponsors rail —— */
.sponsor-rail {
  margin: 1.75rem 0 2rem;
  padding: 1.25rem 1.35rem 1.4rem;
  border: 1px dashed rgba(240, 193, 75, 0.55);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(240, 193, 75, 0.06), transparent);
}
.sponsor-rail-head h2 {
  margin-top: 0;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sponsor-rail-head .meta { margin: 0.35rem 0 0.9rem; font-size: 0.82rem; color: var(--text-muted); }
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.9rem;
}
.sponsor-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.sponsor-card:hover { transform: translateY(-2px); border-color: rgba(240, 193, 75, 0.6); box-shadow: var(--shadow-md); }
.sponsor-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rank-gold);
  margin-bottom: 0.35rem;
}
.sponsor-logo {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.sponsor-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.sponsor-card p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* —— Sponsor CTA (homepage) —— */
.sponsor-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(124, 156, 255, 0.07), var(--bg-card));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 1.75rem 0;
  transition: border-color 0.2s var(--ease);
}
.sponsor-cta:hover { border-color: var(--border-strong); }
.sponsor-cta h2 { margin: 0 0 0.35rem; border: none; padding: 0; font-size: 1.2rem; }
.sponsor-cta p { margin: 0 0 0.75rem; color: var(--text-muted); font-size: 0.92rem; }
.sponsor-cta-text { flex: 1 1 340px; }
.sponsor-cta-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.88rem; }
.sponsor-cta-pills a { color: var(--text-muted); }
.sponsor-cta-pills a:hover { color: var(--text); text-decoration: none; }
.sponsor-cta-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* —— Responsive —— */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 2.25rem 1.75rem; gap: 1.75rem; }
  .hero h1 { max-width: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  header.site .inner { flex-wrap: wrap; }
  .nav-toggle-btn {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
    width: 2.4rem; height: 2.4rem; padding: 0 0.6rem; border: 1px solid var(--border);
    border-radius: 10px; cursor: pointer; background: rgba(255, 255, 255, 0.03);
  }
  .nav-toggle-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s var(--ease), opacity 0.2s var(--ease); }
  .nav-toggle:checked + .nav-toggle-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-btn span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-toggle-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  nav.site-nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0.15rem; padding: 0.25rem 0 0.5rem; }
  .nav-toggle:checked ~ nav.site-nav { display: flex; }
  nav.site-nav a { border-radius: 8px; padding: 0.6rem 0.75rem; font-size: 0.95rem; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 1rem 3rem; }
  header.site .inner, .pro-bar-inner { padding-left: 1rem; padding-right: 1rem; }
  table.rankings .hide-sm { display: none; }
  table.rankings th, table.rankings td { padding: 0.7rem 0.75rem; }
  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.2rem; }
  .hero { margin-top: 1.25rem; padding: 1.75rem 1.25rem; border-radius: 16px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-link { flex-basis: 100%; }
  .pro-hint { display: none; }
  .sponsor-cta { padding: 1.15rem; }
  .sponsor-cta-actions { width: 100%; }
  .sponsor-cta-actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .tool-header { padding: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* logo restore 1792430727 */
/* logo revert 1792431289 */

/* logo bold+big */

/* —— Real Pro gating (2026-10-19) —— */
.inline-form { display: inline; margin: 0; }
[hidden] { display: none !important; }
.skeleton-text { margin: 0.35rem 0 0; color: var(--text-muted); }
.pro-flash {
  border: 1px solid var(--accent-dim); background: var(--accent-soft); color: var(--text);
  border-radius: var(--radius); padding: 0.75rem 1rem; margin: 0 0 1.25rem;
}
.restore-card { max-width: 34rem; margin: 1rem 0; }
.stack-form { display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.stack-form input {
  width: 100%; box-sizing: border-box; padding: 0.6rem 0.75rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); font-family: var(--mono); font-size: 0.9rem;
}
.access-key {
  display: block; word-break: break-all; font-family: var(--mono); font-size: 0.95rem; padding: 0.9rem 1rem;
  background: var(--bg-elevated); border: 1px dashed var(--accent); border-radius: var(--radius-sm); color: var(--accent); user-select: all;
}
.legal-draft {
  background: rgba(244, 162, 97, 0.08); border: 1px dashed rgba(244, 162, 97, 0.7); border-radius: var(--radius);
  padding: 0.85rem 1.1rem; margin: 0 0 1.5rem; color: var(--text); font-size: 0.92rem; max-width: 44rem;
}
.legal-draft-inline { color: var(--warn); }
.prose.legal h2 { margin-top: 1.75rem; }

/* Newsletter signup */
.newsletter-signup { margin: 3rem 0 1rem; padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); max-width: 44rem; }
.newsletter-signup h2 { margin-top: 0; border: none; padding: 0; }
.newsletter-form { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.75rem; }
.newsletter-form input[type="email"] { flex: 1 1 16rem; padding: 0.65rem 0.8rem; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--bg-elevated); color: var(--text); font: inherit; }
.nl-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
