:root {
  --bg: #fbf4ee;
  --paper: #fffdfa;
  --ink: #2b2320;
  --muted: #7d6c62;
  --brick: #d2492f;
  --brick-dark: #a83322;
  --gold: #f2b544;
  --soft: #fbe8dd;
  --line: #ecdfd4;
  --shell: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(640px 340px at 90% -6%, rgba(210, 73, 47, 0.1), transparent 62%),
    radial-gradient(420px 300px at 0% 40%, rgba(242, 181, 68, 0.1), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.78;
  -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: 700; }

.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, 253, 250, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

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

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

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

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

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

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

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

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

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 8px;
  background: var(--brick);
  color: #fff8f3;
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.18s ease;
}

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

.nav-download:hover { background: var(--brick-dark); }

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

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

/* ---------- hero ---------- */
.hero {
  padding: 56px 0 46px;
  overflow: hidden;
}

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

.hero-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brick);
  background: var(--soft);
  border-radius: 4px;
  padding: 3px 10px;
}

.hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.01em;
}

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

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

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

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15.5px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.button-primary {
  background: var(--brick);
  color: #fff8f3;
  box-shadow: 0 14px 28px rgba(168, 51, 34, 0.24);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(168, 51, 34, 0.28);
}

.button-large { padding: 15px 30px; font-size: 16.5px; }

.text-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px dashed #d9c6b8;
  padding-bottom: 2px;
}

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

.hero-tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.hero-tags li {
  padding: 4px 12px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
}

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

/* ---------- hero restore timeline ---------- */
.restore-timeline {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 22px 44px rgba(43, 35, 32, 0.1);
}

.time-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

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

.time-head span {
  font-size: 11.5px;
  color: var(--brick);
  background: var(--soft);
  border-radius: 999px;
  padding: 2px 9px;
}

.time-list {
  position: relative;
  padding: 12px 0 6px 6px;
}

.time-list::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 18px;
  bottom: 16px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brick), var(--gold), var(--line));
}

.time-list li {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0 9px 20px;
}

.time-list i {
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: 2px solid var(--paper);
  transform: translateY(-50%);
  box-shadow: 0 0 0 1px var(--line);
}

.time-list .is-now i {
  background: var(--brick);
  box-shadow: 0 0 0 4px rgba(210, 73, 47, 0.16);
}

.time-list .is-saved i { background: var(--gold); }

.time-list b {
  font-size: 12px;
  font-weight: 800;
  color: var(--brick);
}

.time-list span {
  font-size: 13px;
  color: #3d322c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.time-list em {
  font-size: 10.5px;
  font-style: normal;
  font-weight: 700;
  color: var(--muted);
  background: #f6efe9;
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
}

.time-list .is-now em {
  color: #fff8f3;
  background: var(--brick);
}

.time-foot {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--muted);
}

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

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

.section-heading .eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--brick);
  border-left: 3px solid var(--gold);
  padding-left: 8px;
  margin-bottom: 10px;
}

.section-heading h2 { font-size: clamp(23px, 2.8vw, 31px); }

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

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

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

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

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

.card-stack article {
  padding: 20px 18px 22px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom: 3px solid #edd9cb;
  transition: border-color 0.18s ease;
}

.card-stack article:hover { border-bottom-color: var(--brick); }

.card-stack b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--soft);
  color: var(--brick);
  font-size: 11.5px;
  font-weight: 800;
  margin-bottom: 10px;
}

.card-stack h3 {
  font-size: 17.5px;
  margin-bottom: 6px;
}

.card-stack p {
  font-size: 13.6px;
  color: var(--muted);
}

/* ---------- shots ---------- */
.tall-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.tall-row figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.tall-row img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  background: #f7efe7;
}

.tall-row figcaption {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 13px 12px;
  font-size: 13px;
  font-weight: 700;
}

.tall-row figcaption b {
  font-size: 11px;
  color: var(--brick);
}

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

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

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

.faq-rows {
  display: grid;
  gap: 8px;
  max-width: 900px;
}

.faq-rows details {
  border-radius: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0 18px;
  transition: border-color 0.18s ease;
}

.faq-rows details[open] { border-color: #eec3b2; }

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

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

.faq-rows summary h3 {
  flex: 1;
  font-size: 15.5px;
}

.faq-rows summary i {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--soft);
}

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

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

.faq-rows details > p {
  padding: 12px 0 15px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--muted);
}

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

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

.review-card {
  padding: 16px 18px;
  border-radius: 12px 12px 12px 3px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.review-card > p {
  font-size: 14px;
  color: #3b3029;
}

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

.review-meta b {
  font-size: 12.5px;
  color: var(--brick-dark);
}

/* ---------- steps ---------- */
.lane-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lane-row li {
  padding: 20px 20px 22px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
}

.lane-row li:nth-child(2) { border-left-color: #e88a6d; }
.lane-row li:nth-child(3) { border-left-color: var(--brick); }

.lane-row span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brick);
  margin-bottom: 8px;
}

.lane-row h3 {
  font-size: 17px;
  margin-bottom: 5px;
}

.lane-row p {
  font-size: 13.6px;
  color: var(--muted);
}

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

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 34px;
  border-radius: 16px;
  background:
    radial-gradient(400px 220px at 92% 4%, rgba(242, 181, 68, 0.26), transparent 64%),
    linear-gradient(118deg, var(--brick-dark), var(--brick));
  color: #fff8f3;
}

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

.download-copy .eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #ffd9a8;
  margin-bottom: 8px;
}

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

.download-copy p { font-size: 14.5px; color: #ffe4d8; }

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

.download-act .button-primary {
  background: #fff8f3;
  color: var(--brick-dark);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.download-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: #ffe4d8;
}

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

.download-notes li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- footer ---------- */
.site-footer {
  background: #2a1f1a;
  color: #d5c3b7;
  padding: 34px 0 30px;
}

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

.footer-brand strong {
  display: block;
  font-size: 17px;
  color: #fff4ea;
}

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

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

.footer-nav a:hover { color: #fff; }

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

.footer-meta a { color: #d5c3b7; }

.disclaimer {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  line-height: 1.7;
  color: #9c8779;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .restore-timeline { max-width: 520px; }
  .card-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tall-row { 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(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 16px;
  }

  .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: 11px 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: 10px 12px; }
}

@media (max-width: 640px) {
  .page-shell, .nav-shell { padding-left: 18px; padding-right: 18px; }
  section { padding: 42px 0; }
  .hero { padding: 40px 0 34px; }
  .card-stack { grid-template-columns: minmax(0, 1fr); }
  .bubble-list { grid-template-columns: minmax(0, 1fr); }
  .lane-row { grid-template-columns: minmax(0, 1fr); }
  .section-heading-split { flex-direction: column; align-items: flex-start; gap: 6px; }
  .section-heading-split > p { white-space: normal; }
  .download-panel { padding: 26px 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .download-act { width: 100%; }
  .download-act .button { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .tall-row { grid-template-columns: minmax(0, 1fr); }
  .brand span { font-size: 15px; }
  .time-list li { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 8px; }
}
