/* ============================================================
   FindMyIPAndSpeed.com — 2026 Frontend
   Deep space + neon, glassmorphism cards, compact above-the-fold.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg-0: #06080f;
  --bg-1: #0a0d18;
  --ink: #eef1fb;
  --ink-2: #aeb5d1;
  --ink-3: #6c7596;
  --ink-4: #4a5170;
  --cyan: #22d3ee;
  --magenta: #ff5ce0;
  --violet: #7c5cff;
  --green: #4ade80;
  --red: #ff6b6b;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-2: rgba(255, 255, 255, 0.18);
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255,255,255,0.06) inset;
  --grad: linear-gradient(135deg, #22d3ee 0%, #ff5ce0 100%);
  --grad-soft: linear-gradient(135deg, rgba(34,211,238,0.35), rgba(255,92,224,0.25));
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'SF Pro Text', Roboto, system-ui, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'JetBrains Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

html, body {
  margin: 0; padding: 0;
  height: 100%;
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; }

.app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 14px 24px;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.aurora {
  position: fixed; inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 110% 8%, rgba(34, 211, 238, 0.14), transparent 55%),
    var(--bg-0);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.42; will-change: transform; }
.orb-1 { width: 520px; height: 520px; left: -8%; top: -18%; background: #22d3ee; animation: drift-a 28s ease-in-out infinite alternate; }
.orb-2 { width: 560px; height: 560px; right: -10%; top: 6%; background: #ff5ce0; animation: drift-b 34s ease-in-out infinite alternate; }
.orb-3 { width: 640px; height: 640px; left: 30%; bottom: -32%; background: #5b6cff; animation: drift-c 40s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate3d(90px, 60px, 0) scale(1.05); } }
@keyframes drift-b { to { transform: translate3d(-70px, 100px, 0) scale(1.08); } }
@keyframes drift-c { to { transform: translate3d(60px, -50px, 0) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } }

.privacy {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: center;
  padding: 5px 12px 5px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ink-2);
  font-size: 11.5px;
  letter-spacing: 0.01em;
}
.privacy[hidden] { display: none; }
.privacy .lock { font-size: 12px; }
.privacy strong { color: var(--ink); font-weight: 600; }
.privacy-close {
  appearance: none; background: transparent; border: 0;
  color: var(--ink-3); cursor: pointer;
  font-size: 16px; line-height: 1; padding: 0 4px;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.privacy-close:hover { color: var(--ink); background: rgba(255,255,255,0.06); }

.header { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink); font-weight: 700;
  font-size: 15px; letter-spacing: -0.01em;
}
.logo-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grad);
  color: #0a0d18;
  font-weight: 800; font-size: 11.5px;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(255, 92, 224, 0.28);
}
.logo-text strong { color: var(--cyan); font-weight: 800; }
.nav { display: flex; gap: 16px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 13px; padding: 4px 2px; transition: color .15s; }
.nav a:hover { color: var(--ink); }

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
}
@media (max-width: 920px) { .grid { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px 14px;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(10px);
  animation: rise .55s cubic-bezier(.2,.7,.2,1) forwards;
  transition: transform .25s ease, border-color .25s ease;
  min-height: 0;
}
.card:nth-child(2) { animation-delay: .08s; }
.card:hover { transform: translateY(-2px); border-color: var(--border-2); }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.card::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-soft);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.card:hover::after { opacity: 1; }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-shrink: 0; }
.kicker { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.status {
  font-size: 11px; color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); }
.status.ok { color: #c9f7d8; }
.status.ok::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status.err { color: #ffd1d1; }
.status.err::before { background: var(--red); box-shadow: 0 0 8px var(--red); }
.status.busy { color: #c3f1ff; }
.status.busy::before { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }

.ip-hero { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.ip-label { font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.14em; }
.ip-value {
  font-family: var(--mono);
  font-size: 26px; font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.18);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.copy-btn {
  appearance: none; background: rgba(255,255,255,0.04);
  color: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px; font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
}
.copy-btn:hover { color: var(--ink); border-color: var(--border-2); background: rgba(255,255,255,0.07); }
.copy-btn:active { transform: scale(0.97); }
.copy-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.ip-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
  flex: 1;
  min-height: 0;
}
@media (max-width: 720px) { .ip-content { grid-template-columns: 1fr; } }

.geo { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.geo-row {
  display: flex; justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  min-width: 0;
}
.geo-row:last-child { border-bottom: 0; }
.geo-row .k { color: var(--ink-3); font-weight: 500; flex-shrink: 0; }
.geo-row .v {
  color: var(--ink); font-weight: 500; text-align: right;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  min-height: 180px;
  flex: 1;
}
#map { position: absolute; inset: 0; background: #0a0d18; }
.leaflet-container { background: #0a0d18 !important; font-family: var(--font) !important; font-size: 11px !important; }
.leaflet-control-attribution {
  background: rgba(0,0,0,0.55) !important;
  color: var(--ink-3) !important;
  font-size: 9px !important;
  padding: 0 5px !important;
}
.leaflet-control-attribution a { color: var(--ink-2) !important; }
.leaflet-control-zoom a {
  background: rgba(10,13,24,0.85) !important;
  color: var(--ink) !important;
  border: 1px solid var(--border) !important;
  font-size: 14px !important;
}
.leaflet-popup-content-wrapper {
  background: rgba(10,13,24,0.95) !important;
  color: var(--ink) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: var(--shadow-card) !important;
}
.leaflet-popup-tip { background: rgba(10,13,24,0.95) !important; }

.card-speed { align-items: stretch; }
.card-speed.is-running {
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: var(--shadow-card), 0 0 40px rgba(34, 211, 238, 0.12);
  animation: rise .55s cubic-bezier(.2,.7,.2,1) forwards, breathe 3s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { box-shadow: var(--shadow-card), 0 0 40px rgba(34, 211, 238, 0.12); }
  50%      { box-shadow: var(--shadow-card), 0 0 55px rgba(255, 92, 224, 0.20); }
}

.dials { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 10px; flex-shrink: 0; }
.dial {
  display: flex; flex-direction: column; align-items: center;
  padding: 10px 6px 8px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all .25s ease;
  min-width: 0;
}
.dial.is-active {
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.05);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12) inset;
}
.dial-label { font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600; }
.dial-value { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--ink); line-height: 1.1; margin-top: 3px; font-variant-numeric: tabular-nums; }
.dial.dial-big .dial-value {
  font-size: 28px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(255, 92, 224, 0.18);
}
.dial-unit { font-size: 9.5px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 1px; }
.dial-foot { font-size: 9.5px; color: var(--ink-4); margin-top: 3px; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.dial-foot #d-jitter { color: var(--ink-3); }

.ring-wrap { position: relative; width: 100%; max-width: 160px; margin: 2px auto 0; aspect-ratio: 1 / 1; flex: 0 0 auto; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: rgba(255,255,255,0.07); stroke-width: 6; }
.ring-progress {
  fill: none; stroke: url(#ringGrad);
  stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 326.7;
  transition: stroke-dashoffset .4s cubic-bezier(.2,.7,.2,1);
  filter: drop-shadow(0 0 6px rgba(255, 92, 224, 0.4));
}
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.ring-pct { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ring-phase { font-size: 9.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 3px; }

.speed-meta { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: auto; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink-2);
  max-width: 100%;
  min-width: 0;
}
.meta-k { font-size: 9px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-4); font-weight: 600; }
.meta-v { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }

.retest {
  align-self: center;
  appearance: none; background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 5px 14px;
  font-size: 12px; font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.retest:hover { color: var(--ink); border-color: var(--border-2); background: rgba(255,255,255,0.04); }
.retest:disabled { opacity: 0.45; cursor: not-allowed; }
.retest svg { width: 12px; height: 12px; }

.ad {
  display: flex; align-items: center; justify-content: center;
  gap: 14px;
  padding: 8px 16px;
  min-height: 44px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.13);
  border-radius: var(--radius);
  color: var(--ink-3);
}
.ad-label { font-size: 9px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600; }
.ad-text { font-size: 12px; color: var(--ink-3); }

.footer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 2px 4px; font-size: 11px; color: var(--ink-3); flex-wrap: wrap; }
.footer a { color: var(--ink-3); text-decoration: none; transition: color .15s; }
.footer a:hover { color: var(--ink); }
.footer .sep { opacity: 0.4; }

@media (max-height: 800px) {
  .app { padding: 10px 22px; gap: 8px; }
  .card { padding: 12px 18px 10px; gap: 10px; border-radius: 16px; }
  .ip-value { font-size: 22px; }
  .geo-row { padding: 3px 0; font-size: 12px; }
  .dial-value { font-size: 19px; }
  .dial.dial-big .dial-value { font-size: 24px; }
  .ring-wrap { max-width: 124px; }
  .ring-pct { font-size: 17px; }
  .map-wrap { min-height: 140px; }
  .retest { padding: 4px 12px; font-size: 11px; }
  .ad { min-height: 36px; padding: 6px 14px; }
  .footer { font-size: 10.5px; }
  .header { padding: 0; }
  .logo-mark { width: 28px; height: 28px; font-size: 11px; }
  .logo { font-size: 14px; }
  .meta-pill { padding: 3px 9px; font-size: 10.5px; }
  .dial { padding: 8px 5px 6px; }
  .dial-foot { font-size: 9px; margin-top: 2px; }
}
@media (max-height: 700px) {
  .ring-wrap { max-width: 104px; }
  .geo-row { padding: 2px 0; font-size: 11.5px; }
  .card { padding: 10px 14px 8px; gap: 8px; }
  .ip-value { font-size: 20px; }
  .map-wrap { min-height: 120px; }
  .ad { min-height: 30px; padding: 4px 12px; }
  .dial-foot { display: none; }
}
@media (max-width: 600px) {
  .app { padding: 10px 14px; gap: 8px; }
  .grid { gap: 10px; }
  .ip-content { grid-template-columns: 1fr; gap: 10px; }
  .geo-row { font-size: 13px; padding: 5px 0; }
  .ip-value { font-size: 22px; }
  .nav { gap: 12px; }
  .nav a { font-size: 12px; }
  .ring-wrap { max-width: 140px; }
  .map-wrap { min-height: 160px; }
  .ad { min-height: 44px; }
  .meta-v { max-width: 150px; }
}

.legal {
  max-width: 760px;
  margin: 14px auto 32px;
  padding: 28px 32px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow-card);
}
.legal h1 {
  font-size: 28px; font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.legal h2 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); line-height: 1.7; font-size: 14px; }
.legal a { color: var(--cyan); text-decoration: none; border-bottom: 1px dotted rgba(34, 211, 238, 0.4); }
.legal a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.legal code { background: var(--glass-2); padding: 1px 6px; border-radius: 4px; font-family: var(--mono); font-size: 90%; }
.legal em { color: var(--ink-3); font-style: normal; font-size: 12px; }

/* ============================================================
   Top nav additions — Home / Privacy Check / Recommended
   ============================================================ */
