:root {
    --theme: #78e02c;
    --theme-dark: #2f7d15;
    --theme-deep: #123f18;
    --theme-light: #f3fbe9;
    --theme-soft: #e4f7d2;
    --theme-accent: #a8f065;
    --theme-hover: #62c91f;
    --theme-border: rgba(69, 142, 28, .24);
    --header-bg: #173f20;
    --header-bg-2: #235d26;
    --text-main: #1d2a1c;
    --text-muted: #586657;
    --on-theme: #10210d;
    --on-header: #f7ffef;
    --on-dark: #eefbe8;
    --white: #ffffff;
    --shadow-soft: 0 16px 40px rgba(40, 100, 25, .13);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    background: var(--theme-light);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a {
    color: var(--theme-dark);
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--theme-accent);
    outline-offset: 3px;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    color: var(--theme-dark);
    line-height: 1.18;
}

h1 {
    letter-spacing: -.035em;
}

h2 {
    font-size: clamp(30px, 3vw, 46px);
    letter-spacing: -.025em;
    margin: 0 0 18px;
}

h3 {
    font-size: 21px;
    margin: 0 0 12px;
}

p {
    margin: 0 0 18px;
}

.container,
.section-inner,
.header-inner,
.footer-inner,
.hero-inner {
    width: min(1280px, calc(100% - 80px));
    margin-left: auto;
    margin-right: auto;
}

.section {
    position: relative;
    padding: 78px 0;
}

.content-section {
    background: var(--white);
}

.soft-section {
    background:
        radial-gradient(circle at 92% 8%, rgba(120, 224, 44, .15), transparent 24%),
        var(--theme-light);
}

.section-heading {
    max-width: 880px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-heading > p {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 0;
}

.narrow-heading {
    max-width: 920px;
}

.compact-heading {
    margin-bottom: 26px;
}

.section-kicker,
.hero-badge {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: max-content;
    border: 1px solid var(--theme-border);
    border-radius: 999px;
    background: var(--theme-soft);
    color: var(--theme-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    padding: 10px 15px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--theme-dark);
    font-weight: 800;
    text-decoration: none;
}

.text-link::after {
    content: "→";
    transition: transform .2s ease;
}

.text-link:hover::after {
    transform: translateX(4px);
}

.main-btn,
.secondary-btn {
    align-items: center;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.main-btn {
    background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%);
    color: var(--on-theme);
    box-shadow: 0 12px 26px rgba(6, 24, 8, .23);
}

.main-btn:hover {
    background: linear-gradient(180deg, var(--theme) 0%, var(--theme-hover) 52%, var(--theme-dark) 100%);
    transform: translateY(-2px);
}

.secondary-btn {
    background: var(--white);
    border: 1px solid var(--theme-border);
    color: var(--theme-dark);
}

.secondary-btn:hover {
    background: var(--theme-soft);
    transform: translateY(-2px);
}

.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: 0 10px 28px rgba(10, 48, 16, .25);
    border-bottom: 1px solid rgba(168, 240, 101, .25);
    overflow: visible;
}

.header-inner {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    overflow: visible;
}

.site-logo,
.drawer-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.site-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 66px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
}

.main-nav a {
    position: relative;
    color: var(--on-header);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    padding: 11px 0;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: var(--theme-accent);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.main-nav a.active,
.main-nav a:hover {
    color: var(--theme-accent);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    justify-content: flex-end;
}

.header-login {
    min-width: 132px;
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(247, 255, 239, .26);
    border-radius: 14px;
    background: rgba(247, 255, 239, .1);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 99px;
    background: var(--on-header);
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform .28s ease;
    z-index: 10001;
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-2) 100%);
    color: var(--on-header);
    padding: 20px;
    overflow-y: auto;
    box-shadow: 22px 0 48px rgba(9, 40, 15, .28);
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
    background: rgba(9, 31, 13, .58);
    transition: opacity .28s ease, visibility .28s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(247, 255, 239, .16);
}

