:root {
    --theme: #78e02c;
    --theme-dark: #3d7a18;
    --theme-deep: #102e13;
    --theme-light: #f3fbe9;
    --theme-soft: #e6f7d7;
    --theme-accent: #a8f66f;
    --theme-hover: #61c922;
    --theme-border: rgba(58, 121, 21, 0.28);
    --header-bg: #163e1a;
    --header-bg-2: #235c23;
    --text-main: #1d2c1b;
    --text-muted: #52614e;
    --on-theme: #10240b;
    --on-header: #f7fff1;
    --on-dark: #f2faec;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(37, 91, 28, 0.13);
    --shadow-strong: 0 24px 60px rgba(24, 70, 21, 0.2);
    --radius-lg: 30px;
    --radius-md: 22px;
    --radius-sm: 14px;
}

*,
*::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: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a {
    color: var(--theme-dark);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

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

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;
}

.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: 76px 0;
}

.section-tint {
    background: linear-gradient(180deg, var(--theme-soft) 0%, rgba(255, 255, 255, 0.72) 100%);
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 20000;
    transform: translateY(-160%);
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--white);
    color: var(--theme-deep);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

.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);
    border-bottom: 1px solid rgba(168, 246, 111, 0.3);
    overflow: visible;
}

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

.site-logo,
.drawer-logo,
.footer-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: 176px;
    max-height: 66px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(9px, 1.1vw, 18px);
}

.main-nav a {
    position: relative;
    color: var(--on-header);
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    padding: 29px 0 26px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 18px;
    height: 3px;
    border-radius: 999px;
    background: var(--theme-accent);
    transition: left 0.2s ease, right 0.2s ease;
}

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

.main-nav a.active::after,
.main-nav a:hover::after {
    left: 0;
    right: 0;
}

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

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    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(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.main-btn:hover {
    color: var(--on-theme);
    filter: saturate(1.12) brightness(1.03);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-header);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: currentColor;
}

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

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

.drawer-overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
    background: rgba(7, 24, 8, 0.64);
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

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

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

.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-header);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.drawer-nav {
    display: grid;
    gap: 6px;
    padding: 20px 0 40px;
}

.drawer-nav a {
    display: block;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--on-header);
    font-weight: 700;
    text-decoration: none;
}

.drawer-nav a.active,
.drawer-nav a:hover {
    border-color: rgba(168, 246, 111, 0.32);
    background: rgba(168, 246, 111, 0.14);
    color: var(--theme-accent);
}

.eyebrow,
.hero-badge,
.hero-tags span,
.topic-tags span,
.category-pill,
.tag,
.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: 0.04em;
    line-height: 1.3;
}

.eyebrow,
.hero-badge {
    padding: 8px 14px;
    text-transform: uppercase;
}

.hero-section {
    padding: 64px 0 46px;
    background:
        radial-gradient(circle at 15% 20%, rgba(120, 224, 44, 0.26) 0%, transparent 34%),
        linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}

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

.hero-content h1 {
    max-width: 780px;
    margin: 18px 0 22px;
    color: var(--theme-dark);
    font-size: clamp(42px, 4.2vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

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

.hero-tags,
.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tags span,
.topic-tags span {
    padding: 9px 14px;
    background: var(--white);
}

.hero-visual,
.app-visual,
.media-box,
.card-media,
.topic-visual {
    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;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 1px solid var(--theme-border);
    border-radius: 32px;
    background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
    box-shadow: var(--shadow-strong);
}

.hero-media-box img,
.media-box img,
.app-visual img,
.card-media img,
.topic-media-box 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: 32px 0 50px;
    background: var(--white);
}

.info-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,
.visual-card,
.detail-card,
.feedback-card {
    min-height: auto;
    height: auto;
    padding: 28px;
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
}

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

.info-card > span,
.card-number {
    color: var(--theme-dark);
    font-size: 15px;
    font-weight: 900;
}

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

.info-card p,
.category-card p,
.feature-card p,
.detail-card p {
    margin: 0;
    color: var(--text-muted);
}

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

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

.category-pills a,
.related-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border: 1px solid var(--theme-border);
    border-radius: 999px;
    background: var(--white);
    color: var(--theme-dark);
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

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

.section-heading h2 {
    margin: 14px 0 14px;
    color: var(--theme-dark);
    font-size: clamp(30px, 3vw, 46px);
    letter-spacing: -0.02em;
}

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

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

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

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

.category-card a,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin-top: auto;
    padding-top: 18px;
    color: var(--theme-dark);
    font-weight: 800;
    text-decoration: none;
}

