/* [POS] sorryiliedai 公开页样式；全部以 .nw 为作用域，不依赖 ds-go 主题变量，不使用内联 style。 */
.nw {
  --ink: #231629; --muted: #5d4d66; --paper: #fbf1e4; --tint: #f4e3cf;
  --plum: #3b1f4a; --orange: #b8460f; --orange-hover: #9a3a0b; --line: #e3cfb5;
  background: var(--paper); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column;
}
.nw main { flex: 1; }
.nw *, .nw *::before, .nw *::after { box-sizing: border-box; }
.nw a { color: var(--orange); text-underline-offset: 3px; }
.nw a:hover { color: var(--orange-hover); }
.nw-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.nw-narrow > * { max-width: 760px; }
.nw-narrow > .nw-steps { max-width: none; }
.nw-prose { max-width: 760px; margin-top: 2.5rem; }
.nw-center { text-align: center; }
.nw h1, .nw h2, .nw h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--plum); }
.nw h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.02em; }
.nw h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
.nw h3 { font-size: 1.15rem; }
.nw p, .nw ul, .nw ol { margin: 0 0 1em; }
.nw-skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.nw-skip:focus { left: 8px; }

.nw-header { background: var(--plum); }
.nw-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.nw .nw-brand { color: #fff; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.nw-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nw .nw-nav a:not(.nw-btn) { color: #f1e4f7; text-decoration: none; font-size: .95rem; }
.nw .nw-nav a:not(.nw-btn):hover { color: #fff; text-decoration: underline; }

.nw .nw-btn {
  display: inline-block; background: var(--orange); color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 10px; text-decoration: none; border: 2px solid var(--orange);
}
.nw .nw-btn:hover { background: var(--orange-hover); border-color: var(--orange-hover); color: #fff; }
.nw .nw-btn--small { padding: 8px 14px; font-size: .92rem; background: #f4b860; border-color: #f4b860; color: #2a1630; }
.nw .nw-btn--small:hover { background: #ffd08a; border-color: #ffd08a; color: #2a1630; }
.nw .nw-btn--ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.nw .nw-btn--ghost:hover { background: var(--plum); color: #fff; border-color: var(--plum); }
.nw-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 .8em; }
.nw-center .nw-cta-row { justify-content: center; }
.nw-note { color: var(--muted); font-size: .92rem; }

.nw-hero { padding: 56px 0 40px; }
.nw-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.nw-lede { font-size: 1.12rem; color: var(--muted); }
.nw-figure { margin: 0; }
.nw-figure img { width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); display: block; }
.nw-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

.nw-pagehead { padding: 48px 0 8px; }
.nw-pagehead h1 { margin-bottom: .3em; }
.nw-section { padding: 40px 0; }
.nw-section--tint { background: var(--tint); }
.nw-section h2:first-child { margin-top: 0; }

.nw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 1em; }
.nw-cards--packs { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.nw-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.nw-card h2, .nw-card h3 { margin-top: 0; }
.nw-card p:last-child, .nw-card ul:last-child { margin-bottom: 0; }
.nw-pack ul { padding-left: 1.2em; }
.nw-pack .nw-btn { margin-top: 12px; }
.nw-price { font-size: 2rem; font-weight: 800; color: var(--ink); margin-bottom: .3em; }
.nw-price span { display: block; font-size: .9rem; font-weight: 500; color: var(--muted); }

.nw-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.nw-steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.nw-steps li::before {
  content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--plum); color: #fff; font-weight: 700; margin-bottom: 10px;
}
.nw-steps h3 { margin-top: 0; }

.nw-faq dt { font-weight: 700; color: var(--plum); margin-top: 1.2em; }
.nw-faq dd { margin: .3em 0 0; }
.nw-doc h2 { font-size: 1.3rem; }

.nw-footer { background: var(--plum); color: #e9d9f1; padding: 36px 0; font-size: .95rem; }
.nw .nw-footer a { color: #ffd08a; }
.nw-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.nw-footer__small { font-size: .85rem; opacity: .8; margin-bottom: 0; }

@media (max-width: 820px) {
  .nw-hero__grid, .nw-cards, .nw-steps { grid-template-columns: 1fr; }
  .nw-hero { padding-top: 32px; }
  .nw-header__row { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 10px; padding-bottom: 10px; }
  .nw-nav { gap: 12px 16px; }
}
