:root {
  --theme: #fff48e;
  --theme-dark: #9b7b00;
  --theme-deep: #3f3000;
  --theme-light: #fffdf0;
  --theme-soft: #fff7c8;
  --theme-accent: #fff9ba;
  --theme-hover: #e2bd00;
  --theme-border: rgba(255, 244, 142, .46);
  --header-bg: #5b4600;
  --header-bg-2: #7d6200;
  --text-main: #292305;
  --text-muted: #6b6130;
  --on-theme: #2a2200;
  --on-header: #fffbe6;
  --on-dark: #fff8d8;
  --white: #ffffff;
  --shadow-soft: 0 18px 44px rgba(91, 70, 0, .16);
}*{box-sizing:border-box}
html,body{margin:0;min-height:100%;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth}
body{background:var(--theme-light);color:var(--text-main);font-family:Arial,Helvetica,sans-serif;line-height:1.6}
a{color:inherit}.container,.section-inner,.header-inner,.footer-inner,.hero-inner{width:min(1280px,calc(100% - 80px));margin-left:auto;margin-right:auto}
@media (min-width:1440px){.container,.section-inner,.header-inner,.footer-inner,.hero-inner{width:min(1360px,calc(100% - 120px))}}
@media (max-width:767px){.container,.section-inner,.header-inner,.footer-inner,.hero-inner{width:min(100% - 32px,1280px)}}
.site-header{position:sticky;top:0;width:100%;z-index:9999;background:linear-gradient(180deg,var(--header-bg) 0%,var(--header-bg-2) 100%);color:var(--on-header);box-shadow:var(--shadow-soft);overflow:visible}
.header-inner{min-height:82px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:24px;overflow:visible}
.site-logo{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;overflow:visible}
.site-logo img{display:block;width:auto;height:auto;max-width:190px;max-height:72px;object-fit:contain}
.main-nav{display:flex;justify-content:center;align-items:center;gap:18px}
.main-nav a{color:var(--on-header);text-decoration:none;white-space:nowrap;font-weight:700;font-size:15px;padding:12px 0;border-bottom:2px solid transparent}
.main-nav a.active,.main-nav a:hover{color:#fff;border-bottom:2px solid var(--theme-soft)}
.main-btn,.text-btn,.section-link{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,var(--theme-accent) 0%,var(--theme) 48%,var(--theme-dark) 100%);color:var(--on-theme);border-radius:999px;box-shadow:var(--shadow-soft);text-decoration:none;white-space:nowrap;font-weight:800;padding:12px 22px;border:0}
.main-btn:hover,.text-btn:hover,.section-link:hover{background:linear-gradient(180deg,var(--theme-accent) 0%,var(--theme-hover) 100%)}
.mobile-menu-toggle{display:none;border:1px solid rgba(255,255,255,.34);background:rgba(255,255,255,.12);border-radius:14px;align-items:center;justify-content:center;flex-direction:column;gap:5px}
.mobile-menu-toggle span{display:block;width:20px;height:2px;background:var(--on-header);border-radius:10px}
.drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.38);opacity:0;visibility:hidden;transition:.28s ease;z-index:10000}
.drawer-overlay.is-open{opacity:1;visibility:visible}
.mobile-drawer{position:fixed;top:0;left:0;width:82%;max-width:320px;height:100vh;transform:translateX(-100%);transition:transform .28s ease;z-index:10001;background:var(--header-bg);color:var(--on-header);padding:22px;overflow-y:auto;box-shadow:20px 0 40px rgba(0,0,0,.2)}
.mobile-drawer.is-open{transform:translateX(0)}
.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.drawer-head img{max-width:150px;max-height:62px;object-fit:contain}
.drawer-close{width:42px;height:42px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.1);color:var(--on-header);border-radius:50%;font-size:30px;line-height:1}
.drawer-nav{display:grid;gap:10px;margin:28px 0}.drawer-nav a{text-decoration:none;color:var(--on-header);background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);padding:13px 16px;border-radius:18px;font-weight:700}.drawer-nav a.active{background:rgba(255,255,255,.22)}
.drawer-note{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:20px;padding:18px}body.menu-open{overflow:hidden}
.site-main{background:var(--theme-light)}.section{padding:72px 0}.hero-section{padding:72px 0 48px;background:linear-gradient(180deg,var(--theme-light) 0%,var(--theme-soft) 100%)}
.hero-inner{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);align-items:center;gap:64px}
.hero-content h1{font-size:clamp(56px,5vw,76px);line-height:1.05;margin:0 0 24px;color:var(--theme-dark);letter-spacing:-1.5px}
.hero-content p,.lead{font-size:18px;line-height:1.8;color:var(--text-main);margin:0 0 28px}
.hero-badge,.hero-tags span,.category-pills a,.badge,.tag{display:inline-flex;align-items:center;border-radius:999px;padding:10px 16px;background:var(--white);color:var(--theme-dark);border:1px solid var(--theme-border);font-weight:700;text-decoration:none;width:auto;max-width:max-content}
.hero-badge{margin-bottom:18px}.hero-tags,.category-pills,.footer-badges,.related-links{display:flex;flex-wrap:wrap;gap:12px}.category-pills{justify-content:center}
.hero-visual,.media-box,.app-visual,.card-media{display:flex;align-items:center;justify-content:center;overflow:visible}
.hero-media-box,.page-media-box{width:100%;max-width:560px;min-height:380px;border-radius:32px;background:var(--white);border:1px solid var(--theme-border);box-shadow:var(--shadow-soft);display:flex;align-items:center;justify-content:center;overflow:visible;padding:36px}
.hero-media-box img,.page-media-box img{display:block;max-width:100%;max-height:340px;width:auto;height:auto;object-fit:contain}
.info-section{padding:32px 0 48px}.info-grid,.service-grid,.card-grid,.category-grid,.topic-grid,.faq-grid,.feedback-grid{display:grid;gap:22px}
.info-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.service-grid,.card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.topic-grid,.faq-grid,.feedback-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.card,.zone-card,.info-card,.feature-card,.category-card,.faq-item,.notice,.visual-card,.feedback-card,.step-card{background:var(--white);color:var(--text-main);border:1px solid var(--theme-border);box-shadow:var(--shadow-soft);border-radius:24px;min-height:auto;height:auto;padding:28px}
.info-card span,.step-card span,.number{color:var(--theme);font-weight:900;letter-spacing:.08em}
.info-card h2,.card h2,.card h3,.zone-card h3,.feature-card h3,.category-card h3,.faq-item h3,.notice h2,.section-title h2,.step-card h3{color:var(--theme-dark);margin:12px 0}
.card p,.zone-card p,.info-card p,.feature-card p,.category-card p,.faq-item p,.feedback-card p,.notice p,.step-card p{color:var(--text-muted);line-height:1.72;margin:0}
.section-title{max-width:850px;margin-bottom:30px}.section-title h2{font-size:clamp(32px,3vw,48px);line-height:1.12;margin:0 0 14px}.section-title p{color:var(--text-muted);font-size:17px;line-height:1.8;margin:0}
.media-box{min-height:240px;background:var(--theme-soft);border-radius:24px;padding:24px}.media-box img,.app-visual img,.card-media img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.split{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:center;gap:42px}.split.reverse{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
.page-hero{padding:72px 0 54px;background:linear-gradient(180deg,var(--theme-soft) 0%,var(--theme-light) 100%)}.page-hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);align-items:center;gap:48px}.page-hero h1{font-size:clamp(42px,4.5vw,66px);line-height:1.08;margin:12px 0 18px;color:var(--theme-dark)}
.page-body p{font-size:17px;color:var(--text-muted);line-height:1.84}.notice{background:linear-gradient(180deg,var(--white) 0%,var(--theme-soft) 100%)}.notice strong{color:var(--theme-dark)}
.footer{background:var(--theme-deep);color:var(--on-dark);padding:58px 0 0}.footer a{color:var(--on-dark);text-decoration:none}.footer-inner{display:grid;grid-template-columns:minmax(0,1.45fr) repeat(3,minmax(170px,.6fr));gap:34px;align-items:start}.footer-brand img{max-width:190px;max-height:72px;object-fit:contain}.footer-brand p,.footer-legal p{color:rgba(238,251,247,.82);line-height:1.8}.footer-badges span{border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:8px 12px;color:var(--on-dark)}.footer-col{display:grid;gap:10px}.footer-col h2{font-size:18px;margin:0 0 10px;color:#fff}.footer-legal{border-top:1px solid rgba(255,255,255,.14);margin-top:38px;padding:20px min(1280px,calc(100% - 80px));text-align:center}
@media (min-width:1440px){.hero-inner{grid-template-columns:minmax(0,1.05fr) minmax(480px,.95fr);gap:80px}.hero-media-box{max-width:620px;min-height:420px}.hero-media-box img{max-height:380px}}
@media (max-width:1180px){.main-nav{gap:12px}.main-nav a{font-size:14px}.category-grid,.info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:1023px){.header-inner{width:min(100% - 28px,1280px);min-height:68px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px}.mobile-menu-toggle{display:inline-flex;width:44px;height:44px}.main-nav{display:none}.site-logo{justify-self:center}.site-logo img{max-width:min(150px,42vw);max-height:56px}.header-actions{justify-self:end}.header-actions .main-btn{white-space:nowrap;padding:10px 16px;font-size:13px}.hero-section,.page-hero{padding:48px 0 36px}.hero-inner,.page-hero-grid,.split,.split.reverse{grid-template-columns:1fr;gap:32px}.hero-content h1{font-size:clamp(36px,9vw,52px)}.hero-media-box,.page-media-box{max-width:100%;min-height:auto;padding:24px}.hero-media-box img,.page-media-box img{max-height:300px}.info-grid,.service-grid,.card-grid,.topic-grid,.faq-grid,.feedback-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.section{padding:48px 0}.info-grid,.service-grid,.card-grid,.category-grid,.topic-grid,.faq-grid,.feedback-grid,.footer-inner{grid-template-columns:1fr}.card,.zone-card,.info-card,.feature-card,.category-card,.faq-item,.notice,.visual-card,.feedback-card,.step-card{padding:22px}.footer-legal{padding-left:16px;padding-right:16px}}
@media (max-width:390px){.header-inner{width:min(100% - 20px,1280px);grid-template-columns:44px minmax(0,1fr) auto;gap:8px}.site-logo img{max-width:min(120px,36vw);max-height:48px}.header-actions .main-btn{padding:8px 12px;font-size:12px}}


/* Final visual safety overrides */
.site-header { background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-2) 100%) !important; color: var(--on-header) !important; border-bottom: 1px solid var(--theme-border) !important; }
.main-btn, .header-login, .text-btn, .section-link { background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%) !important; color: var(--on-theme) !important; }
.hero-section { background: radial-gradient(circle at 15% 20%, var(--theme-soft) 0%, transparent 34%), linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%) !important; }
.hero-content h1, .page-hero h1, .section-title h2 { color: var(--theme-dark) !important; }
.hero-badge, .hero-tags span { background: var(--theme-soft) !important; color: var(--theme-dark) !important; border: 1px solid var(--theme-border) !important; }
.info-card span, .category-card .card-number { color: var(--theme) !important; }
.info-card h2, .category-card h3, .feature-card h3, .faq-item h3 { color: var(--theme-dark) !important; }
.category-pills a { background: var(--white) !important; color: var(--theme-dark) !important; border: 1px solid var(--theme-border) !important; }
.category-pills a:hover { background: linear-gradient(180deg, var(--theme-accent), var(--theme)) !important; color: var(--on-theme) !important; }
.footer { background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%) !important; color: var(--on-dark) !important; }
.media-box, .hero-visual, .app-visual, .card-media, .hero-media-box, .page-media-box, .visual-card { overflow: visible !important; }
.media-box img, .hero-visual img, .app-visual img, .card-media img, .hero-media-box img, .page-media-box img, .visual-card img, .site-logo img, .drawer-logo img { object-fit: contain !important; width: auto; height: auto; }
