* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: #18212f;
  background: #f6f8fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e4e9f1;
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: #1663f3;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: #687385;
}

nav {
  display: flex;
  gap: 24px;
  color: #4d5a6d;
  font-size: 14px;
}

.ghost,
.search button {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #1663f3;
  cursor: default;
}

.ghost {
  padding: 10px 16px;
  background: #18212f;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #1663f3;
  font-size: 13px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  max-width: 670px;
  color: #526071;
  font-size: 18px;
}

.search {
  display: flex;
  gap: 10px;
  max-width: 640px;
  margin: 28px 0 20px;
  padding: 8px;
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(27, 46, 79, 0.08);
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 0;
  outline: 0;
}

.search button {
  padding: 12px 18px;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #617087;
  font-size: 14px;
}

.stats strong {
  color: #18212f;
}

.hero-panel {
  position: relative;
}

.hero-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(22, 44, 77, 0.18);
}

.download-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(300px, calc(100% - 36px));
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(24, 33, 47, 0.18);
}

.download-card span,
.download-card em {
  display: block;
  color: #526071;
  font-style: normal;
}

.download-card em {
  margin-top: 8px;
  color: #1663f3;
  font-weight: 700;
}

.filters {
  display: flex;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 22px;
  overflow-x: auto;
}

.filters button {
  flex: 0 0 auto;
  padding: 10px 16px;
  color: #334155;
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 8px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 32px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head h2,
.rules h2 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.22;
}

.section-head a {
  color: #1663f3;
  font-weight: 700;
}

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

.pack,
.plans article {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e0e7f0;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(32, 52, 86, 0.06);
}

.pack img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #d9e2ee;
}

.pack-body {
  padding: 18px;
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  color: #0f55d8;
  background: #e9f1ff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.pack h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.pack p,
.plans p,
.rules p,
footer p {
  color: #5b6879;
}

.meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #edf1f6;
}

.meta strong {
  color: #1663f3;
}

.pricing {
  max-width: none;
  background: #edf3fb;
}

.pricing .section-head,
.plans {
  max-width: 1116px;
  margin-left: auto;
  margin-right: auto;
}

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

.plans article {
  padding: 24px;
}

.plans strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 30px;
}

.plans .featured {
  color: #fff;
  background: #18212f;
  border-color: #18212f;
}

.plans .featured p {
  color: #d8e0ea;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.rule-grid p {
  min-height: 132px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e0e7f0;
  border-radius: 8px;
}

footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 32px 52px;
  border-top: 1px solid #dce4ef;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 16px 0;
  color: #1663f3;
  font-weight: 700;
}

.disclaimer {
  font-size: 13px;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    padding: 16px 20px;
  }

  nav,
  .ghost {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 44px 20px 32px;
  }

  h1 {
    font-size: 34px;
  }

  .filters,
  .section,
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .grid,
  .plans,
  .rule-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}
