:root {
    --ink: #152033;
    --muted: #667085;
    --muted-2: #98a2b3;
    --line: #e7eaf0;
    --paper: #f7f9fc;
    --surface: #ffffff;
    --accent: #1c68f2;
    --accent-dark: #124dc0;
    --accent-soft: #edf4ff;
    --coral: #f05d4f;
    --success: #1aa06d;
    --radius: 8px;
    --shadow: 0 14px 35px rgba(20, 37, 63, .07);
    --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "MiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 15px; line-height: 1.7; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin: 0 auto; }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 210px; }
.brand-mark { width: 39px; height: 39px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .05em; }
.brand-copy { display: grid; gap: 0; line-height: 1.15; }
.brand-copy strong { font-size: 16px; letter-spacing: .02em; }
.brand-copy small { color: var(--muted-2); font-size: 8px; letter-spacing: .14em; }
.primary-nav { display: flex; align-items: center; gap: 6px; flex: 1; }
.primary-nav a { color: var(--muted); padding: 9px 13px; border-radius: 6px; transition: color .2s, background .2s; }
.primary-nav a:hover, .primary-nav a.is-active { color: var(--accent); background: var(--accent-soft); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.button, .icon-button { border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.button { min-height: 42px; padding: 0 17px; border-radius: 6px; font-weight: 700; }
.button:active, .icon-button:active { transform: translateY(1px); }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { color: var(--accent); background: var(--surface); border-color: #c9dafa; }
.button-secondary:hover { background: var(--accent-soft); border-color: var(--accent); }
.button-quiet { color: var(--accent); background: var(--accent-soft); }
.button-light { color: var(--ink); background: #fff; }
.button-block { width: 100%; }
.icon-button { width: 39px; height: 39px; padding: 0; border-radius: 6px; background: transparent; }
.icon-button:hover { color: var(--accent); background: var(--accent-soft); }
.icon-button svg, .button svg, .eyebrow svg { width: 17px; height: 17px; stroke-width: 1.8; }
.mobile-menu-button { display: none; }
.flash { position: relative; z-index: 21; margin-top: 14px; padding: 11px 14px; display: flex; align-items: center; gap: 9px; border-radius: 6px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.flash-success { color: #0f7d52; border-color: #b9e7d2; }
.flash-error { color: #b42318; border-color: #f3c2bd; }
.flash .icon-button { margin-left: auto; width: 28px; height: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-light { color: #a7c7ff; }
.section { padding-top: 86px; padding-bottom: 86px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: 56px; letter-spacing: 0; }
h2 { margin-bottom: 12px; font-size: 30px; }
h3 { margin-bottom: 8px; font-size: 18px; }
.section-heading h2 { margin: 7px 0 0; }
.section-heading p, .page-intro p { color: var(--muted); }
.text-link { display: inline-flex; gap: 7px; align-items: center; color: var(--accent); font-weight: 700; white-space: nowrap; }
.text-link svg { width: 16px; }

/* Home */
.home-hero { position: relative; min-height: 580px; overflow: hidden; background: #dfe7f2 url('/assets/images/qingfeng-nav.webp') center right / cover no-repeat; border-bottom: 1px solid #d5ddea; }
.home-hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 58%; background: rgba(247,249,252,.94); }
.hero-inner { position: relative; min-height: 580px; display: flex; align-items: center; }
.hero-copy { width: min(550px, 100%); padding: 70px 0; }
.hero-copy h1 { max-width: 550px; margin: 16px 0 20px; font-size: 68px; }
.hero-copy p { max-width: 510px; margin-bottom: 30px; color: #46566e; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 45px; color: var(--muted); font-size: 13px; }
.hero-proof strong { display: block; color: var(--ink); font-size: 18px; }
.proof-band { background: #fff; border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 0; }
.proof-grid > div { display: flex; align-items: center; gap: 12px; padding: 4px 20px; border-right: 1px solid var(--line); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid svg { width: 22px; height: 22px; color: var(--accent); }
.proof-grid span { display: grid; line-height: 1.4; }
.proof-grid small { color: var(--muted-2); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .22s, box-shadow .22s, border-color .22s; }
.product-card:hover { transform: translateY(-3px); border-color: #bfd2f4; box-shadow: var(--shadow); }
.product-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #edf1f7; }
.product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-cover img { transform: scale(1.035); }
.product-cover > span { position: absolute; left: 12px; top: 12px; padding: 2px 8px; background: rgba(21,32,51,.86); color: #fff; border-radius: 4px; font-size: 11px; }
.product-card-body { padding: 18px 18px 16px; }
.product-meta { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 12px; }
.product-card h3 { margin: 10px 0 8px; }
.product-card h3 a:hover { color: var(--accent); }
.product-card p { min-height: 48px; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.product-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 12px; }
.product-card-footer strong { color: var(--ink); font-size: 20px; }
.section-ink { color: #fff; background: #152033; }
.workflow-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.workflow-intro p { max-width: 430px; color: #a9b6c9; }
.workflow-intro h2 { max-width: 420px; font-size: 40px; }
.workflow-list { margin: 0; padding: 0; list-style: none; }
.workflow-list li { display: flex; gap: 20px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.workflow-list li > span { color: #75a7ff; font-family: ui-monospace, monospace; }
.workflow-list strong { font-size: 18px; }
.workflow-list p { margin: 5px 0 0; color: #a9b6c9; }
.question-preview-list { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.question-row { display: flex; align-items: center; gap: 14px; padding: 17px 20px; border-bottom: 1px solid var(--line); transition: background .2s; }
.question-row:last-child { border-bottom: 0; }
.question-row:hover { background: #f8fbff; }
.question-main { min-width: 0; display: grid; gap: 4px; flex: 1; }
.question-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.question-main small { color: var(--muted-2); }
.question-metrics { display: flex; gap: 12px; color: var(--muted-2); font-size: 12px; }
.question-metrics span { display: inline-flex; align-items: center; gap: 4px; }
.question-metrics svg { width: 14px; height: 14px; }
.avatar { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #dceaff; color: var(--accent); font-weight: 800; }
.avatar-large { width: 70px; height: 70px; font-size: 26px; }

/* Shared public pages */
.page-intro { padding: 78px 0 70px; background: #fff; border-bottom: 1px solid var(--line); }
.page-intro h1 { margin: 12px 0 10px; }
.page-intro p { max-width: 600px; margin-bottom: 0; font-size: 17px; }
.store-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.segmented { display: inline-flex; gap: 3px; padding: 4px; background: #edf1f6; border-radius: 7px; }
.segmented a { padding: 7px 14px; border-radius: 5px; color: var(--muted); }
.segmented a:hover, .segmented a.is-active { color: var(--accent); background: #fff; box-shadow: 0 2px 8px rgba(20,37,63,.08); }
.search-control, .community-search { display: flex; align-items: center; min-width: min(360px, 100%); height: 43px; padding-left: 13px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.search-control:focus-within, .community-search:focus-within { border-color: #9dbbf2; box-shadow: 0 0 0 3px var(--accent-soft); }
.search-control > svg, .community-search > svg { width: 17px; color: var(--muted-2); }
.search-control input, .community-search input { width: 100%; min-width: 0; height: 100%; padding: 0 10px; border: 0; outline: 0; background: transparent; }
.search-control .icon-button { flex: 0 0 auto; width: 38px; height: 37px; }
.store-product-grid { grid-template-columns: repeat(3, 1fr); }
.compact .product-card p { min-height: unset; }
.product-hero { position: relative; min-height: 530px; display: flex; align-items: center; overflow: hidden; background: #152033; color: #fff; }
.product-hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: saturate(.75); }
.product-hero::after { content: ""; position: absolute; inset: 0; width: 55%; background: rgba(21,32,51,.93); }
.product-hero-inner { position: relative; z-index: 1; }
.product-hero-copy { max-width: 570px; padding: 70px 0; }
.product-hero h1 { max-width: 550px; margin: 14px 0; }
.product-hero p { max-width: 510px; color: #c1cddd; font-size: 18px; }
.product-price { display: flex; align-items: baseline; gap: 14px; margin: 26px 0; }
.product-price strong { font-size: 32px; }
.product-price span { color: #a9b6c9; }
.product-subnav { position: sticky; top: 76px; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.product-subnav .shell { display: flex; gap: 28px; overflow-x: auto; }
.product-subnav a { padding: 15px 0; color: var(--muted); white-space: nowrap; }
.product-subnav a:hover { color: var(--accent); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 65px; }
.product-content > h2 { margin: 10px 0 20px; font-size: 34px; }
.rich-text { color: #48566a; font-size: 16px; line-height: 2; }
.rich-text br + br { display: block; content: ""; margin-top: 14px; }
.product-shot { margin: 36px 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-shot img { width: 100%; border-radius: 4px; }
.product-shot figcaption { padding: 9px 5px 2px; color: var(--muted-2); font-size: 12px; }
.feature-list { margin-top: 60px; }
.feature-list h2 { margin-bottom: 20px; }
.feature-list > div { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.feature-list > div > span { color: var(--accent); font-family: ui-monospace, monospace; font-size: 12px; }
.feature-list > div > strong { flex: 1; }
.feature-list > div > svg { width: 17px; color: var(--success); }
.support-panel { display: flex; gap: 18px; margin-top: 60px; padding: 22px; background: var(--accent-soft); border: 1px solid #cfe0ff; border-radius: var(--radius); }
.support-panel > svg { flex: 0 0 auto; color: var(--accent); }
.support-panel h2 { margin-bottom: 7px; font-size: 21px; }
.support-panel p { margin: 0; color: var(--muted); }
.purchase-panel { position: sticky; top: 140px; padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-badge, .tag { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px; background: #eef2f7; color: var(--muted); font-size: 12px; }
.tag-accent { color: #c53c32; background: #fff0ed; }
.tag-admin { margin-left: 8px; color: var(--accent); background: var(--accent-soft); }
.purchase-panel h2 { margin: 14px 0 4px; font-size: 25px; }
.purchase-price { display: block; margin: 7px 0 22px; font-size: 32px; }
.purchase-panel ul { margin: 0 0 24px; padding: 18px 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.purchase-panel li { display: flex; align-items: center; gap: 9px; padding: 5px 0; color: var(--muted); }
.purchase-panel li svg { width: 16px; color: var(--success); }
.purchase-panel > p { margin: 12px 0 0; color: var(--muted-2); font-size: 12px; text-align: center; }
.community-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 28px; align-items: start; }
.community-search { margin-bottom: 17px; }
.community-search .button { margin-right: 4px; min-height: 35px; }
.category-tabs { display: flex; gap: 17px; overflow-x: auto; margin-bottom: 15px; border-bottom: 1px solid var(--line); }
.category-tabs a { position: relative; padding: 9px 0 13px; color: var(--muted); white-space: nowrap; }
.category-tabs a.is-active { color: var(--accent); font-weight: 700; }
.category-tabs a.is-active::after { content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--accent); }
.question-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.question-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.question-item:last-child { border-bottom: 0; }
.question-item:hover { background: #f8fbff; }
.question-item .question-main { gap: 6px; }
.question-item .question-main > strong { white-space: normal; }
.question-item .question-main small { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.question-item .question-main small > span:not(.tag) { color: var(--muted-2); }
.community-side { display: grid; gap: 10px; }
.side-panel { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.side-panel h3 { margin-bottom: 12px; }
.side-panel p { margin: 0; color: var(--muted); font-size: 13px; }
.side-panel a { display: block; padding: 9px 0; border-top: 1px solid var(--line); color: #4e5c71; font-size: 13px; }
.side-panel a:hover { color: var(--accent); }
.form-page { max-width: 850px; }
.form-heading { margin-bottom: 30px; }
.form-heading h1 { margin: 12px 0 8px; font-size: 42px; }
.form-heading p { color: var(--muted); }
.content-form, .auth-form { display: grid; gap: 19px; padding: 29px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.content-form label, .auth-form label { display: grid; gap: 7px; }
.content-form label > span, .auth-form label > span { font-weight: 700; }
.content-form input, .content-form select, .content-form textarea, .auth-form input { width: 100%; padding: 12px 13px; border: 1px solid #dce2eb; border-radius: 6px; outline: 0; background: #fff; }
.content-form input:focus, .content-form select:focus, .content-form textarea:focus, .auth-form input:focus { border-color: #9dbbf2; box-shadow: 0 0 0 3px var(--accent-soft); }
.content-form textarea { resize: vertical; min-height: 150px; }
.content-form small, .auth-form small { color: var(--muted-2); font-size: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 5px; }
.question-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 28px; align-items: start; }
.question-detail { min-width: 0; padding: 28px 32px 35px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.breadcrumbs { display: flex; align-items: center; gap: 7px; margin-bottom: 28px; color: var(--muted-2); font-size: 13px; }
.breadcrumbs svg { width: 14px; }
.breadcrumbs a:hover { color: var(--accent); }
.question-detail header h1 { margin: 12px 0 19px; font-size: 42px; }
.question-labels { display: flex; gap: 7px; }
.author-line { display: flex; align-items: center; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.author-line > span:last-child { display: grid; line-height: 1.4; }
.author-line small { color: var(--muted-2); }
.question-body { padding: 27px 0 34px; }
.answers-heading { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 25px; }
.answers-heading h2 { font-size: 22px; }
.answers-heading > span { color: var(--muted-2); font-size: 13px; }
.answer { display: flex; gap: 13px; padding: 20px 0; border-top: 1px solid var(--line); }
.answer > div { flex: 1; }
.answer header { display: flex; align-items: center; gap: 10px; }
.answer time { color: var(--muted-2); font-size: 12px; }
.answer p { margin: 9px 0 0; color: #48566a; white-space: pre-wrap; }
.answer.is-accepted { margin: 0 -14px; padding: 20px 14px; background: #f1fbf6; border-left: 3px solid var(--success); }
.accepted-mark { display: inline-flex; align-items: center; gap: 5px; margin-top: 9px; color: var(--success); font-size: 12px; font-weight: 700; }
.accepted-mark svg { width: 15px; }
.answer-form { display: grid; gap: 13px; margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--line); }
.answer-form label { display: grid; gap: 7px; }
.answer-form textarea { width: 100%; resize: vertical; padding: 12px; border: 1px solid #dce2eb; border-radius: 6px; outline: 0; }
.answer-form textarea:focus { border-color: #9dbbf2; box-shadow: 0 0 0 3px var(--accent-soft); }
.answer-form .button { justify-self: end; }
.login-prompt { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 15px; color: var(--muted); background: var(--accent-soft); border-radius: 6px; }
.login-prompt svg { color: var(--accent); }
.login-prompt .button { margin-left: auto; min-height: 36px; }
.status-line { display: flex; gap: 8px; align-items: center; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.status-dot.resolved, .status-dot.active { background: var(--success); }
.auth-section { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 76px); background: #fff; }
.auth-visual { display: flex; align-items: center; min-height: 660px; padding: 70px max(50px, calc((100vw - 1180px) / 2)); padding-right: 90px; color: #fff; background: #152033 url('/assets/images/qingfeng-nav.webp') center / cover no-repeat; }
.auth-visual > div { max-width: 430px; }
.auth-visual h1 { margin: 15px 0; font-size: 54px; }
.auth-visual p { color: #c8d4e7; font-size: 17px; }
.auth-visual ul { display: grid; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; color: #c8d4e7; }
.auth-visual li { display: flex; gap: 9px; align-items: center; }
.auth-visual li svg { width: 18px; color: #8fb7ff; }
.auth-form-wrap { display: grid; place-items: center; padding: 50px max(32px, calc((100vw - 1180px) / 2)); padding-left: 90px; }
.auth-form { width: min(430px, 100%); padding: 0; border: 0; }
.auth-form header { margin-bottom: 8px; }
.auth-form header h2 { margin: 12px 0 7px; font-size: 32px; }
.auth-form header p { color: var(--muted); }
.password-control { position: relative; display: flex !important; align-items: center; }
.password-control input { padding-right: 48px; }
.password-control .icon-button { position: absolute; right: 4px; }
.auth-switch { margin: 5px 0 0; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--accent); font-weight: 700; }
.member-hero { padding: 50px 0; color: #fff; background: #152033; }
.member-profile { display: flex; align-items: center; gap: 16px; }
.member-profile > div { flex: 1; }
.member-profile h1 { margin: 4px 0 3px; font-size: 32px; }
.member-profile p, .member-profile > div > span { margin: 0; color: #a9b6c9; }
.member-profile .button { flex: 0 0 auto; }
.member-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 25px; align-items: start; }
.member-nav { display: grid; gap: 4px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.member-nav a { display: flex; align-items: center; gap: 9px; padding: 10px; color: var(--muted); border-radius: 5px; }
.member-nav a:hover, .member-nav a.is-active { color: var(--accent); background: var(--accent-soft); }
.member-nav svg { width: 17px; }
.member-nav span { margin-left: auto; color: var(--muted-2); font-size: 12px; }
.member-content { min-width: 0; display: grid; gap: 20px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.metric-grid > div { position: relative; min-height: 120px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.metric-grid span { color: var(--muted); }
.metric-grid strong { display: block; margin-top: 7px; font-size: 30px; }
.metric-grid svg { position: absolute; top: 20px; right: 20px; color: var(--accent); }
.member-panel { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-heading h1, .panel-heading h2 { margin: 5px 0 0; }
.panel-heading a:not(.button) { color: var(--accent); font-size: 13px; }
.order-list { display: grid; }
.order-item { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-top: 1px solid var(--line); }
.order-item img { flex: 0 0 auto; width: 90px; height: 57px; object-fit: cover; border-radius: 4px; background: #edf1f7; }
.order-main { min-width: 0; display: grid; flex: 1; }
.order-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-main small { color: var(--muted-2); }
.order-status { padding: 4px 8px; border-radius: 4px; font-size: 12px; white-space: nowrap; }
.status-pending { color: #9a6700; background: #fff6d8; }
.status-paid { color: #087443; background: #e9f9f0; }
.status-cancelled, .status-refunded { color: #b42318; background: #fff0ed; }
.support-banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px; color: #fff; background: var(--accent); border-radius: var(--radius); }
.support-banner h2 { margin: 7px 0; }
.support-banner p { margin: 0; color: #d8e6ff; }
.license-list { display: grid; }
.license-list > div { display: flex; align-items: center; gap: 11px; padding: 15px 0; border-top: 1px solid var(--line); }
.license-list > div > span:nth-child(2) { min-width: 0; display: grid; flex: 1; }
.license-list small, .license-list time { color: var(--muted-2); }
.error-page { min-height: 520px; display: grid; place-content: center; justify-items: start; }
.error-page > span { color: var(--accent); font-family: ui-monospace, monospace; font-size: 78px; font-weight: 800; line-height: 1; }
.error-page h1 { margin: 12px 0; font-size: 32px; }
.error-page p { color: var(--muted); }
.error-page > div { display: flex; gap: 10px; }
.empty-state { display: grid; justify-items: center; gap: 8px; padding: 45px 20px; color: var(--muted); }
.empty-state.large { min-height: 270px; align-content: center; }
.empty-state svg { width: 36px; height: 36px; margin-bottom: 5px; color: #9bb0ce; }
.empty-state strong { color: var(--ink); }
.empty-state a { color: var(--accent); font-weight: 700; }

/* Footer */
.site-footer { padding: 60px 0 22px; color: #c1cddd; background: #152033; }
.brand-light .brand-mark { background: #fff; color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.35fr .7fr; gap: 60px; padding-bottom: 50px; }
.footer-brand p { max-width: 300px; margin: 20px 0 16px; color: #91a0b6; font-size: 13px; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; color: #91a0b6; font-size: 12px; }
.footer-status span { width: 7px; height: 7px; border-radius: 50%; background: #4ad39a; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.footer-links div { display: grid; align-content: start; gap: 8px; }
.footer-links strong, .footer-contact strong { color: #fff; }
.footer-links a { color: #91a0b6; font-size: 13px; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; }
.footer-contact p { color: #91a0b6; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #718198; font-size: 12px; }
.footer-bottom a { color: #91a0b6; }

@media (max-width: 900px) {
    :root { --shell: min(100% - 32px, 720px); }
    .header-inner { min-height: 64px; gap: 9px; }
    .brand { min-width: 0; flex: 1; }
    .brand-copy small { display: none; }
    .mobile-menu-button { display: inline-flex; }
    .primary-nav { position: absolute; top: calc(100% + 1px); left: 16px; right: 16px; display: none; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); }
    .primary-nav.is-open { display: grid; }
    .header-member span { display: none; }
    .header-member { width: 39px; padding: 0; }
    .home-hero, .hero-inner { min-height: 620px; }
    .home-hero::before { width: 100%; background: rgba(247,249,252,.88); }
    .hero-copy { padding: 60px 0; }
    .hero-copy p { font-size: 16px; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 15px 0; }
    .proof-grid > div:nth-child(2) { border-right: 0; }
    .proof-grid > div:nth-child(3), .proof-grid > div:nth-child(4) { padding-top: 12px; }
    .product-grid, .store-product-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow-grid { grid-template-columns: 1fr; gap: 35px; }
    .product-detail-grid, .community-layout, .question-detail-layout { grid-template-columns: 1fr; }
    .purchase-panel { position: static; }
    .community-side, .question-side { grid-template-columns: repeat(2, 1fr); }
    .community-side > :first-child, .community-side > :nth-child(2) { grid-column: span 1; }
    .question-side { order: -1; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
    .footer-contact { grid-column: span 2; }
    .auth-section { grid-template-columns: 1fr; }
    .auth-visual { min-height: 350px; padding: 50px var(--shell); }
    .auth-visual h1 { font-size: 42px; }
    .auth-visual ul { display: none; }
    .auth-form-wrap { padding: 55px var(--shell); }
}

@media (max-width: 560px) {
    :root { --shell: calc(100% - 28px); }
    body { font-size: 14px; }
    .header-inner { min-height: 58px; }
    .brand-mark { width: 35px; height: 35px; }
    .brand-copy strong { font-size: 14px; }
    .header-actions { gap: 2px; }
    .icon-button { width: 35px; height: 35px; }
    .section { padding-top: 54px; padding-bottom: 54px; }
    h2 { font-size: 26px; }
    .home-hero, .hero-inner { min-height: 560px; }
    .hero-copy h1 { font-size: 46px; }
    .hero-proof { gap: 16px; margin-top: 32px; }
    .proof-grid { gap: 0; }
    .proof-grid > div { padding: 12px 5px !important; border-right: 0; }
    .proof-grid small { font-size: 11px; }
    .section-heading { align-items: start; flex-direction: column; gap: 12px; }
    .product-grid, .store-product-grid { grid-template-columns: 1fr; }
    .product-card p { min-height: unset; }
    .store-toolbar { align-items: stretch; flex-direction: column; }
    .segmented { justify-content: space-between; }
    .segmented a { flex: 1; padding-left: 7px; padding-right: 7px; text-align: center; }
    .search-control { min-width: 100%; }
    .page-intro { padding: 55px 0 48px; }
    .page-intro h1 { font-size: 42px; }
    .product-hero { min-height: 620px; align-items: end; }
    .product-hero::after { width: 100%; height: 70%; inset: auto 0 0; background: rgba(21,32,51,.94); }
    .product-hero-media { opacity: .45; object-position: 50% 0; }
    .product-hero-copy { padding: 45px 0; }
    .product-hero h1 { font-size: 45px; }
    .product-hero p { font-size: 16px; }
    .product-subnav { top: 58px; }
    .product-subnav .shell { gap: 20px; }
    .product-detail-grid { gap: 35px; }
    .product-content > h2 { font-size: 29px; }
    .purchase-panel { padding: 20px; }
    .community-search { min-width: 0; }
    .community-search .button { padding: 0 12px; }
    .category-tabs { gap: 14px; }
    .question-item, .question-row { align-items: flex-start; padding: 14px 12px; }
    .question-metrics { display: grid; gap: 2px; }
    .question-item .question-main small { gap: 5px; }
    .community-side, .question-side { display: grid; grid-template-columns: 1fr; }
    .question-detail { padding: 20px 17px 28px; }
    .question-detail header h1 { font-size: 31px; }
    .question-metrics { padding-top: 4px; }
    .form-row { grid-template-columns: 1fr; }
    .content-form { padding: 20px 16px; }
    .form-actions { justify-content: stretch; }
    .form-actions .button { flex: 1; }
    .auth-visual { min-height: 310px; padding-top: 42px; padding-bottom: 42px; }
    .auth-visual h1 { font-size: 36px; }
    .auth-form-wrap { padding: 45px 14px; }
    .member-profile { align-items: flex-start; flex-wrap: wrap; }
    .member-profile > div { min-width: calc(100% - 88px); }
    .member-profile .button { margin-left: 86px; }
    .member-layout { grid-template-columns: 1fr; gap: 16px; }
    .member-nav { display: flex; overflow-x: auto; padding: 4px; }
    .member-nav a { flex: 0 0 auto; padding: 9px; }
    .member-nav a span { display: none; }
    .metric-grid { gap: 8px; }
    .metric-grid > div { min-height: 96px; padding: 13px; }
    .metric-grid strong { font-size: 25px; }
    .metric-grid svg { top: 14px; right: 13px; }
    .member-panel { padding: 18px 14px; }
    .order-item { flex-wrap: wrap; }
    .order-item > strong { margin-left: auto; }
    .order-status { margin-left: 103px; }
    .support-banner { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-links { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .footer-contact { grid-column: auto; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

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