.nav-primary {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.nav-primary a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-primary a:hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.nav-primary a.is-active {
  color: var(--ink);
  background: rgba(255,255,255,0.07);
  box-shadow: inset 0 0 0 1px var(--border-2);
}
.nav-primary a svg { width: 14px; height: 14px; opacity: 0.85; }

@media (max-width: 720px) {
  .nav-primary a { padding: 5px 9px; font-size: 11.5px; }
  .nav-primary a span.nav-label { display: none; }
  .nav-primary a svg { width: 16px; height: 16px; }
}
@media (max-width: 560px) {
  .header { flex-wrap: wrap; gap: 8px; }
  .nav-primary { order: 3; width: 100%; justify-content: space-between; }
}

/* ============================================================
   Page shell (used by /exposed, /recommended, legal pages)
   ============================================================ */
.page {
  max-width: 1100px;
  margin: 6px auto 24px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
  min-height: 0;
}
.page-hero {
  position: relative;
  padding: 22px 26px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 8px;
  opacity: 0; transform: translateY(8px);
  animation: rise .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.page-hero h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.page-hero p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  max-width: 720px;
  line-height: 1.55;
}

/* ============================================================
   Severity-tiered "exposure" rows (for /exposed)
   ============================================================ */
.expose-section {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px 16px;
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(8px);
  animation: rise .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.expose-section.sev-high { animation-delay: .05s; }
.expose-section.sev-med  { animation-delay: .10s; }
.expose-section.sev-low  { animation-delay: .15s; }

.expose-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.expose-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex: 0 0 auto;
}
.sev-high  .expose-dot { background: var(--red);     box-shadow: 0 0 10px var(--red); }
.sev-med   .expose-dot { background: #fbbf24;        box-shadow: 0 0 10px #fbbf24; }
.sev-low   .expose-dot { background: var(--green);   box-shadow: 0 0 10px var(--green); }
.expose-title {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.expose-blurb {
  font-size: 12px;
  color: var(--ink-3);
  margin-left: auto;
  max-width: 60%;
  text-align: right;
}

.expose-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}
.expose-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) auto;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  align-items: baseline;
  font-size: 13px;
  min-width: 0;
}
.expose-row:last-child { border-bottom: 0; }
.expose-key {
  color: var(--ink-3);
  font-weight: 500;
}
.expose-value {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  word-break: break-word;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
.expose-value.is-loading {
  color: var(--ink-3);
  font-style: italic;
  font-family: var(--font);
}
.expose-note {
  color: var(--ink-3);
  font-size: 11.5px;
  font-family: var(--font);
  display: block;
  margin-top: 2px;
}
.expose-fix {
  font-size: 11px;
  color: var(--ink-3);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4px;
}
.expose-fix a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px dotted rgba(34,211,238,0.4);
}
.expose-fix a:hover { color: var(--ink); border-bottom-color: var(--ink); }

