/* 拾句子页面样式：教程、创作指南、隐私说明共用。与首页同一套胶片风变量。 */
:root {
  color-scheme: dark;
  --bg: #0a0908; --bg2: #100e0b; --panel: #16130f; --panel2: #1d1915;
  --text: #f5efe4; --muted: #a9a08f; --dim: #6f6759;
  --amber: #f2a93b; --amber-soft: rgba(242,169,59,.14);
  --line: rgba(245,239,228,.12); --line-soft: rgba(245,239,228,.07);
  --shell: min(1080px, calc(100vw - 48px));
  --ease: cubic-bezier(.23,1,.32,1);
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; min-width: 320px;
  background: radial-gradient(ellipse 820px 460px at 80% -8%, rgba(242,169,59,.08), transparent 60%), var(--bg);
  color: var(--text); line-height: 1.75;
  font-family: "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 9px 13px; background: #fff; color: #111; border-radius: 9px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* 导航 */
.site-header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid var(--line-soft); background: rgba(10,9,8,.86); backdrop-filter: blur(18px) saturate(140%); }
.nav { display: flex; align-items: center; gap: 26px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(145deg, var(--amber), #b85a2c); display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset; }
.brand-mark svg { width: 17px; height: 17px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 13.5px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 8px 16px; border-radius: 999px; background: linear-gradient(180deg,#f6b64f,#e0912a); color: #241708; font-weight: 700; font-size: 13.5px; }

/* 页头 */
.page-head { padding: 66px 0 44px; border-bottom: 1px solid var(--line-soft); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--dim); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb i { font-style: normal; opacity: .6; }
.kicker { margin: 26px 0 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); }
.kicker::before { content: "● "; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.14; letter-spacing: -.03em; font-weight: 850; }
.page-head .lead { margin: 16px 0 0; max-width: 720px; color: var(--muted); font-size: 16.5px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.meta-row span {
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--dim);
}

/* 正文 */
.content { padding: 56px 0 40px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 64px; align-items: start; }
article h2 { margin: 54px 0 14px; font-size: 26px; letter-spacing: -.02em; line-height: 1.3; }
article h2:first-child { margin-top: 0; }
article h3 { margin: 32px 0 10px; font-size: 18px; letter-spacing: -.01em; }
article p { margin: 0 0 16px; color: #cfc7b7; font-size: 15.5px; }
article ul, article ol { margin: 0 0 18px; padding-left: 22px; color: #cfc7b7; font-size: 15.5px; }
article li { margin-bottom: 8px; }
article strong { color: var(--text); font-weight: 650; }
article a { color: var(--amber); border-bottom: 1px solid rgba(242,169,59,.35); }
article a:hover { border-color: var(--amber); }
article blockquote {
  margin: 22px 0; padding: 16px 20px; border-left: 2px solid var(--amber);
  background: rgba(242,169,59,.06); border-radius: 0 10px 10px 0; color: var(--muted);
}
article code {
  font-family: var(--mono); font-size: .9em; padding: 2px 6px;
  background: rgba(245,239,228,.07); border-radius: 5px; color: var(--text);
}
.steps { counter-reset: step; margin: 22px 0 26px; padding: 0; list-style: none; display: grid; gap: 14px; }
.steps li {
  position: relative; padding: 16px 18px 16px 56px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
  color: var(--muted); font-size: 15px;
}
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 18px; top: 15px;
  font-family: var(--mono); font-size: 12px; color: var(--amber); letter-spacing: .1em;
}
.steps li b { color: var(--text); }
.compare { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: 14.5px; }
.compare th, .compare td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.compare th { color: var(--dim); font-weight: 600; font-size: 12px; letter-spacing: .08em; }
.compare td { color: #cfc7b7; }
.compare tr td:first-child { color: var(--text); }

/* 侧栏 */
.side { position: sticky; top: 88px; display: grid; gap: 16px; }
.side-card { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: linear-gradient(180deg, var(--panel2), var(--panel)); }
.side-card h4 { margin: 0 0 10px; font-size: 14px; letter-spacing: .02em; }
.side-card p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.side-card .btn { display: flex; justify-content: center; padding: 11px 16px; border-radius: 999px; background: linear-gradient(180deg,#f7ba57,#e18d25); color: #241708; font-weight: 700; font-size: 13.5px; }
.side-card ul { margin: 0; padding-left: 16px; color: var(--muted); font-size: 13px; }
.side-card li { margin-bottom: 6px; }
.side-card a { color: var(--text); }

/* FAQ */
.faq { margin: 12px 0 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 15px; color: var(--text); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 18px; color: var(--amber); font-family: var(--mono); }
.faq details[open] summary::before { content: "−"; }
.faq details p { margin: 10px 0 0; padding-left: 18px; font-size: 14.5px; color: var(--muted); }

/* 底部 CTA + 页脚 */
.cta-band {
  margin: 60px 0 0; padding: 44px 36px; border: 1px solid rgba(242,169,59,.28); border-radius: 24px;
  text-align: center;
  background: radial-gradient(ellipse 70% 120% at 50% -20%, rgba(242,169,59,.16), transparent 65%), linear-gradient(180deg,#1b1712,#120f0c);
}
.cta-band h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.02em; }
.cta-band p { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; }
.cta-band .btn { display: inline-flex; gap: 9px; padding: 13px 26px; border-radius: 999px; background: linear-gradient(180deg,#f7ba57,#e18d25); color: #241708; font-weight: 700; font-size: 15px; }
.note { margin-top: 22px; font-family: var(--mono); font-size: 11.5px; color: var(--dim); text-align: center; }
.site-footer { margin-top: 70px; padding: 40px 0 48px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 12.5px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.footer-row a:hover { color: var(--text); }
.footer-row .sep { opacity: .4; }

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; gap: 40px; }
  .side { position: static; grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 640px) {
  .page-head { padding: 44px 0 34px; }
  .content { padding: 40px 0 24px; }
  .side { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
