:root {
    --theme: #bc3554;
    --theme-dark: #7d1f39;
    --theme-deep: #430d1d;
    --theme-light: #fff5f7;
    --theme-soft: #fbe2e8;
    --theme-accent: #e98aa0;
    --theme-hover: #a72a47;
    --theme-border: rgba(188, 53, 84, 0.30);
    --header-bg: #5a1428;
    --header-bg-2: #741b34;
    --text-main: #35121b;
    --text-muted: #76515a;
    --on-theme: #ffffff;
    --on-header: #ffffff;
    --on-dark: #ffffff;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(90, 20, 40, 0.18);
}

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

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

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

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

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

.narrow-inner {
    max-width: 980px;
}

.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 12px 34px rgba(90, 0, 0, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    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;
    min-width: 0;
}

.main-nav a {
    position: relative;
    color: var(--on-header);
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    padding: 29px 0 25px;
    opacity: 0.92;
}

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

.main-nav a.active,
.main-nav a:hover {
    color: var(--on-header);
    opacity: 1;
}

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

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

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 22px;
    border: 0;
    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 14px 28px rgba(90, 0, 0, 0.24);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.main-btn:hover {
    color: var(--on-theme);
    transform: translateY(-2px);
    filter: saturate(1.08);
    box-shadow: 0 18px 34px rgba(90, 0, 0, 0.28);
}

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

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--on-header);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 21px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    z-index: 10001;
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-2) 100%);
    color: var(--on-header);
    box-shadow: 24px 0 60px rgba(90, 0, 0, 0.32);
    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(8, 48, 66, 0.64);
    transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

body.menu-open {
    overflow: hidden;
}

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

.drawer-head img {
    max-width: 150px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

.drawer-nav {
    display: grid;
    padding: 18px;
    gap: 8px;
}

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

.drawer-nav a:hover,
.drawer-nav a.active {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.section-soft {
    background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%);
}

.section-heading {
    max-width: 850px;
    margin-bottom: 28px;
}

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

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

.section-kicker,
.hero-badge,
.hero-tags span,
.tag,
.badge,
.category-pill {
    display: inline-flex;
    align-items: center;
    width: auto;
    max-width: max-content;
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--theme-soft);
    color: var(--theme-dark);
    border: 1px solid var(--theme-border);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}


/* Trang chủ: trình chiếu banner ngang */
.banner-section {
    padding: 34px 0 22px;
    background: linear-gradient(180deg, var(--theme-light) 0%, var(--theme-soft) 100%);
}

.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--theme-border);
    border-radius: 28px;
    background: var(--theme-soft);
    box-shadow: var(--shadow-soft);
}

.banner-slide {
    display: none;
    width: 100%;
}

.banner-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(90, 0, 0, 0.76);
    color: var(--on-dark);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(90, 0, 0, 0.20);
}

.banner-arrow:hover {
    background: var(--theme-dark);
}

.banner-prev {
    left: 18px;
}

.banner-next {
    right: 18px;
}

.banner-dots {
    position: absolute;
    right: 0;
    bottom: 16px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.banner-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: rgba(90, 0, 0, 0.42);
    cursor: pointer;
    box-shadow: 0 3px 9px rgba(90, 0, 0, 0.22);
}

.banner-dots button.active {
    width: 30px;
    border-radius: 999px;
    background: var(--theme-accent);
}

.intro-section {
    padding: 24px 0 18px;
    background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%);
}

.intro-card {
    position: relative;
    overflow: hidden;
    padding: 40px 44px;
    border: 1px solid var(--theme-border);
    border-radius: 28px;
    background: linear-gradient(135deg, var(--white) 0%, var(--theme-soft) 100%);
    box-shadow: var(--shadow-soft);
}

.intro-card::before {
    content: "";
    display: block;
    width: 72px;
    height: 5px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--theme), var(--theme-accent));
}

.intro-card h1 {
    max-width: 960px;
    margin: 12px 0 20px;
    color: var(--theme-dark);
    font-size: clamp(36px, 4.2vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.intro-card p {
    max-width: 1120px;
    margin: 0 0 15px;
    color: var(--text-main);
    font-size: 18px;
    line-height: 1.82;
}

.intro-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 24px;
}

.intro-highlights span {
    display: inline-flex;
    align-items: center;
    padding: 9px 15px;
    border: 1px solid var(--theme-border);
    border-radius: 999px;
    background: var(--white);
    color: var(--theme-dark);
    font-weight: 700;
}

@media (max-width: 767px) {
    .banner-section {
        padding: 20px 0 14px;
    }

    .banner-carousel {
        border-radius: 18px;
    }

    .banner-arrow {
        width: 38px;
        height: 38px;
        font-size: 25px;
    }

    .banner-prev {
        left: 9px;
    }

    .banner-next {
        right: 9px;
    }

    .banner-dots {
        bottom: 9px;
    }

    .intro-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .intro-card h1 {
        font-size: clamp(32px, 10vw, 46px);
    }

    .intro-card p {
        font-size: 16px;
    }
}

.hero-section {
    min-height: 590px;
    padding: 70px 0 46px;
    background:
        radial-gradient(circle at 15% 20%, rgba(85, 201, 255, 0.20) 0%, transparent 33%),
        radial-gradient(circle at 86% 35%, rgba(249, 19, 9, 0.12) 0%, transparent 29%),
        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;
}

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

.hero-content p,
.topic-hero-copy p {
    max-width: 780px;
    font-size: 18px;
    line-height: 1.82;
    color: var(--text-main);
    margin: 0 0 18px;
}

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

.hero-visual,
.app-visual,
.media-box,
.card-media,
.topic-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 {
    display: block;
    max-width: 70%;
    max-height: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
}

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

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

.info-card,
.category-card,
.feature-card,
.detail-card,
.feedback-card,
.faq-item,
.notice,
.visual-card,
.topic-summary-card {
    position: relative;
    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,
.detail-card,
.feedback-card,
.visual-card,
.topic-summary-card {
    padding: 28px;
}

.info-card::before,
.category-card::before,
.feature-card::before,
.detail-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);
    font-weight: 900;
    font-size: 14px;
}

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

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

