:root {
    --theme: #fd8901;
    --theme-dark: #b85a00;
    --theme-deep: #6e3300;
    --theme-light: #fff7eb;
    --theme-soft: #ffe5bf;
    --theme-accent: #ffba46;
    --theme-hover: #e87500;
    --theme-border: rgba(253, 137, 1, .36);
    --header-bg: #7a3500;
    --header-bg-2: #b45300;
    --text-main: #2d1a06;
    --text-muted: #6b5a43;
    --on-theme: #1f1100;
    --on-header: #fff7eb;
    --on-dark: #fff7eb;
    --white: #ffffff;
    --shadow-soft: 0 18px 50px rgba(253, 137, 1, .22);
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}
body {
    background: var(--theme-light);
    color: var(--text-main);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}
a {
    color: inherit;
}
img {
    max-width: 100%;
}
.container,
.section-inner,
.header-inner,
.footer-inner,
.hero-inner {
    width: min(1280px, calc(100% - 80px));
    margin-left: auto;
    margin-right: auto;
}
.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;
    text-decoration: none;
}
.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;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}
.main-nav a.active,
.main-nav a:hover {
    color: var(--theme-accent);
    border-bottom-color: var(--theme-accent);
}
.main-btn,
.text-link {
    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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 20px;
    font-weight: 800;
    border: 0;
}
.text-link:hover,
.main-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme-hover) 55%, var(--theme-dark) 100%);
}
.mobile-menu-toggle {
    display: none;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}
.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--on-header);
    display: block;
}
.drawer-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
    background: rgba(3, 75, 99, .46);
    transition: opacity .28s ease, visibility .28s ease;
}
.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);
    box-shadow: 24px 0 60px rgba(3,75,99,.28);
    padding: 22px;
    overflow-y: auto;
}
.mobile-drawer.is-open {
    transform: translateX(0);
}
.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}
.drawer-head img {
    max-width: 150px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.drawer-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.12);
    color: var(--on-header);
    font-size: 28px;
    line-height: 1;
}
.drawer-nav {
    display: grid;
    gap: 10px;
}
.drawer-nav a {
    color: var(--on-header);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
}
.drawer-nav a.active {
    background: rgba(109, 224, 255, .22);
    color: var(--theme-accent);
}
body.menu-open {
    overflow: hidden;
}
.section {
    padding: 68px 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.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 56px;
}
.hero-content h1,
.page-hero-content h1 {
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1.05;
    margin: 0 0 24px;
    color: var(--theme-dark);
    letter-spacing: -1px;
}
.hero-content p,
.page-hero-content p,
.lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-main);
    margin: 0 0 28px;
}
.hero-badge,
.hero-tags span,
.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: 800;
    width: auto;
    max-width: max-content;
}
.hero-badge {
    margin-bottom: 18px;
}
.hero-tags,
.category-pills,
.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-visual,
.media-box,
.app-visual,
.card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.hero-media-box,
.visual-card {
    width: 100%;
    max-width: 540px;
    min-height: 320px;
    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,
.visual-card img,
.media-box img,
.hero-visual img,
.app-visual img,
.card-media img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.hero-media-box img {
    max-height: 340px;
}
.info-section {
    padding: 32px 0 48px;
}
.info-grid,
.four-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.info-card,
.card,
.zone-card,
.feature-card,
.category-card,
.faq-item,
.notice,
.feedback-card,
.news-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,
.number,
.kicker {
    color: var(--theme);
    font-weight: 900;
}
.info-card h2,
.card h2,
.card h3,
.zone-card h3,
.feature-card h3,
.category-card h3,
.faq-item h3,
.section-title h2,
.notice h2,
.feedback-card h3,
.news-card h3 {
    color: var(--theme-dark);
}
.info-card p,
.card p,
.zone-card p,
.feature-card p,
.category-card p,
.faq-item p,
.notice p,
.feedback-card p,
.news-card p {
    color: var(--text-muted);
    line-height: 1.75;
}
.category-pills a,
.related-links a {
    border-radius: 999px;
    padding: 12px 18px;
    background: var(--white);
    color: var(--theme-dark);
    border: 1px solid var(--theme-border);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(5,119,154,.08);
}
.section-title {
    max-width: 850px;
    margin-bottom: 28px;
}
.section-title h2 {
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.16;
    margin: 0 0 12px;
}
.section-title p {
    color: var(--text-muted);
    font-size: 17px;
}
.category-grid,
.three-grid,
.card-grid,
.topic-grid,
.faq-grid,
.feedback-grid,
.news-grid {
    display: grid;
    gap: 22px;
}
.category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.three-grid,
.feedback-grid,
.news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card-grid,
.topic-grid,
.faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.category-card a,
.news-card a,
.card a {
    color: var(--theme-dark);
    font-weight: 800;
    text-decoration: none;
}
.split-section {
    background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(216,245,252,.75));
}
.split-grid,
.page-hero-grid,
.app-panel,
.support-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
    gap: 42px;
    align-items: center;
}
.split-grid.reverse {
    grid-template-columns: minmax(340px, .85fr) minmax(0, 1fr);
}
.check-list,
.clean-list {
    display: grid;
    gap: 14px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}