.drawer-logo img {
    display: block;
    max-width: 154px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(247, 255, 239, .24);
    border-radius: 13px;
    background: rgba(247, 255, 239, .1);
    color: var(--on-header);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.drawer-nav,
.drawer-links {
    display: grid;
    gap: 5px;
    margin-top: 20px;
}

.drawer-nav a,
.drawer-links a {
    border-radius: 14px;
    color: var(--on-header);
    font-weight: 700;
    padding: 11px 13px;
    text-decoration: none;
}

.drawer-nav a.active,
.drawer-nav a:hover,
.drawer-links a:hover {
    color: var(--on-theme);
    background: var(--theme-accent);
}

.drawer-links {
    border-top: 1px solid rgba(247, 255, 239, .16);
    padding-top: 16px;
}

.hero-section {
    padding: 54px 0 38px;
    background:
        radial-gradient(circle at 13% 15%, rgba(120, 224, 44, .22) 0%, transparent 31%),
        radial-gradient(circle at 88% 82%, rgba(47, 125, 21, .12) 0%, transparent 27%),
        linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: 56px;
    min-height: 540px;
}

.hero-content h1 {
    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 0 0 22px;
    color: var(--theme-dark);
    max-width: 780px;
}

.hero-content > p {
    max-width: 700px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-main);
    margin: 0 0 28px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 10px 16px;
    background: var(--theme-soft);
    color: var(--theme-dark);
    border: 1px solid var(--theme-border);
    font-weight: 800;
}

.hero-visual,
.media-box,
.app-visual,
.card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-media-box {
    width: min(100%, 540px);
    min-height: 320px;
    max-height: 420px;
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
    border: 1px solid var(--theme-border);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.hero-media-box 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;
    opacity: 1;
}

.hero-media-box img {
    max-width: 70%;
    max-height: 340px;
}

.info-section {
    padding: 34px 0 54px;
    background: var(--white);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.info-card,
.feature-card,
.topic-card,
.category-card,
.service-card,
.feedback-card,
.faq-item,
.visual-card,
.news-card,
.related-card,
.checklist-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;
}

.info-card,
.feature-card,
.topic-card,
.category-card,
.service-card,
.news-card,
.checklist-card {
    padding: 28px;
}

.info-card::before,
.feature-card::before,
.category-card::before,
.service-card::before {
    content: "";
    display: block;
    width: 52px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--theme), var(--theme-accent));
    margin-bottom: 16px;
}

.info-card > span,
.card-number {
    color: var(--theme-dark);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
}

.info-card h2,
.info-card h3,
.category-card h3,
.feature-card h3 {
    color: var(--theme-dark);
    margin: 10px 0 12px;
}

.info-card h2 {
    font-size: 22px;
}

.info-card p,
.category-card p,
.feature-card p,
.service-card p,
.topic-card p,
.news-card p,
.related-card span {
    color: var(--text-muted);
    margin-bottom: 0;
}

.category-section {
    padding: 20px 0 58px;
    background: var(--white);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.category-pills a {
    background: var(--white);
    color: var(--theme-dark);
    border: 1px solid var(--theme-border);
    border-radius: 999px;
    font-weight: 800;
    padding: 10px 18px;
    text-decoration: none;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.category-pills a:hover {
    background: linear-gradient(180deg, var(--theme-accent), var(--theme));
    color: var(--on-theme);
    transform: translateY(-2px);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.category-card {
    display: flex;
    flex-direction: column;
}

.category-card .text-link {
    margin-top: auto;
    padding-top: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--theme-soft);
    border: 1px solid var(--theme-border);
    color: var(--theme-dark);
    font-weight: 900;
    margin-bottom: 18px;
}

.alternating-list {
    display: grid;
    gap: 30px;
}

.content-band {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    align-items: center;
    gap: 52px;
    border: 1px solid var(--theme-border);
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    padding: 34px;
}

.content-band:nth-child(even) .band-media {
    order: 2;
}

.band-media {
    min-height: 270px;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--theme-soft), var(--white));
    border: 1px solid var(--theme-border);
    padding: 28px;
}

.band-media img {
    max-height: 300px;
}

.band-copy ul,
.check-list {
    list-style: none;
    padding: 0;
    margin: 22px 0;
}

.band-copy li,
.check-list li {
    position: relative;
    padding-left: 29px;
    margin-bottom: 12px;
}

.band-copy li::before,
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--theme-dark);
    font-weight: 900;
}

.app-panel {
    display: grid;
    grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: 58px;
    padding: 42px;
    border: 1px solid var(--theme-border);
    border-radius: 32px;
    background: linear-gradient(135deg, var(--theme-soft) 0%, var(--white) 68%);
    box-shadow: var(--shadow-soft);
}

.app-visual {
    min-height: 330px;
    padding: 24px;
}