.category-section {
    padding: 30px 0;
    background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%);
    border-top: 1px solid var(--theme-border);
    border-bottom: 1px solid var(--theme-border);
}

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

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

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

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

.category-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.category-card .card-media {
    height: 170px;
    margin: 0 0 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--theme-light) 0%, var(--theme-soft) 100%);
    border: 1px solid var(--theme-border);
    padding: 16px;
}

.category-card .card-media img,
.media-box img,
.app-visual img,
.card-media img,
.topic-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.card-link {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding-top: 18px;
    color: var(--theme-dark);
    font-weight: 800;
    text-decoration: none;
}

.card-link:hover {
    color: var(--theme-hover);
}

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

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

.prose-block {
    max-width: 1050px;
    display: grid;
    gap: 14px;
}

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

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

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

.split-copy h2 {
    margin: 12px 0 18px;
    color: var(--theme-dark);
    font-size: clamp(32px, 3.3vw, 50px);
    line-height: 1.16;
}

.split-copy p {
    margin: 0 0 16px;
    font-size: 17px;
}

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

.check-list li {
    position: relative;
    padding: 13px 16px 13px 44px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--theme-border);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 12px;
    color: var(--theme);
    font-weight: 900;
}

.split-visual,
.app-panel {
    min-height: 360px;
    padding: 30px;
    border-radius: 30px;
    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;
}

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

.topic-hero {
    padding: 64px 0 54px;
    background:
        radial-gradient(circle at 12% 25%, rgba(85, 201, 255, 0.18) 0%, transparent 31%),
        linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}

.topic-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: 52px;
}

.topic-hero-copy p:last-of-type {
    margin-bottom: 0;
}

.content-entry {
    margin-top: 20px;
}

.topic-media {
    min-height: 330px;
    max-height: 430px;
    padding: 28px;
    border-radius: 30px;
    background: linear-gradient(180deg, var(--white) 0%, var(--theme-soft) 100%);
    border: 1px solid var(--theme-border);
    box-shadow: var(--shadow-soft);
}

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

.topic-summary-card {
    display: grid;
    gap: 12px;
}

.topic-summary-card strong {
    color: var(--theme-dark);
    font-size: 22px;
}

.topic-summary-card span {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--theme-soft);
    color: var(--theme-dark);
    font-weight: 700;
}

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

.content-section.section-soft {
    background: linear-gradient(180deg, var(--theme-soft) 0%, var(--theme-light) 100%);
}

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

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

.feedback-card p::before {
    content: "“";
    color: var(--theme);
    font-size: 38px;
    line-height: 0;
    vertical-align: -12px;
    margin-right: 4px;
}

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

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

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

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

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

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

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

.compliance-section {
    padding-top: 52px;
    padding-bottom: 52px;
    background: var(--white);
}

.notice {
    padding: 26px;
}

.compliance-notice {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 22px;
    background: linear-gradient(135deg, var(--theme-soft) 0%, var(--white) 100%);
    border-left: 6px solid var(--theme);
}

.notice-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--theme-accent), var(--theme-dark));
    color: var(--on-theme);
    font-size: 22px;
    font-weight: 900;
}

.compliance-notice h2 {
    margin: 0 0 8px;
    color: var(--theme-dark);
}

.compliance-notice p {
    margin: 0;
}

.related-section {
    padding-top: 42px;
    padding-bottom: 72px;
    background: var(--theme-light);
}

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

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

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

.footer-brand p,
.footer-legal p {
    color: rgba(255, 255, 255, 0.82);
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 8px;
}

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

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

.footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-legal {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-legal strong {
    color: var(--on-dark);
}

.footer-legal p {
    margin: 8px 0 0;
    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: 80px;
    }

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

@media (max-width: 1180px) {
    .main-nav {
        gap: 12px;
    }

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

    .detail-grid,
    .category-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;
    }

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

    .hero-section {
        min-height: auto;
        padding: 48px 0 38px;
    }

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

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

    .hero-visual,
    .topic-media {
        width: 100%;
    }

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

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

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

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

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

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

    .hero-section {
        padding-top: 38px;
    }

    .hero-content p,
    .topic-hero-copy p,
    .prose-block p {
        font-size: 16px;
    }

    .hero-media-box {
        min-height: 230px;
    }

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

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

    .category-card .card-media {
        height: 190px;
    }

    .split-visual,
    .app-panel {
        min-height: 260px;
        padding: 22px;
    }

    .compliance-notice {
        grid-template-columns: 1fr;
    }

    .notice-mark {
        width: 64px;
        height: 64px;
    }

    .footer {
        padding-top: 50px;
    }
}

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

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

    .header-actions .main-btn {
        padding: 8px 10px;
        min-height: 38px;
        font-size: 11px;
        letter-spacing: 0;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

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

    .hero-tags span,
    .section-kicker {
        font-size: 12px;
    }

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