:root {
  --orange: #ff5a0a;
  --orange-deep: #e94900;
  --ink: #151616;
  --muted: #6b6d6c;
  --paper: #fbfaf7;
  --soft: #f1f0eb;
  --line: #deded8;
  --green: #c9f56b;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.progress { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 3px; }
.progress span { display: block; width: 0; height: 100%; background: var(--orange); }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid rgba(21, 22, 22, .14);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: white; background: var(--orange); border-radius: 50%; }
.brand-mark svg { width: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.2; }
.page-name { margin-left: 10px; padding-left: 20px; color: var(--orange); border-left: 1px solid var(--line); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.header-nav { display: flex; gap: 36px; font-size: 13px; font-weight: 700; }
.header-nav a { position: relative; padding: 8px 0; }
.header-nav a::after { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; content: ""; background: var(--orange); transition: width .25s ease; }
.header-nav a:hover::after { width: 100%; }

.hero {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 36px 0 30px;
}
.hero-copy { max-width: 760px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.eyebrow span { width: 28px; height: 2px; background: var(--orange); }
.hero-lead { max-width: 620px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.quick-nav { display: grid; grid-template-columns: 230px 1fr; width: min(1240px, calc(100% - 64px)); margin: 0 auto 80px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.quick-nav-title { display: flex; align-items: baseline; gap: 8px; padding: 20px 0; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.quick-nav-title span { color: var(--orange); font-size: 30px; line-height: 1; }
.quick-nav-links { display: grid; grid-template-columns: repeat(8, 1fr); border-left: 1px solid var(--ink); }
.quick-nav-links a { display: grid; place-items: center; min-height: 70px; border-right: 1px solid var(--line); font-size: 12px; font-weight: 800; transition: color .2s ease, background .2s ease; }
.quick-nav-links a:last-child { border: 0; }
.quick-nav-links a:hover, .quick-nav-links a.active { color: white; background: var(--orange); }

.guide { width: min(1240px, calc(100% - 64px)); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: end; margin-bottom: 42px; }
.section-heading h2, .tips h2, .closing h2 { margin: 0; font-size: clamp(38px, 4vw, 62px); line-height: 1.1; letter-spacing: -.055em; }
.section-heading > p { margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.step-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 45%); min-height: 590px; overflow: hidden; background: var(--soft); border: 1px solid #e6e5df; border-radius: var(--radius); scroll-margin-top: 24px; }
.step-card:nth-child(3n+2) { background: #ebeae6; }
.step-copy { position: relative; z-index: 2; display: flex; align-items: flex-start; flex-direction: column; padding: 38px 18px 36px 36px; }
.step-number { color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.step-kicker { margin: 24px 0 8px; color: var(--orange-deep); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.step-copy h3 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -.045em; }
.step-copy > p:not(.step-kicker) { margin: 18px 0 24px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.step-tag { padding: 8px 11px; color: #575955; background: rgba(255,255,255,.75); border-radius: 999px; font-size: 10px; font-weight: 700; }
.phone-shot { align-self: end; width: calc(100% - 18px); height: 500px; margin: 0 18px 0 0; overflow: hidden; background: white; border: 7px solid #222; border-bottom: 0; border-radius: 30px 30px 0 0; box-shadow: 0 16px 35px rgba(0,0,0,.15); }
.phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
#step-4 .phone-shot img { object-position: bottom; }
.crop-shot { align-self: center; width: calc(100% - 18px); margin: 0 18px 0 0; overflow: hidden; background: white; border: 7px solid #222; border-radius: 25px; box-shadow: 0 16px 35px rgba(0,0,0,.14); transform: rotate(1.5deg); }
.crop-shot img { width: 100%; height: auto; }
.final-step { background: var(--ink); border-color: var(--ink); }
.final-step .step-copy h3 { color: white; }
.final-step .step-copy > p:not(.step-kicker) { color: #aaa; }
.final-step .step-tag { color: white; background: rgba(255,255,255,.12); }

.tips { width: min(1240px, calc(100% - 64px)); margin: 130px auto 0; padding: 64px; color: white; background: var(--ink); border-radius: 34px; }
.eyebrow.light { color: #8f928e; }
.tips-heading { max-width: 680px; }
.tip-list { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 70px; border-top: 1px solid #494b49; }
.tip-list article { padding: 28px 36px 0 0; border-right: 1px solid #494b49; }
.tip-list article + article { padding-left: 36px; }
.tip-list article:last-child { border: 0; }
.tip-list span { color: var(--orange); font-size: 11px; font-weight: 900; }
.tip-list h3 { margin: 42px 0 12px; font-size: 19px; }
.tip-list p { margin: 0; color: #9da09c; font-size: 13px; line-height: 1.8; }

.closing { width: min(900px, calc(100% - 64px)); margin: 150px auto; text-align: center; }
.closing > p { margin-bottom: 18px; color: var(--orange); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.closing a { display: inline-flex; align-items: center; gap: 32px; margin-top: 42px; padding: 16px 20px 16px 28px; color: white; background: var(--orange); border-radius: 999px; font-size: 13px; font-weight: 800; }
.closing a span { display: grid; place-items: center; width: 30px; height: 30px; color: var(--orange); background: white; border-radius: 50%; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 30px 0 45px; border-top: 1px solid var(--line); color: #7c7e7b; font-size: 10px; letter-spacing: .08em; }
.footer-brand { justify-self: start; color: var(--ink); }
.footer-brand .brand-mark { font-size: 18px; }
footer p:nth-child(2) { margin: 0; }
footer p:last-child { justify-self: end; }
.back-top { position: fixed; z-index: 20; right: 24px; bottom: 24px; display: grid; place-items: center; width: 46px; height: 46px; color: white; background: var(--ink); border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--orange); }

@media (max-width: 1000px) {
  .hero { padding-top: 32px; }
  .quick-nav { margin-bottom: 64px; }
  .step-card { grid-template-columns: 1fr; min-height: 680px; }
  .step-copy { min-height: 0; padding: 28px 36px 22px; }
  .phone-shot, .crop-shot { justify-self: center; width: 68%; margin-right: 0; }
  .phone-shot { height: 400px; }
  .crop-shot { margin-bottom: 45px; }
}

@media (max-width: 720px) {
  .site-header, .hero, .quick-nav, .guide, .tips, footer { width: calc(100% - 36px); }
  .site-header { padding: 18px 0; }
  .header-nav { display: none; }
  .brand { gap: 9px; font-size: 18px; }
  .page-name { margin-left: 5px; padding-left: 14px; font-size: 13px; }
  .hero { padding: 24px 0 22px; }
  .hero-lead { font-size: 14px; line-height: 1.7; }
  .quick-nav { grid-template-columns: 1fr; margin-bottom: 42px; }
  .quick-nav-title { justify-content: center; padding: 12px 0; }
  .quick-nav-title span { font-size: 26px; }
  .quick-nav-links { border-top: 1px solid var(--line); border-left: 0; }
  .quick-nav-links a { min-height: 40px; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
  .section-heading .eyebrow { margin-bottom: 14px; }
  .section-heading h2 { font-size: 34px; }
  .section-heading > p { margin-bottom: 0; font-size: 13px; line-height: 1.7; }
  .section-heading > p { max-width: 520px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step-card { grid-template-columns: minmax(0, 1fr) minmax(165px, 45%); min-height: 530px; border-radius: 22px; }
  .step-copy { min-height: 0; padding: 22px 14px 18px 24px; }
  .step-kicker { margin-top: 16px; margin-bottom: 6px; }
  .step-copy h3 { font-size: 25px; }
  .step-copy > p:not(.step-kicker) { margin: 12px 0 14px; font-size: 12px; line-height: 1.65; }
  .step-tag { padding: 6px 9px; }
  .phone-shot { justify-self: auto; width: calc(100% - 12px); height: 440px; margin: 0 12px 0 0; border-width: 5px; border-bottom: 0; border-radius: 24px 24px 0 0; }
  .crop-shot { justify-self: auto; width: calc(100% - 12px); margin: 0 12px 0 0; border-width: 5px; border-radius: 18px; }
  .tips { margin-top: 90px; padding: 40px 28px; border-radius: 24px; }
  .tip-list { grid-template-columns: 1fr; margin-top: 44px; }
  .tip-list article, .tip-list article + article { padding: 24px 0 26px; border-right: 0; border-bottom: 1px solid #494b49; }
  .tip-list article:last-child { border-bottom: 0; }
  .tip-list h3 { margin: 16px 0 8px; }
  .closing { width: calc(100% - 36px); margin: 100px auto; }
  footer { grid-template-columns: 1fr auto; gap: 20px; }
  footer p:nth-child(2) { display: none; }
}

@media (max-width: 430px) {
  .step-card { grid-template-columns: 1fr; min-height: 0; }
  .step-copy { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; min-height: 0; padding: 18px 22px 14px; }
  .step-kicker { margin: 0; }
  .step-copy h3 { grid-column: 1 / -1; margin-top: 8px; }
  .step-copy > p:not(.step-kicker) { grid-column: 1 / -1; margin: 8px 0 10px; }
  .step-tag { grid-column: 1 / -1; justify-self: start; }
  .phone-shot { justify-self: center; width: 68%; height: 340px; margin-right: 0; }
  .crop-shot { justify-self: center; width: calc(100% - 36px); margin: 0 0 24px; }
  .quick-nav-links a { font-size: 10px; }
  .closing h2 { font-size: 38px; }
}

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