:root {
    --bean-light: #F3E6C8;
    --bean-deep-bg: #E4D2A8;
    --content-bg: #FFF8E8;
    --sub-bg: #F7EDD4;
    --title: #3A2A12;
    --text: #4A3418;
    --muted: #7A5A28;
    --soft: #A08048;
    --deep: #5A3C16;
    --shell: #8A5A22;
    --sprout: #6A7A38;
    --warm: #FFF8E8;
    --border: rgba(90, 60, 22, 0.16);
    --strong-border: rgba(90, 60, 22, 0.42);
    --shadow: 0 12px 28px rgba(58, 42, 18, 0.08);
    --max: 1080px;
    --top-total: 116px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bean-light); }
body {
    margin: 0;
    color: var(--text);
    background: linear-gradient(180deg, var(--bean-light) 0%, #F8EFD9 46%, var(--bean-deep-bg) 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(106, 122, 56, 0.42); outline-offset: 2px; }

.site-top { position: fixed; inset: 0 0 auto 0; z-index: 80; }
.sprout-line { height: 22px; background: var(--deep); color: var(--warm); font-size: 12px; }
.top-inner, .pod-inner, .ridge-inner, .footer-inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}
.top-inner { height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top-search-btn {
    height: 22px;
    border: 0;
    padding: 0 4px;
    color: var(--warm);
    background: transparent;
    font-size: 12px;
}
.pod-bar { height: 56px; background: rgba(243, 230, 200, 0.98); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.pod-inner { height: 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.brand-link { justify-self: start; min-width: 120px; display: inline-flex; align-items: center; height: 44px; }
.brand-logo, .drawer-logo, .footer-logo { height: 26px; width: auto; object-fit: contain; object-position: center; }
.brand-text { font-size: 16px; font-weight: 800; color: var(--deep); letter-spacing: .06em; }
.app-entry { justify-self: center; height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; color: var(--deep); font-weight: 700; }
.app-entry:hover { background: rgba(138, 90, 34, 0.08); }
.drawer-open {
    justify-self: end;
    height: 44px;
    min-width: 64px;
    border: 1px solid var(--strong-border);
    color: var(--deep);
    background: var(--warm);
    border-radius: 10px;
    font-weight: 700;
}
.ridge-tabs { height: 38px; background: rgba(255, 248, 232, 0.98); border-bottom: 1px solid var(--border); }
.ridge-inner { height: 38px; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.ridge-left, .ridge-right { display: flex; gap: 8px; align-items: center; }
.ridge-tabs a { min-height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 7px; color: var(--deep); font-size: 13px; font-weight: 700; }
.ridge-tabs a:hover, .ridge-tabs a.is-current { background: var(--deep); color: var(--warm); }

.site-main { padding-top: calc(var(--top-total) + 26px); min-height: 72vh; }
.page-wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.page-hero { padding: 36px 0 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--sprout); font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
h1, h2, h3 { color: var(--title); margin: 0; }
h1 { font-size: 24px; line-height: 1.3; }
h2 { font-size: 20px; line-height: 1.4; }
h3 { font-size: 16px; line-height: 1.45; }
p { margin: 0; }
.lead { margin-top: 14px; max-width: 760px; color: var(--text); }
.muted { color: var(--muted); }
.section-block { margin: 26px 0; }
.section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 14px; }
.section-head p { color: var(--muted); max-width: 620px; }
.card {
    background: var(--content-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
}
.soft-card { background: var(--sub-bg); border: 1px solid var(--border); border-radius: 10px; }
.deep-card { background: var(--deep); color: var(--warm); border-radius: 10px; }
.deep-card h2, .deep-card h3 { color: var(--warm); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-primary, .btn-secondary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
.btn-primary { color: var(--warm); background: linear-gradient(135deg, #8A5A22 0%, #5A3C16 100%); border: 1px solid transparent; }
.btn-secondary { color: var(--deep); background: var(--warm); border: 1px solid var(--shell); }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 8px 16px rgba(58, 42, 18, 0.12); }

.media-slot {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sub-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.media-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.banner-slot { height: 200px; }
.grid-slot { height: 140px; }
.long-slot { height: 180px; }
.app-slot { height: min(340px, 70vw); }
.brand-slot { height: 210px; }
.column-slot { height: 170px; }

/* 首页 */
.home-intro { padding: 26px 0 12px; }
.home-intro .intro-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 28px;
    align-items: end;
    padding: 28px;
    background: linear-gradient(145deg, var(--content-bg), #F0DEB6);
    border: 1px solid var(--strong-border);
    border-radius: 12px;
}
.home-intro .intro-mark { min-height: 132px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: var(--deep); color: var(--warm); border-radius: 10px; }
.home-intro .intro-mark strong { font-size: 13px; letter-spacing: .14em; }
.home-intro .intro-mark span { font-size: 30px; line-height: 1; font-weight: 900; }
.home-intro .intro-copy > p { margin-top: 14px; max-width: 710px; }
.home-intro .intro-copy .main-line { font-size: 18px; font-weight: 800; color: var(--deep); }
.quad-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quad-item { display: grid; grid-template-columns: 42% 1fr; gap: 16px; padding: 14px; align-items: center; }
.quad-item p { margin-top: 8px; color: var(--muted); }
.yakan-long { padding: 24px; }
.yakan-long .long-copy { columns: 2; column-gap: 28px; margin-top: 18px; }
.yakan-long .long-copy p { break-inside: avoid; margin-bottom: 12px; }
.marker { color: var(--shell); font-weight: 900; }
.timeline { position: relative; display: grid; gap: 14px; padding: 8px 0 8px 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: rgba(138, 90, 34, 0.3); }
.timeline-item { position: relative; padding: 16px 18px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 10px; }
.timeline-item::before { content: ""; position: absolute; left: -24px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--sprout); box-shadow: 0 0 0 4px var(--bean-light); }
.timeline-item p { margin-top: 6px; color: var(--muted); }
.note-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note-panel { padding: 20px; }
.note-panel ul, .memo-list, .policy-list { margin: 12px 0 0; padding-left: 20px; }
.note-panel li, .memo-list li, .policy-list li { margin: 8px 0; }
.theme-bars { display: grid; gap: 10px; }
.theme-bar { display: grid; grid-template-columns: minmax(160px, .8fr) 1.8fr auto; gap: 16px; align-items: center; padding: 14px 16px; background: var(--content-bg); border: 1px solid var(--border); border-radius: 8px; }
.status-chip { display: inline-flex; min-height: 30px; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px; background: var(--sub-bg); color: var(--deep); font-size: 12px; font-weight: 800; border: 1px solid var(--border); }
.app-feature { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: center; padding: 22px; }
.app-copy p { margin-top: 12px; }
.app-icon-line { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.app-icon-line .media-slot { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; }
.read-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.read-point { padding: 18px; border-left: 4px solid var(--sprout); }
.faq-mini { display: grid; gap: 10px; }
.faq-mini details { background: var(--content-bg); border: 1px solid var(--border); border-radius: 8px; padding: 13px 16px; }
.faq-mini summary { color: var(--title); font-weight: 800; cursor: pointer; }
.faq-mini p { margin-top: 8px; color: var(--muted); }
.brand-story { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: center; padding: 24px; }

/* 单列长文 */
.prose-page .prose-shell { max-width: 860px; margin: 0 auto 36px; }
.prose-page article { padding: 26px; }
.prose-page article h2 { margin-top: 26px; }
.prose-page article h2:first-child { margin-top: 0; }
.prose-page article h3 { margin-top: 18px; }
.prose-page article p { margin-top: 10px; }
.callout { margin: 18px 0; padding: 16px 18px; border-left: 4px solid var(--shell); background: var(--sub-bg); border-radius: 0 8px 8px 0; }

/* 观察目录 */
.observe-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 18px; align-items: start; }
.observe-index { position: sticky; top: calc(var(--top-total) + 22px); padding: 18px; }
.observe-index a { display: block; min-height: 44px; padding: 9px 10px; border-bottom: 1px solid var(--border); font-weight: 700; }
.observe-body { display: grid; gap: 14px; }
.observe-entry { padding: 22px; display: grid; grid-template-columns: 150px 1fr; gap: 22px; }
.observe-entry .tag { color: var(--sprout); font-weight: 900; letter-spacing: .08em; }
.observe-entry p { margin-top: 8px; }

/* 四宫格 */
.four-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.four-panel article { min-height: 260px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.four-panel article:nth-child(2), .four-panel article:nth-child(3) { background: var(--sub-bg); }
.panel-tail { margin-top: auto; padding-top: 16px; color: var(--muted); border-top: 1px solid var(--border); }

/* 左右分栏札记 */
.split-notebook { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.notebook-column { padding: 22px; }
.notebook-column > div + div { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 18px; }
.notebook-column p { margin-top: 8px; }

/* 竖轴节点 */
.axis-page { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.axis-main { position: relative; padding-left: 34px; display: grid; gap: 16px; }
.axis-main::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 2px; background: var(--strong-border); }
.axis-node { position: relative; padding: 22px; }
.axis-node::before { content: ""; position: absolute; left: -28px; top: 27px; width: 12px; height: 12px; border-radius: 50%; background: var(--shell); border: 3px solid var(--bean-light); }
.axis-node p { margin-top: 8px; }
.axis-aside { position: sticky; top: calc(var(--top-total) + 22px); padding: 20px; }

/* 主题条 */
.topic-strip-list { display: grid; gap: 12px; }
.topic-strip { display: grid; grid-template-columns: 180px minmax(0, 1fr) 110px; gap: 18px; align-items: center; padding: 17px 18px; }
.topic-strip .topic-kicker { font-weight: 900; color: var(--sprout); }
.topic-strip p { color: var(--muted); }

/* 备忘清单 */
.memo-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.memo-board article { padding: 20px; }
.memo-board article:nth-child(4n+2), .memo-board article:nth-child(4n+3) { background: var(--sub-bg); }
.memo-check { margin-top: 12px; padding: 0; list-style: none; }
.memo-check li { position: relative; padding-left: 28px; margin: 9px 0; }
.memo-check li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--strong-border); border-radius: 50%; color: var(--sprout); font-size: 12px; }

/* 方法说明 */
.method-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.method-step { padding: 16px; text-align: center; border: 1px solid var(--border); border-radius: 10px; background: var(--sub-bg); font-weight: 800; }
.method-article { padding: 24px; }
.method-article section + section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.method-article p { margin-top: 9px; }

/* 主题列表 */
.collection-list { display: grid; gap: 14px; }
.collection-item { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px; }
.collection-label { display: flex; align-items: center; justify-content: center; min-height: 96px; border-radius: 10px; background: var(--deep); color: var(--warm); font-weight: 900; text-align: center; padding: 12px; }
.collection-item p { margin-top: 8px; }
.collection-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.collection-links a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--strong-border); border-radius: 8px; color: var(--deep); font-weight: 700; background: var(--warm); }

/* 产品页 */
.product-hero { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 28px; align-items: center; }
.product-card { padding: 22px; }
.product-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.product-point { padding: 17px; background: var(--sub-bg); border: 1px solid var(--border); border-radius: 10px; }
.product-section { padding: 24px; }
.product-section + .product-section { margin-top: 16px; }

/* 条款页 */
.policy-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 18px; align-items: start; }
.policy-nav { position: sticky; top: calc(var(--top-total) + 22px); padding: 18px; }
.policy-nav a { display: block; min-height: 42px; padding: 8px 8px; border-bottom: 1px solid var(--border); font-weight: 700; }
.policy-content { padding: 26px; }
.policy-content section + section { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--border); }
.policy-content p { margin-top: 8px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-card { padding: 20px; }
.faq-card h2 { font-size: 17px; }
.faq-card p { margin-top: 9px; }

/* 联系与关于 */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact-grid article { padding: 20px; }
.contact-grid p { margin-top: 8px; }
.about-ribbons { display: grid; gap: 12px; }
.about-ribbon { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding: 20px; }
.about-ribbon h2 { border-right: 1px solid var(--border); padding-right: 20px; }
.about-ribbon p + p { margin-top: 10px; }

.site-footer { margin-top: 54px; background: #2E220E; color: var(--bean-light); border-top: 1px solid rgba(243,230,200,.28); padding: 34px 0 26px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-brand > div { display: grid; line-height: 1.2; }
.footer-brand span { font-size: 11px; color: #DCCB9F; margin-top: 3px; letter-spacing: .08em; }
.footer-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.footer-groups h2 { color: var(--warm); font-size: 14px; margin-bottom: 8px; }
.footer-groups a { display: block; min-height: 34px; color: var(--bean-light); font-size: 13px; padding: 4px 0; }
.footer-groups a:hover { color: #FFF; text-decoration: underline; }
.footer-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(243,230,200,.18); font-size: 13px; color: #D9C89E; }
.copyright { margin-top: 8px; font-size: 13px; color: #C9B98F; }

.page-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(46,34,14,.5); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .22s ease, visibility .22s ease; }
.page-overlay.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.pod-drawer { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 120; background: var(--content-bg); transform: translateX(104%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s ease; box-shadow: -18px 0 36px rgba(46,34,14,.16); }
.pod-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 18px; border-bottom: 1px solid var(--border); background: var(--bean-light); }
.drawer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.drawer-brand > div { display: grid; line-height: 1.2; }
.drawer-brand span { font-size: 10px; color: var(--muted); }
.drawer-close { min-height: 44px; min-width: 58px; border: 1px solid var(--strong-border); border-radius: 8px; background: var(--warm); color: var(--deep); }
.drawer-scroll { height: calc(100vh - 72px); overflow-y: auto; padding: 16px 18px 28px; }
.drawer-group + .drawer-group { margin-top: 20px; }
.drawer-group h2 { font-size: 13px; color: var(--sprout); letter-spacing: .08em; margin-bottom: 6px; }
.drawer-group a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--border); }
.drawer-group strong { display: block; color: var(--title); font-size: 14px; }
.drawer-group span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }

.search-layer { position: fixed; z-index: 115; top: 78px; left: 0; right: 0; visibility: hidden; pointer-events: none; transform: translateY(-16px); opacity: 0; transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.search-layer.is-open { visibility: visible; pointer-events: auto; transform: translateY(0); opacity: 1; }
.search-card { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 20px; border-radius: 0 0 12px 12px; background: var(--warm); border: 1px solid var(--strong-border); box-shadow: var(--shadow); }
.search-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.search-head strong { color: var(--title); font-size: 18px; }
.search-head p { color: var(--muted); margin-top: 2px; }
.search-head button { min-height: 44px; min-width: 58px; background: var(--sub-bg); border: 1px solid var(--border); border-radius: 8px; color: var(--deep); }
.search-label { display: block; margin-top: 16px; font-weight: 800; color: var(--title); }
.search-card input { width: 100%; height: 44px; margin-top: 6px; padding: 0 13px; border: 1px solid var(--strong-border); border-radius: 8px; background: #FFFDF6; color: var(--text); }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.search-presets a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 8px; background: var(--sub-bg); border: 1px solid var(--border); color: var(--deep); font-weight: 800; }
.mobile-bottom { display: none; }

@media (max-width: 860px) {
    .quad-item { grid-template-columns: 1fr; }
    .app-feature, .product-hero, .brand-story { grid-template-columns: 1fr; }
    .app-feature .app-slot, .product-hero .app-slot { max-width: 420px; margin: 0 auto; }
    .observe-layout, .axis-page, .policy-layout { grid-template-columns: 1fr; }
    .observe-index, .axis-aside, .policy-nav { position: static; }
    .observe-index { display: flex; flex-wrap: wrap; gap: 6px; }
    .observe-index a { border: 1px solid var(--border); border-radius: 8px; min-height: 40px; }
    .method-flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    :root { --top-total: 78px; }
    body { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
    .top-inner, .pod-inner, .footer-inner, .page-wrap { width: calc(100% - 32px); }
    .ridge-tabs { display: none; }
    .site-main { padding-top: calc(var(--top-total) + 18px); }
    .pod-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
    .brand-link { min-width: 0; overflow: hidden; }
    .brand-logo { max-width: 128px; }
    .app-entry { padding: 0 9px; font-size: 13px; white-space: nowrap; }
    .drawer-open { min-width: 54px; padding: 0 10px; }
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    .page-hero { padding: 24px 0 16px; }
    .home-intro .intro-card { grid-template-columns: 1fr; padding: 20px; }
    .home-intro .intro-mark { min-height: 94px; }
    .quad-grid, .four-panel, .split-notebook, .memo-board, .contact-grid, .read-points, .product-points, .footer-groups { grid-template-columns: 1fr; }
    .quad-item { grid-template-columns: 38% 1fr; }
    .yakan-long { padding: 18px; }
    .yakan-long .long-copy { columns: 1; }
    .note-split { grid-template-columns: 1fr; }
    .theme-bar, .topic-strip { grid-template-columns: 1fr; gap: 8px; }
    .topic-strip .status-chip, .theme-bar .status-chip { justify-self: start; }
    .app-feature, .brand-story { padding: 18px; }
    .observe-entry { grid-template-columns: 1fr; gap: 8px; padding: 18px; }
    .collection-item { grid-template-columns: 1fr; }
    .collection-label { min-height: 70px; }
    .about-ribbon { grid-template-columns: 1fr; gap: 10px; }
    .about-ribbon h2 { border-right: 0; border-bottom: 1px solid var(--border); padding: 0 0 10px; }
    .method-flow { grid-template-columns: 1fr 1fr; }
    .search-layer { inset: 0; top: 0; background: var(--deep); transform: none; display: flex; align-items: stretch; }
    .search-card { width: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: var(--deep); color: var(--warm); padding: max(22px, env(safe-area-inset-top)) 18px 24px; }
    .search-head strong, .search-head p, .search-label { color: var(--warm); }
    .search-head button { color: var(--warm); border-color: rgba(255,248,232,.38); background: rgba(255,248,232,.08); }
    .search-card input { background: var(--warm); }
    .search-presets a { background: rgba(255,248,232,.12); border-color: rgba(255,248,232,.3); color: var(--warm); }
    .mobile-bottom { position: fixed; z-index: 90; inset: auto 0 0 0; min-height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255,248,232,.98); border-top: 1px solid var(--strong-border); }
    .mobile-bottom a { min-height: 48px; display: flex; align-items: center; justify-content: center; color: var(--deep); font-size: 12px; font-weight: 800; }
    .mobile-bottom a.is-current { background: var(--deep); color: var(--warm); }
    .site-footer { padding-bottom: 30px; }
}

@media (max-width: 460px) {
    .quad-item { grid-template-columns: 1fr; }
    .method-flow { grid-template-columns: 1fr; }
    .banner-slot { height: 180px; }
    .grid-slot { height: 150px; }
    .app-slot { height: 320px; }
}

/* spacing utilities used by content templates */
.pad-22 { padding: 22px; }
.pad-24 { padding: 24px; }
.mt-9 { margin-top: 9px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
