:root {
  color-scheme: dark;
  --tea: #26201c;
  --gold: #c49252;
  --gold-light: #edbf86;
  --cream: #faf6f0;
  --muted: #d1c3b6;
  --line: #55453a;
  --paper: #f4eee4;
  --ink: #2b2420;
  --serif: "Songti SC", "Noto Serif CJK SC", SimSun, serif;
  --number: Georgia, "Times New Roman", serif;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--tea); color: var(--cream); line-height: 1.65; }
h1, h2, h3, p, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, video:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}
[id] { scroll-margin-top: 1.25rem; }

.shell { width: min(74rem, calc(100% - 5rem)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 5;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.5rem 1rem;
  transform: translateY(-175%);
  background: var(--cream);
  color: var(--ink);
}
.skip-link:focus { transform: translateY(0); }

.site-header { background: #221c19; border-bottom: 1px solid #493b32; }
.header-inner { min-height: 4.75rem; display: flex; align-items: center; gap: 2.5rem; }
.brand { display: block; flex: 0 0 auto; }
.brand img { width: 7.2rem; height: auto; }
nav { display: flex; align-items: center; gap: 1.7rem; margin-left: auto; color: var(--muted); }
nav a, .header-contact { font-size: 0.875rem; white-space: nowrap; }
nav a { padding-block: 0.65rem; }
nav a:hover, .site-footer a:hover { color: var(--gold-light); }
.header-contact {
  padding: 0.49rem 0.9rem;
  border: 1px solid #876743;
  color: var(--gold-light);
  transition: background-color 160ms ease;
}
.header-contact:hover { background: #443426; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 5rem);
  padding-top: clamp(3rem, 6.9vw, 6.25rem);
  padding-bottom: clamp(2.7rem, 5.4vw, 4.9rem);
}
.hero-copy { padding-bottom: 0.45rem; }
.eyebrow { color: var(--gold-light); font-size: 0.875rem; font-weight: 650; letter-spacing: 0.12em; }
.hero .eyebrow { display: flex; align-items: center; gap: 0.65rem; }
.hero .eyebrow::before { content: ""; width: 1.6rem; height: 1px; background: var(--gold); }
h1, h2 { font-family: var(--serif); }
h1 {
  margin-top: 0.9rem;
  font-size: clamp(2.6rem, 4.64vw, 4.3rem);
  line-height: 1.21;
  letter-spacing: -0.055em;
  font-weight: 800;
}
h1 span { display: block; }
h1 span + span { color: var(--gold-light); }
.hero-intro { max-width: 25rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.06rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.9rem; }
.button {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.55rem 1.06rem;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.36;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.button-gold { background: var(--gold); color: #241b13; }
.button-gold:hover { background: var(--gold-light); }
.button-outline { border-color: #795f48; color: var(--cream); }
.button-outline:hover { background-color: #44352b; border-color: var(--gold); }

.hero-feature {
  display: grid;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  background: #1c1612;
  border: 1px solid #6e5540;
  box-shadow: 0 1.25rem 3.5rem #100b083a;
}
.hero-feature img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% 0 0;
  background: linear-gradient(transparent, #120e0beb);
}
.hero-feature-caption {
  align-self: end;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.7rem;
  padding: clamp(1rem, 2.2vw, 1.85rem);
}
.feature-label, .feature-title { display: block; }
.feature-label { color: var(--gold-light); font-weight: 600; font-size: 0.875rem; }
.feature-title { margin-top: 0.2rem; line-height: 1.4; font-size: clamp(1.1rem, 2.1vw, 1.45rem); font-weight: 650; }
.feature-play {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 100%;
  border: 1px solid #dca668;
  background: #1b1512a6;
}
.feature-play::before {
  content: "";
  margin-left: 0.16rem;
  border-top: 0.36rem solid transparent;
  border-bottom: 0.36rem solid transparent;
  border-left: 0.56rem solid var(--gold-light);
}
.hero-feature:hover .feature-play { background: #62442a; }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.benefit { padding: 1.2rem clamp(0.9rem, 2.4vw, 2.15rem) 1.45rem; }
.benefit:first-child { padding-left: 0; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit dt { color: var(--cream); font-size: 1.05rem; font-weight: 700; line-height: 1.43; }
.benefit dt strong {
  font-family: var(--number);
  font-size: clamp(1.8rem, 2.9vw, 2.6rem);
  letter-spacing: -0.04em;
  color: var(--gold-light);
  font-variant-numeric: lining-nums tabular-nums;
}
.benefit dt .machine { font-family: inherit; font-size: 1.3rem; letter-spacing: normal; padding-left: 0.22rem; }
.benefit dd { margin-top: 0.4rem; color: var(--muted); }

.section { padding-block: clamp(3.25rem, 6.4vw, 5.5rem); }
.section-heading { margin-bottom: 1.6rem; }
h2 { font-size: clamp(2rem, 3.7vw, 3rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.25; }
.section-heading > p { margin-top: 0.5rem; color: var(--muted); }
.sample-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; }
.sample { min-width: 0; border: 1px solid var(--line); background: #302721; transition: border-color 160ms ease; }
.sample:target, .sample:has(> .sample-meta:target), .sample:hover { border-color: #a17c50; }
.sample-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.68rem 1.1rem;
  color: var(--gold-light);
  font-size: 0.875rem;
  font-weight: 650;
}
.sample-meta span:last-child { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); }
.video-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #17130f;
  display: grid;
  place-items: center;
}
.vertical-stage { background: radial-gradient(ellipse at 50% 76%, #534032, #241b16 67%); }
video { display: block; width: 100%; height: 100%; object-fit: contain; min-width: 0; min-height: 0; }
.sample-copy { padding: 1.05rem 1.1rem 1.3rem; }
.sample-copy h3, .process-list h3 { font-size: 1.19rem; line-height: 1.35; }
.sample-copy p, .process-list p { margin-top: 0.5rem; color: var(--muted); }

.pricing { background: var(--paper); color: var(--ink); color-scheme: light; }
.pricing .section-heading p { color: #665749; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plan { display: flex; flex-direction: column; padding: clamp(1rem, 1.7vw, 1.45rem); border: 1px solid #d5c6b6; background: #fbf7f0; }
.plan-featured { background: var(--tea); color: var(--cream); border-color: var(--gold); box-shadow: inset 0 3px var(--gold); }
.plan-featured:target { outline: 2px solid #8b602f; outline-offset: 3px; }
.plan h3 { font-size: 1.03rem; }
.price { display: flex; align-items: baseline; gap: 0.4rem; margin-top: 0.5rem; line-height: 1.3; }
.price strong { font: 700 clamp(1.95rem, 3vw, 2.6rem) / 1.2 var(--number); letter-spacing: -0.05em; }
.price span { flex-shrink: 0; font-size: 0.875rem; color: #675649; }
.price-range { flex-wrap: wrap; column-gap: 0.36rem; row-gap: 0; }
.price-range strong { font-size: clamp(1.34rem, 1.96vw, 1.8rem); letter-spacing: -0.043em; white-space: nowrap; }
.plan-featured .price strong { color: var(--gold-light); }
.plan-featured .price span { color: var(--muted); }
.plan ul { margin: 0.85rem 0 1.25rem; padding: 0.9rem 0 0 1.05rem; border-top: 1px solid #ddd1c2; color: #52453a; }
.plan ul li + li { margin-top: 0.55rem; }
.plan-featured ul { color: var(--muted); border-color: #624f40; }
.plan li::marker { color: #78512d; }
.plan-featured li::marker { color: var(--gold-light); }
.plan .button { margin-top: auto; }

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  list-style: none;
  counter-reset: steps;
  margin: 0;
  padding: 0;
}
.process-list li { position: relative; counter-increment: steps; padding: 1.15rem 0 0 2.05rem; border-top: 1px solid var(--line); }
.process-list li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 1.22rem;
  left: 0;
  color: var(--gold-light);
  font: 1rem / 1.3 var(--number);
  font-variant-numeric: tabular-nums;
}

.contact-section { background: #211b17; border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); gap: clamp(1.8rem, 6vw, 5.8rem); align-items: center; }
.contact-grid h2 + p, .resource h3 + p { margin-top: 0.65rem; color: var(--muted); }
.contact-status { margin-top: 1.1rem; color: var(--muted); }
.contact-details { margin-top: 1.1rem; }
.contact-details div { display: flex; gap: 0.85rem; flex-wrap: wrap; padding-block: 0.68rem; border-top: 1px solid #493b32; }
.contact-details dt { color: var(--gold-light); font-weight: 650; }
.contact-details dd { min-width: 0; overflow-wrap: anywhere; }
.contact-details a { text-decoration: underline; text-underline-offset: 0.2em; }
.contact-qr { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.875rem; }
.contact-qr img { background: white; object-fit: contain; }
.contact-qr figcaption { margin-top: 0.35rem; }
.resource { padding: clamp(1.15rem, 2.45vw, 2rem); border: 1px solid #755b42; background: radial-gradient(ellipse at 92% 0, #3a2c23, #2a221c 66%); }
.resource .eyebrow { margin-bottom: 0.35rem; }
.resource h3 { font-size: 1.24rem; line-height: 1.4; }
.resource .button { margin-top: 1rem; }
.site-footer { border-top: 1px solid #493b32; background: #1d1815; }
.footer-inner { display: flex; gap: 0.75rem 1.5rem; flex-wrap: wrap; justify-content: space-between; padding-block: 1.1rem; color: var(--muted); font-size: 0.875rem; }

@media (max-width: 65rem) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 52rem) {
  .shell { width: calc(100% - 3rem); }
  .header-inner { gap: 1.35rem; }
  nav { gap: 1.25rem; }
  .hero { gap: 1.6rem; }
  .hero-intro { font-size: 1rem; }
}

@media (max-width: 43.75rem) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.85rem; gap: 0.65rem; }
  .brand img { width: 5.35rem; }
  nav { gap: 0.83rem; }
  .nav-process { display: none; }
  .header-contact { padding-inline: 0.6rem; }
  .hero { grid-template-columns: 1fr; gap: 1.55rem; padding-block: 2.6rem 2.05rem; }
  h1 { font-size: clamp(1.95rem, 9.4vw, 3.65rem); }
  .hero-copy { padding: 0; }
  .hero-actions { margin-top: 1.35rem; }
  .hero-feature { aspect-ratio: 16 / 10; }
  .hero-feature img { object-position: 50% 72%; }
  .benefits, .sample-grid, .process-list, .contact-grid { grid-template-columns: 1fr; }
  .vertical-stage { aspect-ratio: 4 / 5; }
  .benefit { padding: 0.8rem 0 0.9rem; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }
  .benefit dd { margin-top: 0.22rem; }
  .section-heading { margin-bottom: 1.25rem; }
  .process-list { gap: 1.15rem; }
}

@media (max-width: 28rem) {
  .plan-grid { grid-template-columns: 1fr; }
  .brand img { width: 4.7rem; }
  nav { gap: 0.63rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
