:root {
    --theme: #78e02c;
    --theme-dark: #397f16;
    --theme-deep: #163b0d;
    --theme-light: #f4fce9;
    --theme-soft: #e5f8d3;
    --theme-accent: #a7f366;
    --theme-hover: #5fc91f;
    --theme-border: rgba(57, 127, 22, 0.24);
    --header-bg: #214e13;
    --header-bg-2: #2e6919;
    --text-main: #1d3218;
    --text-muted: #53644e;
    --on-theme: #18330d;
    --on-header: #ffffff;
    --on-dark: #f5ffef;
    --white: #ffffff;
    --shadow-soft: 0 18px 45px rgba(36, 91, 16, 0.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: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

a {
    color: var(--theme-dark);
    text-underline-offset: 4px;
}

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: 12px;
    left: 12px;
    z-index: 11000;
    transform: translateY(-160%);
    padding: 10px 14px;
    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;
}

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

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

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

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading.heading-wide {
    max-width: 900px;
}

.section-heading h2,
.split-heading h2,
.related-bar h2,
.notice h2,
.advice-copy h2 {
    margin: 8px 0 14px;
    color: var(--theme-dark);
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-heading p,
.split-heading > p,
.advice-copy > p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 7px 13px;
    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.05em;
    text-transform: uppercase;
}

.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 30px rgba(22, 59, 13, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    overflow: visible;
}

.header-inner {
    min-height: 78px;
    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: 160px;
    max-height: 62px;
    object-fit: contain;
}

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

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

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 16px;
    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 {
    justify-self: end;
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    background: linear-gradient(180deg, var(--theme-accent) 0%, var(--theme) 48%, var(--theme-dark) 100%);
    color: var(--on-theme);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    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 {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 82%;
    max-width: 330px;
    height: 100vh;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    z-index: 10001;
    padding: 22px;
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--theme-deep) 100%);
    color: var(--on-header);
    box-shadow: 24px 0 48px 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(10, 27, 6, 0.62);
    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: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

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

.drawer-close {
    width: 42px;
    height: 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: 7px;
    padding: 22px 0;
}

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

.drawer-nav a.active,
.drawer-nav a:hover {
    background: var(--theme-soft);
    color: var(--theme-dark);
}

.drawer-note {
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--on-header);
    font-size: 14px;
}

.hero-section {
    padding: 46px 0 32px;
    background:
        radial-gradient(circle at 13% 16%, var(--theme-soft) 0%, transparent 34%),
        linear-gradient(180deg, var(--theme-light) 0%, var(--white) 100%);
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
    align-items: center;
    gap: 48px;
    min-height: 0;
}

.hero-content h1 {
    max-width: 780px;
    margin: 12px 0 16px;
    color: var(--theme-dark);
    font-size: clamp(40px, 3.6vw, 56px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

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

.hero-badge,
.hero-tags span {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 8px 13px;
    border: 1px solid var(--theme-border);
    border-radius: 999px;
    background: var(--theme-soft);
    color: var(--theme-dark);
    font-size: 13px;
    font-weight: 800;
}

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

.hero-visual,
.page-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: 300px;
    max-height: 380px;
    padding: 30px;
    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-soft);
}

.hero-media-box img,
.media-box img,
.app-visual img,
.card-media img {
    display: block;
    max-width: 100%;
    max-height: 310px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
}

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

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

.info-card,
.category-card,
.service-card,
.news-card,
.feedback-card,
.topic-card,
.faq-item,
.notice,
.visual-card {
    position: relative;
    min-height: auto;
    height: auto;
    padding: 26px;
    border: 1px solid var(--theme-border);
    border-radius: 22px;
    background: var(--white);
    color: var(--text-main);
    box-shadow: var(--shadow-soft);
}

.info-card::before,
.category-card::before,
.service-card::before,
.topic-card::before,
.news-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-weight: 900;
    letter-spacing: 0.06em;
}

.info-card h2,
.category-card h3,
.service-card h3,
.news-card h3,
.topic-card h3 {
    margin: 10px 0 12px;
    color: var(--theme-dark);
    font-size: 22px;
    line-height: 1.25;
}

.info-card p,
.category-card p,
.service-card p,
.news-card p,
.topic-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
}

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

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

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

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

.category-card a,
.news-card a,
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    color: var(--theme-dark);
    font-weight: 800;
    text-decoration-thickness: 2px;
}

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

.feature-split,
.app-split,
.security-split,
.advice-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
    gap: 58px;
}

.feature-copy h2,
.app-copy h2,
.security-copy h2 {
    margin: 10px 0 18px;
    color: var(--theme-dark);
    font-size: clamp(31px, 3.3vw, 48px);
    line-height: 1.15;
}

.feature-copy p,
.app-copy p,
.security-copy p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.85;
}

.feature-list {
    display: grid;
    gap: 13px;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding: 14px 16px 14px 48px;
    border: 1px solid var(--theme-border);
    border-radius: 15px;
    background: var(--theme-soft);
    color: var(--text-main);
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 17px;
    top: 13px;
    color: var(--theme-dark);
    font-weight: 900;
}