@media (max-width: 640px) {
  .expose-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .expose-key { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; }
  .expose-blurb { display: none; }
}

/* Headline number block on /exposed */
.expose-headline {
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap;
}
.expose-headline .big {
  font-family: var(--mono);
  font-size: 44px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
}
.expose-headline .label {
  color: var(--ink-2);
  font-size: 14px;
}
.expose-headline .sub {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  margin-top: 4px;
}

/* Disclosure block at bottom of /exposed */
.expose-disclosure {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.expose-disclosure strong { color: var(--ink-2); }

/* ============================================================
   Product cards (/recommended)
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.product-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s ease, border-color .25s ease;
  opacity: 0; transform: translateY(8px);
  animation: rise .55s cubic-bezier(.2,.7,.2,1) forwards;
}
.product-card:hover { transform: translateY(-2px); border-color: var(--border-2); }
.product-card.is-featured {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: var(--shadow-card), 0 0 30px rgba(34, 211, 238, 0.10);
}
.product-card.is-featured::before {
  content: "Top pick";
  position: absolute; top: -10px; right: 14px;
  font-size: 9.5px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
  background: var(--grad);
  color: #0a0d18;
  box-shadow: 0 4px 14px rgba(255, 92, 224, 0.3);
}
.product-head {
  display: flex; align-items: center; gap: 10px;
}
.product-mark {
  width: 36px; height: 36px;
  display: inline-grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--cyan);
}
.product-name {
  margin: 0; font-size: 16px; font-weight: 700; color: var(--ink);
}
.product-cat {
  margin: 0; font-size: 11px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.product-blurb {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
}
.product-meta {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  color: var(--ink-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.tag.tag-good { color: #b8f0c8; border-color: rgba(74, 222, 128, 0.25); background: rgba(74, 222, 128, 0.06); }
.tag.tag-warn { color: #ffe5a0; border-color: rgba(251, 191, 36, 0.25); background: rgba(251, 191, 36, 0.06); }
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--grad);
  color: #0a0d18;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 8px 20px rgba(255, 92, 224, 0.22);
}
.cta-btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 12px 26px rgba(255, 92, 224, 0.34); }
.cta-btn[aria-disabled="true"] {
  background: rgba(255,255,255,0.05);
  color: var(--ink-3);
  box-shadow: none;
  cursor: not-allowed;
  border: 1px dashed var(--border);
}
.cta-btn .pending {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-4);
}

/* Comparison table on /recommended */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table thead th {
  text-align: left;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.compare-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px dashed rgba(255,255,255,0.06);
  color: var(--ink-2);
  vertical-align: top;
}
.compare-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-name { color: var(--ink); font-weight: 600; }
.compare-table .yes { color: var(--green); }
.compare-table .no  { color: var(--red); }
.compare-table .meh { color: #fbbf24; }

/* Disclosure block (general purpose) */
.disclosure {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.disclosure a { color: var(--cyan); }

/* ============================================================
   404 / empty states
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.empty-state h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
}
.empty-state h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.empty-state p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14px;
  max-width: 480px;
}
.empty-state .cta-btn { margin-top: 8px; }

