:root {
  --ink: #211e1a;
  --muted: #746b62;
  --accent: #d97757;
  --accent-dark: #aa5138;
  --paper: #f7f3ed;
  --soft: #eee8df;
  --line: #ddd4c8;
  --white: #fffdf9;
  --success: #61765b;
  --danger: #a23525;
  --shadow-sm: 0 8px 30px #4b37260c;
  --shadow-md: 0 16px 42px #4b37260d;
  --shadow-lg: 0 30px 90px #30251d3d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
body.modal-open { overflow: hidden; }
body.blog-page { background: linear-gradient(180deg, #f8f4ee 0, #f7f3ed 68%, #eee8df 100%); }

.blog-nav { min-height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.blog-home-link { color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.blog-home-link span { color: var(--accent-dark); margin-left: 6px; }
.blog-article { padding: 76px 0 110px; }
.blog-hero { width: min(820px, 100%); margin: 0 auto 68px; text-align: center; }
.blog-hero h1 { margin: 14px 0 21px; font-size: clamp(38px, 6vw, 68px); line-height: 1.08; letter-spacing: -.06em; }
.blog-hero > p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 17px; line-height: 1.85; }
.blog-meta { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 24px; color: #968a7e; font-size: 12px; }
.blog-meta i { width: 3px; height: 3px; border-radius: 50%; background: #b6aa9c; }
.blog-layout { display: grid; grid-template-columns: 180px minmax(0, 680px); justify-content: center; align-items: start; gap: 70px; }
.blog-toc { position: sticky; top: 28px; display: grid; gap: 12px; padding-top: 13px; }
.blog-toc b { margin-bottom: 4px; color: var(--ink); font-size: 13px; }
.blog-toc a { color: var(--muted); font-size: 13px; text-decoration: none; transition: color .2s ease; }
.blog-toc a:hover { color: var(--accent-dark); }
.blog-content { display: grid; gap: 66px; }
.blog-content section { scroll-margin-top: 32px; }
.blog-index { color: var(--accent-dark); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.blog-content h2 { margin: 10px 0 18px; color: var(--ink); font-size: 31px; letter-spacing: -.04em; }
.blog-content p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.95; }
.blog-note { margin-top: 26px; padding: 24px 26px; border: 1px solid #e7c9ba; border-radius: 18px; background: #fff8f3; }
.blog-note strong { color: var(--accent-dark); font-size: 14px; }
.blog-note p { margin-top: 7px; font-size: 14px; line-height: 1.75; }
.blog-steps { display: grid; gap: 12px; margin-top: 27px; }
.blog-steps article { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.blog-steps article > span { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #f5dfd4; color: var(--accent-dark); font-size: 13px; font-weight: 900; }
.blog-steps b { color: var(--ink); font-size: 15px; }
.blog-steps p { margin-top: 3px; font-size: 13px; line-height: 1.6; }
.blog-checklist { display: grid; gap: 15px; margin: 28px 0 0; padding: 0; list-style: none; }
.blog-checklist li { display: flex; gap: 14px; }
.blog-checklist li > span { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; background: #e4eee2; color: #58734f; font-size: 13px; font-weight: 900; }
.blog-checklist b { color: var(--ink); font-size: 15px; }
.blog-checklist p { margin-top: 3px; font-size: 13px; line-height: 1.6; }
.blog-contact-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 27px; padding: 30px; border-radius: 20px; background: #27231f; box-shadow: var(--shadow-lg); }
.blog-contact-card span { color: #e7a58c; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.blog-contact-card h3 { margin: 5px 0; color: #fffaf3; font-size: 24px; letter-spacing: -.04em; }
.blog-contact-card p { color: #cfc3b7; font-size: 13px; line-height: 1.6; }
.blog-contact-card .button { flex: 0 0 auto; min-width: 132px; }
.footer.blog-footer { margin-top: 0; padding: 18px 0 20px; border-top: 1px solid var(--line); background: transparent; color: #8b8177; }
.footer.blog-footer .copyright { justify-content: center; gap: 12px; margin-top: 0; padding-top: 0; border: 0; color: inherit; font-size: 11px; }
.blog-intro { padding: 23px 25px; border-left: 3px solid var(--accent); background: #fffaf5; }
.blog-intro p { color: #5f554c; }
.blog-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 27px; }
.blog-method-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.method-badge { color: var(--accent-dark); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.blog-method-grid h3 { margin: 8px 0 13px; color: var(--ink); font-size: 19px; letter-spacing: -.03em; }
.blog-method-grid ol, .blog-method-grid ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.blog-subheading { margin: 31px 0 15px; color: var(--ink); font-size: 18px; letter-spacing: -.02em; }
.blog-cta-strip, .blog-recommend { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 27px; padding: 21px 23px; border-radius: 17px; background: #f3e3d9; }
.blog-cta-strip span, .blog-recommend span { display: block; color: var(--accent-dark); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.blog-cta-strip b { display: block; margin-top: 5px; color: var(--ink); font-size: 17px; }
.blog-recommend { margin-top: 25px; background: #27231f; box-shadow: var(--shadow-md); }
.blog-recommend h3 { margin: 4px 0; color: #fffaf3; font-size: 22px; letter-spacing: -.03em; }
.blog-recommend p { color: #cfc3b7; font-size: 13px; line-height: 1.6; }
.blog-recommend .button, .blog-cta-strip .button { flex: 0 0 auto; white-space: nowrap; }
.blog-inline-button { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; color: var(--accent-dark); font-size: 13px; font-weight: 800; text-decoration: none; }
.blog-inline-button span { font-size: 17px; line-height: 1; }
.blog-recommend-text { margin-top: 25px !important; padding: 18px 21px; border: 1px solid #e7c9ba; border-radius: 15px; background: #fff8f3; color: #5f554c !important; }
.blog-recommend-text a { color: var(--accent-dark); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.blog-closing { margin-top: 24px !important; color: #5f554c !important; font-weight: 700; }
.blog-choice-table { overflow: hidden; margin-top: 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.choice-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 17px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.55; }
.choice-row:first-child { border-top: 0; }
.choice-row strong { color: var(--ink); }
.choice-head { background: #eee8df; color: var(--ink); font-weight: 800; }
.blog-hub { min-height: calc(100vh - 245px); padding: 18px 0 86px; }
.hub-hero { margin: 0 auto 26px; text-align: center; }
.hub-hero h1 { margin: 9px 0; font-size: clamp(42px, 6vw, 68px); letter-spacing: -.06em; }
.hub-hero p { margin: 0; color: var(--muted); font-size: 15px; }
.hub-cards { width: min(670px, 100%); display: grid; gap: 18px; margin: 0 auto; }
.hub-card { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px 18px; padding: 23px 25px 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hub-featured { padding-top: 43px; }
.hub-icon { width: 52px; height: 52px; display: grid; place-items: center; grid-row: span 2; border-radius: 12px; color: #fff; }
.hub-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub-copy { min-width: 0; display: grid; gap: 6px; }
.hub-copy b { font-size: 21px; letter-spacing: -.03em; }
.hub-copy small { color: var(--muted); font-size: 14px; line-height: 1.65; }
.hub-action { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; min-height: 45px; margin-top: 8px; border-radius: 10px; color: #fff; font-size: 14px; font-weight: 900; }
.hub-action i { margin-left: 8px; font-size: 18px; font-style: normal; }
.hub-member .hub-icon, .hub-member .hub-action { background: #d97730; }
.hub-codex .hub-icon, .hub-codex .hub-action { background: #3f9b73; }
.hub-faq .hub-icon, .hub-faq .hub-action { background: #456bd8; }
.hub-install .hub-icon, .hub-install .hub-action { background: #64748b; }
.hub-astra .hub-icon, .hub-astra .hub-action { background: #7657c8; }
.hub-badge { position: absolute; top: 14px; right: 15px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 999px; background: #f5ddd2; color: #b04e33; font-size: 10px; font-weight: 900; letter-spacing: .03em; }
.hub-badge svg { width: 12px; height: 12px; fill: currentColor; }
.hub-badge-codex { background: #ddf0e6; color: #287a56; }
.hub-badge-install { background: #e4eaf3; color: #526985; }
.hub-badge-install svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hub-badge-faq { background: #e3eafe; color: #3e63c9; }
.hub-badge-astra { background: #eee7ff; color: #654bb0; }
.faq-article-list { width: min(780px, 100%); margin: -20px auto 60px; }
.faq-article-card { display: flex; align-items: center; gap: 20px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.faq-article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.faq-article-card > span { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: #f3e3d9; color: var(--accent-dark); font-size: 12px; font-weight: 900; }
.faq-article-card div { display: grid; gap: 5px; }
.faq-article-card b { font-size: 18px; letter-spacing: -.02em; }
.faq-article-card small { color: var(--muted); font-size: 13px; line-height: 1.55; }
.faq-article-card > i { margin-left: auto; color: var(--accent-dark); font-size: 24px; font-style: normal; }
.tip-list { display: grid; gap: 16px; }
.tip-card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 17px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); }
.tip-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: #edf0fa; color: #456bd8; font-size: 12px; font-weight: 900; }
.tip-body h2 { margin: 2px 0 10px; font-size: 20px; letter-spacing: -.03em; }
.tip-body p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.tip-body p:last-child { margin-bottom: 0; }
.tip-body code { padding: 1px 5px; border-radius: 4px; background: #f2eee8; color: #6e4636; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
.tip-body pre { margin: 13px 0; padding: 16px; overflow-x: auto; border-radius: 12px; background: #20201f; color: #f8f4ee; }
.tip-body pre code { padding: 0; background: transparent; color: inherit; font-size: 13px; line-height: 1.75; }
.tip-service-button { display: inline-flex; align-items: center; gap: 9px; margin-top: 2px; padding: 11px 14px; border: 0; border-radius: 10px; background: var(--accent-dark); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.tip-service-button span { font-size: 17px; }
#wechatTip { display: block; min-height: 20px; margin-top: 8px; color: #637d6b; font-size: 12px; }
.modal-open { overflow: hidden; }
.tip-contact-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.tip-contact-modal[hidden] { display: none; }
.tip-contact-backdrop { position: absolute; inset: 0; background: #171311aa; backdrop-filter: blur(6px); }
.tip-contact-card { position: relative; z-index: 1; width: min(390px, 100%); padding: 29px; border-radius: 20px; background: #fffdf9; box-shadow: 0 22px 70px #0004; text-align: center; }
.tip-contact-close { position: absolute; top: 11px; right: 14px; border: 0; background: transparent; color: #776d65; font-size: 28px; line-height: 1; cursor: pointer; }
.tip-contact-card h2 { margin: 8px 0 9px; font-size: 25px; letter-spacing: -.04em; }
.tip-contact-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.tip-contact-qr { display: grid; min-height: 172px; margin: 20px 0 15px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: #f5f1eb; color: var(--muted); font-size: 13px; }
.tip-contact-qr img { display: block; width: 172px; height: 172px; object-fit: contain; border-radius: 10px; background: #fff; }
.tip-contact-id { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 12px; background: #f1ece5; text-align: left; }
.tip-contact-id span { color: var(--muted); font-size: 12px; }
.tip-contact-id strong { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.tip-contact-id button { padding: 7px 10px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
#wechatModalTip { display: block; min-height: 18px; margin-top: 10px; color: #637d6b; font-size: 12px; }
.codex-guide { width: min(980px, 100%); padding-top: 58px; padding-bottom: 76px; }
.codex-guide-hero { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.codex-guide-hero h1 { margin: 9px 0 11px; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.055em; }
.codex-guide-hero > p { margin: 0; color: var(--muted); font-size: 15px; }
.codex-guide-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; width: min(510px,100%); margin: 25px auto 0; }
.codex-guide-actions a, .codex-guide-actions button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 11px 14px; border: 1px solid #b55b40; border-radius: 11px; background: #fffdf9; color: #a64f37; font: inherit; font-size: 14px; font-weight: 900; text-decoration: none; cursor: pointer; }
.codex-guide-actions a { background: linear-gradient(135deg,#bf563b,#df7a59); color: #fff; }
.codex-guide-actions span { font-size: 18px; }
.codex-support-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.codex-support-modal[hidden] { display: none; }
.codex-support-backdrop { position: absolute; inset: 0; background: #171311aa; backdrop-filter: blur(6px); }
.codex-support-card { position: relative; z-index: 1; width: min(390px,100%); padding: 29px; border-radius: 20px; background: #fffdf9; box-shadow: 0 22px 70px #0004; text-align: center; }
.codex-support-close { position: absolute; top: 11px; right: 14px; border: 0; background: transparent; color: #776d65; font-size: 28px; line-height: 1; cursor: pointer; }
.codex-support-card h2 { margin: 8px 0 9px; font-size: 25px; letter-spacing: -.04em; }
.codex-support-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.codex-support-qr { display: grid; min-height: 172px; margin: 20px 0 15px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: #f5f1eb; color: var(--muted); font-size: 13px; }
.codex-support-qr img { display: block; width: 172px; height: 172px; object-fit: contain; border-radius: 10px; background: #fff; }
.codex-support-id { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 12px; background: #f1ece5; text-align: left; }
.codex-support-id span { color: var(--muted); font-size: 12px; }.codex-support-id strong { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }.codex-support-id button { padding: 7px 10px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
#codexSupportTip { display: block; min-height: 18px; margin-top: 10px; color: #637d6b; font-size: 12px; }
.codex-lesson-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.codex-lesson-list a { display: grid; grid-template-columns: 36px minmax(0,1fr) 20px; gap: 11px; align-items: center; min-height: 68px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.codex-lesson-list a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.codex-lesson-list span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; background: #e6f1ea; color: #287a56; font-size: 11px; font-weight: 900; }
.codex-lesson-list b { overflow: hidden; font-size: 14px; line-height: 1.45; letter-spacing: -.02em; }
.codex-lesson-list i { color: #76917e; font-size: 19px; font-style: normal; }
.codex-back { display: inline-block; margin: 0 0 22px; color: var(--accent-dark); font-size: 14px; font-weight: 800; text-decoration: none; }
.codex-article { padding: clamp(22px,5vw,58px); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.codex-article h1 { margin: 0 0 26px; font-size: clamp(29px,4vw,46px); line-height: 1.22; letter-spacing: -.055em; }
.codex-article h2 { margin: 44px 0 15px; font-size: clamp(23px,3vw,31px); letter-spacing: -.045em; }
.codex-article h3 { margin: 30px 0 12px; font-size: 20px; letter-spacing: -.035em; }
.codex-article h4 { margin: 25px 0 10px; font-size: 17px; }
.codex-article p, .codex-article li { color: #4e4943; font-size: 15px; line-height: 1.9; }
.codex-article p { margin: 0 0 16px; }
.codex-article ul, .codex-article ol { margin: 0 0 19px; padding-left: 1.45em; }
.codex-article li + li { margin-top: 7px; }
.codex-article a { color: #a84f38; text-decoration: underline; text-underline-offset: 2px; }
.codex-article strong { color: #2c2925; }
.codex-article code { padding: 2px 5px; border-radius: 4px; background: #f0ebe4; color: #884630; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .88em; }
.codex-article pre { margin: 19px 0; padding: 17px; overflow-x: auto; border-radius: 12px; background: #20201f; color: #f8f4ee; }
.codex-article pre code { padding: 0; background: transparent; color: inherit; font-size: 13px; line-height: 1.8; }
.codex-article blockquote { margin: 20px 0; padding: 12px 16px; border-left: 3px solid #5fa879; background: #eff6f0; color: #42614b; font-size: 14px; line-height: 1.8; }
.codex-article hr { margin: 32px 0; border: 0; border-top: 1px solid var(--line); }
.codex-article img { display: block; max-width: 100%; height: auto; margin: 22px auto; border: 1px solid var(--line); border-radius: 11px; }
.codex-table-wrap { margin: 20px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.codex-article table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 13px; }
.codex-article th, .codex-article td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.codex-article th { background: #f3eee8; color: var(--ink); }
.codex-pagination { display: flex; justify-content: space-between; gap: 14px; margin: 28px 0; }
.codex-pagination a { max-width: 46%; color: var(--accent-dark); font-size: 13px; font-weight: 800; line-height: 1.5; text-decoration: none; }
.codex-pagination a:last-child { text-align: right; }
.codex-loading, .codex-error { padding: 60px 20px; color: var(--muted); text-align: center; }
.install-content { width: min(800px, 100%); margin: 0 auto; padding: clamp(24px,5vw,58px); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.install-content h2 { margin: 0 0 25px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: clamp(28px,4vw,42px); letter-spacing: -.05em; }
.install-content h2:not(:first-child) { margin-top: 60px; }
.install-content h3 { margin: 36px 0 15px; color: var(--ink); font-size: clamp(20px,2.6vw,27px); letter-spacing: -.04em; }
.install-content h4 { margin: 24px 0 10px; color: #91503b; font-size: 16px; }
.install-content p, .install-content li { color: #4e4943; font-size: 15px; line-height: 1.9; }
.install-content p { margin: 0 0 15px; }
.install-content ol, .install-content ul { margin: 0 0 18px; padding-left: 1.45em; }
.install-content li + li { margin-top: 7px; }
.install-content li > ul { margin: 7px 0 0; }
.install-content a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.install-content strong { color: var(--ink); }
.install-content pre { margin: 12px 0 18px; padding: 16px; overflow-x: auto; border-radius: 12px; background: #20201f; color: #f8f4ee; }
.install-content pre code { font: 13px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; }
.install-content hr { margin: 54px 0; border: 0; border-top: 1px solid var(--line); }
.install-table-wrap { margin: 20px 0 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.install-content table { width: 100%; min-width: 500px; border-collapse: collapse; }
.install-content th, .install-content td { padding: 13px 15px; border-bottom: 1px solid var(--line); color: #4e4943; font-size: 14px; line-height: 1.65; text-align: left; }
.install-content th { background: #f3eee8; color: var(--ink); }
.install-official-links { margin-top: 35px; padding: 23px; border-radius: 15px; background: #eff5f0; }
.install-official-links h3 { margin: 7px 0 12px; color: #315f44; }
.install-official-links ul { margin-bottom: 0; }

/* GPT-6 Astra public case collection: deliberately text-only, no remote media. */
.astra-page { width: min(1120px, 100%); padding: 54px 0 94px; }
.astra-hero { max-width: 800px; margin: 0 auto 35px; text-align: center; }
.astra-hero h1 { margin: 12px 0 16px; color: var(--ink); font-size: clamp(41px, 6vw, 72px); line-height: 1.02; letter-spacing: -.07em; }
.astra-hero > p { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: 16px; line-height: 1.85; }
.astra-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.astra-stats span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fffaf5; color: var(--muted); font-size: 12px; }
.astra-stats b { color: #654bb0; font-size: 14px; }
.astra-subscribe, .astra-bottom-cta { display: flex; align-items: center; justify-content: space-between; gap: 26px; margin: 0 auto; padding: 25px 29px; border-radius: 20px; background: #28223a; box-shadow: var(--shadow-md); }
.astra-subscribe { max-width: 820px; padding: 19px 23px; }
.astra-subscribe div, .astra-bottom-cta div { display: grid; gap: 4px; }
.astra-subscribe span, .astra-bottom-cta span { color: #d6c9ff; font-size: 11px; font-weight: 900; letter-spacing: .11em; }
.astra-subscribe b, .astra-bottom-cta h2 { color: #fffaf3; font-size: 22px; letter-spacing: -.04em; }
.astra-subscribe b { font-size: 19px; }
.astra-subscribe small, .astra-bottom-cta p { color: #c8c0d8; font-size: 13px; line-height: 1.6; }
.astra-subscribe .button, .astra-bottom-cta .button { flex: 0 0 auto; background: #9274e8; box-shadow: none; white-space: nowrap; }
.astra-subscribe .button { min-height: 46px; padding: 0 20px; font-size: 13px; }
.astra-explainer { display: flex; gap: 14px; align-items: baseline; max-width: 950px; margin: 18px auto 31px; padding: 14px 17px; border-left: 3px solid #8a6dde; background: #f0ebff; }
.astra-explainer b { flex: 0 0 auto; color: #5e45a5; font-size: 13px; }
.astra-explainer p { margin: 0; color: #625d6c; font-size: 13px; line-height: 1.65; }
.astra-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 20px 0 25px; }
.astra-filters button { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fffaf5; color: #655e57; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.astra-filters button:hover, .astra-filters button.is-active { border-color: #7256bd; background: #7256bd; color: #fff; }
.astra-filters span { margin-left: 3px; opacity: .85; }
.astra-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.astra-card { min-height: 390px; display: flex; flex-direction: column; padding: 12px 22px 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.astra-card:hover { transform: translateY(-3px); border-color: #b8a5e7; box-shadow: var(--shadow-md); }
.astra-cover { height: 164px; display: block; margin: 0 -10px 16px; overflow: hidden; border-radius: 13px; background: #ece7df; }
.astra-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .3s ease; }
.astra-card:hover .astra-cover img { transform: scale(1.025); }
.astra-rank { margin-bottom: 13px; color: #7657c8; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.astra-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.astra-card-top em { padding: 4px 7px; border-radius: 7px; background: #eee7ff; color: #684db0; font-size: 10px; font-style: normal; font-weight: 900; }
.astra-card-top small { overflow: hidden; color: #8b8178; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.astra-card h2 { margin: 18px 0 10px; font-size: 19px; line-height: 1.38; letter-spacing: -.035em; }
.astra-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.astra-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; color: #7657c8; font-size: 11px; }
.astra-card footer b { color: #554d46; }
.astra-bottom-cta { max-width: 950px; margin-top: 42px; background: #c86243; }
.astra-bottom-cta span { color: #ffe0d3; }
.astra-bottom-cta h2 { margin: 0; }
.astra-bottom-cta .button { background: #fffaf4; color: #a94c35; }

@media (max-width: 900px) { .astra-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 780px) {
  .blog-nav { min-height: 82px; }
  .blog-article { padding: 50px 0 76px; }
  .blog-hero { margin-bottom: 48px; text-align: left; }
  .blog-hero h1 { font-size: 39px; }
  .blog-hero > p { margin: 0; font-size: 15px; }
  .blog-meta { justify-content: flex-start; }
  .blog-layout { display: block; }
  .blog-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-bottom: 45px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: #fffaf5; }
  .blog-toc b { grid-column: 1 / -1; }
  .blog-content { gap: 52px; }
  .blog-content h2 { font-size: 27px; }
  .blog-content p { font-size: 15px; }
  .blog-contact-card { display: grid; padding: 25px; }
  .blog-contact-card .button { width: 100%; }
  .blog-method-grid { grid-template-columns: 1fr; }
  .blog-cta-strip, .blog-recommend { display: grid; padding: 22px; }
  .blog-cta-strip .button, .blog-recommend .button { width: 100%; }
  .choice-row { grid-template-columns: 1fr; gap: 5px; padding: 15px 17px; }
  .blog-hub { min-height: 0; padding: 14px 0 36px; }
  .hub-hero { margin-bottom: 14px; }
  .hub-hero h1 { margin: 0 0 3px; font-size: 34px; line-height: 1.15; }
  .hub-hero p { font-size: 12px; }
  .hub-cards { gap: 8px; }
  .hub-card { grid-template-columns: 40px minmax(0, 1fr); gap: 3px 10px; padding: 29px 13px 10px; border-radius: 14px; }
  .hub-featured { padding-top: 29px; }
  .hub-icon { width: 38px; height: 38px; border-radius: 10px; }
  .hub-icon svg { width: 22px; height: 22px; }
  .hub-copy { gap: 2px; }
  .hub-copy b { overflow: hidden; font-size: 16px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
  .hub-copy small { overflow: hidden; font-size: 11px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
  .hub-action { min-height: 31px; margin-top: 4px; border-radius: 8px; font-size: 12px; }
  .hub-action i { margin-left: 6px; font-size: 15px; }
  .hub-badge { top: 7px; right: 9px; padding: 3px 6px; font-size: 8px; }
  .hub-badge svg { width: 10px; height: 10px; }
  .faq-article-list { margin-top: -10px; }
  .faq-article-card { gap: 14px; padding: 18px; }
  .codex-guide { padding-top: 38px; padding-bottom: 48px; }
  .codex-lesson-list { grid-template-columns: 1fr; }
  .codex-article { padding: 22px 18px; }
  .codex-article p, .codex-article li { font-size: 14px; line-height: 1.82; }
  .install-content { padding: 22px 18px; }
  .install-content p, .install-content li { font-size: 14px; line-height: 1.82; }
}
button, input { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
main > section[id] { scroll-margin-top: 86px; }
.section { padding-block: 92px; }
.section h2 {
  margin: 9px 0 0;
  color: var(--ink);
  font-size: 43px;
  font-weight: 800;
  letter-spacing: -.045em;
}
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 38px; }
.section-head > p, .center-head > p { color: var(--muted); font-size: 13px; line-height: 1.7; }
.center-head { text-align: center; }
.kicker, .eyebrow { color: var(--accent-dark); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.primary, .buy, .hero-primary {
  background: linear-gradient(135deg, #bd593e, #dd7b5b);
  color: #fff;
  box-shadow: 0 14px 30px #aa51382a;
}
.primary:hover, .buy:hover { background: linear-gradient(135deg, #a94f36, #cc6749); }
.ghost, .secondary { border: 1px solid #d8ccbf; background: #fffaf6; color: #4f463e; box-shadow: none; }
.ghost:hover, .secondary:hover { background: #f2ebe3; }
.full { width: 100%; }

/* Announcement and navigation */
.announcement { border-bottom: 1px solid #e3d6c8; background: #f1e9df; color: #765344; font-size: 12px; }
.announcement .shell { min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.announcement-dot { width: 8px; height: 8px; display: block; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #d9775720; }
.announcement a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px dashed #c99582; color: #9b4f38; font-weight: 800; text-decoration: none; }
.nav {
  position: sticky;
  top: 0;
  z-index: 70;
  width: min(1120px, calc(100% - 48px));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 22px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: rgba(250, 247, 241, .94);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 22px; font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; }
.brand-mark img { width: 28px; height: 28px; display: block; }
.nav nav { display: flex; gap: 29px; }
.nav nav a { min-height: 44px; display: flex; align-items: center; color: #655d55; font-size: 13px; font-weight: 650; text-decoration: none; }
.nav nav a:hover { color: var(--accent-dark); }
.learning-entry { display: inline-flex; min-height: 38px; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid #ca694b; border-radius: 999px; background: linear-gradient(135deg,#b95339,#df7b5a); box-shadow: 0 6px 16px #bd593025; color: #fff; font-size: 12px; font-weight: 900; text-decoration: none; white-space: nowrap; transition: transform .18s, box-shadow .18s; }
.learning-entry:hover { transform: translateY(-1px); box-shadow: 0 9px 20px #bd593038; }
.learning-entry span { font-size: 14px; }
.order-link { min-height: 44px; padding: 10px 16px; border: 1px solid #d9cec1; border-radius: 999px; background: var(--white); color: #3e3832; font-size: 13px; font-weight: 800; cursor: pointer; }
.order-link:hover { background: #f1e9df; }

/* Hero */
.hero {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  padding-block: 64px 28px;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20px;
  left: 50%;
  width: 820px;
  max-width: 100%;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(circle, #d9775718 0, transparent 68%);
  pointer-events: none;
}
.hero-copy { max-width: 1080px; display: flex; flex-direction: column; margin: auto; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 8px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px #d9775718; }
.hero h1 { margin: 27px 0 20px; color: var(--ink); font-size: 70px; line-height: 1.02; font-weight: 850; letter-spacing: -.065em; }
.hero-highlight { min-height: 58px; margin-top: 10px; background: linear-gradient(90deg, #a84f36, #d97757, #b96545); background-clip: text; color: transparent; font-size: 36px; font-weight: 850; letter-spacing: -.04em; }
.hero #typewriterText { display: inline-block; min-width: 11em; }
.type-caret { display: inline-block; width: 2px; height: .78em; margin-left: 5px; background: var(--accent); vertical-align: -.04em; animation: caret-blink .8s steps(1) infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.hero-copy > p { max-width: 690px; margin: 22px auto 0; color: #6f675f; font-size: 17px; line-height: 1.8; }
#heroDescription { white-space: pre-line; }
.hero-actions { display: flex; justify-content: center; gap: 11px; margin: 25px 0 10px; }
.hero-primary { min-width: 248px; min-height: 62px; border-radius: 18px; font-size: 18px; box-shadow: 0 18px 34px #aa513838; }
.hero-primary span { font-size: 30px; line-height: 0; }
.hero-redeem { min-height: 62px; padding: 16px 24px; border: 1px solid #c7785c; border-radius: 18px; background: #fffaf5; color: #a84f36; font-size: 16px; gap: 12px; }
.hero-redeem:hover { background: #f5e7dc; border-color: #a84f36; }
.pro-entry { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #71685f; font-size: 14px; text-decoration: none; }
.pro-entry b { padding: 4px 11px; border-radius: 999px; background: #f2dfd5; color: #a64e35; }
.pro-entry i { font-size: 22px; font-style: normal; }
.service-signal { display: flex; order: 1; align-items: center; justify-content: center; gap: 14px; margin: 18px auto 24px; }
.signal-icons { display: flex; }
.signal-icons span { width: 32px; height: 32px; display: grid; place-items: center; margin-left: -7px; border: 3px solid var(--white); border-radius: 50%; background: #ece5dc; color: #443d36; font-size: 10px; font-weight: 850; }
.signal-icons span:first-child { margin-left: 0; }
.service-signal > div:last-child { text-align: left; }
.service-signal strong, .service-signal small { display: block; }
.service-signal strong { color: #342f2a; font-size: 16px; }
.service-signal small { margin-top: 7px; color: #827970; font-size: 12px; }
.service-signal small i { width: 9px; height: 9px; display: inline-block; margin-right: 7px; border-radius: 50%; background: #6ca777; box-shadow: 0 0 0 4px #6ca7771f; }
.hero-trust-grid { max-width: 980px; display: grid; order: 1; grid-template-columns: repeat(4, 1fr); margin: 0 auto 24px; }
.hero-trust-grid article { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 6px 28px; border-right: 1px solid #e1d7cb; text-align: left; }
.hero-trust-grid article:last-child { border-right: 0; }
.trust-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 13px; background: #f2e1d7; color: #ad553b; }
.trust-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-trust-grid b, .hero-trust-grid small { display: block; }
.hero-trust-grid b { font-size: 16px; }
.hero-trust-grid small { margin-top: 5px; color: #81786f; font-size: 12px; }
.remote-guidance { width: min(620px, 100%); display: grid; order: 0; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 13px; margin: 0 auto 8px; padding: 12px 16px; border: 1px solid #d7a18c; border-radius: 16px; background: linear-gradient(105deg, #fff5ee, #fffdf9); box-shadow: 0 12px 28px #a84f3614; color: #312b27; cursor: pointer; text-align: left; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.remote-guidance:hover { transform: translateY(-2px); border-color: #bd6749; box-shadow: 0 16px 32px #a84f3622; }
.remote-guidance-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #b9563a, #df7958); color: #fff; box-shadow: 0 7px 16px #b9563a2e; }
.remote-guidance-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.remote-guidance-copy { min-width: 0; display: grid; gap: 2px; }
.remote-guidance-copy em { width: fit-content; padding: 2px 6px; border-radius: 999px; background: #f5dfd3; color: #a34b33; font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.remote-guidance-copy strong { font-size: 15px; line-height: 1.25; }
.remote-guidance-copy small { color: #796f66; font-size: 11px; line-height: 1.45; }
.remote-guidance-arrow { color: #ad553b; font-size: 23px; font-weight: 800; }
#plans { padding-top: 58px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { position: relative; align-self: start; padding: 26px; border: 1px solid #e1d8cd; border-radius: 20px; background: var(--white); box-shadow: 0 14px 40px #4b37260b; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 22px 50px #4b372615; }
.plan.featured { padding: 25px; border: 2px solid var(--accent); }
.plan-cover { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; margin-bottom: 20px; border: 1px solid #d4cec4; background: #e8e4dc; }
.popular { position: absolute; top: -13px; right: 15px; padding: 7px 11px; border-radius: 999px; background: linear-gradient(135deg, #b85339, #da7656); color: #fff; font-size: 12px; font-weight: 800; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-icon { width: 46px; height: 46px; display: block; }
.product-icon img { width: 46px; height: 46px; }
.tag { padding: 7px 9px; border-radius: 999px; background: #f2dfd5; color: #a44d35; font-size: 12px; }
.tag.pale { background: #eee9e2; color: #6d655d; }
.plan h3 { margin: 21px 0 7px; font-size: 23px; }
.plan > p { color: #766f67; font-size: 13px; }
.price { display: flex; align-items: baseline; gap: 5px; margin: 21px 0; }
.price b { color: var(--ink); font-size: 36px; }
.price span { color: #777; font-size: 12px; }
.plans-loading .price b { color: #9a9188; }
.plan dl { margin: 0 0 16px; padding: 12px; border-radius: 12px; background: #f2ede6; }
.plan dl div { display: grid; grid-template-columns: 76px 1fr; padding: 4px 0; font-size: 12px; line-height: 1.45; }
.plan dt { color: #ae553b; font-weight: 800; }
.plan dd { margin: 0; color: #5f5952; }
.buy { width: 100%; min-height: 50px; border: 0; border-radius: 12px; font-weight: 800; cursor: pointer; }
.buy:disabled { cursor: wait; opacity: .58; box-shadow: none; filter: saturate(.35); }
.buy.consult { background: var(--ink); box-shadow: 0 10px 25px #33271f24; }
.buy.consult:hover { background: #3a332d; }
.plan-detail-button { width: 100%; min-height: 43px; margin-top: 10px; border: 1px solid #d9cec1; border-radius: 11px; background: #fffaf6; color: #7f4938; font-weight: 800; cursor: pointer; transition: .2s; }
.plan-detail-button:hover { border-color: #d29a83; background: #f8ece5; }
.plan-assurance-inline { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 5px 7px; border: 1px solid #e4cfc2; border-radius: 999px; background: #f9f2ec; color: #9e543d !important; font-size: 9px !important; font-weight: 800; line-height: 1.1; letter-spacing: 0; white-space: nowrap; }
.plan-assurance-inline svg { width: 12px; height: 12px; flex: 0 0 12px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.plan-benefits { margin-top: 17px; border-top: 1px solid #ded9d0; }
.plan-benefits summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; list-style: none; font-size: 13px; font-weight: 800; cursor: pointer; }
.plan-benefits summary::-webkit-details-marker { display: none; }
.plan-benefits summary i { color: var(--accent-dark); font-style: normal; transition: transform .2s; }
.plan-benefits[open] summary i { transform: rotate(45deg); }
.plan-benefits ul { margin: 0; padding: 16px 0 4px; border-top: 1px dashed #d8d2c8; list-style: none; }
.plan li { margin: 11px 0; color: #56514a; font-size: 13px; }
.plan li::before { content: "✓"; margin-right: 8px; color: var(--accent); font-weight: 900; }
.plan-load-status { margin: 18px 0; padding: 14px 16px; border: 1px solid #e1c5b7; border-radius: 12px; background: #fff7f2; color: #8b4331; font-size: 13px; line-height: 1.6; }
.mobile-swipe-hint { display: none; }
.compare { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 16px 18px; border: 1px solid #e1d8cd; border-radius: 16px; background: var(--white); }
.compare span { font: 500 16px Georgia, serif; }
.compare p { flex: 1; color: #69635b; font-size: 12px; }
.compare button, .footer button { min-height: 44px; padding-inline: 10px; border: 0; background: none; color: var(--accent-dark); font-weight: 800; cursor: pointer; }

/* AI services banner */
.ai-service-banner { position: relative; isolation: isolate; min-height: 174px; display: grid; grid-template-columns: minmax(280px, 1.1fr) auto auto; align-items: center; gap: 34px; margin-top: 24px; padding: 30px 34px; overflow: hidden; border: 1px solid #ddcfc2; border-radius: 22px; background: linear-gradient(118deg, #fffdf9 0%, #f4e8de 58%, #ead7ca 100%); box-shadow: var(--shadow-md); color: var(--ink); text-decoration: none; transition: transform .25s, border-color .25s, box-shadow .25s; }
.ai-service-banner::before { content: ""; position: absolute; z-index: -1; top: -150px; right: 18%; width: 250px; height: 250px; border-radius: 50%; background: #d9775718; box-shadow: 0 0 70px 20px #d9775710; }
.ai-service-banner:hover { transform: translateY(-3px); border-color: #d9ad98; box-shadow: 0 22px 50px #4b372617; }
.ai-service-copy > span { display: block; margin-bottom: 9px; color: #a5533b; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.ai-service-copy h3 { margin: 0 0 8px; font-size: 27px; letter-spacing: -.035em; }
.ai-service-copy p { max-width: 470px; margin: 0; color: #71685f; font-size: 12px; line-height: 1.7; }
.ai-service-models { display: flex; align-items: center; gap: 10px; }
.ai-model { min-width: 112px; display: grid; grid-template-columns: 36px auto; align-items: center; gap: 9px; padding: 9px 12px 9px 9px; border: 1px solid #dfd4c8; border-radius: 14px; background: #fffdf9cc; box-shadow: 0 7px 18px #4b372608; }
.ai-model b { font-size: 12px; }
.ai-model-icon { width: 36px; height: 36px; display: grid; place-items: center; overflow: hidden; border-radius: 10px; }
.ai-model-icon img { width: 21px; height: 21px; display: block; object-fit: contain; }
.ai-model.claude .ai-model-icon { background: #f1d9cd; }
.ai-model.grok .ai-model-icon { background: #0a0a0a; }
.ai-model.grok .ai-model-icon img { width: 22px; height: 22px; }
.ai-model.gemini .ai-model-icon { background: linear-gradient(145deg, #d8d0f4, #f2d6df 55%, #d9e7f0); }
.ai-model.more .ai-model-icon { background: #eee6dc; color: #8a776a; }
.ai-model.more b { color: #655d55; }
.more-dots { font-size: 12px; font-weight: 900; letter-spacing: 1px; }
.ai-service-enter { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border-radius: 13px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.ai-service-enter b { font: inherit; }
.ai-service-enter i { font-size: 17px; font-style: normal; transition: transform .2s; }
.ai-service-banner:hover .ai-service-enter i { transform: translate(2px, -2px); }

/* Purchase notice */
.notice-wrap { background: #f0eae2; }
.notice-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.notice-grid > div:first-child p { color: var(--muted); line-height: 1.7; }
.notice-list article { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid #ddd3c7; }
.notice-list article > b { color: #b45a3f; font-size: 11px; }
.notice-list h3 { margin: 0 0 7px; font-size: 15px; }
.notice-list p { margin: 0; color: #6e675f; font-size: 13px; line-height: 1.6; }

/* Recharge process */
.process-section { overflow: hidden; background: var(--white); }
.process-section .center-head { margin-bottom: 50px; }
.process-layout { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 58px; }
.process-list { display: grid; gap: 16px; }
.process-step { width: 100%; display: grid; grid-template-columns: 58px 1fr; align-items: start; gap: 18px; padding: 26px 28px; border: 1px solid transparent; border-radius: 20px; background: transparent; color: var(--ink); text-align: left; box-shadow: none; transition: .25s; }
.process-step:hover { background: #f5f0ea; }
.process-step > span { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid #dfd5c9; border-radius: 50%; background: var(--white); color: #9b8f83; font-size: 18px; }
.process-step h3 { margin: 2px 0 8px; font-size: 24px; }
.process-step p { margin: 0; color: #71685f; font-size: 14px; line-height: 1.7; }
.process-step.active { border-color: #dfaa95; background: #f7e8df; box-shadow: 0 12px 28px #aa51380d; }
.process-step.active > span { border-color: var(--accent); background: linear-gradient(135deg, #b85339, #da7656); color: #fff; box-shadow: 0 9px 20px #aa51383d; }
.process-visual { overflow: hidden; padding: 0 32px 34px; border-radius: 22px; background: var(--soft); box-shadow: 0 22px 58px #4b372612; }
.browser-chrome { height: 58px; display: flex; align-items: center; gap: 8px; margin: 0 -32px 28px; padding: 0 23px; border-bottom: 1px solid #dfd6cc; background: var(--white); }
.browser-chrome i { width: 10px; height: 10px; border-radius: 50%; background: #ddd4c9; }
.browser-chrome span { margin-left: 14px; color: #a0a8b6; font-size: 11px; }
.process-screen { padding: 24px; border: 1px solid #dfd6cc; border-radius: 17px; background: var(--white); }
.process-success { min-height: 190px; display: grid; place-items: center; padding: 28px; border: 1px solid #bcefd8; border-radius: 17px; background: linear-gradient(145deg, #ecfdf5, #f3fff9); text-align: center; }
.process-success > span { width: 66px; height: 66px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 50%; background: #10b981; color: #fff; box-shadow: 0 13px 30px #10b98130; font-size: 30px; }
.process-success b, .process-success small { display: block; }
.process-success b { color: #047857; font-size: 23px; }
.process-success small { margin-top: 8px; color: #15966d; font-size: 13px; }
.process-data { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.process-data article { min-width: 0; padding: 18px; border: 1px solid #e1d7cb; border-radius: 14px; background: #f6f1eb; }
.process-data small, .process-data code, .process-data strong { display: block; }
.process-data small { color: #9b9085; font-weight: 800; }
.process-data code, .process-data strong { margin-top: 17px; overflow-wrap: anywhere; color: #4a423a; font-size: 13px; }
.process-action { width: 100%; min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--ink); color: #fff !important; }
.process-action:hover { background: #3a332d; }
.process-caption { margin: 13px 0 0; color: #9b9085; font-size: 10px; text-align: center; }

/* After-sales and reviews */
.support-wrap { background: #ebe4da; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-grid article { padding: 28px; border: 1px solid #d5cfc5; border-radius: 18px; background: var(--white); box-shadow: 0 12px 34px #4b37260a; }
.support-grid article.can { border-top: 3px solid #70826b; }
.support-grid article.cannot { border-top: 3px solid #c06345; }
.support-grid article > span { padding: 6px 8px; font-size: 10px; font-weight: 800; }
.support-grid .can > span { background: #e2eadc; color: #536448; }
.support-grid .cannot > span { background: #f0dad2; color: #934329; }
.support-grid h3 { font: 500 21px Georgia, serif; }
.support-grid ul { padding-left: 19px; }
.support-grid li { color: #5f5952; font-size: 13px; line-height: 1.8; }
.rule-note { margin: 22px 0 0; color: #756f66; font-size: 12px; text-align: center; }
.detail-stories { padding-bottom: 52px; background: linear-gradient(180deg, #f8f5ef, #eee8df); }
.detail-pill { display: inline-flex !important; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid #e6cbbb; border-radius: 999px; background: #f5e6dc; }
.detail-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.story-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; scrollbar-width: none; }
.story-track::-webkit-scrollbar { display: none; }
.story-track article { position: relative; min-height: 270px; padding: 30px; border: 1px solid #e3e7ef; border-radius: 20px; background: var(--white); box-shadow: 0 16px 42px #4b37260b; }
.quote-mark { position: absolute; top: 14px; right: 24px; color: #f0ddd2; font: 700 54px Georgia, serif; }
.story-track article > p { min-height: 116px; margin: 12px 0 25px; color: #655d55; font-size: 15px; line-height: 1.9; }
.story-track article > div { display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid #eee5dc; }
.story-avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #c66446; color: #fff; font-weight: 850; }
.story-avatar.cyan { background: #8b705d; }
.story-avatar.green { background: #6f7b65; }
.story-track b, .story-track small { display: block; }
.story-track small { margin-top: 3px; color: #958a80; }
.story-track em { padding: 5px 9px; border: 1px solid #ddd3c7; border-radius: 999px; color: #71685f; font-size: 10px; font-style: normal; }

/* FAQ */
.faq-wrap { background: #f4efe8; }
.faq-shell { max-width: 1040px; }
.faq-shell .center-head { margin-bottom: 42px; }
.faq-search { height: 64px; display: flex; align-items: center; gap: 13px; padding: 0 22px; border: 1px solid #dfe4eb; border-radius: 18px; background: var(--white); box-shadow: 0 6px 14px #4b37260a; }
.faq-search > span { color: #9c9186; font-size: 30px; }
.faq-search input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; scrollbar-width: none; }
.faq-tabs::-webkit-scrollbar { display: none; }
.faq-tabs button { min-height: 44px; padding: 9px 20px; border: 1px solid #dfe4eb; border-radius: 999px; background: var(--white); color: #655d55; cursor: pointer; }
.faq-tabs button.active { border-color: var(--accent); background: linear-gradient(135deg, #b85339, #da7656); color: #fff; }
.accordions { display: grid; gap: 12px; }
.accordions details { padding: 0 24px; border: 1px solid #dfe4eb; border-radius: 18px; background: var(--white); box-shadow: 0 6px 14px #4b37260a; }
.accordions summary { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0; list-style: none; font-size: 15px; font-weight: 800; cursor: pointer; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary i { color: #b35a3f; font-style: normal; transition: .2s; }
.accordions details p { margin: 0 -24px; padding: 0 24px 20px; border-top: 1px solid #eee5dc; color: #655f57; font-size: 13px; line-height: 1.7; }
.accordions details[open] p { padding-top: 17px; }
.accordions details[open] summary i { transform: rotate(180deg); }
.faq-empty { padding: 30px; border: 1px dashed #d5cabd; border-radius: 18px; color: #81766d; text-align: center; }
.faq-contact { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; padding: 22px 24px; border-radius: 18px; background: #efe4db; }
.faq-contact span { font-weight: 800; }

/* Footer */
.footer { padding: 60px 0 24px; background: var(--ink); color: #fff; }
.brand.light { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); align-items: start; gap: 50px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.footer-grid > div > b { margin-bottom: 9px; font-size: 12px; }
.footer-grid > div:first-child > p { white-space: pre-line; }
.footer-grid p, .footer-grid a, .footer-grid button { color: #aaa39a; font-size: 12px; line-height: 1.5; text-decoration: none; }
.footer-grid a, .footer-grid button { min-height: 44px; display: flex; align-items: center; padding-block: 8px; }
.copyright { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid #ffffff17; color: #817a72; font-size: 12px; }

/* Shared dialogs and forms */
.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; background: #211e1abd; opacity: 0; pointer-events: none; backdrop-filter: blur(6px); transition: opacity .2s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-card { position: relative; width: min(430px, calc(100% - 28px)); max-height: min(760px, calc(100vh - 32px)); overflow: auto; padding: 30px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-lg); transform: translateY(12px); transition: transform .2s; }
.modal.open .modal-card { transform: none; }
.modal-close { position: absolute; top: 7px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #777; font-size: 22px; cursor: pointer; transition: background .2s, color .2s; }
.modal-close:hover { background: #f1e8df; color: #a84f36; }
.modal h2 { margin: 7px 0; font: 500 28px Georgia, serif; }
.modal-card > p { color: #706960; font-size: 12px; line-height: 1.6; }
.checkout-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 17px 0; padding: 12px; background: #f0eae2; }
.checkout-trust span { font-size: 10px; }
.modal label, .pay-methods legend { font-size: 11px; font-weight: 800; }
.modal input { width: 100%; margin-top: 7px; padding: 13px; border: 1px solid #cec8be; background: #fff; }
.modal input.invalid { border-color: var(--danger); background: #fff7f5; }
.modal input.valid { border-color: var(--success); }
.field-help, .field-error { min-height: 17px; display: block; margin-top: 6px !important; font-size: 11px !important; text-align: left !important; }
.field-help { color: #777; }
.field-error { color: var(--danger); }
.pay-methods { margin: 16px 0 4px; padding: 0; border: 0; }
.pay-methods legend { margin-bottom: 8px; }
.pay-methods label { display: inline-flex; align-items: center; gap: 7px; margin: 0 8px 0 0; padding: 10px 13px; border: 1px solid #cec8be; background: #fff; cursor: pointer; }
.pay-methods label:has(input:checked) { border-color: var(--accent); background: #fff3ed; }
.pay-methods input { width: auto; margin: 0; accent-color: var(--accent); }
.pay-methods span { font-size: 12px; }
.order-summary, .wechat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 15px 0; padding: 14px; background: #f0eae2; }
.order-summary strong { font-size: 23px; }
.payment-amount-notice { display: flex; align-items: flex-start; gap: 7px; margin: -6px 0 15px; color: #9f4d36; font-size: 11px; font-weight: 750; line-height: 1.55; }
.payment-amount-notice span { flex: 0 0 15px; width: 15px; height: 15px; display: grid; place-items: center; margin-top: 1px; border-radius: 50%; background: #c96549; color: #fff; font: 800 10px/1 Arial, sans-serif; }
.order-form-actions { display: flex; gap: 9px; }
.order-form-actions > .button { flex: 1; }
.query-service-help { display: none; align-items: center; justify-content: center; gap: 7px; padding: 9px 10px; border: 1px solid #d9c2b3; border-radius: 12px; background: #fffaf6; color: #9c4d37; text-align: left; cursor: pointer; }
.query-service-help:not([hidden]) { display: flex; }
.query-service-help > span:first-child { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: #f3ded2; font-size: 19px; line-height: 1; }
.query-service-help > span:nth-child(2) { display: grid; gap: 2px; }
.query-service-help b { font-size: 11px; line-height: 1.1; }
.query-service-help small { color: #8d756a; font-size: 9px; line-height: 1.1; white-space: nowrap; }
.query-service-help > i { font-size: 21px; font-style: normal; }
#orderLegal a { color: var(--accent-dark); font-weight: 800; text-underline-offset: 2px; }
.modal-card > small { display: block; margin-top: 10px; color: #8d867e; font-size: 10px; text-align: center; }
.copy-disabled { opacity: .5; cursor: not-allowed !important; }
.order-result { margin: 18px 0 4px; padding: 17px; border-left: 3px solid var(--accent); background: #f1e9e1; }
.order-result h3 { margin: 0 0 12px; font-size: 17px; }
.order-result > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid #d7d1c7; font-size: 12px; }
.order-result > div b { overflow-wrap: anywhere; text-align: right; }
.order-result p { margin: 13px 0 0; color: #655f57; font-size: 12px; line-height: 1.65; }
#orderNoWrap input { display: block; }
.result-actions { display: flex; gap: 8px; margin-top: 14px; }
.result-actions button { flex: 1; }
.lookup-order-card { margin-top: 13px; padding: 14px; border: 1px solid #ded3c7; border-radius: 12px; background: #fffdf9; }
.lookup-order-card:first-of-type { margin-top: 0; }
.payment-countdown b { color: #a95138; font-variant-numeric: tabular-nums; }
.card-code { display: grid !important; grid-template-columns: 1fr auto !important; align-items: center; }
.card-code button { padding: 6px 9px; border: 1px solid #c9c2b8; background: #fff; color: var(--ink); cursor: pointer; }

/* Product details */
.product-detail-card { width: min(720px, calc(100% - 28px)); max-height: min(88vh, 820px); overflow: auto; }
.product-detail-cover { height: 190px; margin: -6px 0 24px; border: 1px solid #e2d6ca; border-radius: 16px; background-position: center; background-size: cover; background-repeat: no-repeat; }
.product-detail-card > h2 { margin-bottom: 8px; }
.product-detail-card > #productDetailIntro { margin: 0 0 22px; color: var(--muted); line-height: 1.75; }
.product-detail-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.product-detail-meta article { min-width: 0; padding: 14px 15px; border: 1px solid #e3d9ce; border-radius: 12px; background: #f5efe8; }
.product-detail-meta small, .product-detail-meta strong { display: block; }
.product-detail-meta small { color: #96887c; font-size: 10px; font-weight: 800; }
.product-detail-meta strong { margin-top: 6px; overflow-wrap: anywhere; color: #3e3731; font-size: 12px; }
.product-detail-content { padding: 18px; border-left: 3px solid var(--accent); background: #f6efe8; color: #5d554d; line-height: 1.85; white-space: pre-line; }
.product-detail-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 20px; margin: 20px 0; padding: 0; list-style: none; }
.product-detail-benefits li { position: relative; padding-left: 19px; color: #554d46; font-size: 12px; line-height: 1.65; }
.product-detail-benefits li::before { content: "✓"; position: absolute; left: 0; color: #a95038; font-weight: 900; }

/* Customer service */
.service-card { text-align: center; }
.qr-box { width: 220px; height: 220px; display: grid; place-items: center; margin: 20px auto; padding: 10px; border: 1px solid #cfc8bd; background: #fff; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder svg, .qr-placeholder b, .qr-placeholder small { display: block; }
.qr-placeholder svg { width: 34px; height: 34px; margin: 0 auto; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.qr-placeholder b { margin: 8px 0; font-size: 12px; }
.qr-placeholder small { color: #999; font-size: 10px; }
.wechat-row { text-align: left; }
.wechat-row span { color: #777; font-size: 11px; }
.wechat-row strong { font-size: 16px; }
.wechat-row button { padding: 8px 12px; border: 0; background: var(--ink); color: #fff; cursor: pointer; }
.service-hours, .service-note { color: #897d72 !important; font-size: 11px !important; line-height: 1.6; }
.service-note { display: block; margin-top: 13px; text-align: center; }

/* Local browser order history */
#orderModal .modal-card { max-height: min(92vh, 820px); }
.local-order-history { overflow: hidden; margin: 16px 0; border: 1px solid #ded3c7; border-radius: 13px; background: #fffaf6; }
.local-history-toggle { width: 100%; min-height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border: 0; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.local-history-toggle span > * { display: block; }
.local-history-toggle b { font-size: 13px; }
.local-history-toggle small { margin-top: 4px; color: #8b7f74; font-size: 10px; }
.local-history-toggle i { color: #a95138; font-size: 18px; font-style: normal; transition: transform .2s; }
.local-history-toggle.open i { transform: rotate(180deg); }
.local-history-panel { padding: 0 12px 12px; border-top: 1px solid #e7ddd3; }
.local-history-list { max-height: 310px; display: grid; gap: 9px; overflow: auto; padding-top: 12px; }
.local-history-list article { overflow: hidden; border: 1px solid #e2d7cb; border-radius: 11px; background: #fff; }
.local-order-select { width: 100%; display: grid; gap: 7px; padding: 12px; border: 0; background: #fff; color: #3f3832; text-align: left; cursor: pointer; }
.local-order-select:hover { background: #f9f2eb; }
.local-order-select > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.local-order-status { justify-self: start; padding: 4px 7px; border-radius: 999px; background: #eee8df; color: #675e56; font-size: 10px; line-height: 1.2; }
.local-order-status.pending_payment { background: #fff0e6; color: #aa5138; font-variant-numeric: tabular-nums; }
.local-order-status.fulfilled, .local-order-status.manual_completed { background: #e8f1e5; color: #55724f; }
.local-order-status.paid_waiting_stock, .local-order-status.manual_contacted { background: #fff4d9; color: #89651d; }
.local-resume-payment { width: calc(100% - 24px); min-height: 36px; margin: 0 12px 12px; border: 1px solid #c8694d; border-radius: 9px; background: #fff7f2; color: #a95138; font-size: 11px; font-weight: 800; cursor: pointer; }
.local-resume-payment:disabled { opacity: .55; cursor: wait; }
.local-order-select b { font-size: 12px; }
.local-order-select small { color: #968a7f; font-size: 9px; }
.local-order-select code { overflow-wrap: anywhere; font: 700 11px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; }
.local-order-select em { color: #71675e; font-size: 10px; font-style: normal; }
.local-card-code { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 9px 12px; border-top: 1px dashed #ded3c7; background: #f5eee7; }
.local-card-code span { color: #9b513b; font-size: 9px; font-weight: 800; }
.local-card-code code { overflow-wrap: anywhere; font-size: 10px; }
.local-card-code button, .local-history-clear { border: 0; background: transparent; color: #a95138; font-size: 10px; font-weight: 800; cursor: pointer; }
.local-history-clear { display: block; margin: 12px auto 0; }
.local-history-empty { margin: 0; padding: 15px 6px; color: #8a7f75; font-size: 10px; line-height: 1.6; text-align: center; }
.local-history-privacy { margin: 11px 0 0; padding: 10px 11px; border-radius: 9px; background: #f7eee6; color: #76685e; font-size: 11px; line-height: 1.6; }

/* Floating feedback */
.service-fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 54px; height: 54px; display: grid; place-items: center; padding: 7px; border: 1px solid #9d482f; border-radius: 17px 17px 5px 17px; background: linear-gradient(135deg, #b85339, #da7656); color: #fff; box-shadow: 0 12px 30px #aa51383a; cursor: pointer; transition: opacity .2s, transform .2s; }
.service-fab:hover { transform: translateY(-2px); }
.service-fab-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; background: #fff; color: var(--accent-dark); }
.service-fab-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-fab-copy { display: none; }
.service-fab-copy b { font-size: 12px; line-height: 1.15; }
.service-fab-copy small { color: #fff3eb; font-size: 9px; line-height: 1.15; }
.service-fab.is-hidden { opacity: 0; pointer-events: none; }
.toast { position: fixed; left: 50%; bottom: 88px; z-index: 150; padding: 11px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; opacity: 0; transform: translate(-50%, 20px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Payment result */
.payment-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.payment-card { width: min(560px, 100%); padding: 36px; border: 1px solid var(--line); background: #fff; box-shadow: 0 20px 70px #33271f14; }
.payment-card > .kicker { display: block; margin-top: 38px; }
.payment-card h1 { margin: 10px 0; font: 400 34px Georgia, "Songti SC", serif; }
.payment-card > p { color: var(--muted); line-height: 1.7; }
.payment-details { margin: 22px 0; padding: 14px; background: var(--soft); }
.payment-details > div { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.payment-details > div:last-child { border: 0; }
.payment-details b { overflow-wrap: anywhere; text-align: right; }
.payment-details .copyable-code { display: grid; grid-template-columns: auto 1fr; align-items: center; cursor: pointer; }
.payment-details .copyable-code b { padding: 8px 10px; border-radius: 8px; background: #fffdf9; color: #93452f; font-size: 12px; text-align: center; }
.payment-details .copyable-code b::after { content: '点击复制'; display: block; margin-top: 3px; color: #9a887b; font-size: 9px; font-weight: 600; }
.payment-actions { display: flex; gap: 10px; }
.payment-card > small { display: block; margin-top: 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.redeem-guide { margin: 22px 0; padding: 20px; border: 1px solid #ddc7ba; border-radius: 16px; background: linear-gradient(135deg, #fffaf6, #f4e8df); }
.redeem-guide > div > span { display: block; color: #a95038; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.redeem-guide h2 { margin: 7px 0 6px; font-size: 19px; font-weight: 800; line-height: 1.3; }
.redeem-guide p { margin: 0; color: #756a61; font-size: 12px; line-height: 1.7; }
.redeem-guide strong { overflow-wrap: anywhere; color: #91422f; }
.redeem-guide .button { width: 100%; margin-top: 15px; }
.redeem-guide .button b { font-size: 17px; }
.renewal-support { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 14px; border: 1px solid #d8b09f; border-radius: 11px; background: #fffdfa; color: #7f3c2d; cursor: pointer; text-align: left; transition: transform .18s ease, box-shadow .18s ease; }
.renewal-support:hover { transform: translateY(-1px); box-shadow: 0 8px 18px #a3523420; }
.renewal-support span { padding: 4px 7px; border-radius: 99px; background: #f5e0d5; color: #a84e35; font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.renewal-support strong { font-size: 13px; font-weight: 850; }
.renewal-support b { font-size: 17px; }
.redeem-guide > small { display: block; margin-top: 10px; color: #8b7f74; font-size: 10px; line-height: 1.6; text-align: center; }
.payment-support-modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; }
.payment-support-modal[hidden] { display: none; }
.payment-support-backdrop { position: absolute; inset: 0; border: 0; background: #171311aa; backdrop-filter: blur(6px); cursor: pointer; }
.payment-support-card { position: relative; z-index: 1; width: min(390px,100%); padding: 29px; border-radius: 20px; background: #fffdf9; box-shadow: 0 22px 70px #0004; text-align: center; }
.payment-support-close { position: absolute; top: 11px; right: 14px; border: 0; background: transparent; color: #776d65; font-size: 28px; line-height: 1; cursor: pointer; }
.payment-support-card > span { color: #b4573c; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.payment-support-card h2 { margin: 8px 0 9px; font-size: 25px; letter-spacing: -.04em; }
.payment-support-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.payment-support-qr { display: grid; min-height: 172px; margin: 20px 0 15px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: #f5f1eb; color: var(--muted); font-size: 13px; }
.payment-support-qr img { display: block; width: 172px; height: 172px; object-fit: contain; border-radius: 10px; background: #fff; }
.payment-support-id { display: flex; align-items: center; gap: 10px; padding: 13px; border-radius: 12px; background: #f1ece5; text-align: left; }
.payment-support-id span { color: var(--muted); font-size: 12px; }.payment-support-id strong { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }.payment-support-id button { padding: 7px 10px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.payment-support-card > small { display: block; min-height: 16px; margin-top: 10px; color: #a04b36; font-size: 12px; }

/* Legal and 404 pages */
.legal-page { min-height: 100vh; background: #f8f4ee; }
.legal-nav { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #e0d6cb; background: #faf7f1ef; backdrop-filter: blur(14px); }
.legal-nav .shell { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.legal-nav a:last-child { color: #8d4633; font-size: 13px; font-weight: 800; text-decoration: none; }
.legal-main { padding-block: 64px 84px; }
.legal-hero { max-width: 760px; margin-bottom: 38px; }
.legal-hero h1 { margin: 14px 0 18px; font: 500 clamp(38px, 6vw, 64px) / 1.08 Georgia, "Songti SC", serif; }
.legal-hero p { color: #70675f; line-height: 1.8; }
.legal-sections { display: grid; gap: 18px; }
.legal-section { scroll-margin-top: 94px; padding: 30px; border: 1px solid #dfd4c8; border-radius: 18px; background: var(--white); box-shadow: 0 16px 38px #4b372609; }
.legal-section h2 { margin: 0 0 16px; font-size: 24px; }
.legal-section h3 { margin: 22px 0 8px; font-size: 15px; }
.legal-section p, .legal-section li { color: #625a53; font-size: 13px; line-height: 1.85; }
.legal-section ul { padding-left: 20px; }
.legal-note { padding: 14px 16px; border-left: 3px solid var(--accent); background: #f6e8df; }
.legal-updated { margin-top: 28px; color: #8c8178; font-size: 12px; }

@media (max-width: 1000px) {
  .ai-service-banner { grid-template-columns: 1fr auto; }
  .ai-service-copy { grid-column: 1 / -1; }
  .ai-service-models { flex-wrap: wrap; }
}

@media (max-width: 900px) {
  .nav { width: min(1120px, calc(100% - 48px)); border-radius: 0; }
  .nav nav { display: none; }
  .hero h1 { font-size: 60px; }
  .hero-trust-grid { max-width: 620px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .hero-trust-grid article { justify-content: flex-start; gap: 10px; padding: 14px 10px; border-right: 1px solid #e1d7cb; border-bottom: 1px solid #e1d7cb; }
  .hero-trust-grid article:nth-child(2n) { border-right: 0; }
  .hero-trust-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
  .support-grid, .notice-grid, .process-layout { grid-template-columns: 1fr; }
  .notice-grid, .process-layout { gap: 35px; }
  .plans { gap: 20px; }
  .plan { width: min(100%, 620px); margin-inline: auto; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .process-step { display: block; padding: 18px; }
  .process-step > span { margin-bottom: 15px; }
  .process-step h3 { font-size: 18px; }
  .story-track { grid-template-columns: 1fr; }
  .story-track article, .story-track article > p { min-height: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 74px; }
  main > section[id] { scroll-margin-top: 74px; }
  .shell { width: min(100% - 28px, 1120px); }
  .announcement { border-bottom: 0; }
  .announcement .shell { min-height: 44px; width: min(100% - 28px, 1120px); justify-content: flex-start; font-size: 10px; }
  .announcement a { margin-left: auto; border-bottom: 0; white-space: nowrap; }
  .announcement-dot { display: none; }
  .nav { width: 100%; height: 64px; padding-inline: 14px; border: 0; border-bottom: 1px solid #e4dbd1; border-radius: 0; box-shadow: none; }
  .learning-entry { min-height: 34px; padding: 7px 10px; font-size: 0; }
  .learning-entry::before { content: '教程'; font-size: 12px; }
  .learning-entry span { font-size: 13px; }
  .brand { font-size: 19px; }
  .section { padding-block: 52px; }
  .section h2 { font-size: 34px; }
  .section-head { display: block; margin-bottom: 30px; }
  .section-head > p { margin-top: 14px; }
  .hero { width: min(100% - 28px, 980px); padding-block: 42px 28px; gap: 30px; }
  #plans { padding-top: 22px; scroll-margin-top: 8px; }
  .hero h1 { margin-top: 22px; font-size: 43px; line-height: 1.08; }
  .hero-highlight { min-height: 38px; font-size: 25px; }
  .hero #typewriterText { min-width: 0; }
  .type-caret { height: .65em; }
  .hero-copy > p { font-size: 15px; line-height: 1.72; }
  .hero-actions { display: grid; margin: 24px 0 10px; }
  .button { width: 100%; }
  .hero-primary { width: 100%; min-width: 0; min-height: 58px; }
  .pro-entry { font-size: 12px; }
  .service-signal { align-items: flex-start; margin: 23px auto 27px; }
  .service-signal strong { font-size: 14px; }
  .signal-icons span { width: 28px; height: 28px; }
  .hero-trust-grid { gap: 0; margin-bottom: 10px; }
  .hero-trust-grid article { gap: 8px; padding: 11px 5px; }
  .hero-trust-grid b { font-size: 14px; }
  .hero-trust-grid small { margin-top: 3px; font-size: 10px; }
  .trust-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
  .remote-guidance { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 11px; margin-bottom: 10px; padding: 11px 12px; border-radius: 14px; }
  .remote-guidance-icon { width: 44px; height: 44px; border-radius: 12px; }
  .remote-guidance-icon svg { width: 23px; height: 23px; }
  .remote-guidance-copy strong { font-size: 14px; }
  .remote-guidance-copy small { font-size: 10px; }
  .mobile-swipe-hint { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 0; color: #8c7f74; font-size: 11px; font-weight: 800; }
  .mobile-swipe-hint span { color: var(--accent-dark); font-size: 18px; }
  .plans { display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; margin-inline: -14px; padding: 16px 14px 13px; scroll-padding-inline: 14px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .plans::-webkit-scrollbar { display: none; }
  .plans .plan { min-width: 86%; margin-inline: 0; scroll-snap-align: center; }
  .plan, .plan.featured { padding: 20px; }
  .plan h3 { margin: 16px 0 6px; font-size: 22px; }
  .plan > p { margin: 0; }
  .price { margin: 15px 0; }
  .plan dl { margin-bottom: 11px; padding: 10px; }
  .plan-assurance-inline { max-width: 145px; margin-left: 3px; padding: 4px 6px; font-size: 8px !important; white-space: normal; }
  .plan-detail-button { min-height: 46px; margin-top: 8px; }
  .plan-benefits { margin-top: 11px; }
  .compare { display: block; margin-top: 15px; padding: 14px; }
  .compare button { padding: 0; }
  .ai-service-banner { grid-template-columns: 1fr; gap: 22px; margin-top: 20px; padding: 25px 20px; border-radius: 17px; }
  .ai-service-copy { grid-column: auto; }
  .ai-service-copy h3 { font-size: 24px; }
  .ai-service-models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
  .ai-model { min-width: 0; grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 9px 4px; }
  .ai-model b { font-size: 10px; }
  .ai-model-icon { width: 34px; height: 34px; }
  .ai-service-enter { width: 100%; }
  .notice-grid { gap: 26px; }
  .notice-list article { padding: 14px 0; }
  .process-section .center-head { margin-bottom: 24px; }
  .process-layout { gap: 22px; }
  .process-list { grid-template-columns: 1fr; gap: 10px; }
  .process-step { display: grid; grid-template-columns: 46px 1fr; padding: 14px; border-color: #e5ddd4; }
  .process-step > span { width: 40px; height: 40px; margin: 0; }
  .process-step h3 { font-size: 17px; }
  .process-step p { font-size: 12px; }
  .process-visual { padding: 0 14px 18px; border-radius: 17px; }
  .browser-chrome { height: 48px; margin: 0 -14px 16px; padding: 0 15px; }
  .process-screen { padding: 14px; }
  .process-success { min-height: 142px; padding: 17px; }
  .process-success > span { width: 49px; height: 49px; margin-bottom: 12px; }
  .process-success b { font-size: 19px; }
  .process-data { grid-template-columns: 1fr; }
  .process-data article { padding: 14px; }
  .process-data code, .process-data strong { margin-top: 10px; }
  .support-grid article { padding: 21px; }
  .story-track { display: flex; overflow-x: auto; margin-inline: -14px; padding: 0 14px 10px; scroll-snap-type: x mandatory; }
  .story-track article { min-width: 82%; scroll-snap-align: center; }
  .faq-search { height: 54px; padding-inline: 16px; }
  .faq-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding: 0 14px 4px; }
  .faq-tabs button { white-space: nowrap; }
  .accordions details { padding: 0 18px; }
  .accordions summary { min-height: 58px; }
  .accordions details p { margin: 0 -18px; padding-inline: 18px; }
  .faq-contact { display: grid; gap: 14px; text-align: center; }
  .footer { padding-top: 46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .copyright { display: block; line-height: 2; }
  .checkout-trust { grid-template-columns: 1fr; }
  .modal-card { max-height: calc(100dvh - 24px); padding: 25px; }
  .product-detail-card { max-height: 92vh; padding: 24px 20px; }
  .product-detail-cover { height: 145px; }
  .product-detail-meta, .product-detail-benefits { grid-template-columns: 1fr; }
  .product-detail-meta { gap: 8px; }
  .product-detail-content { padding: 15px; }
  .result-actions, .payment-actions, .order-form-actions { display: grid; }
  .card-code, .payment-details .card-code { grid-template-columns: 1fr !important; }
  .card-code button { width: 100%; }
  .qr-box { width: 180px; height: 180px; }
  #orderModal .modal-card { max-height: 94vh; }
  .local-history-list { max-height: 260px; }
  .local-order-select > span { align-items: flex-start; flex-direction: column; gap: 3px; }
  .local-card-code { grid-template-columns: 1fr auto; }
  .local-card-code span { grid-column: 1 / -1; }
  .local-order-select small, .local-card-code span { font-size: 10px; }
  .local-order-select em, .local-card-code code, .local-card-code button, .local-history-clear { font-size: 11px; }
  .service-fab { right: 12px; bottom: calc(18px + env(safe-area-inset-bottom)); width: 52px; height: 52px; min-width: 0; min-height: 0; padding: 7px; border-radius: 16px 16px 5px 16px; }
  .service-fab-icon { width: 36px; height: 36px; border-radius: 12px; }
  .service-fab.context-hidden { visibility: hidden; opacity: 0 !important; pointer-events: none; }
  .live-tip { right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); left: 14px; width: auto; }
  .live-tip:not(.show) { display: none; }
  .payment-card { padding: 24px 20px; }
  .payment-card h1 { font-size: 28px; }
  .payment-details > div { align-items: flex-start; }
  .redeem-guide { padding: 17px; }
  .legal-nav .shell { min-height: 64px; }
  .legal-main { padding-block: 42px 64px; }
  .legal-hero { margin-bottom: 26px; }
  .legal-section { padding: 22px 18px; border-radius: 14px; }
  .legal-section h2 { font-size: 21px; }
}

@media (max-width: 600px) {
  .astra-page { padding: 28px 0 48px; }
  .astra-hero { margin-bottom: 24px; text-align: left; }
  .astra-hero h1 { font-size: 42px; }
  .astra-hero > p { font-size: 14px; }
  .astra-stats { justify-content: flex-start; gap: 6px; }
  .astra-stats span { padding: 6px 8px; font-size: 10px; }
  .astra-subscribe, .astra-bottom-cta { display: grid; gap: 17px; padding: 21px; border-radius: 16px; }
  .astra-subscribe b, .astra-bottom-cta h2 { font-size: 19px; }
  .astra-subscribe .button, .astra-bottom-cta .button { width: 100%; }
  .astra-explainer { display: block; margin: 13px 0 23px; padding: 13px 14px; }
  .astra-explainer p { margin-top: 5px; font-size: 12px; }
  .astra-filters { justify-content: flex-start; gap: 6px; }
  .astra-filters button { padding: 7px 10px; font-size: 11px; }
  .astra-grid { grid-template-columns: 1fr; gap: 10px; }
  .astra-card { min-height: 0; padding: 10px 18px 18px; border-radius: 15px; }
  .astra-cover { height: 126px; margin: 0 -8px 14px; }
  .astra-card h2 { margin: 14px 0 8px; font-size: 18px; }
  .astra-card p { font-size: 12px; }
  .astra-bottom-cta { margin-top: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .type-caret { animation: none; }
}
/* Payment returns can open in a browser without the original local history. */
#paymentContactForm{display:grid;gap:12px;margin:20px 0;text-align:left}
#paymentContactForm[hidden]{display:none}
#paymentContactForm input{width:100%;box-sizing:border-box;border:1px solid #dfd3c8;border-radius:12px;padding:13px;background:#fffdf9;font:inherit}
