:root {
  --cream: #FFF7F3;
  --paper: #FFFFFF;
  --coral: #FF6F5E;
  --coral-soft: #FFE2DC;
  --graphite: #2A2320;
  --graphite-2: #554842;
  --muted: #8A7871;
  --line: #F2DFD8;
  --shell: 1150px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--graphite);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 800; }

.page-shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 247, 243, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  object-fit: cover;
}

.primary-nav { margin-left: auto; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 21px;
  font-size: 14px;
  color: var(--graphite-2);
}

.primary-nav a {
  display: inline-block;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.primary-nav a:hover { color: var(--coral); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--coral);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 111, 94, 0.26);
  transition: background 0.18s ease;
}

.nav-download svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-download:hover { background: #FF5B48; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--graphite);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 52px;
  overflow: hidden;
  background:
    radial-gradient(520px 300px at 92% 0%, rgba(255, 111, 94, 0.16), transparent 66%),
    radial-gradient(420px 260px at 0% 90%, rgba(255, 226, 220, 0.7), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 46px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--coral);
}

.hero h1 {
  margin: 15px 0 10px;
  font-size: clamp(40px, 5.4vw, 64px);
  letter-spacing: 0.01em;
  line-height: 1.06;
}

.hero-subtitle {
  font-size: clamp(17px, 1.9vw, 21px);
  font-weight: 700;
  color: var(--coral);
}

.hero-lead {
  margin-top: 16px;
  max-width: 470px;
  font-size: 15.3px;
  color: var(--muted);
}

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 23px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--coral);
  color: #FFFFFF;
  box-shadow: 0 14px 26px rgba(255, 111, 94, 0.28);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(255, 111, 94, 0.34);
}

.button-large { padding: 14px 28px; font-size: 16px; }

.text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--graphite-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.text-link:hover { color: var(--coral); }

.hero-tags {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.hero-tags li {
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.hero-tags b { color: var(--coral); }

/* ---------- hero rank board ---------- */
.rank-board {
  padding: 18px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 22px 44px rgba(90, 54, 44, 0.1);
}

.rank-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px 10px;
  border-bottom: 1px solid var(--line);
}

.rank-head p {
  font-size: 14px;
  font-weight: 800;
}

.rank-head span {
  font-size: 11px;
  color: var(--muted);
}

.rank-list {
  display: grid;
  gap: 4px;
  padding: 8px 0;
}

.rank-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
}

.rank-list li.is-top {
  background: linear-gradient(96deg, #FFF0EC, #FFF8F5);
  border: 1px solid var(--coral-soft);
}

.rank-list b {
  flex: none;
  width: 30px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  color: #DCCFC9;
  font-variant-numeric: tabular-nums;
}

.rank-list .is-top b { color: var(--coral); }

.rank-list div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.rank-list strong {
  font-size: 13.5px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-list small {
  font-size: 11px;
  color: var(--muted);
}

.rank-list em {
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: #FFECE8;
  font-style: normal;
  font-size: 11px;
  font-weight: 800;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}

.rank-foot {
  padding: 9px 4px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

/* ---------- section shared ---------- */
section { padding: 52px 0; }

.section-heading {
  max-width: 660px;
  margin-bottom: 26px;
}

.section-heading .eyebrow {
  display: inline-block;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--coral);
}

.section-heading h2 {
  font-size: clamp(23px, 2.7vw, 31px);
  letter-spacing: 0.005em;
}

.section-heading p:last-child {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.section-heading-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
}

.section-heading-split > p {
  margin: 0 0 5px;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- features ---------- */
.features {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.rank-grid article {
  padding: 20px 18px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.rank-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(90, 54, 44, 0.08);
}

.rank-grid span {
  display: inline-block;
  margin-bottom: 9px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--coral-soft);
  font-size: 10.5px;
  font-weight: 800;
  color: #C2412F;
  letter-spacing: 0.04em;
}

.rank-grid h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.rank-grid p {
  font-size: 13.4px;
  color: var(--muted);
}

/* ---------- shots ---------- */
.rank-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.rank-shots figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(90, 54, 44, 0.07);
}

.rank-shots img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  background: var(--coral-soft);
}

.rank-shots figcaption {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 13px 11px;
  font-size: 13px;
  font-weight: 800;
}

.rank-shots figcaption b {
  font-size: 11px;
  color: var(--coral);
}

.rank-shots figcaption small {
  margin-left: auto;
  font-weight: 400;
  font-size: 11px;
  color: var(--muted);
}

.sample-note {
  margin-top: 15px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- faq ---------- */
.faq {
  background: linear-gradient(180deg, #FFFDFC, #FFF7F3 70%);
  border-top: 1px solid var(--line);
}

.t-faq-list {
  display: grid;
  gap: 9px;
  max-width: 940px;
}

.t-faq-list details {
  padding: 0 18px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.t-faq-list details[open] {
  border-color: #FFC3B8;
  box-shadow: 0 10px 24px rgba(255, 111, 94, 0.09);
}

.t-faq-list summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}

.t-faq-list summary::-webkit-details-marker { display: none; }

.t-faq-list summary h3 {
  flex: 1;
  font-size: 15.2px;
  font-weight: 800;
}

.t-faq-list summary i {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--coral-soft);
}

.t-faq-list summary i::before,
.t-faq-list summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--coral);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.t-faq-list summary i::before { width: 10px; height: 2px; }
.t-faq-list summary i::after { width: 2px; height: 10px; transition: opacity 0.2s ease; }
.t-faq-list details[open] summary i::after { opacity: 0; }

.t-faq-list details > p {
  padding: 11px 0 16px;
  border-top: 1px dashed var(--line);
  font-size: 13.9px;
  color: var(--graphite-2);
}

/* ---------- reviews ---------- */
.reviews {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

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

.t-notes .review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 13px;
  padding: 18px 18px 14px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.t-notes .review-card > p {
  font-size: 13.5px;
  color: var(--graphite-2);
}

.review-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--muted);
}

