:root {
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #172033;
  --muted: #667085;
  --line: #e5e7ef;
  --accent: #1f5eff;
  --accent-dark: #1747c6;
  --soft: #eef4ff;
  --success: #0f9f61;
  --gold: #f4b400;
  --shadow: 0 12px 35px rgba(16, 24, 40, 0.08);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  background: #0f1728;
  color: #fff;
  font-size: 14px;
  padding: 10px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-badges span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 12px;
}

header {
  background:
    radial-gradient(circle at top left, rgba(31, 94, 255, 0.14), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  border-bottom: 1px solid var(--line);
}

.nav {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 8px 20px rgba(31, 94, 255, 0.18);
}

.cta-btn:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  border: 1px solid var(--line);
  transition: 0.2s ease;
}

.ghost-btn:hover {
  text-decoration: none;
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  padding: 44px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: var(--soft);
  color: var(--accent);
  border: 1px solid #dbe7ff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  max-width: 760px;
}

.hero strong,
.section strong,
.ranking-card strong,
.info-box strong,
.faq strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-points {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-point {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.hero-point strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

.hero-point span {
  color: var(--muted);
  font-size: 15px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.score-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--soft);
  border-radius: 16px;
  border: 1px solid #dce7ff;
  margin-bottom: 16px;
}

.score-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 25px;
  flex-shrink: 0;
}

.score-text small {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}

.score-text strong {
  display: block;
  font-size: 22px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.feature-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: none;
}

.section {
  padding: 28px 0;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.section-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 760px;
  font-size: 17px;
}

.ranking-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.ranking-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ranking-label {
  display: inline-block;
  background: #fff7df;
  color: #8a6200;
  border: 1px solid #f7df94;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.brand-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.brand-meta {
  color: var(--muted);
  margin-top: 8px;
}

.rank-badge {
  background: linear-gradient(135deg, #1f5eff, #3b82f6);
  color: #fff;
  padding: 16px 18px;
  border-radius: 18px;
  min-width: 130px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(31, 94, 255, 0.2);
}

.rank-badge small {
  display: block;
  opacity: 0.88;
  margin-bottom: 6px;
}

.rank-badge strong {
  font-size: 34px;
  line-height: 1;
  display: block;
  color: #fff;
}

.brand-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.info-box {
  background: #f9fbff;
  border: 1px solid #e6eefc;
  border-radius: 16px;
  padding: 18px;
  margin-top: 18px;
}

.info-box h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.info-box p {
  margin: 0;
  color: var(--muted);
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
}

.check-list li:last-child {
  margin-bottom: 0;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
}

.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.aside-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 20px;
  line-height: 1.25;
}

.aside-card p {
  color: var(--muted);
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.metric:last-child {
  border-bottom: none;
}

.metric span:first-child {
  color: var(--muted);
}

.metric span:last-child {
  font-weight: 700;
  text-align: right;
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table th {
  font-size: 15px;
  color: var(--text);
  background: #fbfcff;
}

.comparison-table td {
  font-size: 15px;
  color: var(--muted);
}

.comparison-table td strong {
  color: var(--text);
}

.comparison-table tbody tr:first-child {
  background: #f8fbff;
}

.small-note {
  margin-bottom: 0;
  font-size: 14px;
  color: var(--muted);
}

.site-footer {
  padding: 34px 0 50px;
  border-top: 1px solid var(--line);
  background: #fff;
  margin-top: 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.footer-grid p {
  color: var(--muted);
  margin: 12px 0 0;
  max-width: 760px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
}

.footer-links a {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero-grid,
  .brand-grid,
  .hero-points,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--max), calc(100% - 20px));
  }

  h1 {
    font-size: 32px;
  }

  .brand-title {
    font-size: 26px;
  }

  .ranking-card,
  .hero-card {
    padding: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .hero p,
  .section-subtitle {
    font-size: 16px;
  }

  .topbar {
    font-size: 13px;
  }

  .score-circle {
    width: 64px;
    height: 64px;
    font-size: 22px;
  }

  .cta-btn,
  .ghost-btn {
    width: 100%;
  }
}