:root {
  --bg: #fbf6ed;
  --surface: #fffdf8;
  --surface-2: #f2e8d8;
  --ink: #12213f;
  --muted: #65728a;
  --primary: #ef6f4e;
  --primary-dark: #c84c31;
  --accent: #0e9f8e;
  --accent-soft: #dff5ef;
  --line: #e7dbc8;
  --shadow: 0 24px 60px rgba(18, 33, 63, .13);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
body.nav-open { overflow: hidden; }
::selection { background: var(--primary); color: #fff; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin-top: 0; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; left: 10px; top: -50px; z-index: 100; padding: 8px 12px; color: #000; background: #fff; border-radius: 10px; }
.skip-link:focus { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 237, .94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(231, 219, 200, .86);
}
.header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 58px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.04em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 10px 20px rgba(18, 33, 63, .16);
  font-size: 13px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #34425e;
  font-size: 14px;
  font-weight: 800;
}
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 99px;
  background: var(--primary);
  transform: scaleX(0);
  transition: .2s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 0;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: var(--ink);
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 0;
  font-size: 16px;
  font-weight: 950;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 32px rgba(239, 111, 78, .30);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}
.btn-dark { color: #fff; background: var(--ink); }

.ranking-section {
  padding: 18px 0 46px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 244, 189, .85) 0 15%, transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(216, 245, 236, .95) 0 18%, transparent 38%),
    linear-gradient(135deg, #fbf6ed 0%, #f7f0e4 58%, #fff0e7 100%);
}
.ranking-list { display: grid; gap: 14px; }
.rank-card {
  position: relative;
  overflow: hidden;
  min-height: 178px;
  display: grid;
  grid-template-columns: 72px 210px 168px minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: center;
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 253, 248, .94);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(18, 33, 63, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rank-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  min-width: 260px;
  background:
    radial-gradient(circle at 35% 50%, rgba(255,255,255,.24), transparent 45%),
    linear-gradient(135deg, rgba(239,111,78,.96), rgba(18,33,63,.96));
  opacity: .98;
}
.rank-card::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 34%;
  background: radial-gradient(circle at 70% 50%, rgba(14,159,142,.14), transparent 56%);
  pointer-events: none;
}
.rank-card:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 111, 78, .45);
  box-shadow: 0 26px 66px rgba(18, 33, 63, .15);
}
.rank-card.featured {
  border-color: rgba(239,111,78,.38);
}
.rank-card.featured::before {
  background:
    radial-gradient(circle at 35% 50%, rgba(255,255,255,.26), transparent 45%),
    linear-gradient(135deg, rgba(239,111,78,.98), rgba(14,159,142,.92));
}
.rank-number, .rank-logo, .rank-score, .rank-copy, .rank-cta { position: relative; z-index: 1; }
.rank-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  align-self: start;
  color: var(--ink);
  background: #fff;
  border-radius: 15px;
  font-size: 22px;
  font-weight: 1000;
  box-shadow: 0 10px 20px rgba(18,33,63,.12);
}
.rank-logo {
  min-height: 102px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 18px;
  color: #fff;
  text-align: center;
  border-radius: 22px;
  background: rgba(18,33,63,.20);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(8px);
}
.rank-icon { font-size: 34px; line-height: 1; }
.rank-logo strong {
  display: block;
  font-size: 13px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.rank-score {
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 108px;
  padding: 16px;
  text-align: center;
  background: rgba(255, 253, 248, .88);
  border: 1px solid rgba(231, 219, 200, .95);
  border-radius: 18px;
}
.rank-score span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.rank-score strong {
  font-size: 29px;
  line-height: 1;
  letter-spacing: -.04em;
}
.rank-score em {
  color: var(--primary-dark);
  font-style: normal;
  font-size: 14px;
  font-weight: 950;
}
.rank-copy span {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.rank-copy h1, .rank-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.02;
  letter-spacing: -.055em;
}
.rank-copy p {
  max-width: 600px;
  margin: 0;
  color: #536078;
  font-size: 15px;
  line-height: 1.45;
}
.rank-cta {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 16px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 18px 36px rgba(239, 111, 78, .30);
  font-size: 17px;
  font-weight: 1000;
  white-space: nowrap;
}
.rank-cta span { font-size: 28px; line-height: 0; }

.intro-section {
  padding: 78px 0 70px;
  background:
    radial-gradient(circle at 10% 12%, #fff4bd 0 16%, transparent 34%),
    radial-gradient(circle at 82% 18%, #d8f5ec 0 20%, transparent 38%),
    linear-gradient(135deg, #fbf6ed 0%, #eef8f2 54%, #fff0e7 100%);
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .72fr);
  gap: 54px;
  align-items: center;
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.intro-copy h2 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.065em;
}
.lead {
  max-width: 720px;
  color: #3f4d65;
  font-size: clamp(18px, 2.1vw, 23px);
}
.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.info-panel {
  position: relative;
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .92);
  border: 1px solid rgba(255,255,255,.86);
  box-shadow: var(--shadow);
}
.info-panel::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border-radius: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: rotate(-4deg);
  opacity: .9;
}
.panel-label {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #07695e;
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 950;
}
.info-panel h3 {
  margin-bottom: 14px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.info-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.info-panel li {
  padding: 12px 0;
  color: #45536b;
  border-bottom: 1px dashed var(--line);
}
.info-panel li:last-child { border-bottom: 0; }

.check-section, .guide-section, .steps-section, .faq-section { padding: 76px 0; }
.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}
.section-head h2, .check-copy h2, .guide-feature h2, .cta-band h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.05;
  letter-spacing: -.048em;
}
.section-head p, .check-copy p, .guide-feature p, .cta-band p { color: var(--muted); }