.category-card a::after,
.text-link::after {
    content: "→";
}

.category-card a:hover,
.text-link:hover {
    color: var(--theme-hover);
}

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

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    align-items: center;
    gap: 58px;
}

.split-section.reverse .split-copy {
    order: 2;
}

.split-section.reverse .split-visual {
    order: 1;
}

.split-copy h2 {
    margin: 14px 0 18px;
    font-size: clamp(30px, 3.2vw, 48px);
}

.split-copy p {
    color: var(--text-muted);
}

.check-list,
.plain-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.check-list li,
.plain-list li {
    position: relative;
    padding-left: 30px;
}

.check-list li::before,
.plain-list li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--theme);
    box-shadow: 0 0 0 5px var(--theme-soft);
}

.split-visual,
.app-card-visual {
    min-height: 360px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--white), var(--theme-soft));
    box-shadow: var(--shadow-soft);
}

.split-visual img,
.app-card-visual img {
    display: block;
    max-width: 100%;
    max-height: 330px;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

.wall-card {
    grid-column: span 4;
    padding: 26px;
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.wall-card.wide {
    grid-column: span 6;
}

.wall-card h3 {
    margin: 0 0 10px;
}

.wall-card p {
    margin: 0;
    color: var(--text-muted);
}

.app-service {
    background: linear-gradient(135deg, var(--theme-deep) 0%, var(--header-bg-2) 58%, var(--theme-dark) 100%);
    color: var(--on-dark);
}

.app-service .split-copy h2,
.app-service .split-copy p,
.app-service .split-copy li,
.app-service .eyebrow {
    color: var(--on-dark);
}

.app-service .eyebrow {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
}

.app-service .check-list li::before {
    background: var(--theme-accent);
    box-shadow: 0 0 0 5px rgba(168, 246, 111, 0.15);
}

.app-service .text-link {
    color: var(--theme-accent);
}

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

.updates-card {
    padding: 32px;
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.updates-card h3 {
    margin: 13px 0;
    font-size: 27px;
}

.updates-card ul {
    padding-left: 20px;
    color: var(--text-muted);
}

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

.feedback-card {
    position: relative;
    margin: 0;
    padding-top: 40px;
    background: linear-gradient(145deg, var(--white), var(--theme-soft));
}

.feedback-card::before {
    content: "“";
    position: absolute;
    top: 7px;
    left: 22px;
    color: var(--theme);
    font-family: Georgia, serif;
    font-size: 50px;
    line-height: 1;
}

.feedback-card p {
    margin: 0;
    color: var(--text-main);
}

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

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 980px;
    margin: 0 auto;
}

.faq-item {
    padding: 0;
    border-radius: 18px;
}

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

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

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: var(--theme);
    font-size: 28px;
}

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

.faq-item p {
    margin: 0;
    padding: 0 24px 23px;
    color: var(--text-muted);
}

.notice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 26px;
    padding: 34px;
    background: linear-gradient(135deg, var(--theme-soft), var(--white));
}

.notice-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border: 3px solid var(--theme);
    border-radius: 50%;
    background: var(--white);
    color: var(--theme-dark);
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 0 0 10px rgba(120, 224, 44, 0.12);
}

.notice h2 {
    margin: 0 0 9px;
}

.notice p {
    margin: 0;
    color: var(--text-muted);
}

.topic-hero {
    padding: 66px 0;
    background:
        radial-gradient(circle at 85% 18%, rgba(120, 224, 44, 0.22) 0%, transparent 32%),
        linear-gradient(180deg, var(--theme-light), var(--white));
}

.topic-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
    align-items: center;
    gap: 56px;
}

.topic-hero-copy h1 {
    margin: 16px 0 20px;
    font-size: clamp(40px, 4.4vw, 62px);
    letter-spacing: -0.03em;
}

.topic-hero-copy > p {
    margin: 0 0 15px;
    color: var(--text-muted);
    font-size: 18px;
}

.topic-tags {
    margin-top: 24px;
}

.topic-media-box {
    width: min(100%, 510px);
    min-height: 360px;
    max-height: 460px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, var(--white), var(--theme-soft));
    box-shadow: var(--shadow-strong);
}

