html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: "Charis SIL", Georgia, serif;
    font-weight: 400;
}

* { box-sizing: border-box; }

body {
    background: #FFF4E2;
    color: #2B2118;
    line-height: 1.68;
}

a { color: inherit; text-decoration: none; }

img { display: block; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #FFF8EF 0%, #FFF4E2 55%, #FFEBD1 100%);
    color: #3A1A00;
    box-shadow: 0 8px 24px rgba(150,78,0,0.08);
}

.desktop-header {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 22px;
}

.brand img { width: 126px; height: auto; }

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.nav a,
.text-link,
.meta-text,
.small-note {
    font-family: "Charis SIL", Georgia, serif;
    font-weight: 700;
}

.nav a {
    color: #3A1A00;
    padding: 8px 9px;
    border-radius: 0;
    white-space: nowrap;
    line-height: 1;
    font-size: 15px;
}

.nav a.active,
.nav a:hover {
    color: #E86F00;
    background: transparent;
    box-shadow: inset 0 -2px 0 #FF8A00;
}

.login-btn,
.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Charis SIL", Georgia, serif;
    font-weight: 700;
    background: linear-gradient(180deg, #FFC04A 0%, #FF9A12 45%, #FF7A00 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255,255,255,0.65);
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(255,122,0,0.22);
    padding: 10px 18px;
    line-height: 1;
    white-space: nowrap;
    transition: transform .22s ease, box-shadow .22s ease;
}

.login-btn:hover,
.primary-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255,122,0,0.30);
}

.mobile-header { display: none; }

main { min-height: 60vh; }

.section,
.page-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 42px 22px;
}

.compact-section { padding-top: 22px; }

h1,
.page-title,
.hero-title {
    font-family: "Charis SIL", Georgia, serif;
    font-weight: 700;
    color: #E86F00;
    line-height: 1.16;
    margin: 0 0 18px;
}

h2,
.section-title {
    font-family: "Charis SIL", Georgia, serif;
    font-weight: 700;
    color: #E86F00;
    line-height: 1.22;
    margin: 0 0 14px;
}

h3,
.card-title,
.zone-card h3,
.info-card h3 {
    font-family: "Charis SIL", Georgia, serif;
    font-weight: 700;
    color: #3A1A00;
    line-height: 1.28;
    margin: 0 0 10px;
}

p,
li,
.faq-answer,
.section-desc,
.card p,
.zone-card p,
.info-card p {
    font-family: "Charis SIL", Georgia, serif;
    font-weight: 400;
}

p { margin: 0 0 14px; }