.app-visual img {
    max-height: 340px;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.news-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.news-card {
    position: relative;
    overflow: visible;
}

.news-card > span {
    display: inline-flex;
    border-radius: 999px;
    background: var(--theme-soft);
    border: 1px solid var(--theme-border);
    color: var(--theme-dark);
    font-size: 13px;
    font-weight: 800;
    padding: 7px 12px;
    margin-bottom: 14px;
}

.news-card .text-link {
    margin-top: 12px;
}

.support-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.support-column {
    padding: 34px;
    border-radius: 28px;
    border: 1px solid var(--theme-border);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.support-column:first-child {
    background: linear-gradient(145deg, var(--theme-soft), var(--white));
}

.support-column ul {
    padding-left: 20px;
    margin: 20px 0 0;
}

.feedback-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.feedback-card {
    margin: 0;
    padding: 27px;
    border-left: 5px solid var(--theme);
}

.feedback-card p {
    color: var(--text-main);
    font-size: 17px;
    margin-bottom: 15px;
}

.feedback-card cite {
    color: var(--theme-dark);
    font-style: normal;
    font-weight: 800;
}

.faq-layout {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 54px;
}

.faq-heading {
    position: sticky;
    top: 118px;
    text-align: left;
    margin: 0;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 0;
    overflow: visible;
}

.faq-item summary {
    cursor: pointer;
    color: var(--theme-dark);
    font-size: 18px;
    font-weight: 800;
    list-style: none;
    padding: 21px 58px 21px 23px;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-soft);
    border: 1px solid var(--theme-border);
    color: var(--theme-dark);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    color: var(--text-muted);
    border-top: 1px solid var(--theme-border);
    padding: 19px 23px 23px;
    margin: 0;
}

.notice-section {
    padding: 46px 0 76px;
    background: var(--white);
}

.notice {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 24px;
    background: linear-gradient(135deg, var(--theme-soft), var(--theme-light));
    color: var(--text-main);
    border: 1px solid var(--theme-border);
    box-shadow: var(--shadow-soft);
    border-radius: 26px;
    padding: 30px;
}

.notice h2 {
    font-size: 27px;
    margin-bottom: 10px;
}

.notice p {
    margin: 0;
}

.notice-mark,
.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--theme-accent), var(--theme));
    color: var(--on-theme);
    font-weight: 900;
}

.notice-mark {
    width: 60px;
    height: 60px;
    font-size: 22px;
}

.page-hero {
    padding: 52px 0;
    background:
        radial-gradient(circle at 8% 12%, rgba(120, 224, 44, .2), transparent 30%),
        linear-gradient(180deg, var(--theme-light), var(--white));
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: center;
    gap: 58px;
}

.page-hero h1 {
    color: var(--theme-dark);
    font-size: clamp(38px, 3.3vw, 52px);
    line-height: 1.12;
    margin: 0 0 23px;
    max-width: 830px;
}

.page-intro {
    color: var(--text-main);
    font-size: 16.5px;
    line-height: 1.72;
    margin-bottom: 26px;
}

.page-visual {
    min-height: 320px;
    max-height: 430px;
    padding: 32px;
    border-radius: 32px;
    border: 1px solid var(--theme-border);
    background: linear-gradient(145deg, var(--white), var(--theme-soft));
    box-shadow: var(--shadow-soft);
}

.page-visual img {
    max-height: 390px;
}

.topic-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-content: center;
}

.topic-facts div {
    border: 1px solid var(--theme-border);
    border-radius: 20px;
    background: var(--white);
    padding: 22px;
}

.topic-facts strong,
.topic-facts span {
    display: block;
}

.topic-facts strong {
    color: var(--theme-dark);
    font-size: 19px;
    margin-bottom: 8px;
}

.topic-facts span {
    color: var(--text-muted);
}

.prose-grid {
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
    gap: 56px;
    align-items: start;
}

.prose-stack p,
.split-panel > div > p {
    color: var(--text-main);
    font-size: 17px;
    line-height: 1.9;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    min-height: 100%;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.topic-card {
    border-top: 5px solid var(--theme);
    padding: 25px;
}

.split-section {
    background: var(--theme-light);
}

.split-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    align-items: start;
    gap: 52px;
}

.checklist-card {
    padding: 30px;
    background: linear-gradient(145deg, var(--white), var(--theme-soft));
}

.checklist-card h3 {
    font-size: 25px;
}

.check-list {
    margin-bottom: 0;
}

.related-section {
    background: var(--theme-light);
    padding: 56px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.related-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease;
}

.related-card strong {
    color: var(--theme-dark);
    font-size: 19px;
}

.related-card:hover {
    background: var(--theme-soft);
    transform: translateY(-3px);
}

.footer {
    background: linear-gradient(180deg, var(--theme-dark) 0%, var(--theme-deep) 100%);
    color: var(--on-dark);
    padding-top: 62px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.55fr repeat(3, 1fr);
    gap: 46px;
    padding-bottom: 44px;
}

.footer-logo {
    justify-content: flex-start;
    margin-bottom: 20px;
}