.check-list li,
.clean-list li {
    background: var(--theme-soft);
    border: 1px solid var(--theme-border);
    border-radius: 18px;
    padding: 16px 18px;
    color: var(--text-main);
}
.app-card {
    background: linear-gradient(135deg, var(--white), var(--theme-soft));
}
.app-visual img,
.media-box img,
.visual-card img {
    max-height: 320px;
}
.page-hero {
    background: linear-gradient(180deg, var(--theme-light), var(--theme-soft));
    padding: 64px 0 44px;
}
.page-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, .76fr);
}
.page-hero-content h1 {
    font-size: clamp(40px, 4.6vw, 64px);
}
.content-flow {
    display: grid;
    gap: 36px;
}
.prose {
    background: var(--white);
    border: 1px solid var(--theme-border);
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow-soft);
}
.prose h2 {
    color: var(--theme-dark);
    font-size: clamp(28px, 3vw, 40px);
    margin: 0 0 16px;
}
.prose p {
    color: var(--text-main);
    line-height: 1.85;
    margin: 0 0 16px;
}
.notice {
    background: linear-gradient(135deg, var(--theme-deep), var(--theme-dark));
    color: var(--on-dark);
}
.notice h2,
.notice p,
.notice li {
    color: var(--on-dark);
}
.notice .badge {
    background: rgba(255,255,255,.12);
    color: var(--on-dark);
    border-color: rgba(255,255,255,.22);
}
.footer {
    background: var(--theme-deep);
    color: var(--on-dark);
    padding: 56px 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr .8fr .8fr 1.2fr;
    gap: 34px;
}
.footer img {
    max-width: 180px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.footer h2 {
    font-size: 18px;
    margin: 0 0 16px;
}
.footer p {
    color: rgba(233,251,255,.82);
    line-height: 1.75;
}
.footer a {
    color: var(--on-dark);
    display: block;
    text-decoration: none;
    margin: 8px 0;
}
.footer strong {
    display: inline-block;
    margin-top: 10px;
    color: var(--theme-accent);
}
@media (min-width: 1440px) {
    .container,
    .section-inner,
    .header-inner,
    .footer-inner,
    .hero-inner {
        width: min(1360px, calc(100% - 120px));
    }
    .hero-inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(480px, 0.95fr);
        gap: 80px;
    }
    .hero-media-box {
        max-width: 560px;
        min-height: 360px;
    }
    .hero-media-box img {
        max-height: 340px;
    }
}
@media (max-width: 1180px) {
    .main-nav {
        gap: 12px;
        font-size: 14px;
    }
    .category-grid,
    .four-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;
        min-height: 40px;
    }
    .hero-section {
        padding: 48px 0 36px;
    }
    .hero-inner,
    .page-hero-grid,
    .split-grid,
    .split-grid.reverse,
    .app-panel,
    .support-panel {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-content h1 {
        font-size: clamp(36px, 9vw, 52px);
    }
    .hero-media-box,
    .visual-card {
        max-width: 100%;
        min-height: auto;
        padding: 24px;
    }
    .hero-media-box img {
        max-height: 300px;
    }
    .info-grid,
    .three-grid,
    .feedback-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .container,
    .section-inner,
    .header-inner,
    .footer-inner,
    .hero-inner {
        width: min(100% - 32px, 1280px);
    }
    .section {
        padding: 48px 0;
    }
    .info-grid,
    .four-grid,
    .category-grid,
    .three-grid,
    .card-grid,
    .topic-grid,
    .faq-grid,
    .feedback-grid,
    .news-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }
    .hero-tags,
    .category-pills,
    .related-links {
        gap: 10px;
    }
    .hero-content p,
    .page-hero-content p,
    .lead {
        font-size: 16px;
    }
    .prose,
    .card,
    .info-card,
    .zone-card,
    .feature-card,
    .category-card,
    .faq-item,
    .notice,
    .feedback-card,
    .news-card {
        padding: 22px;
    }
}
@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: 13px;
    }
}
