:root {
  color-scheme: light;
  --text: #201413;
  --muted: #70615d;
  --soft: #fff6f0;
  --surface: #ffffff;
  --line: #eadbd4;
  --red: #f5352f;
  --red-deep: #d82420;
  --orange: #ff7a1a;
  --green: #3c8b61;
  --blue: #4c8fbf;
  --shadow: 0 24px 70px rgba(77, 35, 28, 0.14);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fffaf6;
  color: var(--text);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 14px clamp(20px, 4vw, 64px);
  background: rgba(255, 250, 246, 0.86);
  border-bottom: 1px solid rgba(234, 219, 212, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img,
.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(245, 53, 47, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--red-deep);
  background: rgba(245, 53, 47, 0.08);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  min-height: calc(100vh - 69px);
  padding: clamp(46px, 7vw, 96px) clamp(20px, 5vw, 80px) clamp(30px, 5vw, 72px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(245, 53, 47, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 246, 240, 0.96), rgba(255, 255, 255, 0.72));
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red-deep);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 1.06;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: #3b2a27;
  font-size: clamp(18px, 2vw, 23px);
}

.support {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 16px 36px rgba(245, 53, 47, 0.26);
}

.button.secondary {
  color: var(--red-deep);
  background: #fff;
  border-color: rgba(245, 53, 47, 0.24);
}

.hero-visual {
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  max-height: min(76vh, 920px);
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(58px, 8vw, 110px) clamp(20px, 5vw, 80px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section h2,
.cta-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.intro {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}

.intro-text p {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.question-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.question-list li {
  min-height: 104px;
  padding: 20px;
  color: #42231c;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.memory-band {
  display: grid;
  gap: 8px;
  padding: clamp(46px, 7vw, 80px) clamp(20px, 5vw, 80px);
  color: #fff;
  background: #241715;
}

.memory-band p {
  max-width: 1040px;
  margin: 0 auto;
  font-size: clamp(28px, 4.4vw, 54px);
  font-weight: 900;
  line-height: 1.18;
}

.memory-band p:last-child {
  color: #ffd2c5;
}

.card-grid,
.difference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.difference-grid article,
.feature-list article,
.legal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(77, 35, 28, 0.08);
}

.info-card {
  min-height: 245px;
  padding: 22px;
}

.card-index {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: #fff;
  background: var(--red);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.info-card h3,
.feature-list h3,
.difference-grid h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.info-card p,
.feature-list p,
.difference-grid p {
  margin: 0;
  color: var(--muted);
}

.feature-section {
  background: #fff;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-list article {
  min-height: 168px;
  padding: 26px;
  border-left: 5px solid var(--red);
}

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

.difference-grid article {
  min-height: 190px;
  padding: 26px;
}

.difference-grid article:nth-child(2) {
  border-top-color: rgba(60, 139, 97, 0.42);
}

.difference-grid article:nth-child(3) {
  border-top-color: rgba(76, 143, 191, 0.42);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: clamp(20px, 4vw, 58px) clamp(20px, 5vw, 80px) clamp(58px, 8vw, 98px);
  padding: clamp(34px, 5vw, 62px);
  color: #fff;
  background: linear-gradient(135deg, #241715, #5a231d 52%, #f5352f);
  border-radius: 8px;
}

.cta-section p {
  max-width: 680px;
  margin: 14px 0 0;
  color: #ffe4db;
  font-size: 18px;
}

.cta-section .eyebrow {
  color: #ffd2c5;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr) minmax(220px, 0.8fr);
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 80px);
  color: #6a5651;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p,
.site-footer address {
  margin: 10px 0 0;
  font-style: normal;
}

.site-footer a {
  color: #4a2620;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.legal-page {
  background: #fffaf6;
}

.legal-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 80px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red-deep);
  font-weight: 800;
}

.legal-content {
  padding: clamp(28px, 5vw, 58px);
}

.legal-content h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.14;
}

.legal-date {
  color: var(--muted);
}

.legal-content h2 {
  margin: 38px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 24px;
  line-height: 1.3;
}

.legal-content h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.legal-content p,
.legal-content li {
  color: #493936;
}

.legal-content a {
  color: var(--red-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ol {
  padding-left: 1.35em;
}

.share-landing {
  display: none;
}

.is-share-mode {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 14%, rgba(245, 53, 47, 0.16), transparent 30%),
    linear-gradient(180deg, #fff7f1 0%, #ffffff 56%, #fffaf6 100%);
}

.is-share-mode .site-header,
.is-share-mode main,
.is-share-mode .site-footer {
  display: none;
}

.is-share-mode .share-landing {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 28px 18px;
}

.share-card {
  width: min(100%, 430px);
  padding: 34px 24px 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(234, 219, 212, 0.92);
  border-radius: 30px;
  box-shadow: 0 26px 80px rgba(77, 35, 28, 0.16);
  backdrop-filter: blur(18px);
}

.share-logo {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(245, 53, 47, 0.22);
}

.share-eyebrow {
  margin: 0 0 8px;
  color: var(--red-deep);
  font-size: 14px;
  font-weight: 800;
}

.share-card h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.18;
}

.share-lead {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 16px;
}

.share-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.share-button {
  width: 100%;
  min-height: 50px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.share-button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 16px 34px rgba(245, 53, 47, 0.24);
}

.share-button.secondary {
  color: var(--red-deep);
  background: #fff6f0;
  border: 1px solid rgba(245, 53, 47, 0.2);
}

.share-tip {
  margin: 16px 0 0;
  color: #9a8b87;
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual img {
    max-height: 560px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .brand img,
  .footer-brand img {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .question-list,
  .card-grid,
  .feature-list,
  .difference-grid {
    grid-template-columns: 1fr;
  }

  .question-list li,
  .info-card,
  .feature-list article,
  .difference-grid article {
    min-height: auto;
  }

  .cta-section {
    align-items: stretch;
    flex-direction: column;
    margin-right: 20px;
    margin-left: 20px;
  }

  .legal-shell {
    width: min(100% - 28px, 920px);
    padding-top: 28px;
  }

  .legal-content {
    padding: 24px 20px;
  }
}