.feature-media,
.app-media {
    min-height: 360px;
    padding: 30px;
    border: 1px solid var(--theme-border);
    border-radius: 30px;
    background: linear-gradient(145deg, var(--theme-soft), var(--white));
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-media img,
.app-media img {
    max-width: 100%;
    max-height: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

.feedback-card p {
    margin: 0;
    color: var(--text-main);
    font-size: 17px;
    line-height: 1.8;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 34px;
}

.split-heading > p {
    margin: 0;
}

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

.faq-item {
    padding: 0;
    overflow: visible;
    box-shadow: 0 10px 28px rgba(36, 91, 16, 0.08);
}

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

.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;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--theme-soft);
    color: var(--theme-dark);
    font-size: 22px;
}

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

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

.notice-section {
    padding: 54px 0;
    background: var(--theme-deep);
}

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

.notice-age {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--theme-accent), var(--theme));
    color: var(--on-theme);
    font-size: 30px;
    font-weight: 900;
    box-shadow: var(--shadow-soft);
}

.notice h2 {
    font-size: clamp(26px, 2.8vw, 38px);
}

.notice p {
    margin: 0;
    color: var(--text-main);
    line-height: 1.8;
}

.page-hero {
    padding: 66px 0;
    background:
        radial-gradient(circle at 90% 15%, var(--theme-soft) 0%, transparent 30%),
        linear-gradient(180deg, var(--theme-light), var(--white));
}

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

.page-hero-copy h1 {
    margin: 13px 0 20px;
    color: var(--theme-dark);
    font-size: clamp(40px, 4.2vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.page-lead {
    margin: 0 0 24px;
    color: var(--text-main);
    font-size: 18px;
    line-height: 1.85;
}

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

.page-media-box img {
    display: block;
    max-width: 100%;
    max-height: 310px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.visual-card {
    width: min(100%, 510px);
    display: grid;
    gap: 12px;
    background: linear-gradient(145deg, var(--white), var(--theme-soft));
}

.visual-point {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--theme-border);
    border-radius: 15px;
    background: var(--white);
}

.visual-point span {
    color: var(--theme-dark);
    font-weight: 900;
}

.visual-point p {
    margin: 0;
    color: var(--text-main);
}

.prose-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: 64px;
}

.prose-columns {
    columns: 2;
    column-gap: 34px;
}

.prose-columns p {
    margin: 0 0 20px;
    break-inside: avoid;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.85;
}

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

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

.check-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 17px;
    border: 1px solid var(--theme-border);
    border-radius: 16px;
    background: var(--theme-soft);
}

.check-item > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--theme);
    color: var(--on-theme);
    font-weight: 900;
}

.check-item p {
    margin: 2px 0 0;
    color: var(--text-main);
}

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

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

.related-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 28px;
    border: 1px solid var(--theme-border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.related-bar h2 {
    margin-bottom: 0;
    font-size: 28px;
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(150px, 0.7fr));
    gap: 46px;
}

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

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

.footer-brand p,
.footer-warning p,
.footer-bottom p {
    color: rgba(245, 255, 239, 0.82);
}

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

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

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

.footer a {
    color: var(--on-dark);
    text-decoration-color: rgba(245, 255, 239, 0.34);
}

.footer-column a {
    text-decoration: none;
}

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

.footer-warning {
    margin-top: 40px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

@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(430px, 0.95fr);
        gap: 74px;
    }
}

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

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

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

    .header-inner {
        gap: 14px;
    }
}

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

    .main-nav {
        display: none;
    }

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

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

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

    .header-actions .main-btn {
        min-height: 42px;
        padding: 9px 15px;
    }

    .hero-section,
    .page-hero {
        padding: 40px 0 32px;
    }

    .hero-inner,
    .page-hero-grid,
    .feature-split,
    .app-split,
    .security-split,
    .advice-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: 0;
    }

    .hero-content h1,
    .page-hero-copy h1 {
        font-size: clamp(34px, 7vw, 50px);
    }

    .hero-media-box,
    .page-media-box {
        width: 100%;
        max-width: 100%;
        min-height: 300px;
    }

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

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

    .prose-layout,
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .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(100% - 32px, 1280px);
    }

    .section {
        padding: 54px 0;
    }

    .header-inner {
        width: min(100% - 22px, 1280px);
    }

    .hero-section,
    .page-hero {
        padding: 32px 0 28px;
    }

    .hero-content h1,
    .page-hero-copy h1 {
        font-size: clamp(32px, 9vw, 42px);
        line-height: 1.1;
    }

    .hero-content > p,
    .page-lead {
        font-size: 15.5px;
        line-height: 1.7;
    }

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

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

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

    .prose-columns {
        columns: 1;
    }

    .split-heading {
        grid-template-columns: 1fr;
        gap: 8px;
    }

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

    .notice-age {
        width: 72px;
        height: 72px;
        font-size: 25px;
    }

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

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

    .feature-media,
    .app-media {
        min-height: 260px;
    }
}

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

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

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

    .header-actions .main-btn {
        min-height: 38px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .hero-tags span {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
