:root {
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --green: #16a34a;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 30px -4px rgba(37, 99, 235, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background-color: #f1f5f9;
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap {
  width: min(1160px, calc(100% - 24px));
  margin: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand b {
  color: var(--brand);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.header-inner nav {
  display: flex;
  gap: 16px;
}

.header-inner nav a {
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .header-inner nav {
    display: none;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 40px 0 48px;
  border-bottom: 4px solid var(--brand);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 56px 0;
  }
}

.eyebrow {
  margin: 0 0 10px;
  color: #60a5fa;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(26px, 6vw, 44px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.hero h1 span {
  color: #38bdf8;
}

.lead {
  font-size: 14px;
  color: #cbd5e1;
  margin: 0 0 20px;
  line-height: 1.7;
}

.trust-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #94a3b8;
  font-weight: 700;
  font-size: 11px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  text-align: center;
}

.hero-card strong {
  font-size: 18px;
  color: #fff;
  display: block;
}

.hero-card p {
  margin: 4px 0 16px;
  color: #94a3b8;
  font-size: 12px;
}

.hero-card small {
  display: block;
  color: #64748b;
  margin-top: 10px;
  font-size: 10px;
}

/* Primary Button (Gold/Orange High CVR) */
.primary-btn {
  background: linear-gradient(180deg, #ff9900 0%, #ea580c 100%);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 14px;
  display: block;
  text-align: center;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.primary-btn:active {
  transform: scale(0.98);
}

/* Finder Section */
.finder-section {
  margin-top: -24px;
  position: relative;
  z-index: 10;
}

.finder-panel {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-head .sub {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.count-badge {
  background: #eff6ff;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #dbeafe;
}

#finderForm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  #finderForm {
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: flex-end;
  }
}

#finderForm fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

#finderForm legend {
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  margin-bottom: 6px;
}

.segmented {
  display: flex;
  background: var(--soft);
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.segmented label {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 4px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  color: #64748b;
}

.segmented input {
  display: none;
}

.segmented input:checked + span {
  color: #fff;
}

.segmented label:has(input:checked) {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.finder-actions {
  display: flex;
  gap: 8px;
}

.text-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 8px;
}

/* Results & Product Cards */
.results-section {
  margin-top: 32px;
}

.sort-select {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sort-select select {
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.product-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.product-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--line);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
}

.category {
  font-size: 9px;
  font-weight: 900;
  background: #eff6ff;
  color: var(--brand);
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 4px;
}

.card-top h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.provider {
  margin: 2px 0 0;
  font-size: 10px;
  color: var(--muted);
}

.compare-check {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: var(--soft);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.feature {
  font-size: 12px;
  color: #334155;
  margin: 0 0 14px;
  line-height: 1.5;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--soft);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  text-align: center;
  margin-bottom: 12px;
}

.metric-grid span {
  display: block;
  font-size: 9px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.metric-grid strong {
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
}

.metric-grid div:nth-child(2) strong {
  color: var(--brand);
}

.tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.tag-row span {
  font-size: 10px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  padding: 2px 8px;
  border-radius: 6px;
}

.speed-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdf4f0;
  border: 1px solid #fed7aa;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 11px;
  margin-bottom: 12px;
}

.speed-box span {
  color: #9a3412;
  font-weight: 700;
}

.speed-box b {
  color: #c2410c;
  font-weight: 900;
}

.note {
  font-size: 10px;
  color: var(--muted);
  margin: 0 0 14px;
}

.card-actions {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

@media (min-width: 640px) {
  .card-actions {
    flex-direction: row;
  }
}

.card-actions .cta {
  flex: 1;
  background: linear-gradient(180deg, #ff9900 0%, #ea580c 100%);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 12px 16px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.detailBtn {
  background: var(--soft);
  border: 1px solid var(--line);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.detail-panel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.detail-panel dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 11px;
}

.detail-panel dt {
  color: var(--muted);
  font-weight: 700;
}

.detail-panel dd {
  margin: 0;
  font-weight: 800;
}

/* Compare Section */
.compare-section {
  margin-top: 40px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.compare-empty {
  text-align: center;
  padding: 30px;
  background: var(--soft);
  border-radius: 16px;
  color: var(--muted);
  font-size: 12px;
  border: 1px dashed var(--line);
}

.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  background: #fff;
  min-width: 600px;
}

th, td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--soft);
  font-weight: 800;
  color: #475569;
}

/* Ranking Section */
.ranking-section {
  margin-top: 46px;
  margin-bottom: 18px;
}

.ranking-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.ranking-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) 220px;
  align-items: stretch;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.ranking-card.is-top {
  border-color: #fed7aa;
  box-shadow: 0 8px 28px rgba(249,115,22,.10);
}

.ranking-card.is-top::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(#f59e0b,#f97316);
}

.ranking-rank {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #f1f5f9;
  color: #334155;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  padding-top: 10px;
  font-weight: 900;
  flex: 0 0 auto;
}
.ranking-rank span { font-size: 20px; line-height: 1; }
.ranking-rank small { font-size: 10px; }
.ranking-rank.rank-1 { background: linear-gradient(135deg,#fff7cc,#fde68a); color:#854d0e; }
.ranking-rank.rank-2 { background: linear-gradient(135deg,#f8fafc,#e2e8f0); color:#334155; }
.ranking-rank.rank-3 { background: linear-gradient(135deg,#fff7ed,#fed7aa); color:#9a3412; }

.ranking-main { min-width: 0; }
.ranking-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.ranking-title-row h3 { margin: 2px 0 0; font-size: 19px; line-height:1.3; font-weight:900; letter-spacing:-.02em; }
.ranking-provider { margin: 2px 0 0; color:var(--muted); font-size:10px; }
.ranking-pick { flex:0 0 auto; background:#fff7ed; color:#c2410c; border:1px solid #fed7aa; border-radius:999px; padding:4px 9px; font-size:10px; font-weight:900; }
.ranking-feature { margin:10px 0 12px; color:#334155; font-size:12px; line-height:1.55; }

.ranking-metrics {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.ranking-metrics div { background:var(--soft); border:1px solid #eef2f7; border-radius:11px; padding:9px 8px; min-width:0; }
.ranking-metrics span { display:block; color:var(--muted); font-size:9px; font-weight:800; margin-bottom:2px; }
.ranking-metrics strong { display:block; color:var(--ink); font-size:12px; font-weight:900; line-height:1.35; overflow-wrap:anywhere; }
.ranking-metrics div:first-child strong { color:var(--brand-dark); }
.ranking-meta { display:flex; flex-wrap:wrap; gap:8px 12px; margin-top:9px; color:#64748b; font-size:9px; font-weight:700; }

.ranking-action {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
}
.ranking-cta {
  min-height:52px;
  border-radius:13px;
  padding:12px 14px;
  background:linear-gradient(180deg,#ff9f0a 0%,#ea580c 100%);
  color:#fff;
  font-size:13px;
  font-weight:900;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  box-shadow:0 5px 14px rgba(234,88,12,.26);
  border:1px solid rgba(194,65,12,.20);
}
.ranking-cta b { font-size:18px; line-height:1; }
.ranking-cta:active { transform:translateY(1px); }
.ranking-jump {
  min-height:40px;
  border-radius:11px;
  background:#fff;
  color:#475569;
  border:1px solid var(--line);
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.ranking-jump:active { background:#f8fafc; }

.flash-card { animation:mmFlash 1.2s ease; }
@keyframes mmFlash {
  0%,100% { box-shadow:var(--shadow-sm); }
  35% { box-shadow:0 0 0 4px rgba(37,99,235,.18), var(--shadow-md); }
}

/* Buttons: more substantial, finance-media style */
.primary-btn,
.card-actions .cta {
  letter-spacing: -.01em;
  border: 1px solid rgba(194,65,12,.18);
}
.card-actions .cta { min-height: 48px; }
.detailBtn { min-height: 44px; }

@media (max-width: 760px) {
  .ranking-section { margin-top: 34px; }
  .ranking-list { gap: 12px; }
  .ranking-card {
    grid-template-columns: 40px minmax(0,1fr);
    gap: 10px;
    padding: 14px 12px;
    border-radius: 16px;
  }
  .ranking-rank { width:40px; height:40px; border-radius:12px; padding-top:9px; }
  .ranking-rank span { font-size:18px; }
  .ranking-title-row h3 { font-size:16px; }
  .ranking-pick { font-size:9px; padding:3px 7px; }
  .ranking-feature { font-size:11px; margin:8px 0 10px; }
  .ranking-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
  .ranking-metrics div { padding:8px 5px; text-align:center; }
  .ranking-metrics strong { font-size:11px; }
  .ranking-meta { font-size:9px; gap:5px 8px; }
  .ranking-action {
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);
    gap:7px;
    margin-top:2px;
  }
  .ranking-cta { min-height:50px; padding:11px 12px; font-size:12px; }
  .ranking-jump { min-height:50px; font-size:10px; }
}

@media (max-width: 380px) {
  .ranking-metrics { grid-template-columns:1fr; }
  .ranking-metrics div { display:flex; align-items:center; justify-content:space-between; text-align:left; }
  .ranking-metrics span { margin:0; }
  .ranking-action { grid-template-columns:1fr; }
}

/* Editorial & Disclosure */
.editorial {
  margin-top: 40px;
}

.editorial h2 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 16px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .editorial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.editorial-grid article {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.editorial-grid b {
  color: var(--brand);
  font-size: 18px;
  font-weight: 900;
  display: block;
  margin-bottom: 4px;
}

.editorial-grid h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
}

.editorial-grid p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.disclosure {
  background: #e2e8f0;
  color: #475569;
  padding: 30px 0;
  margin-top: 50px;
  font-size: 11px;
  line-height: 1.6;
}

.disclosure h2 {
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #334155;
}

.disclosure p {
  margin: 0 0 10px;
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 24px 0;
  font-size: 11px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-inner .brand {
  color: #fff;
}

.footer-inner nav {
  display: flex;
  gap: 16px;
}

.copyright {
  border-top: 1px solid #1e293b;
  padding-top: 12px;
  text-align: center;
  color: #64748b;
  font-size: 10px;
}

/* ===== Money Match v3: conversion-first additions ===== */
.secondary-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255,255,255,.06);
}
.hero-actions { display:grid; grid-template-columns:1fr; gap:8px; margin:18px 0 16px; max-width:460px; }
.hero-card-kicker { display:block; margin-bottom:6px; color:#60a5fa; font-size:10px; font-weight:900; letter-spacing:.12em; }

.quick-picks-section { margin-top: 18px; }
.compact-head { margin-bottom: 12px; }
.quick-grid { display:grid; grid-template-columns:1fr; gap:12px; }
.quick-card {
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:16px;
  box-shadow:var(--shadow-sm); position:relative;
}
.quick-card-head { display:flex; gap:10px; align-items:flex-start; margin-bottom:8px; }
.quick-number { width:28px; height:28px; border-radius:8px; background:#0f172a; color:#fff; display:grid; place-items:center; font-weight:900; font-size:12px; flex:0 0 auto; }
.quick-card h3 { margin:0; font-size:16px; font-weight:900; }
.quick-feature { margin:0 0 10px; font-size:11px; color:#475569; line-height:1.5; }
.quick-metrics { margin:0 0 10px; padding:10px; border-radius:10px; background:var(--soft); display:grid; grid-template-columns:repeat(3,1fr); gap:6px; text-align:center; }
.quick-metrics div { min-width:0; }
.quick-metrics dt { font-size:9px; color:var(--muted); font-weight:700; }
.quick-metrics dd { margin:2px 0 0; font-size:12px; font-weight:900; overflow-wrap:anywhere; }
.quick-card .cta { display:flex; align-items:center; justify-content:center; gap:6px; background:linear-gradient(180deg,#ff9900 0%,#ea580c 100%); color:#fff; font-weight:900; font-size:13px; padding:12px 14px; border-radius:11px; box-shadow:0 4px 12px rgba(234,88,12,.28); }
.quick-compare { display:flex; align-items:center; justify-content:center; gap:6px; margin-top:9px; font-size:10px; font-weight:700; color:var(--muted); }

.mobile-actionbar { display:none; }

@media (min-width: 768px) {
  .hero-actions { grid-template-columns:1fr 1fr; }
  .quick-grid { grid-template-columns:repeat(3,1fr); }
  .quick-card { padding:18px; }
}

@media (max-width: 767px) {
  body { padding-bottom: 68px; }
  .wrap { width:min(100% - 24px, 1160px); }
  .header-inner { height:54px; }
  .brand { font-size:17px; }
  .brand-mark { width:30px; height:30px; }

  .hero { padding:24px 0 30px; }
  .hero-grid { gap:18px; }
  .hero h1 { font-size:clamp(25px, 8.2vw, 34px); line-height:1.18; margin-bottom:10px; }
  .lead { margin-bottom:12px; font-size:13px; }
  .trust-row { gap:8px 12px; font-size:10px; }
  .hero-actions { margin:14px 0 12px; }
  .hero-card { padding:16px; border-radius:15px; }
  .hero-card strong { font-size:15px; }
  .hero-card p { margin:3px 0 10px; }
  .hero-card small { font-size:9px; }
  .primary-btn { padding:12px 14px; font-size:14px; border-radius:11px; }

  .quick-picks-section { margin-top:14px; }
  .section-head { margin-bottom:12px; }
  .section-head h2 { font-size:17px; }
  .quick-card { padding:14px; border-radius:14px; }

  .finder-section { margin-top:20px; }
  .finder-panel { padding:14px; border-radius:14px; }
  #finderForm { gap:12px; }
  .segmented label { padding:9px 4px; font-size:10px; }
  .finder-actions { flex-direction:column; }
  .finder-actions .text-btn { min-height:40px; }

  .results-section { margin-top:24px; }
  .product-card { padding:14px; border-radius:14px; }
  .metric-grid { padding:9px 6px; gap:4px; }
  .metric-grid strong { font-size:12px; }
  .speed-box { padding:7px 10px; }

  .mobile-actionbar {
    position:fixed; left:0; right:0; bottom:0; z-index:80; display:grid; grid-template-columns:1fr 1fr;
    gap:8px; padding:8px 12px calc(8px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.98);
    border-top:1px solid var(--line); box-shadow:0 -4px 18px rgba(15,23,42,.08); backdrop-filter:blur(10px);
  }
  .mobile-actionbar a { min-height:44px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:900; color:#334155; background:#f1f5f9; }
  .mobile-actionbar a.active { background:linear-gradient(180deg,#ff9900 0%,#ea580c 100%); color:#fff; }
}

/* ===== Money Match v5: final readability + mobile polish ===== */
body { font-size: 15px; color:#111827; background:#f6f8fb; }
.pr-label { margin-left:auto; margin-right:14px; font-size:10px; font-weight:800; color:#64748b; border:1px solid #cbd5e1; border-radius:4px; padding:2px 5px; line-height:1.2; }
.header-inner nav { margin-left:0; }

.hero { padding:32px 0 36px; border-bottom-width:3px; }
.hero-grid { gap:22px; }
.hero h1 { font-size:clamp(28px,4.6vw,42px); line-height:1.18; margin-bottom:12px; }
.lead { font-size:15px; line-height:1.7; color:#d7e0ec; max-width:620px; }
.trust-row { font-size:12px; color:#c1cbd9; }
.hero-card { padding:20px; }
.hero-card p { font-size:13px; color:#c0cad8; }
.hero-card small { font-size:11px; color:#9aa8bb; }

.eyebrow { font-size:10px; margin-bottom:5px; }
.section-head h2 { font-size:22px; line-height:1.35; }
.section-head .sub { font-size:13px; line-height:1.55; color:#64748b; }

.quick-picks-section { margin-top:24px; }
.quick-card { padding:18px; border-radius:16px; }
.quick-card h3 { font-size:18px; line-height:1.35; }
.quick-feature { font-size:13px; line-height:1.6; color:#334155; }
.quick-metrics { padding:11px 8px; }
.quick-metrics dt { font-size:11px; }
.quick-metrics dd { font-size:14px; }
.quick-card .cta { min-height:50px; font-size:14px; }
.quick-compare { font-size:12px; min-height:34px; }

.finder-section { margin-top:28px; }
.finder-panel { padding:20px; }
#finderForm legend { font-size:13px; margin-bottom:8px; }
.segmented label { font-size:13px; min-height:42px; display:flex; align-items:center; justify-content:center; }
.text-btn { font-size:12px; }
.sort-select { font-size:12px; }
.sort-select select { font-size:13px; min-height:40px; }

.product-grid { gap:14px; }
.product-card { padding:18px; border-radius:16px; }
.card-top h3 { font-size:20px; }
.provider { font-size:12px; }
.category { font-size:10px; }
.compare-check { font-size:12px; min-height:34px; }
.feature { font-size:14px; line-height:1.6; margin-bottom:12px; }
.metric-grid { padding:11px 8px; }
.metric-grid span { font-size:11px; }
.metric-grid strong { font-size:15px; }
.tag-row span { font-size:11px; padding:4px 8px; }
.speed-box { font-size:13px; padding:9px 12px; }
.note { font-size:12px; line-height:1.55; }
.card-actions .cta { min-height:52px; font-size:14px; }
.detailBtn { min-height:48px; font-size:12px; }
.detail-panel dl { font-size:13px; }

.compare-empty { font-size:13px; padding:24px 16px; }
table { font-size:13px; }
th, td { padding:13px 14px; }

.ranking-list { gap:16px; }
.ranking-card { border-radius:18px; padding:18px; }
.ranking-title-row h3 { font-size:20px; }
.ranking-provider { font-size:12px; }
.ranking-feature { font-size:14px; line-height:1.6; }
.ranking-metrics span { font-size:11px; }
.ranking-metrics strong { font-size:14px; }
.ranking-meta { font-size:11px; }
.ranking-cta { min-height:54px; font-size:14px; }
.ranking-jump { min-height:44px; font-size:12px; }

.editorial h2 { font-size:22px; }
.editorial-grid article { padding:18px; }
.editorial-grid h3 { font-size:15px; }
.editorial-grid p { font-size:13px; line-height:1.6; }
.disclosure { font-size:12px; line-height:1.75; }
.disclosure h2 { font-size:15px; }
footer { font-size:12px; }
.footer-inner nav { display:flex; gap:16px; }

@media (min-width: 900px) {
  .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .product-card { height:100%; }
}

@media (max-width: 767px) {
  body { font-size:15px; padding-bottom:72px; }
  .wrap { width:min(100% - 28px,1160px); }
  .header-inner { height:52px; }
  .brand { font-size:16px; }
  .brand-mark { width:29px; height:29px; border-radius:8px; }
  .pr-label { margin-left:auto; margin-right:0; font-size:9px; }

  .hero { padding:18px 0 20px; }
  .hero-grid { gap:0; }
  .hero h1 { font-size:28px; line-height:1.18; margin-bottom:9px; }
  .lead { font-size:14px; line-height:1.55; margin-bottom:11px; }
  .hero-actions { grid-template-columns:1fr 1fr; gap:7px; margin:11px 0 10px; max-width:none; }
  .primary-btn, .secondary-btn { min-height:46px; padding:10px 8px; font-size:13px; border-radius:10px; }
  .trust-row { gap:5px 10px; font-size:10px; line-height:1.4; }
  .hero-card { display:none; }

  .quick-picks-section { margin-top:16px; }
  .section-head { align-items:flex-start; margin-bottom:10px; }
  .section-head h2 { font-size:20px; }
  .section-head .sub { font-size:12px; }
  .compact-head .eyebrow { margin-bottom:3px; }
  .quick-grid { gap:10px; }
  .quick-card { padding:14px; border-radius:14px; }
  .quick-card-head { margin-bottom:6px; }
  .quick-card h3 { font-size:17px; }
  .quick-feature { font-size:13px; margin-bottom:9px; }
  .quick-metrics { margin-bottom:9px; }
  .quick-metrics dt { font-size:10px; }
  .quick-metrics dd { font-size:13px; }
  .quick-card .cta { min-height:48px; font-size:14px; }
  .quick-compare { font-size:12px; }

  .finder-section { margin-top:24px; }
  .finder-panel { padding:14px; border-radius:14px; }
  #finderForm { gap:14px; }
  #finderForm legend { font-size:13px; }
  .segmented label { font-size:12px; min-height:42px; padding:8px 3px; }
  .finder-actions .primary-btn { min-height:48px; font-size:14px; }

  .results-section { margin-top:26px; }
  .results-section .section-head { display:grid; grid-template-columns:1fr; gap:9px; }
  .sort-select { justify-content:space-between; width:100%; }
  .sort-select select { flex:1; max-width:210px; }
  .product-card { padding:14px; }
  .card-top { gap:8px; padding-bottom:10px; margin-bottom:10px; }
  .card-top h3 { font-size:18px; }
  .compare-check { font-size:11px; padding:5px 8px; }
  .feature { font-size:13px; margin-bottom:10px; }
  .metric-grid { padding:9px 5px; gap:3px; margin-bottom:9px; }
  .metric-grid span { font-size:10px; }
  .metric-grid strong { font-size:13px; line-height:1.35; }
  .tag-row { margin-bottom:8px; gap:5px; }
  .tag-row span { font-size:10px; }
  .speed-box { font-size:12px; margin-bottom:9px; }
  .note { font-size:11px; margin-bottom:10px; }
  .card-actions { gap:7px; }
  .card-actions .cta { min-height:50px; font-size:14px; }
  .detailBtn { min-height:44px; font-size:12px; }

  .compare-section { margin-top:30px; padding:26px 0; }
  .table-wrap { border-radius:12px; }

  .ranking-section { margin-top:30px; }
  .ranking-card { grid-template-columns:38px minmax(0,1fr); gap:9px; padding:13px 12px; }
  .ranking-rank { width:38px; height:38px; }
  .ranking-title-row h3 { font-size:17px; }
  .ranking-provider { font-size:11px; }
  .ranking-feature { font-size:13px; margin:7px 0 9px; }
  .ranking-metrics { gap:4px; }
  .ranking-metrics div { padding:8px 4px; }
  .ranking-metrics span { font-size:10px; }
  .ranking-metrics strong { font-size:12px; }
  .ranking-meta { font-size:10px; }
  .ranking-action { grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); }
  .ranking-cta { min-height:50px; font-size:13px; padding:10px; }
  .ranking-jump { min-height:50px; font-size:11px; }

  .editorial { margin-top:30px; }
  .editorial h2 { font-size:20px; }
  .editorial-grid article { padding:15px; }
  .editorial-grid p { font-size:13px; }
  .disclosure { margin-top:34px; padding:24px 0; font-size:12px; }
  footer { padding:20px 0 82px; }

  .mobile-actionbar { padding:7px 10px calc(7px + env(safe-area-inset-bottom)); }
  .mobile-actionbar a { min-height:48px; font-size:13px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size:25px; }
  .hero-actions { grid-template-columns:1fr; }
  .metric-grid { grid-template-columns:1fr 1fr 1fr; }
  .metric-grid strong { font-size:12px; }
  .ranking-metrics { grid-template-columns:1fr 1fr 1fr; }
  .ranking-action { grid-template-columns:1fr; }
}

/* v5.2: ranking has a single primary CTA. Hide legacy secondary jump button. */
.ranking-action .ranking-jump { display: none !important; }

/* v6 ASP-ready additions */
.ad-disclosure{background:#111827;color:#fff;text-align:center;padding:6px 12px;font-size:11px;font-weight:700}
.pr-label{font-size:10px;font-weight:800;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;padding:4px 8px;border-radius:999px}
.confidence-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}.confidence-strip>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px}.confidence-strip b{display:block;font-size:11px;margin-bottom:3px}.confidence-strip span{font-size:11px;color:var(--muted)}
.content-hub,.faq-section{margin-top:44px}.content-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.content-cards a{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;box-shadow:var(--shadow-sm)}.content-cards b{display:block;font-size:15px;margin-bottom:6px}.content-cards span{font-size:12px;color:var(--muted)}
.faq-section details{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 15px;margin:9px 0}.faq-section summary{cursor:pointer;font-weight:800;padding:14px 0}.faq-section details p{font-size:13px;color:#475569;margin:0 0 14px}
.page-main{padding:34px 0 70px}.page-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow-sm);margin-bottom:18px}.page-card h1{margin-top:0;font-size:27px}.page-card h2{font-size:19px;margin-top:28px}.page-card h3{font-size:15px}.page-card p,.page-card li{font-size:14px;color:#3e495b;line-height:1.8}.page-card a{color:var(--brand);text-decoration:underline}.page-meta{font-size:12px;color:var(--muted);margin-bottom:18px}.source-list{display:grid;gap:10px}.source-item{border:1px solid var(--line);border-radius:12px;padding:13px}.source-item b{display:block;margin-bottom:3px}.source-item span{font-size:11px;color:var(--muted)}
.contact-form{display:grid;gap:13px;max-width:700px}.contact-form label{font-size:12px;font-weight:800}.contact-form input,.contact-form textarea{width:100%;box-sizing:border-box;margin-top:5px;border:1px solid var(--line);border-radius:10px;padding:12px;font:inherit}.contact-form textarea{min-height:160px}.notice-ok{background:#ecfdf3;border:1px solid #a7f3d0;color:#047857;padding:12px;border-radius:10px}.notice-error{background:#fff1f2;border:1px solid #fecdd3;color:#be123c;padding:12px;border-radius:10px}
.legal-mini{text-align:center;color:#94a3b8;font-size:10px;padding:8px 0}.admin-health{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:14px 0}.admin-health div{border:1px solid #e2e8f0;border-radius:10px;padding:11px;background:#fff}.admin-health b{display:block;font-size:11px}.admin-health span{font-size:11px}.health-ok{color:#047857}.health-warn{color:#b45309}.admin-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:760px){.confidence-strip,.content-cards{grid-template-columns:1fr}.page-card{padding:17px}.page-card h1{font-size:23px}.admin-health,.admin-settings{grid-template-columns:1fr}.pr-label{font-size:9px}.ad-disclosure{font-size:10px}}
