:root {
  --paper: #fbf6ef;
  --paper-2: #f4ece2;
  --card: #ffffff;
  --ink: #1e1a17;
  --muted: #6b5f55;
  --red: #c8452f;
  --red-soft: rgba(200, 69, 47, 0.12);
  --line: rgba(30, 26, 23, 0.13);
  --shell: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(30, 26, 23, 0.045) 1px, transparent 1px),
    radial-gradient(720px 340px at 92% -6%, rgba(200, 69, 47, 0.12), transparent 64%);
  background-size: 18px 18px, auto;
  color: var(--ink);
  font-family: "Songti SC", "Source Han Serif SC", "Noto Serif SC", "Microsoft YaHei", serif;
  font-size: 16px;
  line-height: 1.76;
  -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.34; 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(251, 246, 239, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

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

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

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

.primary-nav a {
  display: inline-block;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.primary-nav a:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

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

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fdf8f1;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(200, 69, 47, 0.22);
  transition: transform 0.16s ease;
}

.nav-download:hover { transform: translateY(-1px); }

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

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

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

/* ---------- hero ---------- */
.hero { padding: 58px 0 50px; }

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--red);
}

.hero-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
}

.hero h1 {
  margin: 13px 0 9px;
  font-size: clamp(27px, 4.2vw, 47px);
  letter-spacing: -0.01em;
  word-break: break-word;
}

.hero-subtitle {
  font-size: clamp(16px, 1.9vw, 20px);
  font-weight: 700;
  color: var(--red);
}

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

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

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

.button-primary {
  background: var(--red);
  color: #fdf8f1;
  box-shadow: 0 14px 28px rgba(200, 69, 47, 0.2);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(200, 69, 47, 0.26);
}

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

.text-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px dashed rgba(30, 26, 23, 0.32);
  padding-bottom: 2px;
}

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

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

.hero-tags li {
  padding: 4px 11px;
  border-radius: 5px;
  background: var(--card);
  border: 1px solid var(--line);
}

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

/* ---------- hero stack deck ---------- */
.stack-deck {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 4px 0;
}

.deck-card {
  display: grid;
  gap: 1px;
  padding: 13px 16px 14px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  box-shadow: 0 12px 26px rgba(30, 26, 23, 0.07);
}

.deck-card-b { margin-left: 16px; }
.deck-card-c { margin-left: 32px; }
.deck-card-d { margin-left: 48px; }

.deck-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
}

.deck-card b { font-size: 15.5px; }

.deck-card small {
  font-size: 12px;
  color: var(--muted);
}

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

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

.section-heading .eyebrow {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 9px;
}

.section-heading h2 { font-size: clamp(22px, 2.7vw, 30px); }

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

.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;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

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

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

.deck-grid article {
  position: relative;
  padding: 18px 17px 20px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(30, 26, 23, 0.05);
}

.deck-no {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 8px;
}

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

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

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

.deck-shots figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 22px rgba(30, 26, 23, 0.07);
}

.deck-shots img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  background: var(--paper-2);
}

.deck-shots figcaption {
  display: flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 12px 11px;
  font-size: 12.5px;
  font-weight: 700;
}

.deck-shots figcaption b { font-size: 10.5px; color: var(--red); }

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

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

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

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

.faq-rows details {
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0 18px;
}

.faq-rows details[open] { border-color: rgba(200, 69, 47, 0.42); }

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

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

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

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

.faq-rows summary i::before,
.faq-rows summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--red);
  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: 11px 0 14px;
  border-top: 1px dashed var(--line);
  font-size: 13.8px;
  color: var(--muted);
}

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

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

.review-card {
  padding: 16px 17px 14px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid rgba(200, 69, 47, 0.32);
}

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

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

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

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

.pick-row li {
  padding: 20px 19px 22px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom: 3px solid rgba(200, 69, 47, 0.35);
}

.pick-row span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red);
}

.pick-row h3 { font-size: 16.5px; margin: 5px 0 4px; }

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

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

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px;
  border-radius: 16px;
  background:
    radial-gradient(420px 240px at 88% 0%, rgba(200, 69, 47, 0.34), transparent 66%),
    var(--ink);
  color: #f7efe6;
}

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

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

.download-copy h2 {
  font-size: clamp(22px, 2.6vw, 29px);
  margin-bottom: 7px;
}

.download-copy p { font-size: 14px; color: rgba(247, 239, 230, 0.76); }

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

.download-act .button-primary {
  background: #fdf8f1;
  color: #a8331f;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.download-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  font-size: 11.5px;
  color: rgba(247, 239, 230, 0.68);
}

.download-notes li::before {
  content: "·";
  margin-right: 5px;
  color: #f0a08f;
}

/* ---------- footer ---------- */
.site-footer {
  background: #171310;
  color: #efe6dc;
  padding: 32px 0 28px;
}

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

.footer-brand strong { display: block; font-size: 16.5px; }

.footer-brand p {
  margin-top: 5px;
  font-size: 12px;
  color: rgba(239, 230, 220, 0.6);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  font-size: 12.5px;
  color: rgba(239, 230, 220, 0.72);
}

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

.footer-meta {
  font-size: 12px;
  color: rgba(239, 230, 220, 0.6);
  text-align: right;
}

.footer-meta a { text-decoration: underline; }

.disclaimer {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid rgba(239, 230, 220, 0.14);
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(239, 230, 220, 0.55);
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .stack-deck { max-width: 520px; }
  .deck-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deck-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .note-wall { 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: 8px 24px 14px;
  }

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

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

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

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

  .primary-nav a:hover { border-bottom-color: var(--line); }

  .nav-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .nav-download span { display: none; }
  .nav-download { padding: 9px 11px; }
}

@media (max-width: 640px) {
  .page-shell, .nav-shell { padding-left: 18px; padding-right: 18px; }
  section { padding: 40px 0; }
  .hero { padding: 38px 0 32px; }
  .deck-grid { grid-template-columns: minmax(0, 1fr); }
  .note-wall { grid-template-columns: minmax(0, 1fr); }
  .pick-row { grid-template-columns: minmax(0, 1fr); }
  .section-heading-split { flex-direction: column; align-items: flex-start; gap: 4px; }
  .section-heading-split > p { white-space: normal; }
  .download-panel { padding: 24px 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .download-act { width: 100%; }
  .download-act .button { width: 100%; justify-content: center; }
  .deck-card-b { margin-left: 10px; }
  .deck-card-c { margin-left: 20px; }
  .deck-card-d { margin-left: 30px; }
}

@media (max-width: 400px) {
  .deck-shots { grid-template-columns: minmax(0, 1fr); }
  .brand span { font-size: 13.5px; }
  .hero h1 { font-size: 25px; }
}