.footer-logo img {
    display: block;
    max-width: 190px;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer h2 {
    color: var(--on-dark);
    font-size: 18px;
    margin: 7px 0 18px;
}

.footer p {
    color: rgba(238, 251, 232, .84);
}

.footer-grid > div:not(.footer-brand) > a {
    display: block;
    color: var(--on-dark);
    margin-bottom: 9px;
    text-decoration: none;
}

.footer a:hover {
    color: var(--theme-accent);
}

.footer-responsibility {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 22px;
    padding: 28px 0;
    border-top: 1px solid rgba(238, 251, 232, .18);
}

.age-badge {
    width: 58px;
    height: 58px;
    font-size: 22px;
}

.footer-responsibility strong {
    display: block;
    color: var(--on-dark);
    font-size: 18px;
    margin-bottom: 7px;
}

.footer-responsibility p {
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(238, 251, 232, .18);
    padding: 18px 0;
}

.footer-bottom .footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom a {
    color: var(--on-dark);
    font-weight: 800;
    text-decoration: none;
}

@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, .95fr);
        gap: 80px;
    }

    .hero-media-box {
        max-width: 560px;
        min-height: 390px;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .container,
    .section-inner,
    .header-inner,
    .footer-inner,
    .hero-inner {
        width: min(100% - 44px, 1280px);
    }

    .header-inner {
        gap: 14px;
    }

    .site-logo img {
        max-width: 128px;
    }

    .main-nav {
        gap: 9px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .header-login {
        min-width: 110px;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 13px;
    }

    .hero-inner,
    .page-hero-grid {
        gap: 40px;
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .container,
    .section-inner,
    .header-inner,
    .footer-inner,
    .hero-inner {
        width: min(100% - 40px, 1280px);
    }

    .header-inner {
        min-height: 70px;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 10px;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
    }

    .site-logo {
        justify-self: center;
    }

    .site-logo img {
        max-width: min(150px, 42vw);
        max-height: 55px;
    }

    .header-actions {
        justify-self: end;
    }

    .header-actions .main-btn {
        white-space: nowrap;
        padding: 9px 16px;
        min-width: 0;
        min-height: 42px;
    }

    .section {
        padding: 62px 0;
    }

    .hero-section {
        padding: 48px 0 36px;
    }

    .hero-inner,
    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: auto;
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: clamp(34px, 6.5vw, 48px);
    }

    .hero-media-box,
    .page-visual {
        max-width: 100%;
        min-height: 290px;
        padding: 24px;
    }

    .hero-media-box img,
    .page-visual img {
        max-height: 300px;
    }

    .info-grid,
    .category-grid,
    .feature-grid,
    .topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-band,
    .app-panel,
    .prose-grid,
    .split-panel,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .content-band:nth-child(even) .band-media {
        order: 0;
    }

    .app-panel {
        gap: 28px;
    }

    .app-visual {
        min-height: 250px;
    }

    .faq-heading {
        position: static;
        text-align: center;
        margin: 0 auto 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .container,
    .section-inner,
    .header-inner,
    .footer-inner,
    .hero-inner {
        width: min(calc(100% - 32px), 1280px);
    }

    .section {
        padding: 52px 0;
    }

    h2 {
        font-size: clamp(28px, 8.5vw, 38px);
    }

    .hero-content h1,
    .page-hero h1 {
        font-size: clamp(32px, 8vw, 40px);
        line-height: 1.12;
    }

    .hero-content > p,
    .page-intro,
    .section-heading > p {
        font-size: 16px;
    }

    .hero-media-box,
    .page-visual {
        min-height: 230px;
        max-height: none;
    }

    .hero-media-box img,
    .page-visual img {
        max-height: 260px;
    }

    .info-grid,
    .category-grid,
    .services-grid,
    .news-layout,
    .support-panel,
    .feedback-grid,
    .feature-grid,
    .topic-grid,
    .related-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .topic-facts {
        grid-template-columns: 1fr;
    }

    .content-band,
    .app-panel {
        padding: 24px;
    }

    .band-media,
    .app-visual {
        min-height: 210px;
    }

    .notice,
    .footer-responsibility {
        grid-template-columns: 1fr;
    }

    .notice-mark,
    .age-badge {
        width: 52px;
        height: 52px;
    }

    .footer-bottom .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 390px) {
    .header-inner {
        width: min(calc(100% - 20px), 1280px);
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: 7px;
    }

    .site-logo img {
        max-width: min(112px, 34vw);
        max-height: 46px;
    }

    .header-actions .main-btn {
        padding: 8px 10px;
        font-size: 12px;
    }

    .hero-tags span,
    .category-pills a {
        font-size: 13px;
        padding: 8px 12px;
    }
}
