:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --text: #162033;
  --muted: #64748b;
  --line: #dce6f4;
  --primary: #0f62fe;
  --primary-dark: #0a4fd1;
  --accent: #14b8a6;
  --accent-soft: #e8fffb;
  --shadow: 0 14px 40px rgba(15, 35, 95, 0.08);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef4ff 0%, #f8fbff 220px, #f4f7fb 100%);
  line-height: 1.65;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-wrap {
  overflow: hidden;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 24px 0 46px;
  background:
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.15), transparent 28%),
    radial-gradient(circle at top left, rgba(15, 98, 254, 0.18), transparent 32%);
}

.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 12px 0 26px;
  flex-wrap: wrap;
}

.brand {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.brand span {
  color: var(--primary);
}

.menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.menu a {
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.eyebrow,
.section-kicker,
.panel-label,
.badge {
  display: inline-block;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.eyebrow,
.section-kicker {
  background: #e8f1ff;
  color: var(--primary);
  padding: 8px 14px;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 16px 0 18px;
  max-width: 760px;
}

.lead {
  font-size: 19px;
  color: var(--text);
}

.hero-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 760px;
}

.hero-copy strong,
.section strong,
.rank-card strong,
.author-copy strong,
.faq-item strong {
  color: var(--text);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 98, 254, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-block {
  width: 100%;
}

.hero-tags {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tags li {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.hero-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.panel-label {
  background: var(--accent-soft);
  color: #0f766e;
  padding: 8px 12px;
}

.score {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #4f8dff);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.hero-panel h2 {
  margin: 18px 0 12px;
  font-size: 30px;
}

.hero-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.bullet-list,
.check-row {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list li,
.check-row li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.bullet-list li::before,
.check-row li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.section {
  padding: 28px 0;
}

.intro-strip {
  padding-top: 0;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.mini-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 12px 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-heading p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.rank-list {
  display: grid;
  gap: 18px;
}

.rank-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.rank-card.featured {
  border-color: #b8d2ff;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.rank-num {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: #ecf3ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
}

.rank-main {
  min-width: 0;
}

.rank-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  flex-wrap: wrap;
}

.badge {
  background: #fff4d8;
  color: #946200;
  padding: 8px 12px;
  margin-bottom: 10px;
}

.rank-head h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.domain {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.rank-main p {
  color: var(--muted);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}

.spec-box {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.spec-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.spec-box strong {
  display: block;
  font-size: 17px;
}

.check-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
}

.check-row li {
  margin-bottom: 0;
  color: var(--text);
}

.table-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table th {
  background: #f7fbff;
  color: var(--text);
  font-size: 15px;
}

.compare-table td {
  color: var(--muted);
  font-size: 15px;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.method-section {
  background: linear-gradient(180deg, rgba(232, 241, 255, 0.45) 0%, rgba(244, 247, 251, 0) 100%);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.method-grid h2 {
  margin: 12px 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
}

.method-grid p {
  color: var(--muted);
}

.method-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.method-point {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.method-point h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.method-point p {
  margin: 0;
}

.author-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.author-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #5f97ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 900;
}

.author-copy h2 {
  margin: 12px 0 10px;
  font-size: 34px;
}

.author-copy p {
  margin: 0 0 14px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 24px;
  line-height: 1;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.footer {
  padding: 34px 0 46px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}

.footer-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 760px;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: start;
  justify-content: flex-start;
}

.footer-links a {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-grid,
  .method-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mini-cards,
  .method-points,
  .spec-grid,
  .check-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--max), calc(100% - 20px));
  }

  .rank-card,
  .author-card {
    grid-template-columns: 1fr;
  }

  .rank-num {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    font-size: 24px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .rank-head h3,
  .author-copy h2 {
    font-size: 28px;
  }

  .menu {
    gap: 12px;
  }

  .btn {
    width: 100%;
  }
}