:root {
  --bg: #f6f3ed;
  --surface: #ffffff;
  --ink: #202326;
  --muted: #646a6d;
  --line: #d9d8d3;
  --primary: #d94f24;
  --primary-dark: #a93617;
  --teal: #237a76;
  --soft-orange: #fff0e8;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 237, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; }
.brand img { border-radius: 8px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 650; }
.main-nav a { padding: 8px 0; border-bottom: 2px solid transparent; }
.main-nav a.active { color: var(--primary-dark); border-color: var(--primary); }
.main-nav .nav-download { padding: 10px 18px; color: #fff; background: var(--primary); border: 0; border-radius: 6px; }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: var(--surface); border-radius: 6px; }
.menu-button span { display: block; height: 2px; margin: 4px 0; background: var(--ink); }

.hero { border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { min-height: 625px; padding: 56px 0 48px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr); align-items: center; gap: 70px; }
.eyebrow, .section-heading > span, .download-inner span, .inner-hero > .container > span, .faq-category > span, .support-callout span { display: block; color: var(--primary-dark); font-size: 12px; font-weight: 800; letter-spacing: 0; }
.hero h1 { max-width: 650px; margin: 16px 0 20px; font-size: clamp(44px, 4.8vw, 68px); line-height: 1.08; letter-spacing: 0; }
.hero h1 span { display: inline; }
.hero-copy > p { max-width: 660px; margin: 0; color: #4e5457; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.button { min-height: 46px; padding: 11px 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; font-weight: 750; }
.button.primary { color: #fff; background: var(--primary); }
.button.primary:hover, .nav-download:hover { background: var(--primary-dark); }
.button.secondary { border-color: #9e9f9b; background: transparent; }
.hero-points { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-points li { padding: 14px 12px; display: grid; gap: 1px; border-right: 1px solid var(--line); }
.hero-points li:last-child { border-right: 0; }
.hero-points strong { font-size: 14px; }
.hero-points span { color: var(--muted); font-size: 12px; }
.hero-media { position: relative; min-height: 475px; display: flex; align-items: center; justify-content: center; }
.phone { position: absolute; margin: 0; padding: 9px; background: #17191a; border-radius: 22px; box-shadow: 0 22px 48px rgba(33, 28, 22, .18); }
.phone img { width: auto; max-width: 220px; max-height: 408px; border-radius: 14px; }
.phone-back { left: 20px; top: 42px; transform: rotate(-6deg); }
.phone-front { right: 16px; bottom: 22px; transform: rotate(4deg); }
.media-label { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); padding: 7px 12px; white-space: nowrap; color: #fff; background: var(--teal); border-radius: 4px; font-size: 12px; font-weight: 700; }
.genre-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.genre-list { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #555b5e; font-size: 14px; }

.section { padding: 92px 0; }
.section-heading { margin-bottom: 34px; }
.section-heading h2 { margin: 6px 0 0; font-size: 34px; line-height: 1.2; }
.feature-section { background: var(--surface); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-grid article { min-height: 250px; padding: 28px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article > b { color: var(--primary); font-size: 13px; }
.feature-grid h3 { margin: 48px 0 10px; font-size: 20px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.showcase-section { background: #23272a; color: #f8f8f6; }
.showcase-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 70px; }
.showcase-copy .section-heading > span { color: #f69a6d; }
.showcase-copy h3 { max-width: 440px; margin: 0 0 20px; font-size: 27px; line-height: 1.4; }
.showcase-copy p { color: #c7ccce; }
.text-link { display: inline-block; margin-top: 14px; color: #ffb28c; font-weight: 700; }
.showcase-cards { min-height: 450px; display: flex; align-items: center; justify-content: center; gap: 28px; }
.showcase-cards figure { width: 250px; margin: 0; padding: 10px; color: var(--ink); background: #fff; border-radius: 8px; }
.showcase-cards figure:first-child { transform: translateY(22px); }
.showcase-cards img { width: auto; max-width: 100%; max-height: 355px; margin: auto; }
.showcase-cards figcaption { padding: 12px 8px 5px; display: grid; }
.showcase-cards figcaption span { color: var(--muted); font-size: 12px; }
.path-section { background: var(--soft-orange); }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.path-grid a { min-height: 190px; padding: 28px; display: grid; align-content: space-between; border: 1px solid #e2b49e; background: rgba(255,255,255,.55); border-radius: 8px; }
.path-grid span { color: var(--primary-dark); font-size: 13px; font-weight: 700; }
.path-grid strong { max-width: 420px; font-size: 24px; }
.path-grid small { color: var(--muted); }
.faq-layout { display: grid; grid-template-columns: .45fr 1fr; gap: 70px; }
.faq-list details, .manual-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child, .manual-list details:last-child { border-bottom: 1px solid var(--line); }
summary { padding: 20px 34px 20px 0; position: relative; cursor: pointer; font-weight: 750; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: -4px 0 20px; color: var(--muted); }
.download-band { padding: 50px 0; background: var(--teal); color: #fff; }
.download-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.download-inner span { color: #d8f5f1; }
.download-inner h2 { margin: 5px 0 0; font-size: 30px; }

.inner-main { background: var(--surface); }
.inner-hero { padding: 78px 0 66px; color: #fff; background: #23272a; }
.inner-hero h1 { max-width: 830px; margin: 10px 0 16px; font-size: clamp(38px, 5vw, 62px); line-height: 1.15; }
.inner-hero p { max-width: 790px; color: #d5d8d9; font-size: 17px; }
.inner-hero .button { margin-top: 14px; }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); justify-content: center; align-items: start; gap: 70px; }
.article-index { position: sticky; top: 104px; padding: 18px 0; display: grid; gap: 10px; border-top: 2px solid var(--primary); border-bottom: 1px solid var(--line); }
.article-index strong { margin-bottom: 7px; }
.article-index a { color: var(--muted); font-size: 14px; }
.article-body section { padding: 0 0 48px; margin-bottom: 46px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.step-label { color: var(--primary); font-size: 12px; font-weight: 800; }
.article-body h2, .faq-category h2, .support-callout h2 { margin: 8px 0 18px; font-size: 29px; line-height: 1.3; }
.article-body p { color: #4e5457; }
.article-next, .support-callout { padding: 30px; background: var(--soft-orange); border-left: 4px solid var(--primary); }
.article-next p, .support-callout p { margin-bottom: 20px; }
.faq-manual { max-width: 900px; }
.faq-category { margin-top: 62px; }
.faq-category:first-child { margin-top: 0; }
.manual-list details p { padding-right: 44px; }
.manual-list a { color: var(--primary-dark); text-decoration: underline; }
.support-callout { margin-top: 70px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.site-footer { padding: 42px 0 28px; background: #17191a; color: #f5f5f2; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-brand img { border-radius: 7px; }
.footer-inner nav { display: flex; gap: 20px; color: #c6c9ca; font-size: 14px; }
.footer-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid #3a3d3f; text-align: center; color: #aeb3b5; font-size: 12px; }
.footer-note p { margin: 5px 0; }

@media (max-width: 900px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 16px; right: 16px; padding: 18px; flex-direction: column; align-items: stretch; gap: 5px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 18px 34px rgba(30,30,30,.12); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px; }
  .hero-grid { min-height: auto; padding: 42px 0 44px; grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .hero-media { min-height: 380px; order: 2; }
  .phone img { max-width: 175px; max-height: 322px; }
  .phone-back { left: calc(50% - 180px); top: 28px; }
  .phone-front { right: calc(50% - 180px); bottom: 18px; }
  .media-label { bottom: 0; }
  .genre-list { overflow-x: auto; justify-content: flex-start; white-space: nowrap; }
  .section { padding: 68px 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .showcase-grid, .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .showcase-cards { min-height: 410px; gap: 14px; }
  .showcase-cards figure { width: min(48%, 230px); }
  .path-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .article-index { position: static; grid-template-columns: repeat(4, 1fr); }
  .article-index strong { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 68px; }
  .main-nav { top: 68px; }
  .brand img { width: 42px; height: 42px; }
  .hero-grid { padding-top: 32px; }
  .hero-grid { row-gap: 16px; }
  .hero h1 { margin-top: 10px; font-size: 44px; }
  .hero h1 span { display: block; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions .button { flex: 1 1 150px; }
  .hero-points { grid-template-columns: 1fr 1fr 1fr; }
  .hero-points li { padding: 11px 7px; }
  .hero-media { min-height: 225px; }
  .phone { padding: 7px; border-radius: 17px; }
  .phone img { max-width: 105px; max-height: 195px; border-radius: 11px; }
  .phone-back { left: calc(50% - 108px); top: 8px; }
  .phone-front { right: calc(50% - 108px); bottom: 8px; }
  .section-heading h2 { font-size: 29px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 200px; }
  .feature-grid h3 { margin-top: 28px; }
  .showcase-copy h3 { font-size: 23px; }
  .showcase-cards { min-height: 340px; }
  .showcase-cards img { max-height: 280px; }
  .path-grid strong { font-size: 21px; }
  .download-inner, .footer-inner, .support-callout { align-items: stretch; flex-direction: column; }
  .download-inner .button { width: 100%; }
  .footer-inner nav { flex-wrap: wrap; }
  .inner-hero { padding: 58px 0 50px; }
  .inner-hero h1 { font-size: 40px; }
  .article-index { grid-template-columns: 1fr 1fr; }
  .article-body h2, .faq-category h2, .support-callout h2 { font-size: 25px; }
  .manual-list details p { padding-right: 0; }
}
