:root {
    --bg: #F4FBF4;
    --deep-bg: #E4F3E6;
    --surface: #FFFFFF;
    --soft: #D8EDDC;
    --ink: #14321C;
    --text: #2A4632;
    --muted: #5E7A64;
    --quiet: #88A090;
    --green: #1F8A4C;
    --mint: #3CB371;
    --deep: #0F3D24;
    --gold: #C9A227;
    --line: rgba(31, 138, 76, .22);
    --gold-line: rgba(201, 162, 39, .36);
    --shadow: 0 16px 36px rgba(20, 50, 28, .10);
    --radius: 14px;
    --header-h: 113px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}
body.panel-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.shell { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 70; box-shadow: 0 6px 20px rgba(20, 50, 28, .05); }
.vine-bar { height: 11px; background: var(--green); color: #F4FBF4; }
.vine-inner { height: 11px; display: flex; align-items: center; justify-content: space-between; font-size: 8px; line-height: 1; letter-spacing: .02em; }
.vine-brand { display: inline-flex; align-items: center; height: 11px; font-weight: 700; }
.plain-action { border: 0; background: transparent; color: #F4FBF4; padding: 0 6px; height: 11px; line-height: 11px; font-size: 8px; }
.platform-bar { height: 62px; background: #FFFDF5; border-bottom: 1px solid var(--line); }
.platform-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand-lockup { display: inline-flex; align-items: center; min-width: 120px; min-height: 44px; }
.brand-logo { max-height: 28px; width: auto; object-fit: contain; object-position: left center; }
.brand-fallback { font-size: 24px; font-weight: 800; color: var(--deep); letter-spacing: .04em; }
.platform-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle, .app-link, .btn-primary, .btn-secondary {
    min-height: 44px;
    border-radius: 12px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 1px solid var(--line);
}
.menu-toggle, .btn-secondary { background: #FFFDF5; color: var(--deep); }
.app-link, .btn-primary { background: linear-gradient(135deg,#3CB371 0%,#1F8A4C 56%,#0F3D24 100%); color: #F4FBF4; border-color: transparent; }
.fresh-tabs { height: 40px; background: #D8EDDC; border-bottom: 1px solid rgba(31,138,76,.16); }
.fresh-tabs-inner { height: 100%; display: flex; align-items: center; justify-content: center; gap: 28px; }
.fresh-tabs a { height: 40px; display: inline-flex; align-items: center; position: relative; color: var(--muted); font-weight: 700; }
.fresh-tabs a.is-current { color: var(--deep); }
.fresh-tabs a.is-current::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 2px; height: 3px; border-radius: 3px; background: var(--green); }

.site-main { min-height: 70vh; padding-top: calc(var(--header-h) + 28px); padding-bottom: 64px; }
.section { padding: 26px 0; }
.section + .section { border-top: 1px solid rgba(31,138,76,.08); }
.eyebrow { margin: 0 0 6px; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { color: var(--ink); line-height: 1.28; margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 32px); margin-bottom: 14px; }
h2 { font-size: clamp(21px, 3vw, 25px); margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 17px; color: var(--text); max-width: 820px; }
.muted { color: var(--muted); }
.page-head { padding: 10px 0 20px; }
.page-head-inner { background: linear-gradient(135deg,#FFFFFF 0%,#F4FBF4 68%,#E4F3E6 100%); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.page-head-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.7fr); gap: 28px; align-items: center; }
.page-head-media { min-height: 180px; background: #E4F3E6; border-radius: 14px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.page-head-media img { width: 100%; max-height: 220px; object-fit: contain; object-position: center; }

.notice-strip { background: #CFEBDD; color: var(--deep); border: 1px solid var(--line); padding: 12px 16px; border-radius: 12px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notice-strip a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 10px 24px rgba(20,50,28,.06); }
.card.soft { background: var(--deep-bg); }
.card.gold { border-color: var(--gold-line); }
.card-media { min-height: 140px; max-height: 180px; margin: -4px -4px 14px; border-radius: 12px; overflow: hidden; background: #ECF7EE; display: grid; place-items: center; }
.card-media img { width: 100%; height: 100%; max-height: 180px; object-fit: contain; object-position: center; }
.card p:last-child { margin-bottom: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.tag { display: inline-flex; align-items: center; min-height: 34px; padding: 5px 10px; border-radius: 10px; border: 1px solid var(--line); background: #F9FFF9; color: var(--deep); font-size: 14px; }
.text-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.text-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: #FFFDF5; color: var(--deep); font-weight: 700; }

.hero-media { background: #E4F3E6; border: 1px solid var(--line); border-radius: 16px; min-height: 190px; max-height: 240px; display: grid; place-items: center; overflow: hidden; }
.hero-media img { width: 100%; max-height: 240px; object-fit: contain; object-position: center; }
.hero-fallback { width: 100%; min-height: 210px; display: grid; place-items: center; color: var(--deep); font-size: 30px; font-weight: 800; text-align: center; padding: 24px; }
.hero-copy { text-align: center; max-width: 820px; margin: 18px auto 0; }
.hero-copy .kicker { color: var(--green); font-weight: 800; margin-bottom: 6px; }
.hero-copy h1 { margin-bottom: 10px; }
.hero-copy .text-links { justify-content: center; }

.status-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 18px; min-height: 150px; }
.status-card strong { display: block; color: var(--deep); font-size: 18px; margin-bottom: 8px; }
.numbered-list { counter-reset: item; display: grid; gap: 12px; }
.numbered-list article { counter-increment: item; padding: 18px 18px 18px 64px; position: relative; background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; }
.numbered-list article::before { content: counter(item, decimal-leading-zero); position: absolute; left: 18px; top: 16px; color: var(--green); font-weight: 900; font-size: 20px; }
.timeline { display: grid; gap: 14px; }
.timeline article { background: #FFFFFF; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; padding: 18px 20px; box-shadow: 0 8px 20px rgba(20,50,28,.05); }
.article-body { max-width: 900px; }
.article-body h2 { margin-top: 30px; }
.article-body h3 { margin-top: 22px; }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: 8px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.faq-item h2 { font-size: 18px; margin-bottom: 8px; }

.app-feature { display: grid; grid-template-columns: minmax(250px,.7fr) minmax(0,1.3fr); gap: 28px; align-items: center; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.app-visual { min-height: 280px; max-height: 420px; background: #E4F3E6; border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.app-visual img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; object-position: center; }
.app-icon { width: 64px; height: 64px; object-fit: contain; margin-bottom: 12px; }

.site-footer { background: var(--deep); color: #E4F3E6; padding: 38px 0 calc(24px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: minmax(250px,.9fr) minmax(0,1.5fr); gap: 34px; }
.footer-brand-line { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 12px; }
.footer-logo { max-height: 28px; width: auto; object-fit: contain; }
.footer-brand-line strong { display: block; color: #FFFDF5; font-size: 18px; }
.footer-brand-line small { display: block; color: #A9D9BA; font-size: 11px; letter-spacing: .08em; }
.footer-brand p { color: #CDE7D4; font-size: 14px; margin-bottom: 0; }
.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.footer-links h2 { color: #FFFDF5; font-size: 15px; margin-bottom: 10px; }
.footer-links a { display: block; min-height: 34px; color: #DCEFE1; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(228,243,230,.18); margin-top: 26px; padding-top: 18px; color: #A9D9BA; font-size: 13px; }

.overlay { position: fixed; inset: 0; background: rgba(15,61,36,.38); z-index: 80; visibility: hidden; opacity: 0; pointer-events: none; transition: .2s ease; }
.overlay.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.menu-panel, .search-panel { position: fixed; z-index: 90; background: #FFFDF5; border: 1px solid var(--line); box-shadow: var(--shadow); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .2s ease; }
.menu-panel.is-open, .search-panel.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
.menu-panel { top: 73px; left: max(16px, calc((100vw - 1200px)/2)); width: min(500px, calc(100vw - 32px)); max-height: calc(100vh - 92px); overflow: auto; border-radius: 0 0 14px 14px; border-top: 3px solid var(--green); }
.menu-head, .search-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.menu-title { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--deep); }
.menu-logo { max-height: 24px; max-width: 120px; object-fit: contain; }
.panel-close { min-height: 44px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line); background: #FFFFFF; color: var(--deep); font-weight: 700; }
.menu-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 18px; }
.menu-groups h2 { font-size: 14px; color: var(--green); margin-bottom: 8px; }
.menu-groups a { display: block; padding: 9px 0; border-top: 1px solid rgba(31,138,76,.10); }
.menu-groups strong { display: block; color: var(--ink); font-size: 15px; }
.menu-groups span { display: block; color: var(--muted); font-size: 12px; line-height: 1.55; margin-top: 2px; }
.search-panel { top: 73px; right: max(16px, calc((100vw - 1200px)/2)); width: min(460px, calc(100vw - 32px)); border-radius: 0 0 14px 14px; border-top: 3px solid var(--green); padding-bottom: 16px; }
.search-head h2 { font-size: 17px; margin: 0; }
.search-look { display: block; padding: 16px; }
.search-look input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; color: var(--muted); padding: 0 14px; }
.search-presets { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.search-presets a { min-height: 40px; display: inline-flex; align-items: center; padding: 7px 11px; border-radius: 10px; border: 1px solid var(--line); background: #F4FBF4; color: var(--deep); font-size: 14px; }
.mobile-bottom { display: none; }

:focus-visible { outline: 3px solid rgba(201,162,39,.60); outline-offset: 3px; }
.card a:hover, .text-links a:hover, .footer-links a:hover, .menu-groups a:hover { color: var(--green); }
.menu-toggle:hover, .btn-secondary:hover { border-color: var(--green); }

@media (max-width: 820px) {
    :root { --header-h: 73px; }
    .fresh-tabs { display: none; }
    .site-main { padding-top: calc(var(--header-h) + 20px); padding-bottom: 86px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
    .page-head-grid, .app-feature, .footer-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .menu-panel { top: 73px; left: 16px; right: 16px; width: auto; height: 60vh; max-height: 60vh; }
    .search-panel { top: 73px; left: 16px; right: 16px; width: auto; }
    .mobile-bottom { display: grid; grid-template-columns: repeat(5,1fr); position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; min-height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #FFFDF5; border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(20,50,28,.08); }
    .mobile-bottom a { min-height: 50px; display: grid; place-items: center; color: var(--muted); font-size: 13px; font-weight: 700; }
    .mobile-bottom a.is-current { background: var(--green); color: #F4FBF4; }
    .site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 620px) {
    .shell { width: min(100% - 32px, 1200px); }
    .platform-actions { gap: 7px; }
    .menu-toggle, .app-link { padding-inline: 12px; }
    .brand-lockup { min-width: 0; flex: 1; }
    .brand-logo { max-width: 150px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .page-head-inner { padding: 20px; }
    .card { padding: 16px; }
    .hero-media { min-height: 170px; }
    .notice-strip { align-items: flex-start; flex-direction: column; }
    .menu-groups { grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px; }
    .footer-links { gap: 22px 16px; }
    .app-feature { padding: 18px; }
}