.review-meta b {
  font-size: 12px;
  color: var(--coral);
}

/* ---------- steps ---------- */
.t-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  counter-reset: tao;
}

.t-steps li {
  padding: 20px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--coral-soft);
}

.t-steps span {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.t-steps h3 {
  font-size: 17px;
}

.t-steps h3::before {
  counter-increment: tao;
  content: counter(tao) " · ";
  color: var(--coral);
}

.t-steps p {
  margin-top: 4px;
  font-size: 13.4px;
  color: var(--muted);
}

/* ---------- download ---------- */
.download { padding-bottom: 64px; }

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  border-radius: 22px;
  background: linear-gradient(112deg, #FF6F5E, #FF8C6B 62%, #FFA98B);
  color: #FFFFFF;
  box-shadow: 0 22px 44px rgba(255, 111, 94, 0.24);
}

.download-copy { max-width: 520px; }

.download-copy .eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #FFE6DF;
}

.download-copy h2 {
  font-size: clamp(23px, 2.6vw, 30px);
  margin-bottom: 8px;
  color: #FFFFFF;
}

.download-copy p {
  font-size: 14.2px;
  color: #FFF1EC;
}

.download-act {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-panel .button-primary {
  background: #FFFFFF;
  color: #D1422F;
  box-shadow: 0 14px 26px rgba(120, 40, 24, 0.18);
}

.download-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  font-size: 11.5px;
  color: #FFEDE8;
}

.download-notes li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.download-notes li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #FFFFFF;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 34px 0 28px;
  background: #241E1B;
  color: #E8DCD6;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px 30px;
  align-items: start;
}

.footer-brand strong {
  display: block;
  font-size: 17px;
  color: var(--coral);
}

.footer-brand p {
  margin-top: 4px;
  font-size: 12.5px;
  color: #A79690;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: #D3C5BF;
}

.footer-nav a:hover { color: var(--coral); }

.footer-meta {
  font-size: 12.5px;
  color: #A79690;
  text-align: right;
}

.footer-meta a:hover { color: var(--coral); }

.disclaimer {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid rgba(232, 220, 214, 0.14);
  font-size: 12px;
  line-height: 1.7;
  color: #94837D;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rank-board { max-width: 520px; }
  .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-meta { text-align: left; }
  .download-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    display: none;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 14px;
  }

  .primary-nav.is-open { display: block; }

  .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 15px;
  }

  .primary-nav li { width: 100%; }

  .primary-nav a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-shell { position: relative; flex-wrap: wrap; }
  .primary-nav { order: 4; flex-basis: 100%; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .nav-download span { display: none; }
  .nav-download { padding: 9px 12px; }
}

@media (max-width: 640px) {
  .page-shell, .nav-shell { padding-left: 18px; padding-right: 18px; }
  section { padding: 40px 0; }
  .hero { padding: 38px 0 34px; }
  .rank-grid { grid-template-columns: minmax(0, 1fr); }
  .t-notes { grid-template-columns: minmax(0, 1fr); }
  .t-steps { grid-template-columns: minmax(0, 1fr); }
  .section-heading-split { flex-direction: column; align-items: flex-start; gap: 5px; }
  .section-heading-split > p { white-space: normal; }
  .download-panel { padding: 24px 20px; border-radius: 18px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .download-act { width: 100%; }
  .download-act .button { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .rank-shots { grid-template-columns: minmax(0, 1fr); }
  .brand span { font-size: 15px; }
  .hero h1 { font-size: 38px; }
  .rank-board { padding: 14px; }
  .rank-list li { gap: 9px; padding: 9px 10px; }
  .rank-list b { width: 26px; font-size: 18px; }
}
