* {
  box-sizing: border-box;
}

:root {
  --brand: rgb(213, 5, 5);
  --header-red: rgb(180, 4, 4);
  --brand-dark: rgb(156, 4, 4);
  --text: #1f1f1f;
  --muted: #666666;
  --light: #f6f6f6;
  --line: #e9e9e9;
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.72;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

p {
  margin: 0 0 14px;
}

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

.site-header {
  position: relative;
  z-index: 20;
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
}

.mobile-header {
  height: 62px;
  border-top: 4px solid var(--header-red);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 54px 1fr 86px;
  align-items: center;
  padding: 0 12px;
  background: #ffffff;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #222222;
  border-radius: 2px;
}

.mobile-logo {
  justify-self: center;
  display: flex;
  align-items: center;
}

.mobile-logo img {
  height: 34px;
  width: auto;
}

.logo img {
  height: 44px;
  width: auto;
}

.top-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.top-action:hover,
.main-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}

.mobile-nav {
  display: none;
  padding: 10px 16px 16px;
  background: #ffffff;
  border-bottom: 4px solid var(--header-red);
}

.mobile-nav.open {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-nav a {
  padding: 11px 12px;
  background: #f8f8f8;
  border-radius: 12px;
  color: #333333;
  font-size: 15px;
}

.mobile-nav a.active {
  color: var(--brand);
  background: #fff0f0;
  font-weight: 700;
}

.desktop-header {
  display: none;
}

.main-btn,
.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.main-btn {
  min-height: 46px;
  padding: 0 28px;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(213, 5, 5, 0.18);
}

.link-btn {
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
}

.link-btn::after {
  content: "›";
  margin-left: 6px;
  font-size: 20px;
  line-height: 0;
}

.section {
  padding: 54px 0;
}

.section-alt {
  background: var(--light);
}

.section-head {
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--brand);
  background: #fff0f0;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-head h2,
.page-title h1 {
  margin: 0 0 12px;
  font-size: clamp(25px, 4vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-head p,
.page-title p {
  color: var(--muted);
  max-width: 820px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(180, 4, 4, 0.06), rgba(213, 5, 5, 0.03)),
    #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(213, 5, 5, 0.08);
}

.official-hero {
  display: grid;
  gap: 30px;
  align-items: center;
  padding: 48px 0 34px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-copy p {
  color: #555555;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.hero-note {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-note span,
.tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff0f0;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-visual img,
.visual-card img {
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(213, 5, 5, 0.08);
}

.hero-panel {
  margin-top: -18px;
  position: relative;
  width: calc(100% - 32px);
  margin-left: auto;
  margin-right: auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.hero-panel strong {
  color: var(--brand);
  font-size: 18px;
}

.official-entry {
  padding-top: 22px;
  padding-bottom: 22px;
  background: var(--light);
}

.entry-strip {
  display: grid;
  gap: 10px;
}

.entry-strip span {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: #444444;
  font-weight: 700;
}

.category-main-grid,
.category-sub-grid,
.focus-grid,
.security-grid,
.card-grid,
.data-cards {
  display: grid;
  gap: 16px;
}

.category-main-grid {
  margin-bottom: 18px;
}

.category-main-card,
.category-sub-card,
.focus-card,
.info-card,
.security-card,
.page-card,
.faq-item,
.data-card,
.notice-box,
.contact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.category-main-card {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid var(--brand);
}

.category-sub-card {
  background: #fffdfd;
}

.category-main-card h3,
.category-sub-card h3,
.focus-card h3,
.info-card h3,
.security-card h3,
.page-card h3,
.data-card h3,
.contact-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.category-main-card p,
.category-sub-card p,
.focus-card p,
.info-card p,
.security-card p,
.page-card p,
.data-card p,
.contact-card p {
  color: #555555;
}

.focus-card {
  position: relative;
  overflow: hidden;
}

.focus-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 4px;
  height: 42px;
  border-radius: 0 8px 8px 0;
  background: var(--brand);
}

.info-split {
  display: grid;
  gap: 18px;
}

.info-column {
  display: grid;
  gap: 14px;
}

.info-column .visual-card {
  align-self: start;
}

.showcase,
.score-data,
.app-showcase {
  display: grid;
  gap: 26px;
  align-items: center;
}

.showcase-list,
.clean-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.showcase-list li,
.clean-list li {
  position: relative;
  padding-left: 24px;
  color: #454545;
}

.showcase-list li::before,
.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
}

.score-board {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
}

.score-board img {
  border-radius: 16px;
  margin-bottom: 14px;
}

.data-cards {
  grid-template-columns: 1fr;
}

.data-card strong {
  display: block;
  font-size: 25px;
  color: var(--brand);
  margin-bottom: 4px;
}

.app-box {
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #fff4f4);
  border: 1px solid #f1d7d7;
  padding: 22px;
  box-shadow: var(--shadow);
}

.app-box img {
  margin: 0 auto;
  max-height: 420px;
  object-fit: contain;
}

.responsible-box {
  border-left: 5px solid var(--brand);
  background: #f7f7f7;
  border-radius: 16px;
  padding: 22px;
}

.responsible-box p {
  color: #444444;
}

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

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.cta-band {
  background: linear-gradient(135deg, #fff2f2, #f7f7f7);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-inner {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 36px);
}

.cta-inner p {
  color: #555555;
  margin-bottom: 22px;
}

.page-hero {
  background: linear-gradient(135deg, rgba(180, 4, 4, 0.08), rgba(213, 5, 5, 0.03));
  padding: 42px 0 34px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  max-width: 850px;
}

.page-content {
  padding: 42px 0 58px;
}

.page-layout {
  display: grid;
  gap: 24px;
}

.page-prose {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.page-prose h2 {
  margin: 26px 0 10px;
  font-size: 25px;
}

.page-prose h2:first-child {
  margin-top: 0;
}

.page-prose h3 {
  margin: 20px 0 8px;
  font-size: 19px;
}

.page-prose p {
  color: #444444;
}

.page-aside {
  display: grid;
  gap: 16px;
}

.side-links {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 18px;
}

.side-links h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.side-links a {
  display: block;
  padding: 10px 0;
  color: #444444;
  border-bottom: 1px solid var(--line);
}

.side-links a:last-child {
  border-bottom: 0;
}

.side-links a:hover {
  color: var(--brand);
}

.step-list {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.step {
  counter-increment: step;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 16px 58px;
  position: relative;
  background: #ffffff;
}

.step::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  background: var(--brand);
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.card-grid {
  margin: 20px 0;
}

.notice-box {
  background: #f8f8f8;
  border-left: 5px solid var(--brand);
}

.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.site-footer {
  background: #1f1f1f;
  color: #f2f2f2;
  padding-top: 42px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 12px;
}

.site-footer p {
  color: #d7d7d7;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.site-footer a {
  display: block;
  color: #dddddd;
  margin: 8px 0;
  font-size: 14px;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-note {
  margin-top: 30px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (min-width: 640px) {
  .entry-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-sub-grid,
  .focus-grid,
  .security-grid,
  .card-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .data-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 880px) {
  .mobile-header,
  .mobile-nav {
    display: none !important;
  }

  .desktop-header {
    display: block;
  }

  .top-strip {
    background: var(--header-red);
    color: #ffffff;
    font-size: 13px;
  }

  .strip-inner {
    min-height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .desktop-main {
    background: #ffffff;
    border-bottom: 1px solid var(--line);
  }

  .desktop-nav-wrap {
    height: 74px;
    display: flex;
    align-items: center;
    gap: 26px;
  }

  .desktop-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;
    white-space: nowrap;
  }

  .desktop-nav a {
    color: #303030;
    font-weight: 700;
    font-size: 15px;
    padding: 25px 0;
    border-bottom: 3px solid transparent;
  }

  .desktop-nav a.active,
  .desktop-nav a:hover {
    color: var(--brand);
    border-bottom-color: var(--brand);
  }

  .header-tools {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .search-icon {
    position: relative;
    width: 25px;
    height: 25px;
    border: 2px solid #333333;
    border-radius: 50%;
    display: inline-block;
  }

  .search-icon::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background: #333333;
    right: -7px;
    bottom: 0;
    transform: rotate(45deg);
    border-radius: 2px;
  }

  .official-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 46px;
    min-height: 540px;
  }

  .entry-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-main-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .category-sub-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .focus-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .info-split {
    grid-template-columns: 1fr 1fr;
  }

  .showcase,
  .score-data,
  .app-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .security-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

@media (min-width: 1120px) {
  .section {
    padding: 72px 0;
  }

  .page-content {
    padding: 58px 0 76px;
  }
}
