:root {
  color-scheme: light;
  --ink: #171822;
  --muted: #626779;
  --line: #dfe3ec;
  --paper: #fff;
  --canvas: #f4f6fa;
  --blue: #315eea;
  --violet: #7046d9;
  --green: #087f68;
  --coral: #d85043;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 16px/1.625 var(--sans); letter-spacing: 0; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, summary { font: inherit; }
:focus-visible { outline: 3px solid #9ab2ff; outline-offset: 3px; }
.shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.announcement { min-height: 34px; display: flex; align-items: center; justify-content: center; padding: 5px 20px; background: #171822; color: #e9ebf4; font-size: 12px; }
.announcement a { margin-left: 8px; color: #a9bcff; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; height: 68px; border-bottom: 1px solid rgba(218, 222, 232, .9); background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px); }
.nav { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 6px 16px rgba(76, 47, 196, .2); }
.nav-links { display: flex; align-items: center; gap: 20px; color: #484c5b; font-size: 14px; }
.nav-links > a:hover { color: var(--blue); }
.nav-menu { position: relative; }
.nav-menu summary { display: flex; align-items: center; gap: 5px; list-style: none; cursor: pointer; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary::after { width: 5px; height: 5px; content: ""; border-right: 1px solid #858995; border-bottom: 1px solid #858995; transform: rotate(45deg) translateY(-2px); }
.nav-menu[open] summary, .nav-menu summary:hover { color: var(--blue); }
.nav-menu-panel { position: absolute; top: 32px; left: -16px; width: 248px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .98); box-shadow: 0 18px 45px rgba(29, 34, 52, .14); }
.nav-menu-panel a { display: block; padding: 10px 11px; border-radius: 6px; color: #484c5b; line-height: 1.35; }
.nav-menu-panel a:hover { background: #f0f3fa; }
.nav-menu-panel strong, .nav-menu-panel small { display: block; }
.nav-menu-panel strong { color: var(--ink); font-size: 12px; }
.nav-menu-panel small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-text { padding: 11px 8px; color: #484c5b; font-size: 14px; font-weight: 650; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; background: linear-gradient(110deg, var(--blue), var(--violet)); color: #fff; font-size: 14px; font-weight: 650; box-shadow: 0 10px 22px rgba(49, 94, 234, .18); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(49, 94, 234, .25); }
.button.secondary { border-color: #cfd4df; background: #fff; color: var(--ink); box-shadow: none; }
.mobile-menu { display: none; position: relative; margin-left: auto; }
.mobile-menu summary { width: 42px; height: 42px; display: grid; place-items: center; list-style: none; cursor: pointer; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.menu-lines, .menu-lines::before, .menu-lines::after { width: 20px; height: 2px; display: block; content: ""; background: var(--ink); }
.menu-lines::before { transform: translateY(-6px); }
.menu-lines::after { transform: translateY(4px); }
.mobile-menu nav { position: absolute; top: 50px; right: 0; width: 240px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 18px 45px rgba(29, 34, 52, .14); }
.mobile-menu nav a { display: block; padding: 12px; border-bottom: 1px solid #edf0f5; font-size: 14px; }

.blog-main { padding: 50px 0 80px; }
.page-head { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 28px; }
.eyebrow { display: block; margin-bottom: 10px; color: var(--blue); font: 10px var(--mono); text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; margin-bottom: 10px; font-size: clamp(38px, 5vw, 58px); line-height: 1.06; letter-spacing: 0; }
.page-head p { max-width: 680px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.search { width: min(330px, 100%); display: flex; flex: none; overflow: hidden; border: 1px solid #cfd4df; border-radius: 8px; background: #fff; }
.search input { width: 100%; min-width: 0; height: 46px; padding: 0 14px; border: 0; outline: 0; color: var(--ink); }
.search button { width: 74px; border: 0; background: #171822; color: #fff; font-size: 12px; cursor: pointer; }

.featured-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.feature-main, .story-card, .topic-card, .post-card, .side-card, .article-card, .comments-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 12px 32px rgba(35, 41, 67, .06); }
.feature-main { position: relative; min-height: 430px; color: #fff; }
.feature-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.feature-main::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(15, 17, 26, .05) 18%, rgba(15, 17, 26, .88) 100%); }
.feature-copy { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; padding: 28px; }
.tag { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; background: #e9efff; color: var(--blue); font: 10px var(--mono); }
.feature-copy .tag { background: rgba(255, 255, 255, .17); color: #fff; backdrop-filter: blur(10px); }
.feature-copy h2 { max-width: 620px; margin: 13px 0 11px; font-size: clamp(27px, 3vw, 40px); line-height: 1.12; }
.feature-copy p { max-width: 600px; margin-bottom: 16px; color: #d9dce6; font-size: 13px; line-height: 1.6; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 13px; color: #8a8f9d; font: 10px var(--mono); }
.feature-copy .meta { color: #d9dce6; }
.story-card { display: flex; flex-direction: column; min-width: 0; }
.story-card img { width: 100%; height: 190px; object-fit: cover; object-position: top left; }
.story-body { flex: 1; padding: 20px; }
.story-body h3 { margin: 11px 0 9px; font-size: 18px; line-height: 1.3; }
.story-body p { margin-bottom: 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.text-link { color: var(--blue); font-size: 12px; font-weight: 700; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; padding: 12px 18px; border-top: 1px solid var(--line); }
.author { display: flex; align-items: center; gap: 9px; min-width: 0; }
.avatar { width: 31px; height: 31px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; font: 9px var(--mono); }
.author strong, .author small { display: block; }
.author strong { font-size: 11px; }
.author small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.metric { color: var(--muted); font: 10px var(--mono); }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 48px 0 18px; }
.section-head h2 { margin: 0; font-size: 24px; }
.section-head > span, .section-count { color: var(--muted); font-size: 12px; }
.topic-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.topic-card { position: relative; min-height: 150px; color: #fff; box-shadow: none; }
.topic-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.topic-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 25%, rgba(20, 22, 31, .82)); }
.topic-card span { position: absolute; z-index: 1; right: 14px; bottom: 14px; left: 14px; font-size: 14px; font-weight: 750; }

.content-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; margin-top: 24px; align-items: start; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.post-card-body { padding: 20px; }
.post-labels { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.status-tag { display: inline-flex; align-items: center; min-height: 25px; padding: 0 9px; border-radius: 999px; font: 10px var(--mono); }
.status-implemented { background: #e4f5ef; color: #087f68; }
.status-design { background: #f0ebfc; color: #7046d9; }
.status-research { background: #fff1e7; color: #a5462d; }
.post-card h2, .post-card h3 { margin: 11px 0 9px; font-size: 19px; line-height: 1.32; }
.post-card p { margin-bottom: 18px; color: var(--muted); font-size: 13px; line-height: 1.62; }
.side-stack { display: grid; gap: 18px; }
.side-card { padding: 20px; box-shadow: none; }
.side-card > h2 { margin: 0 0 14px; font-size: 16px; }
.side-card > p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.category-list { display: grid; }
.category-list a { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-top: 1px solid var(--line); color: #484d5c; font-size: 13px; }
.category-list a:first-child { border-top: 0; }
.category-list b { min-width: 28px; padding: 3px 7px; border-radius: 999px; background: #f0f2f6; font: 9px var(--mono); text-align: center; }
.source-note { border-top: 3px solid var(--violet); }
.load-more { display: flex; margin: 24px auto 0; }
.blog-empty { padding: 32px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; }
.side-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.side-title h2, .side-title h3 { margin: 0; font-size: 16px; }
.side-title h2::before, .side-title h3::before { width: 3px; height: 15px; display: inline-block; margin-right: 8px; content: ""; border-radius: 3px; background: linear-gradient(var(--blue), var(--violet)); vertical-align: -2px; }
.mini-post { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.mini-post:first-of-type { border-top: 0; }
.mini-post img { width: 70px; height: 58px; border-radius: 6px; object-fit: cover; }
.mini-post strong { display: block; overflow: hidden; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.mini-post small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.arrow { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: #f0f2f6; color: var(--blue); }
.topic-list { display: grid; gap: 4px; }
.topic-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); color: #484d5c; font-size: 12px; }
.topic-row:first-child { border-top: 0; }
.count { min-width: 28px; padding: 4px 7px; border-radius: 999px; background: #f0f2f6; text-align: center; font: 9px var(--mono); }
.newsletter p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.newsletter form { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.newsletter input { width: 100%; min-width: 0; height: 42px; padding: 0 12px; border: 0; outline: 0; }
.newsletter button { border: 0; padding: 0 14px; background: var(--blue); color: #fff; font-size: 11px; }

.category-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.category-bar a { min-height: 36px; display: inline-flex; align-items: center; padding: 0 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #565b69; font-size: 12px; }
.category-bar a.active, .category-bar a:hover { border-color: var(--blue); background: #e9efff; color: var(--blue); }
.pagination { display: flex; justify-content: center; gap: 7px; margin-top: 28px; }
.pagination a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 12px; }
.pagination a.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.pagination a[aria-disabled="true"] { opacity: .4; pointer-events: none; }

.breadcrumb, .breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; color: var(--muted); font-size: 11px; }
.breadcrumb a:hover, .breadcrumbs a:hover { color: var(--blue); }
.category-head { max-width: 720px; margin-bottom: 30px; }
.category-head h1 { margin-bottom: 12px; }
.category-head p { color: var(--muted); font-size: 16px; }
.category-post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.article-head { padding: 30px 34px 24px; }
.article-head h1 { margin-bottom: 16px; font-size: clamp(34px, 4.6vw, 54px); }
.article-head .meta { font-size: 10px; }
.article-hero { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: top left; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-stats { display: flex; justify-content: space-between; gap: 18px; padding: 13px 34px; border-bottom: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); }
.article-body { padding: 34px; }
.article-body .lede { color: #404552; font-size: 18px; line-height: 1.75; }
.article-body h2 { margin: 40px 0 14px; font-size: 28px; line-height: 1.25; }
.article-body h3 { margin: 27px 0 10px; font-size: 19px; }
.article-body p, .article-body li { color: #545a69; font-size: 15px; line-height: 1.82; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--violet); color: #454b5d; }
.article-body blockquote p { margin: 0; }
.article-body pre { max-width: 100%; padding: 18px 20px; overflow: auto; border-radius: 8px; background: #171822; color: #e8eaf0; font: 12px/1.7 var(--mono); }
.article-body :not(pre) > code { padding: 2px 5px; border-radius: 4px; background: #eef0f5; color: #333949; font: 12px var(--mono); }
.article-status, .article-source { margin: 0 0 28px; padding: 18px 20px; border-radius: 8px; background: #f2f4f8; }
.article-status strong, .article-source strong { display: block; margin-bottom: 5px; font-size: 13px; }
.article-status p, .article-source p { margin: 0; font-size: 13px; line-height: 1.65; }
.article-source { margin: 34px 0 0; border: 1px solid var(--line); background: #fff; }
.article-source a { display: inline-block; max-width: 100%; margin-top: 10px; overflow-wrap: anywhere; font-size: 12px; }
.callout { margin: 28px 0; padding: 20px 22px; border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; background: #edf2ff; color: #344267; font-size: 14px; line-height: 1.7; }
.article-figure { margin: 28px 0; }
.article-figure img { width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.article-figure figcaption { margin-top: 9px; color: var(--muted); font: 9px var(--mono); }
.article-author { position: sticky; top: 96px; padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; }
.article-author .avatar { width: 72px; height: 72px; margin: 0 auto 14px; font-size: 16px; }
.article-author h2 { margin-bottom: 6px; font-size: 18px; }
.article-author p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.comments-card { margin-top: 24px; padding: 26px 30px; }
.comments-card h2 { margin-bottom: 18px; font-size: 21px; }
.comment { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.comment p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.related-posts { margin-top: 48px; }
.related-posts .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pricing-main { padding: 44px 0 86px; }
.pricing-intro { max-width: 680px; margin: 0 auto 18px; text-align: center; }
.pricing-intro h1 { margin-bottom: 8px; font-size: 30px; line-height: 1.2; }
.pricing-intro p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.billing-toggle { width: max-content; display: flex; gap: 4px; margin: 0 auto 30px; padding: 6px; border: 0; border-radius: 8px; background: #ebe7fa; }
.billing-toggle button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: #8554df; color: #fff; box-shadow: 0 4px 10px rgba(112, 70, 217, .18); }
.pricing-grid { max-width: 1120px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0 auto; overflow: hidden; border: 1px solid #e5e3ec; border-radius: 7px; background: #fff; box-shadow: 0 2px 5px rgba(35, 41, 67, .05); }
.price-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0; border-right: 1px dashed #e1dfe8; background: #fff; }
.price-card:last-child { border-right: 0; }
.price-card.family { background: #fbf9ff; }
.plan-ribbon { position: absolute; top: 16px; right: -34px; width: 126px; padding: 6px 0; background: #8554df; color: #fff; font: 9px var(--mono); text-align: center; transform: rotate(40deg); }
.price-card-body { flex: 1; padding: 26px 24px 18px; }
.plan-head { text-align: center; }
.plan-head h2 { margin: 0; font-size: 16px; text-transform: uppercase; }
.plan-visual { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 112px; padding: 17px 0; }
.plan-art { width: 76px; height: 76px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #f1f3ff; }
.plan-art svg { width: 50px; height: 50px; fill: none; stroke: #8554df; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.free .plan-art, .enterprise .plan-art { background: #f1f3ff; }
.price-value { min-width: 0; display: grid; gap: 6px; text-align: center; }
.price-value strong { font-size: 27px; line-height: 1; }
.family .price-value strong, .enterprise .price-value strong { color: #8554df; }
.price-value span { padding-bottom: 4px; color: var(--muted); font-size: 11px; }
.plan-features { margin: 0; padding: 8px 0 0; list-style: none; }
.plan-features li { padding: 7px 0; color: var(--muted); font-size: 12px; line-height: 1.45; text-align: center; }
.price-card-action { padding: 0 24px 24px; }
.price-card-action .button { width: 100%; min-height: 38px; border-color: transparent; border-radius: 5px; background: #f0ebfc; color: #7b4bdd; box-shadow: none; }
.price-card-action .button:hover { box-shadow: none; }
.enterprise .price-card-action .button { border-color: transparent; background: #8554df; color: #fff; box-shadow: none; }
.pricing-notice { max-width: 1120px; margin: 18px auto 0; color: #7d8290; font-size: 11px; line-height: 1.65; text-align: center; }
.compare-section { max-width: 1120px; margin: 86px auto 0; scroll-margin-top: 92px; }
.compare-heading { margin-bottom: 30px; text-align: center; }
.compare-heading h2 { margin-bottom: 10px; color: var(--blue); font-size: 46px; line-height: 1.15; }
.compare-heading p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.compare-scroll { max-width: 100%; max-height: min(72vh, 920px); overflow: auto; background: #fff; }
.compare-table { width: 100%; min-width: 1120px; border-collapse: collapse; table-layout: fixed; }
.compare-table th, .compare-table td { padding: 22px 20px; border-bottom: 1px solid #dfe3ec; vertical-align: middle; }
.compare-table th { color: var(--ink); font-size: 14px; font-weight: 700; text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { width: 31%; text-align: left; }
.compare-table td { color: #454a57; font-size: 12px; line-height: 1.55; text-align: center; }
.compare-table thead th { position: sticky; top: 0; z-index: 3; background: #fff; box-shadow: 0 1px 0 #dfe3ec; }
.compare-table thead th:first-child { z-index: 4; }
.compare-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-category th { width: auto !important; padding: 13px 20px; background: #f1f3f6; color: var(--ink); font: 700 12px var(--sans); text-align: center !important; }
.compare-price td { padding-top: 26px; padding-bottom: 26px; }
.compare-price td:not(:first-child) strong { font-size: 16px; }
.compare-note { margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.yes { width: 20px; height: 20px; display: inline-grid; place-items: center; border: 2px solid #12962b; border-radius: 50%; color: #12962b; font-size: 12px; font-weight: 900; line-height: 1; }
.muted-value { color: #9aa0ad; }
.pricing-faq { display: grid; grid-template-columns: 1fr; gap: 12px; width: min(100%, 860px); margin: 24px auto 0; }
.pricing-faq details { border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.pricing-faq summary { padding: 16px 18px; list-style: none; font-size: 13px; font-weight: 700; cursor: pointer; }
.pricing-faq summary::-webkit-details-marker { display: none; }
.pricing-faq p { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }

footer { padding: 48px 0; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { display: grid; grid-template-columns: 6fr 2fr 2fr 2fr; gap: 38px; }
.footer-brand p { max-width: 390px; margin-top: 17px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.footer-col strong { display: block; margin-bottom: 12px; color: #4d5260; font: 10px var(--mono); text-transform: uppercase; }
.footer-col a { display: block; padding: 6px 0; color: var(--muted); font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); color: #858995; font: 9px var(--mono); }

@media (max-width: 1040px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .feature-main { grid-column: 1 / -1; min-height: 390px; }
  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .article-layout, .content-grid { grid-template-columns: 1fr; }
  .article-author { position: static; }
  .category-post-grid, .related-posts .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-stack .side-card:first-child { grid-column: 1 / -1; }
  .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card:nth-child(2n) { border-right: 0; }
  .price-card:not(:last-child) { border-bottom: 1px dashed var(--line); }
  .price-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu { display: block; }
  .footer-grid { grid-template-columns: 4fr 2fr 2fr; }
  .footer-col:last-child { display: none; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .announcement { min-height: 30px; font-size: 10px; }
  .site-header { height: 60px; }
  .blog-main { padding: 32px 0 56px; }
  .page-head { display: block; }
  .page-head h1 { font-size: 38px; }
  .search { margin-top: 20px; }
  .featured-grid, .post-grid, .side-stack, .category-post-grid, .related-posts .post-grid { grid-template-columns: 1fr; }
  .feature-main { min-height: 380px; }
  .story-card img { height: 210px; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .topic-card { min-height: 120px; }
  .content-grid { margin-top: 18px; }
  .side-stack .side-card:first-child { grid-column: auto; }
  .article-head, .article-body { padding: 24px 20px; }
  .article-head h1 { font-size: 35px; }
  .article-hero { aspect-ratio: 4 / 3; }
  .article-stats { padding: 12px 20px; }
  .article-body .lede { font-size: 16px; }
  .article-body h2 { font-size: 24px; }
  .comments-card { padding: 22px 20px; }
  .pricing-main { padding: 38px 0 60px; }
  .pricing-intro { text-align: center; }
  .billing-toggle { width: 100%; }
  .billing-toggle button { flex: 1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-card:last-child { border-bottom: 0; }
  .price-card-body { padding: 26px 22px 18px; }
  .compare-heading h2 { font-size: 34px; }
  .compare-table { min-width: 1040px; }
  .compare-table th, .compare-table td { padding: 18px 12px; }
  .compare-table th:first-child, .compare-table td:first-child { width: 190px; }
  .pricing-faq { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; line-height: 1.8; }
}

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