:root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #172033;
  --muted: #64708a;
  --line: #dfe5f0;
  --blue: #174ea6;
  --blue-dark: #0e3474;
  --orange: #f59e0b;
  --green: #16835b;
  --red: #c2410c;
  --shadow: 0 20px 60px rgba(23, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.pr {
  background: #10264d;
  color: #fff;
  font-size: 13px;
}

.pr .container {
  padding: 10px 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--blue);
  font-weight: 850;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(23, 78, 166, 0.22);
}

.button.secondary {
  background: #fff;
  color: var(--blue);
  border: 1px solid #b9c9e8;
  box-shadow: none;
}

.hero {
  padding: 72px 0 48px;
  background:
    radial-gradient(circle at 18% 0%, rgba(23, 78, 166, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(238, 244, 255, 0.94) 100%),
    url("/assets/hero-finance.png") center / cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(34px, 5vw, 60px);
}

h2 {
  font-size: clamp(26px, 3.5vw, 42px);
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  margin-top: 18px;
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
}

.panel::before {
  content: "☑";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  position: absolute;
  top: 24px;
  left: 24px;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--blue);
  font-weight: 900;
}

.panel > h2:first-child {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin-top: 0;
  padding-left: 52px;
}

section {
  padding: 64px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: 0 16px 48px rgba(23, 32, 51, 0.08);
}

.card h3::before {
  content: "◆";
  margin-right: 8px;
  color: var(--orange);
  font-size: 16px;
  vertical-align: 2px;
}

.broker-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}

.toc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.toc a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.ranking {
  display: grid;
  gap: 18px;
}

.ranking-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(23, 32, 51, 0.08);
}

.ranking-card h3 {
  font-size: 28px;
}

.ranking-card h3::before {
  content: "★";
}

.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.faq summary {
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.faq p {
  margin-top: 10px;
}

.card.featured {
  border-color: rgba(23, 78, 166, 0.42);
  box-shadow: 0 24px 70px rgba(23, 78, 166, 0.14);
}

.tag {
  align-self: flex-start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.tag::before {
  content: "●";
  margin-right: 6px;
  font-size: 10px;
}

.tag.orange {
  background: #fff7ed;
  color: var(--red);
}

.tag.green {
  background: #ecfdf5;
  color: var(--green);
}

ul,
ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 6px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
}

table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

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

th {
  background: #f8fafc;
  color: var(--ink);
  font-size: 14px;
}

td {
  color: var(--muted);
  font-size: 14px;
}

td strong {
  color: var(--ink);
}

.risk {
  padding: 24px;
  border: 1px solid #fed7aa;
  border-radius: 24px;
  background: #fff7ed;
}

.risk h2::before {
  content: "⚠";
  margin-right: 8px;
  color: var(--red);
}

.risk p,
.risk li {
  color: #7c2d12;
}

.source-list {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

footer {
  padding: 36px 0;
  background: #10264d;
}

footer p {
  color: #d8e4ff;
  font-size: 13px;
}

@media (max-width: 860px) {
  .hero-grid,
  .grid,
  .grid.two,
  .toc,
  .ranking-card {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }
}
