
:root {
  --bg: #f4f5f1;
  --paper: #ffffff;
  --paper-soft: #faf9f5;
  --text: #1f2a22;
  --muted: #5f675f;
  --accent: #8b5e1a;
  --accent-dark: #5e3d0b;
  --green: #0aa245;
  --green-dark: #087737;
  --line: #d8ddd4;
  --line-strong: #b7c0b2;
  --blue: #0f6ead;
  --shadow: 0 10px 30px rgba(18, 38, 26, .08);
  --radius: 18px;
  --radius-sm: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(10,162,69,.08), transparent 28%),
    linear-gradient(180deg, #f8f7f3 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.55;
}
a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 46px;
}
.hero {
  background: linear-gradient(135deg, rgba(10,162,69,.08), rgba(139,94,26,.08)), var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 26px;
  align-items: center;
}
.hero-kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eef8f1;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
h1 {
  margin: 12px 0 10px;
  font-size: 40px;
  line-height: 1.08;
  color: var(--accent-dark);
}
.lead {
  font-size: 18px;
  color: #364238;
  margin: 0 0 14px;
}
.meta-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 18px;
}
.meta-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
}
.meta-card strong {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 4px;
}
.hero-logos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  justify-items: center;
  align-items: center;
}
.hero-logos img.logo-main {
  max-width: 100%;
  width: 420px;
  height: auto;
}
.hero-logos .seal-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-logos .seal-row img {
  max-height: 120px;
  width: auto;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 700;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  color: white;
}
.btn-secondary {
  background: white;
  color: var(--accent-dark);
  border-color: var(--line-strong);
}
.section {
  margin-top: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.section h2 {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 28px;
  line-height: 1.15;
}
.section h3 {
  margin: 20px 0 10px;
  color: var(--green-dark);
  font-size: 20px;
}
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.note {
  font-size: 15px;
  color: var(--muted);
}
.clean-list {
  margin: 0;
  padding-left: 18px;
}
.clean-list li + li { margin-top: 8px; }
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 15px;
}
.data-table thead th {
  background: linear-gradient(180deg, #a9711c, #8b5e1a);
  color: #fff;
  text-align: left;
  padding: 12px 12px;
  font-size: 14px;
  letter-spacing: .02em;
}
.data-table thead th:first-child { border-top-left-radius: 14px; }
.data-table thead th:last-child { border-top-right-radius: 14px; }
.data-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  vertical-align: middle;
}
.data-table tbody tr:nth-child(even) td { background: #fbfcfa; }
.data-table tbody tr:last-child td:first-child { border-bottom-left-radius: 14px; }
.data-table tbody tr:last-child td:last-child { border-bottom-right-radius: 14px; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef8f1;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}
.quick-card {
  background: linear-gradient(180deg, #fcfcf8, #f6f7f2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.quick-card h3 { margin: 0 0 8px; color: var(--accent-dark); font-size: 19px; }
.top3 {
  width: 100%;
  border-collapse: collapse;
}
.top3 td {
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.top3 td:last-child {
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}
.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  align-items: stretch;
}
.sponsor {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.sponsor img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.footer {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.rank-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.rank-header h1 { margin: 0; }
.rank-layout {
  column-count: 2;
  column-gap: 20px;
}
.rank-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.rank-card h3 {
  margin: 0;
  padding: 14px 16px;
  color: white;
  background: linear-gradient(180deg, var(--green-dark), #055a29);
  font-size: 20px;
}
.rank-card .inner {
  padding: 0 0 2px;
}
.rank-table thead th {
  background: #f4f7f0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 13px;
}
.rank-table tbody td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
}
.rank-table tbody tr:last-child td { border-bottom: 0; }
.rank-table td:nth-child(1),
.rank-table td:nth-child(4),
.rank-table td:nth-child(5) {
  white-space: nowrap;
}
.rank-table td:nth-child(1),
.rank-table td:nth-child(4),
.rank-table td:nth-child(5) {
  text-align: center;
}
.small-note {
  font-size: 13px;
  color: var(--muted);
}
.backlink {
  margin-top: 18px;
  display: inline-block;
}
@page {
  size: A4;
  margin: 14mm 12mm 14mm 12mm;
}
@media print {
  body {
    background: white;
    font-size: 11pt;
  }
  .page {
    max-width: none;
    padding: 0;
  }
  .hero, .section, .rank-card {
    box-shadow: none;
  }
  a { color: inherit; text-decoration: none; }
  .btn {
    border: 1px solid #999;
    color: #111 !important;
    background: #fff !important;
  }
  .rank-layout {
    column-count: 2;
    column-gap: 10mm;
  }
  .sponsor-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }
}
@media (max-width: 900px) {
  .hero-grid, .cols-2, .quick-grid {
    grid-template-columns: 1fr;
  }
  .rank-layout { column-count: 1; }
  .sponsor-grid { grid-template-columns: 1fr 1fr; }
}
