:root {
  --paper: #f4ede3;
  --surface: #fffdf9;
  --ink: #181513;
  --muted: #6f675f;
  --line: rgba(24, 21, 19, 0.17);
  --rose: #ad2854;
  --dark: #11100f;
  --serif: "Iowan Old Style", "Songti SC", "STSong", serif;
  --sans: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.guide-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 237, 227, 0.94);
  padding: 10px max(22px, 5vw);
  backdrop-filter: blur(14px);
}

.guide-brand { display: flex; min-width: 0; align-items: center; gap: 11px; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.guide-brand img { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; background: white; object-fit: contain; padding: 4px; }
.guide-brand span { display: grid; gap: 2px; }
.guide-brand small { color: var(--muted); font-family: var(--sans); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; }
.guide-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 12px; font-weight: 850; }
.guide-nav a:last-child { min-height: 42px; display: inline-flex; align-items: center; border: 1px solid var(--dark); border-radius: 6px; background: var(--dark); color: white; padding: 0 16px; }

.guide-hero { position: relative; display: grid; min-height: min(690px, calc(100vh - 72px)); align-items: end; overflow: hidden; color: white; }
.guide-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide-hero::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,16,15,0.08), rgba(17,16,15,0.86)); content: ""; }
.hero-copy { position: relative; z-index: 1; width: min(1120px, 90vw); margin: 0 auto; padding: 90px 0 64px; }
.hero-copy small { color: rgba(255,255,255,.72); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.hero-copy h1 { max-width: 820px; margin: 16px 0 20px; font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: 0; }
.hero-copy p { max-width: 690px; margin: 0; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.65; }

.guide-main { width: min(1120px, 90vw); margin: 0 auto; }
.guide-band { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: 50px; border-bottom: 1px solid var(--line); padding: 76px 0; }
.guide-label { color: var(--rose); font-size: 10px; font-weight: 950; letter-spacing: .14em; }
.guide-label h2 { margin: 12px 0 0; color: var(--ink); font-family: var(--serif); font-size: 36px; font-weight: 520; line-height: 1.08; letter-spacing: 0; }
.guide-copy { display: grid; gap: 24px; }
.guide-copy > p { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.decision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.decision-grid article { min-height: 210px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 24px; }
.decision-grid span { color: var(--rose); font-size: 10px; font-weight: 950; }
.decision-grid h3 { margin: 36px 0 10px; font-family: var(--serif); font-size: 23px; font-weight: 520; line-height: 1.12; letter-spacing: 0; }
.decision-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.62; }

.guide-checklist { display: grid; border-top: 1px solid var(--line); }
.guide-checklist p { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; margin: 0; border-bottom: 1px solid var(--line); padding: 18px 0; color: var(--muted); line-height: 1.6; }
.guide-checklist b { color: var(--rose); }

.source-box { border-left: 3px solid var(--rose); background: rgba(255,253,249,.6); padding: 20px 22px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.source-box a { border-bottom: 1px solid currentColor; color: var(--rose); font-weight: 900; }

.guide-cta { margin: 70px auto; background: var(--dark); color: white; padding: 46px; }
.guide-cta small { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.guide-cta h2 { max-width: 720px; margin: 14px 0 12px; font-family: var(--serif); font-size: 40px; font-weight: 520; line-height: 1.08; letter-spacing: 0; }
.guide-cta p { max-width: 720px; color: rgba(255,255,255,.66); line-height: 1.6; }
.guide-cta a { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; margin-top: 8px; border: 1px solid white; border-radius: 6px; padding: 0 20px; font-weight: 900; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 72px; }
.related a { display: grid; min-height: 130px; align-content: space-between; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,253,249,.45); padding: 20px; }
.related small { color: var(--rose); font-size: 9px; font-weight: 950; letter-spacing: .12em; }
.related strong { font-family: var(--serif); font-size: 20px; font-weight: 520; }

.guide-footer { border-top: 1px solid var(--line); padding: 28px 5vw 42px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.guide-footer div { display: flex; width: min(1120px, 100%); margin: 0 auto; justify-content: space-between; gap: 22px; }

@media (max-width: 760px) {
  .guide-header { min-height: 64px; padding: 9px 14px; }
  .guide-brand { font-size: 16px; }
  .guide-brand img { width: 38px; height: 38px; }
  .guide-nav a:not(:last-child) { display: none; }
  .guide-nav a:last-child { min-height: 40px; padding: 0 12px; font-size: 11px; }
  .guide-hero { min-height: 590px; }
  .hero-copy { width: calc(100% - 28px); padding-bottom: 42px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-copy p { font-size: 14px; }
  .guide-main { width: calc(100% - 28px); }
  .guide-band { grid-template-columns: 1fr; gap: 26px; padding: 52px 0; }
  .guide-label h2 { font-size: 31px; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-grid article { min-height: 180px; }
  .guide-cta { margin: 46px auto; padding: 28px 22px; }
  .guide-cta h2 { font-size: 32px; }
  .related { grid-template-columns: 1fr; margin-bottom: 48px; }
  .guide-footer { padding-right: 14px; padding-left: 14px; }
  .guide-footer div { display: grid; }
}