.check-section { background: #fffaf2; }
.check-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: start;
}
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.check-list article {
  min-height: 172px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(18,33,63,.07);
}
.check-list span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #07695e;
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 950;
}
.check-list strong { display: block; font-size: 19px; line-height: 1.35; }

.guide-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(420px, 1fr); gap: 42px; align-items: start; }
.guide-feature {
  padding: 34px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #243b67);
  box-shadow: var(--shadow);
}
.guide-feature .eyebrow { color: #ffd2c4; }
.guide-feature p { color: #dce4ef; }
.guide-feature .btn { margin-top: 10px; background: #fff; color: var(--ink); }
.guide-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-cards article {
  min-height: 180px;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(18,33,63,.06);
}
.guide-cards h3 { margin-bottom: 8px; font-size: 23px; }
.guide-cards p { margin: 0; color: var(--muted); }

.steps-section { background: #fffaf2; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps div {
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(18,33,63,.06);
}
.steps span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 15px;
  color: #fff;
  background: var(--primary);
  font-weight: 1000;
}
.steps h3 { margin-bottom: 8px; font-size: 23px; }
.steps p { margin: 0; color: var(--muted); }

.cta-band { padding: 50px 0; color: #fff; background: var(--ink); }
.cta-band .eyebrow { color: #ffd2c4; }
.cta-band p { margin-bottom: 0; color: #cbd3df; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; }

.faq-list { max-width: 920px; margin-inline: auto; }
.faq-list details {
  margin-bottom: 14px;
  padding: 18px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}
.faq-list summary { cursor: pointer; font-size: 18px; font-weight: 950; }
.faq-list p { margin: 12px 0 0; color: var(--muted); }

.footer { padding: 34px 0; color: #d7ddea; background: #091124; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer p { max-width: 720px; margin: 0; }
.footer a { text-decoration: underline; text-underline-offset: 4px; }
.footer div div { display: flex; gap: 16px; flex-wrap: wrap; }
.mobile-cta { display: none; }

@media (max-width: 1120px) {
  .rank-card {
    grid-template-columns: 58px 180px 140px minmax(0, 1fr);
  }
  .rank-cta { grid-column: 2 / -1; justify-self: start; min-height: 52px; }
}

@media (max-width: 900px) {
  .container, .header-inner { width: min(100% - 28px, var(--max)); }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 58px 14px auto 14px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: .2s ease;
  }
  .nav a { padding: 12px 10px; }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .ranking-section { padding-top: 14px; }
  .rank-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  .rank-card::before { width: 100%; min-width: 0; height: 156px; inset: 0 0 auto 0; }
  .rank-logo { min-height: 92px; }
  .rank-score { grid-column: 1 / -1; grid-row: auto; min-height: auto; grid-template-columns: 1fr 1fr 1fr; justify-items: start; gap: 10px; text-align: left; }
  .rank-copy { grid-column: 1 / -1; }
  .rank-copy h1, .rank-copy h2 { font-size: 32px; }
  .rank-cta { grid-column: 1 / -1; width: 100%; }
  .intro-grid, .check-grid, .guide-grid { grid-template-columns: 1fr; }
  .check-list, .guide-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-inner, .footer-grid { display: grid; }
}

@media (max-width: 560px) {
  body { padding-bottom: 74px; }
  .header-inner { min-height: 54px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 11px; }
  .ranking-section { padding-bottom: 34px; }
  .rank-card { border-radius: 22px; }
  .rank-number { width: 44px; height: 44px; font-size: 20px; }
  .rank-logo { padding: 14px; }
  .rank-score { grid-template-columns: 1fr; }
  .rank-copy h1, .rank-copy h2 { font-size: 28px; }
  .intro-section, .check-section, .guide-section, .steps-section, .faq-section { padding: 56px 0; }
  .intro-copy h2 { font-size: 42px; }
  .lead { font-size: 17px; }
  .intro-actions .btn, .cta-inner .btn { width: 100%; }
  .info-panel { padding: 24px; }
  .info-panel::before { inset: -10px; }
  .section-head { text-align: left; }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: block;
    padding: 10px 14px;
    background: rgba(251,246,237,.93);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .mobile-cta .btn { width: 100%; }
}