.page-title { font-size: clamp(34px, 6vw, 60px); }
.section-title { font-size: clamp(26px, 4vw, 42px); }
.section-desc { color: #6E5A45; max-width: 830px; }

.banner-slider {
    max-width: 1200px;
    margin: 28px auto 36px;
    border-radius: 22px;
    background: linear-gradient(135deg, #FFF8EF 0%, #FFFFFF 48%, #FFEBD1 100%);
    border: 1px solid rgba(255,138,0,0.22);
    box-shadow: 0 18px 42px rgba(150,78,0,0.14);
    overflow: hidden;
    position: relative;
}

.banner-track { position: relative; min-height: 260px; }
.banner-slide { display: none; padding: 18px; }
.banner-slide.active { display: block; }
.banner-slide img {
    width: 100%;
    max-height: 520px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    margin: 0 auto;
    background: #FFF8EF;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,248,239,0.92);
    color: #E86F00;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(150,78,0,0.16);
}
.banner-prev { left: 18px; }
.banner-next { right: 18px; }
.banner-dots { display: flex; justify-content: center; gap: 9px; padding: 0 0 18px; }
.banner-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #FFEBD1; cursor: pointer; }
.banner-dot.active { background: #FF8A00; }

.intro-strip,
.notice-card,
.app-band,
.page-hero {
    background: linear-gradient(135deg, #FFF8EF 0%, #FFFFFF 52%, #FFEBD1 100%);
    border: 1px solid rgba(255,138,0,0.18);
    box-shadow: 0 16px 40px rgba(150,78,0,0.10);
    border-radius: 22px;
}

.intro-strip { padding: 28px; display: grid; grid-template-columns: 1.5fr .8fr; gap: 24px; align-items: center; }
.intro-strip img { width: 100%; max-height: 240px; object-fit: contain; }

.quick-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.quick-pills a { padding: 10px 15px; background: #FFFFFF; border: 1px solid rgba(255,138,0,0.22); border-radius: 999px; color: #E86F00; font-weight: 700; box-shadow: 0 8px 18px rgba(150,78,0,0.08); }

.grid-4,
.grid-3,
.grid-2,
.zone-grid,
.help-grid,
.faq-grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.zone-grid { grid-template-columns: repeat(3, 1fr); }
.help-grid { grid-template-columns: repeat(3, 1fr); }
.faq-grid { grid-template-columns: repeat(2, 1fr); }

.card,
.zone-card,
.info-card,
.faq-item,
.content-panel,
.link-panel {
    background: #FFFFFF;
    border: 1px solid rgba(255,138,0,0.18);
    box-shadow: 0 16px 40px rgba(150,78,0,0.10);
    color: #2B2118;
    border-radius: 20px;
    padding: 22px;
}

.category-card { min-height: 100%; }
.category-card img,
.content-img,
.zone-card img,
.app-section img,
.banner-slider img,
.hero-visual img,
.promo-banner img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.category-card img { width: 100%; max-height: 168px; margin-bottom: 16px; }
.zone-card img { width: 100%; max-height: 165px; margin-bottom: 16px; border-radius: 14px; background: #FFF8EF; }

.card-number,
.tag,
.step-number { color: #FF8A00; font-weight: 700; letter-spacing: .02em; }
.tag { display: inline-block; margin-bottom: 10px; padding: 5px 10px; border-radius: 999px; background: #FFF4E2; border: 1px solid rgba(255,138,0,0.18); }
.text-link { color: #E86F00; display: inline-flex; margin-top: 8px; }
.text-link:hover { color: #FF8A00; }

.feature-list,
.check-list { margin: 14px 0 0; padding: 0; list-style: none; }
.feature-list li,
.check-list li { margin: 9px 0; padding-left: 24px; position: relative; color: #2B2118; }
.feature-list li:before,
.check-list li:before { content: "•"; position: absolute; left: 6px; color: #FF8A00; font-weight: 700; }

.split-row { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin: 28px 0; }
.split-row.reverse .split-media { order: 2; }
.split-media { background: #FFF8EF; border-radius: 22px; padding: 20px; border: 1px solid rgba(255,138,0,0.16); box-shadow: 0 14px 34px rgba(150,78,0,0.08); }
.split-media img { width: 100%; max-height: 360px; object-fit: contain; margin: 0 auto; }
.split-text { padding: 18px; }

.app-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; align-items: center; padding: 30px; }
.app-band img { width: 100%; max-height: 330px; object-fit: contain; margin: 0 auto; }

.page-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; padding: 38px; margin-top: 28px; }
.page-hero.no-image { display: block; }
.hero-visual { background: #FFF8EF; border-radius: 18px; padding: 18px; }
.hero-visual img { width: 100%; max-height: 360px; margin: 0 auto; }

.article-layout { max-width: 1120px; margin: 0 auto; padding: 22px; }
.article-body { display: grid; grid-template-columns: 1fr; gap: 22px; }
.article-body h2 { margin-top: 8px; }
.callout { background: #FFEBD1; border: 1px solid rgba(255,138,0,0.20); border-radius: 18px; padding: 20px; color: #3A1A00; }
.notice-card { padding: 24px; }

.form-card label { display: block; margin: 12px 0 6px; font-weight: 700; color: #3A1A00; }
.form-card input,
.form-card textarea,
.form-card select { width: 100%; border: 1px solid rgba(255,138,0,0.24); background: #FFF8EF; color: #2B2118; border-radius: 10px; padding: 12px 14px; font-family: "Charis SIL", Georgia, serif; font-size: 16px; }
.form-card textarea { min-height: 140px; resize: vertical; }
.form-card button { margin-top: 14px; cursor: pointer; }

.site-footer { background: #3A1A00; color: #FFE7C2; margin-top: 50px; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 44px 22px; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-grid h3 { color: #FFC04A; }
.footer-grid a { display: block; color: #FFE7C2; margin: 8px 0; }
.footer-brand img { width: 132px; height: auto; margin-bottom: 14px; }
.footer-login { margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,231,194,0.18); max-width: 1200px; margin: 0 auto; padding: 16px 22px 28px; color: #FFE7C2; }

.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.42); z-index: 10000; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.mobile-drawer { position: fixed; top: 0; left: 0; width: 84vw; max-width: 320px; height: 100vh; background: linear-gradient(180deg, #FFFFFF 0%, #FFF8EF 62%, #FFEBD1 100%); z-index: 10001; transform: translateX(-105%); transition: transform .28s ease; box-shadow: 18px 0 40px rgba(58,26,0,0.18); overflow-y: auto; padding: 18px; }
.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer-open .mobile-drawer { transform: translateX(0); }
.drawer-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.drawer-head img { width: 126px; height: auto; }
.drawer-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #FFF4E2; color: #E86F00; font-size: 28px; cursor: pointer; }
.drawer-login { width: 100%; margin: 18px 0; }
.drawer-nav a { display: block; padding: 13px 10px; border-bottom: 1px solid rgba(255,138,0,0.14); color: #3A1A00; font-weight: 700; }

@media (max-width: 1100px) {
    .nav a { font-size: 14px; padding: 8px 6px; }
    .desktop-header { gap: 12px; }
}

@media (max-width: 920px) {
    .desktop-header { display: none; }
    .mobile-header { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; }
    .menu-toggle { width: 42px; height: 42px; border: 1px solid rgba(255,138,0,0.22); border-radius: 10px; background: #FFFFFF; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; }
    .menu-toggle span { display: block; height: 2px; background: #E86F00; border-radius: 4px; }
    .mobile-logo { justify-self: center; }
    .mobile-logo img { width: 116px; height: auto; }
    .mobile-login { padding: 9px 12px; font-size: 13px; }
    .grid-4, .grid-3, .zone-grid, .help-grid, .faq-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .intro-strip, .page-hero, .app-band, .split-row { grid-template-columns: 1fr; }
    .split-row.reverse .split-media { order: 0; }
    .page-hero { padding: 26px; }
    .banner-slider { margin: 18px 14px 24px; }
}

@media (max-width: 620px) {
    .section, .page-section { padding: 30px 16px; }
    .grid-4, .grid-3, .grid-2, .zone-grid, .help-grid, .faq-grid, .footer-grid { grid-template-columns: 1fr; }
    .banner-track { min-height: 170px; }
    .banner-slide { padding: 10px; }
    .banner-arrow { width: 34px; height: 34px; font-size: 22px; }
    .banner-prev { left: 10px; }
    .banner-next { right: 10px; }
    .intro-strip, .app-band, .page-hero, .card, .zone-card, .info-card, .faq-item, .content-panel { border-radius: 16px; padding: 18px; }
    .quick-pills a { flex: 1 1 calc(50% - 12px); text-align: center; }
    .mobile-login { padding: 8px 10px; font-size: 12px; }
    .mobile-logo img { width: 104px; }
}