.topic-media-box img {
    max-height: 390px;
}

.topic-fact-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: min(100%, 520px);
}

.topic-fact-panel > div {
    min-height: 145px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.topic-fact-panel strong {
    color: var(--theme-dark);
    font-size: 20px;
}

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

.topic-section .section-heading {
    max-width: 940px;
}

.prose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 34px;
    max-width: 1120px;
    margin: 0 auto 32px;
}

.prose-grid p {
    margin: 0;
    color: var(--text-main);
    font-size: 17px;
}

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

.detail-card {
    padding: 24px;
}

.detail-card h3 {
    font-size: 20px;
}

.topic-page .feedback-section {
    background: var(--white);
}

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

.related-section {
    padding-top: 20px;
    background: var(--white);
}

.related-bar {
    display: grid;
    grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr);
    align-items: center;
    gap: 30px;
    padding: 30px;
    border: 1px solid var(--theme-border);
    border-radius: var(--radius-lg);
    background: var(--theme-soft);
}

.related-bar h2 {
    margin: 8px 0 0;
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, minmax(0, 0.85fr));
    gap: 42px;
}

.footer h2 {
    margin: 0 0 16px;
    color: var(--theme-accent);
    font-size: 18px;
}

.footer p {
    color: rgba(242, 250, 236, 0.78);
}

.footer ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

.footer-logo {
    margin-bottom: 18px;
}

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

.footer-brand p {
    max-width: 360px;
    margin: 0;
}

.footer-notice {
    margin-top: 42px;
    padding: 24px;
    border: 1px solid rgba(168, 246, 111, 0.22);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
}

.footer-notice strong {
    color: var(--theme-accent);
}

.footer-notice p {
    margin: 8px 0 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(242, 250, 236, 0.7);
    font-size: 14px;
}

@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: 72px;
    }

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

@media (max-width: 1180px) {
    .header-inner {
        gap: 13px;
    }

    .site-logo img {
        max-width: 138px;
        max-height: 58px;
    }

    .main-nav {
        gap: 9px;
    }

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

    .header-login {
        padding: 10px 15px;
        font-size: 13px;
    }

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

@media (max-width: 1023px) {
    .header-inner {
        width: min(100% - 28px, 1280px);
        min-height: 68px;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        gap: 10px;
    }

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

    .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 {
        padding: 10px 16px;
    }

    .section {
        padding: 62px 0;
    }

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

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

    .hero-content h1,
    .topic-hero-copy h1 {
        font-size: clamp(36px, 7vw, 52px);
    }

    .hero-media-box,
    .topic-media-box {
        max-width: 100%;
        min-height: 300px;
        margin: 0 auto;
        padding: 26px;
    }

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

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

    .split-section,
    .split-section.reverse {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .split-section.reverse .split-copy,
    .split-section.reverse .split-visual {
        order: initial;
    }

    .wall-card,
    .wall-card.wide {
        grid-column: span 6;
    }

    .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;
    }

    .hero-section,
    .topic-hero {
        padding: 40px 0 34px;
    }

    .hero-content h1,
    .topic-hero-copy h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .hero-content > p,
    .topic-hero-copy > p,
    .section-heading > p {
        font-size: 17px;
    }

    .hero-media-box,
    .topic-media-box {
        min-height: 240px;
        padding: 22px;
        border-radius: 24px;
    }

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

    .info-grid,
    .category-grid,
    .feature-grid,
    .detail-grid,
    .support-grid,
    .updates-grid,
    .feedback-grid,
    .prose-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .content-wall {
        grid-template-columns: 1fr;
    }

    .wall-card,
    .wall-card.wide {
        grid-column: auto;
    }

    .split-visual,
    .app-card-visual {
        min-height: 280px;
        padding: 24px;
    }

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

    .topic-fact-panel > div {
        min-height: auto;
    }

    .notice {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .notice-mark {
        margin: 0 auto;
    }

    .related-bar {
        grid-template-columns: 1fr;
    }

    .related-links {
        justify-content: flex-start;
    }

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

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

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
        padding: 9px;
    }

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

    .header-actions .main-btn {
        min-height: 40px;
        padding: 8px 11px;
        font-size: 12px;
    }

    .info-card,
    .category-card,
    .feature-card,
    .detail-card,
    .updates-card,
    .feedback-card,
    .notice,
    .related-bar {
        padding: 22px;
    }
}

