:root {
  --brand-primary: #1B365D;
  --brand-dark: #12264A;
  --brand-accent: #C9A227;
  --action: #2563EB;
  --tint: #E8EEF7;
  --on-dark: #D6E0F0;
  --text: #2D3748;
  --muted: #4A5568;
  --border: #CBD5E0;
  --card-border: #E2E8F0;
  --bg-light: #F4F6F8;
  --white: #FFFFFF;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.5; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }
h1 { margin: 0 0 14px; font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; }
h2 { margin: 0 0 8px; font-size: 30px; color: var(--brand-primary); letter-spacing: -0.01em; }
h3 { color: var(--brand-primary); }
.sub { margin: 0 0 28px; color: var(--muted); }
.site-header { background: var(--brand-primary); color: var(--white); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; }
.nav a { text-decoration: none; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; flex-wrap: wrap; }
.logo { font-weight: 700; font-size: 20px; }
.logo span { color: var(--brand-accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 8px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; text-decoration: none; }
.btn-p { background: var(--action); color: var(--white); }
.btn-o { background: var(--white); color: var(--brand-primary); border: 1.5px solid var(--brand-primary); }
.hero { background: var(--brand-primary); color: var(--white); padding: 56px 0 72px; }
.hero p.lede { margin: 0 0 32px; font-size: 18px; color: var(--on-dark); }
.hero h2 { color: var(--brand-primary); font-size: 24px; }
.panel { background: var(--white); color: var(--text); border-radius: 14px; padding: 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.grid-tight { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.card { background: var(--white); border: 1px solid var(--card-border); border-radius: 12px; padding: 24px; }
.chip { display: inline-block; font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 6px; background: var(--tint); color: var(--brand-primary); }
.sel { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 8px; padding: 0 14px; font-size: 16px; color: var(--text); background: var(--white); font-family: var(--font); }
.need { display: block; width: 100%; text-align: left; min-height: 64px; padding: 12px 16px; background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; font-weight: 600; font-size: 16px; color: var(--brand-primary); cursor: pointer; text-decoration: none; font-family: var(--font); }
.need small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.num { width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--brand-primary); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.section { padding: 56px 0; }
.section-light { background: var(--bg-light); padding: 64px 0; }
.section-dark { background: var(--brand-primary); color: var(--white); padding: 64px 0; }
.section-dark h2 { color: var(--white); }
.section-dark p { color: var(--on-dark); }
.rank-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.rank-list li { background: var(--brand-dark); border-radius: 10px; padding: 18px; }
.rank-list strong { color: var(--brand-accent); }
.rank-list span { color: var(--on-dark); font-size: 15px; }
.layout { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.layout-main { flex: 2 1 520px; min-width: 0; }
.layout-side { flex: 1 1 260px; }
.sponsored { border: 1.5px dashed var(--border); border-radius: 12px; padding: 20px; background: var(--bg-light); color: var(--muted); }
.sponsored .label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-primary); }
.listing { border: 1px solid var(--card-border); border-radius: 12px; padding: 24px; margin-bottom: 16px; background: var(--white); }
.listing h3 { margin: 0 0 6px; font-size: 22px; }
.listing .meta { color: var(--muted); font-size: 14px; margin: 0 0 10px; }
.score { display: inline-block; background: var(--tint); color: var(--brand-primary); font-weight: 700; border-radius: 6px; padding: 4px 10px; font-size: 14px; }
.empty-note { border: 1px solid var(--card-border); border-radius: 12px; padding: 24px; background: var(--bg-light); }
label { display: block; font-weight: 600; color: var(--brand-primary); margin-bottom: 8px; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; font-size: 16px; color: var(--text); background: var(--white); font-family: var(--font); margin-bottom: 18px; }
textarea { min-height: 120px; }
footer { background: var(--brand-dark); color: var(--on-dark); padding: 40px 0; font-size: 14px; }
footer a { text-decoration: none; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.small { font-size: 14px; color: var(--muted); }

.score-details{margin:10px 0 14px;border:1px solid #CBD5E0;border-radius:10px;padding:10px 14px;background:#F4F6F8}
.score-details summary{cursor:pointer;font-weight:600;color:#1B365D;min-height:32px}
.score-details ul{margin:8px 0 8px 18px}
.score-details li{margin:4px 0}
