:root {
    --bg: #F4FBF4;
    --deep-bg: #E4F3E6;
    --content: #FFFFFF;
    --secondary: #D8EDDC;
    --title: #14321C;
    --text: #2A4632;
    --muted: #5E7A64;
    --soft: #88A090;
    --green: #1F8A4C;
    --mint: #3CB371;
    --deep: #0F3D24;
    --gold: #C9A227;
    --border: rgba(31,138,76,.22);
    --gold-border: rgba(201,162,39,.36);
    --shadow: 0 16px 36px rgba(20,50,28,.10);
    --header-h: 113px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif; line-height: 1.78; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button,input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; background: var(--deep); color: #F4FBF4; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 10px; }
.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; box-shadow: 0 8px 24px rgba(15,61,36,.06); }
.vinebar { height: 11px; background: var(--green); color: #F4FBF4; font-size: 9px; line-height: 11px; }
.vinebar-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.vine-brand { color: #F4FBF4; font-weight: 700; letter-spacing: .04em; }
.icon-btn { height: 11px; border: 0; background: transparent; color: #F4FBF4; padding: 0 2px; font-size: 9px; line-height: 11px; }
.stagebar { height: 62px; background: #FFFDF5; border-bottom: 1px solid var(--border); }
.stagebar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand-link { min-width: 120px; display: inline-flex; align-items: center; }
.brand-logo,.basket-logo,.footer-logo { width: auto; height: 28px; object-fit: contain; object-position: left center; }
.brand-fallback { color: var(--deep); font-weight: 900; font-size: 24px; letter-spacing: .04em; }
.stage-actions { display: flex; align-items: center; gap: 10px; }
.primary-btn,.secondary-btn,.text-btn,.close-btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; padding: 0 16px; border: 1px solid transparent; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.primary-btn { background: linear-gradient(135deg,#3CB371 0%,#1F8A4C 56%,#0F3D24 100%); color: #F4FBF4; box-shadow: 0 10px 20px rgba(31,138,76,.16); }
.primary-btn:hover { color: #fff; transform: translateY(-1px); }
.secondary-btn,.text-btn,.close-btn { background: #FFFDF5; color: var(--deep); border-color: var(--border); }
.primary-btn.compact { min-height: 42px; padding: 0 14px; }
.fresh-tabs { height: 40px; background: #BFE7CC; border-bottom: 1px solid var(--border); }
.fresh-tabs-inner { display: flex; height: 100%; align-items: stretch; justify-content: center; gap: 28px; }
.fresh-tab { position: relative; min-width: 96px; display: flex; align-items: center; justify-content: center; color: var(--text); font-size: 14px; font-weight: 700; }
.fresh-tab.is-current { color: var(--deep); }
.fresh-tab.is-current::after { content: ""; position: absolute; width: 32px; height: 3px; border-radius: 4px; background: var(--green); left: 50%; bottom: 0; transform: translateX(-50%); }
.site-main { padding-top: calc(var(--header-h) + 32px); min-height: 70vh; }
.overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(9,35,20,.45); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.overlay.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.no-scroll { overflow: hidden; }
.basket { position: fixed; z-index: 1200; top: 73px; left: max(16px, calc((100vw - 1200px)/2)); width: min(500px, calc(100vw - 32px)); max-height: calc(100vh - 92px); overflow: auto; background: #FFFDF5; border: 1px solid var(--border); border-top: 3px solid var(--green); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); transform: translateY(-16px); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.basket-open .basket { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.basket-head,.search-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.basket-brand { display: flex; align-items: center; gap: 10px; color: var(--deep); }
.basket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; padding: 18px; }
.basket-grid section { min-width: 0; }
.basket-grid h2 { margin: 0 0 8px; font-size: 13px; color: var(--gold); letter-spacing: .08em; }
.basket-grid a { display: block; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.basket-grid b { display: block; color: var(--deep); font-size: 15px; }
.basket-grid span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.search-panel { position: fixed; z-index: 1200; top: 73px; right: max(16px, calc((100vw - 1200px)/2)); width: min(460px, calc(100vw - 32px)); background: #FFFDF5; border: 1px solid var(--border); border-top: 3px solid var(--green); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); padding-bottom: 18px; transform: translateY(-16px); opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.search-opened .search-panel { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-panel label { display: block; color: var(--muted); padding: 16px 18px 8px; font-size: 14px; }
.search-panel input { width: calc(100% - 36px); margin: 0 18px; height: 46px; border-radius: 10px; border: 1px solid var(--border); background: #fff; color: var(--deep); padding: 0 14px; outline: none; }
.search-panel input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,138,76,.12); }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 0; }
.search-presets a { background: var(--deep-bg); border: 1px solid var(--border); border-radius: 9px; color: var(--deep); padding: 8px 10px; font-size: 13px; }
.page-shell { width: min(1200px, calc(100% - 32px)); margin: 0 auto 64px; }
.hero-strip { background: #CFEFDB; color: var(--deep); border: 1px solid var(--border); border-radius: 12px; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 16px; margin-bottom: 22px; }
.hero-strip a { font-weight: 800; color: var(--deep); }
.page-hero { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); gap: 24px; align-items: center; margin-bottom: 30px; }
.page-hero.single { grid-template-columns: 1fr; }
.page-hero h1,.section-title h2,.content-article h1 { color: var(--title); margin: 0; line-height: 1.25; }
h1 { font-size: clamp(28px, 4vw, 32px); }
h2 { font-size: 22px; }
h3 { font-size: 18px; color: var(--deep); }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.lead { font-size: 17px; color: var(--text); }
.muted { color: var(--muted); }
.hero-actions,.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.media-slot { background: linear-gradient(180deg,#E9F7EC,#FDFCF3); border: 1px solid var(--border); border-radius: 14px; min-height: 150px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-slot img { width: 100%; height: 100%; max-height: 240px; object-fit: contain; object-position: center; }
.media-slot.small { min-height: 140px; }
.media-slot.small img { max-height: 180px; }
.media-slot.tall { min-height: 300px; }
.media-slot.tall img { max-height: 420px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.four-col { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.card { background: var(--content); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 10px 24px rgba(20,50,28,.05); padding: 20px; }
.card.gold { border-color: var(--gold-border); }
.card.soft { background: #F8FCF7; }
.card h2,.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .meta { display: inline-block; font-size: 12px; font-weight: 800; color: var(--green); margin-bottom: 8px; }
.section { margin-top: 28px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-title p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-card { display: grid; grid-template-columns: minmax(240px,.8fr) 1.2fr; gap: 22px; align-items: center; }
.feature-card.reverse { grid-template-columns: 1.2fr minmax(240px,.8fr); }
.feature-card.reverse .media-slot { order: 2; }
.cover-block { text-align: center; padding: 18px 0 8px; }
.cover-block .media-slot { margin-bottom: 18px; min-height: 180px; }
.cover-block h2 { margin: 0 0 8px; color: var(--title); }
.cover-block .tagline { font-size: 24px; font-weight: 900; color: var(--deep); margin: 8px auto; max-width: 760px; }
.cover-block p { max-width: 820px; margin: 0 auto; }
.status-card { min-height: 160px; position: relative; overflow: hidden; }
.status-card::before { content: ""; position: absolute; width: 72px; height: 72px; border-radius: 50%; background: rgba(60,179,113,.12); right: -18px; top: -18px; }
.number-card { position: relative; padding-left: 68px; }
.number-card .num { position: absolute; left: 20px; top: 18px; color: var(--gold); font-size: 28px; font-weight: 900; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list a,.tag { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; background: var(--deep-bg); border: 1px solid var(--border); border-radius: 10px; color: var(--deep); font-weight: 700; }
.prose { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: clamp(20px,4vw,34px); }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 1.45em 0 .55em; color: var(--title); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.note-box { background: #FFF9E8; border: 1px solid var(--gold-border); border-left: 4px solid var(--gold); border-radius: 12px; padding: 16px 18px; color: #4A4326; }
.app-grid { display: grid; grid-template-columns: minmax(240px,.7fr) 1.3fr; gap: 28px; align-items: center; }
.icon-badge { display: inline-flex; align-items: center; gap: 12px; }
.icon-badge img { width: 64px; height: 64px; object-fit: contain; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.faq-item h2 { margin: 0 0 8px; font-size: 18px; }
.simple-list { display: grid; gap: 12px; }
.simple-list article { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.site-footer { background: var(--deep); color: #E4F3E6; margin-top: 64px; padding: 42px 0 24px; }
.footer-top { display: grid; grid-template-columns: 220px 1fr; gap: 34px; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand strong { display: block; color: #FFFDF5; font-size: 20px; }
.footer-brand span { display: block; color: #A9D8B9; font-size: 12px; letter-spacing: .12em; }
.footer-logo { filter: none; }
.footer-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.footer-grid h2 { margin: 0 0 10px; color: #BFE7CC; font-size: 14px; }
.footer-grid a { display: block; color: #E4F3E6; font-size: 14px; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-note { border-top: 1px solid rgba(228,243,230,.16); margin-top: 28px; padding-top: 20px; color: #B9D7C2; font-size: 13px; }
.footer-note p { margin: 6px 0; }
.mobile-bottom { display: none; }
:focus-visible { outline: 3px solid rgba(201,162,39,.55); outline-offset: 3px; }
@media (max-width: 900px) {
    .page-hero,.feature-card,.feature-card.reverse,.app-grid { grid-template-columns: 1fr; }
    .feature-card.reverse .media-slot { order: 0; }
    .three-col { grid-template-columns: 1fr 1fr; }
    .four-col { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    :root { --header-h: 73px; }
    body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .wrap,.page-shell { width: min(100% - 32px,1200px); }
    .fresh-tabs { display: none; }
    .stagebar { height: 62px; }
    .site-main { padding-top: calc(var(--header-h) + 24px); }
    .brand-link { min-width: 0; }
    .brand-logo { max-width: 132px; }
    .brand-fallback { font-size: 22px; }
    .stage-actions { gap: 6px; }
    .secondary-btn,.primary-btn.compact { min-height: 44px; padding: 0 11px; font-size: 14px; }
    .basket { top: 73px; left: 16px; right: 16px; width: auto; max-height: 60vh; border-radius: 0 0 14px 14px; }
    .basket-grid { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
    .search-panel { top: 73px; left: 16px; right: 16px; width: auto; }
    .two-col,.three-col,.four-col { grid-template-columns: 1fr; }
    .page-hero { gap: 18px; }
    .card { padding: 18px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .mobile-bottom { position: fixed; z-index: 900; left: 0; right: 0; bottom: 0; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: #FFFDF5; border-top: 1px solid var(--border); box-shadow: 0 -8px 18px rgba(15,61,36,.08); }
    .mobile-bottom a { min-height: 50px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--deep); }
    .mobile-bottom a.is-current { background: var(--green); color: #F4FBF4; }
}
@media (max-width: 480px) {
    .vinebar-inner { width: calc(100% - 20px); }
    .basket-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
    .hero-strip { align-items: flex-start; flex-direction: column; }
    .cover-block .tagline { font-size: 21px; }
}
