@font-face {
    font-family: "Pretendard GOV Variable";
    font-style: normal;
    font-weight: 45 920;
    font-display: swap;
    src: url("../fonts/pretendard-gov/PretendardGOVVariable.woff2") format("woff2-variations");
}

@font-face {
    font-family: "Pretendard Std Variable";
    font-style: normal;
    font-weight: 45 920;
    font-display: swap;
    src: url("../fonts/pretendard-std/PretendardStdVariable.woff2") format("woff2-variations");
}

:root {
    color-scheme: light;
    --font-sans-en: "Pretendard Std Variable", "Pretendard GOV Variable", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
    --font-sans-kr: "Pretendard GOV Variable", "Pretendard Std Variable", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
    --font-body: var(--font-sans-en);
    --font-display: var(--font-sans-en);
    --bg: #f4f6f4;
    --surface: #ffffff;
    --surface-muted: #f7faf7;
    --line: #dde4de;
    --line-strong: #c4d1c7;
    --text: #163125;
    --muted: #637264;
    --accent: #2a8d55;
    --accent-dark: #1d6a40;
    --shadow: 0 4px 12px rgba(16, 32, 51, 0.05);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --sub-hero-nav-sticky-offset: 0px;
    --sub-page-hero-height: 90px;
}

html {
    font-size: 19.2px; /* Scale text linearly so 1rem = 19.2px (was 16px) */
    overflow-x: clip;
}

html:lang(ko) {
    --font-body: var(--font-sans-kr);
    --font-display: var(--font-sans-kr);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
}

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

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1400px, 100% - 40px);
    margin: 0 auto;
}

.page {
    width: 100%;
}

/* ── Payment pending notification bar ── */

.payment-pending-bar {
    background: #fff3cd;
    border-bottom: 1px solid #e6d590;
    color: #664d03;
    font-size: 0.78rem;
    line-height: 1.4;
    z-index: 101;
}

.payment-pending-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}

.payment-pending-bar__message {
    flex: 1;
    text-align: center;
}

.payment-pending-bar__link {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    color: #664d03;
    margin-left: 6px;
}

.payment-pending-bar__link:hover {
    color: #3d2e02;
}

.payment-pending-bar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: none;
    background: transparent;
    color: #664d03;
    cursor: pointer;
    border-radius: 4px;
    transition: background .15s ease;
}

.payment-pending-bar__close:hover {
    background: rgba(102, 77, 3, 0.1);
}

@media (max-width: 768px) {
    .payment-pending-bar {
        font-size: 0.72rem;
    }

    .payment-pending-bar__inner {
        padding: 8px 0;
    }
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 34px 0 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__bar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 6px 0 30px;
}

.brandmark {
    --brandmark-logo-width: clamp(220px, 24vw, 310px);
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: var(--brandmark-logo-width);
    min-width: 0;
    text-decoration: none;
    flex-shrink: 0;
}

.brandmark img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.brandmark__copy {
    font-family: "Pretendard Std Variable", "Pretendard GOV Variable", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
    color: var(--muted);
    font-size: 0.56rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    width: 100%;
    max-width: 100%;
    white-space: nowrap;
}

.header-utils {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-top: calc(6px + 1rem);
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    line-height: 1;
}

.btn-header svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.btn-header--auth,
.btn-header--register {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--line);
}

.btn-header--auth:hover,
.btn-header--register:hover {
    background: var(--surface-muted);
    border-color: var(--line-strong);
    color: var(--accent);
}

.btn-header--locale {
    color: var(--surface);
    background: var(--accent);
    border: 1px solid var(--accent);
}

.btn-header--locale:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    margin-top: 0;
    border-top: 1px solid var(--line);
}

.site-nav__link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    position: relative;
    padding: 12px 16px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.site-nav__link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--accent);
    transform: translateY(4px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-nav__link:hover::after,
.site-nav__link.is-active::after {
    transform: translateY(0);
    opacity: 1;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--accent);
}

.site-nav__brand {
    display: none;
}

.site-nav__current-section {
    display: none;
}

.site-nav__utilities {
    display: none;
}

.site-nav__util-row {
    display: none;
}

.site-nav__utility-btn {
    width: auto;
}

.site-nav__current-submenu {
    display: none;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-top: 0;
}

.nav-toggle__line {
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav-overlay {
    display: none;
}

body.nav-open {
    overflow: hidden;
}

.page-main {
    padding-bottom: 60px;
}

/* ── Page Title Banner (콘텐츠 상단 현재 메뉴명 타이틀) ── */

.page-title-banner {
    padding: 28px 0 20px;
    border-bottom: 1px solid var(--line);
    margin-top: 10px;
    margin-bottom: 28px;
}

.page-title-banner__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* ── Section Hero (서브 섹션 진입 시 상단 hero + 서브메뉴 카드) ── */

.sub-page-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(22, 49, 37, 0.76), rgba(22, 49, 37, 0.76)),
        var(--sub-page-hero-image, url('/assets/images/hero-instroduction.jpg')) center top / 100% auto no-repeat;
    background-color: #163125;
    color: #fff;
    height: var(--sub-page-hero-height);
}

.sub-page-hero-nav-sticky {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(rgba(22, 49, 37, 0.76), rgba(22, 49, 37, 0.76)),
        var(--sub-page-hero-image, url('/assets/images/hero-instroduction.jpg')) center calc(-1 * var(--sub-page-hero-height, 90px)) / 100% auto no-repeat;
    background-color: #163125;
    color: #fff;
}

.sub-page-hero-nav-sticky__menu-mark {
    position: absolute;
    right: -0.02em;
    bottom: calc(-0.08em - 0.7rem);
    font-family: var(--font-display);
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1;
    transform: scaleX(0.8);
    transform-origin: right bottom;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.sub-page-hero--registration + .sub-page-hero-nav-sticky .sub-page-hero-nav-sticky__menu-mark {
    color: rgba(255, 255, 255, 0.14);
}

.sub-page-hero-nav-sticky > .container {
    position: relative;
    z-index: 1;
}

.sub-page-hero-nav-sticky.is-stuck {
    background:
        linear-gradient(rgba(22, 49, 37, 0.76), rgba(22, 49, 37, 0.76)),
        var(--sub-page-hero-image, url('/assets/images/hero-instroduction.jpg')) center center / cover no-repeat;
    background-color: #163125;
}

.sub-page-hero__eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 28px;
}

.sub-page-hero__nav {
    display: flex;
    gap: 14px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.sub-page-hero__nav::-webkit-scrollbar {
    display: none;
}

.sub-page-hero__spacer {
    min-height: 100px;
}

.sub-page-hero__card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    width: max-content;
    min-width: 200px;
    min-height: 100px;
    max-height: 100px;
    padding: 14px 50px 14px 20px;
    border-top-left-radius: var(--radius-sm);
    border-top-right-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    user-select: none;
}

/* bottom-to-top fill animation */
.sub-page-hero__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg);
    transform: translateY(101%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.sub-page-hero__card:hover,
.sub-page-hero__card.is-active {
    color: var(--text);
    border-color: transparent;
}

.sub-page-hero__card:hover::before,
.sub-page-hero__card.is-active::before {
    transform: translateY(0);
}

.sub-page-hero__card.is-active::before {
    background: var(--bg);
}

.sub-page-hero__card-label {
    position: relative;
    z-index: 1;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

body.sub-hero-sticky-enabled .sub-page-hero-nav-sticky {
    position: sticky;
    top: var(--sub-hero-nav-sticky-offset, 0px);
    z-index: 90;
}

@media (max-width: 900px) {

    :root {
        --sub-page-hero-height: 50px;
    }
    .sub-page-hero {
        height: var(--sub-page-hero-height);
    }
    .sub-page-hero__card {
        width: max-content;
        min-width: 180px;
        min-height: 100px;
        max-height: 100px;
    }

    .sub-page-hero__spacer {
        min-height: 100px;
    }

    .sub-page-hero-nav-sticky__menu-mark {
        display: none;
    }

}

@media (max-width: 600px) {

    :root {
        --sub-page-hero-height: 36px;
    }
    .sub-page-hero {
        height: var(--sub-page-hero-height);
    }
    .sub-page-hero__eyebrow {
        margin-bottom: 20px;
    }
    .sub-page-hero__nav {
        gap: 10px;
    }
    .sub-page-hero__card {
        width: max-content;
        min-width: 160px;
        min-height: 100px;
        max-height: 100px;
        padding: 16px 14px;
    }

    .sub-page-hero__spacer {
        min-height: 100px;
    }

    .sub-page-hero__card-label {
        font-size: 0.88rem;
    }

    .page-main--sub-section {
        padding-top: 18px;
    }
}

html:lang(en) .sub-page-hero--general-information + .sub-page-hero-nav-sticky .sub-page-hero__card[href="/general-information/faq"] {
    min-width: 132px;
    padding-right: 24px;
}

/* ── Mobile drawer sub-links (default hidden, shown inside nav-open drawer) ── */
.site-nav__nav-item {
    display: contents; /* transparent wrapper on desktop — children join flex layout directly */
}

.site-nav__sub-links {
    display: none;
}

.site-nav__sub-link {
    display: none;
    text-decoration: none;
    color: var(--text);
}

/* ── Sub-navigation ── */

.common-sub-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

.common-sub-nav__item {
    display: inline-block;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.common-sub-nav__item:hover {
    color: #10233b;
    border-bottom-color: #10233b;
}

.common-sub-nav__item--active {
    color: #10233b;
    font-weight: 600;
    border-bottom-color: #1a56a4;
}

@media (max-width: 600px) {
    .common-sub-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    .common-sub-nav::-webkit-scrollbar {
        display: none;
    }
    .common-sub-nav__item {
        padding: 10px 16px;
        font-size: 0.8125rem;
    }
}

.common-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 42px auto 0;
}

.common-section-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
}

.common-section-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.common-section-card p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--muted);
}

.message-page {
    margin: 42px auto 0;
}

.message-letter {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 40px 40px 36px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 245, 0.98)),
        linear-gradient(135deg, rgba(119, 146, 104, 0.12), rgba(17, 61, 44, 0.03));
    border: 1px solid rgba(22, 54, 40, 0.12);
    border-radius: 28px;
    box-shadow: 0 26px 50px rgba(17, 44, 31, 0.08);
    overflow: hidden;
}

.message-letter::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #173126, #799268 58%, #d8c47f);
}

.message-letter__header {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(23, 49, 38, 0.1);
}

.message-letter__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(23, 49, 38, 0.08);
    color: #173126;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.message-letter__header h2 {
    margin-top: 16px;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.18;
    color: #173126;
}

.message-letter__lead {
    margin-top: 16px;
    max-width: 760px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #3a5146;
}

.message-letter__body {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.message-letter__body p {
    font-size: 0.98rem;
    line-height: 1.9;
    color: #31443a;
}

.message-letter__footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(23, 49, 38, 0.1);
}

.message-letter__closing {
    font-size: 1rem;
    font-weight: 700;
    color: #173126;
}

.message-signature {
    margin-top: 18px;
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: rgba(121, 146, 104, 0.08);
    border-radius: 18px;
}

.message-signature strong {
    font-size: 1rem;
    color: #173126;
}

.message-signature span {
    font-size: 0.92rem;
    color: #54675d;
}

.content-detail-page {
    --detail-accent: #1d6a40;
    --detail-accent-soft: rgba(29, 106, 64, 0.08);
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 42px auto 0;
}

.detail-block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.detail-block__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--detail-accent-soft);
    color: var(--detail-accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detail-block__title {
    margin-top: 14px;
    font-size: clamp(1.28rem, 2.4vw, 1.85rem);
    line-height: 1.2;
    color: var(--text);
}

.detail-block__intro {
    margin-top: 10px;
    max-width: 860px;
    color: var(--muted);
    line-height: 1.7;
}

.detail-spotlight__body {
    margin-top: 18px;
    padding: 22px 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--detail-accent-soft), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.detail-spotlight__body p,
.detail-note p {
    line-height: 1.8;
    color: #31443a;
}

.detail-facts {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.detail-fact {
    padding: 18px;
    border-radius: 18px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
}

.detail-fact__label {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-fact__value {
    display: block;
    margin-top: 10px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text);
}

.detail-card-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.detail-card {
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 245, 0.98));
    border: 1px solid var(--line);
}

.detail-card__meta {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--detail-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-card h3,
.detail-timeline__item h3,
.detail-steps__content h3,
.detail-checklist__item h3 {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--text);
}

.detail-card p,
.detail-timeline__item p,
.detail-steps__content p,
.detail-checklist__item p,
.detail-faq__item p {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--muted);
}

.detail-spotlight__body--intro {
    display: grid;
    gap: 12px;
}

.detail-spotlight__body--intro p {
    margin-top: 0;
}

.overview-pillars {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.overview-pillars li {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9fb 100%);
    padding: 16px;
    display: grid;
    gap: 7px;
}

.overview-pillars strong {
    font-size: 0.9rem;
    line-height: 1.35;
    color: #113648;
}

.overview-pillars span {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #4e6170;
}

.detail-block--visual {
    overflow: hidden;
    padding: 0;
}

.overview-visual {
    min-height: 320px;
    padding: 28px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 44%),
        linear-gradient(130deg, #123548 0%, #1f5f7f 48%, #3b92b2 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    color: #f6fbff;
}

.overview-visual::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px dashed rgba(239, 249, 255, 0.5);
    border-radius: 16px;
    pointer-events: none;
}

.overview-visual__badge,
.overview-visual__hint {
    position: relative;
    z-index: 1;
}

.overview-visual__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.overview-visual__hint {
    max-width: 740px;
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(246, 251, 255, 0.9);
}

.detail-timeline {
    margin-top: 18px;
    display: grid;
    gap: 16px;
}

.detail-timeline__item {
    position: relative;
    padding: 20px 22px 20px 28px;
    border-radius: 18px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
}

.detail-timeline__item::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 24px;
    bottom: 24px;
    width: 3px;
    border-radius: 999px;
    background: var(--detail-accent);
}

.detail-timeline__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--detail-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-steps {
    margin-top: 18px;
    list-style: none;
    display: grid;
    gap: 16px;
    counter-reset: detail-step;
}

.detail-steps__item {
    counter-increment: detail-step;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 20px 22px;
    border-radius: 18px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
}

.detail-steps__item::before {
    content: counter(detail-step);
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--detail-accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.detail-checklist {
    margin-top: 18px;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.detail-checklist__item {
    position: relative;
    padding: 20px 20px 20px 56px;
    border-radius: 18px;
    background: var(--surface-muted);
    border: 1px solid var(--line);
}

.detail-checklist__item::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 24px;
    width: 18px;
    height: 10px;
    border-left: 3px solid var(--detail-accent);
    border-bottom: 3px solid var(--detail-accent);
    transform: rotate(-45deg);
}

.detail-faq {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.detail-faq__item {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-muted);
    padding: 0 20px;
}

.detail-faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 0;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text);
}

.detail-faq__item summary::-webkit-details-marker {
    display: none;
}

.detail-faq__item p {
    padding: 0 0 18px;
    margin-top: 0;
}

.detail-note {
    margin-top: 18px;
    padding: 20px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--detail-accent-soft), rgba(255, 255, 255, 0.96));
    border: 1px dashed rgba(0, 0, 0, 0.12);
}

.common-section-card--link h2 a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.common-page-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.common-page-list li + li {
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.common-page-list a {
    color: var(--accent-dark);
    font-weight: 700;
}

.common-page-list p {
    margin-top: 4px;
}

.page-intro,
.sitemap-intro,
.legal-intro {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 32px 0 20px;
    border-bottom: 2px solid var(--line);
}

.page-intro__title,
.sitemap-intro__title,
.legal-intro__title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.page-intro__back,
.sitemap-intro__back,
.legal-intro__back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-dark);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.page-intro__back:hover,
.sitemap-intro__back:hover,
.legal-intro__back:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sitemap-detail-page {
    gap: 18px;
    margin-top: 28px;
}

.sitemap-group-block {
    padding: 26px 28px;
}

.sitemap-group-block__title {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: clamp(1.1rem, 1.9vw, 1.45rem);
}

.sitemap-link-list {
    list-style: none;
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
}

.sitemap-link-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.sitemap-link-list a {
    display: inline-block;
    color: var(--accent-dark);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
}

.sitemap-link-list__summary {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

/* ── Legal document pages (Privacy Policy, Terms & Conditions) ── */

.legal-doc {
    margin-top: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px 34px;
    box-shadow: var(--shadow);
}

.legal-doc__summary {
    color: var(--muted);
    line-height: 1.8;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 0;
}

.legal-doc__section {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.legal-doc__section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-doc__section h2 {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px;
    line-height: 1.3;
}

.legal-doc__section p {
    color: var(--muted);
    line-height: 1.8;
    margin: 0;
}

.legal-doc__section p + p {
    margin-top: 8px;
}

.legal-doc__section ul {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
}

.legal-doc__section ul li {
    position: relative;
    padding: 5px 0 5px 18px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.94rem;
}

.legal-doc__section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.legal-doc__section a {
    color: var(--accent-dark);
    font-weight: 600;
    text-decoration: none;
}

.legal-doc__section a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer {
    background: #172a1e;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0;
    font-size: 0.88rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand strong {
    color: #fff;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.footer-brand p {
    line-height: 1.4;
}

.footer-info {
    flex: 1;
    min-width: 320px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.5;
}

.footer-contacts span {
    display: inline-block;
}

.footer-contacts span + span {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

.footer-contacts a {
    color: #fff;
    text-decoration: none;
}

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

.footer-copyright {
    margin-top: 12px;
    font-size: 0.82rem;
    opacity: 0.6;
}

.footer-copyright a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-copyright__divider {
    margin: 0 7px;
}

@media (max-width: 720px) {
    .site-header {
        padding: 20px 0 0;
    }
    .site-header__bar {
        flex-wrap: nowrap;
        gap: 12px;
        padding: 6px 0 24px;
        align-items: center;
    }
    .brandmark {
        --brandmark-logo-width: min(100%, 220px);
        flex-shrink: 1;
        min-width: 0;
    }
    .brandmark__copy {
        font-size: 0.56rem;
        white-space: nowrap;
        overflow-wrap: break-word;
        word-break: keep-all;
        max-width: 100%;
    }
    .header-utils {
        width: auto;
        justify-content: flex-end;
        margin-top: 0;
        margin-left: auto;
    }
    .header-utils .btn-header {
        display: none;
    }
    .nav-toggle {
        display: inline-flex;
    }
    .common-section-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 24px;
    }
    .content-detail-page {
        margin-top: 12px;
    }
    .sitemap-intro {
        padding: 22px 0 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .sitemap-group-block {
        padding: 22px 18px;
        border-radius: 20px;
    }
    .sitemap-link-list {
        grid-template-columns: 1fr;
        column-gap: 0;
        margin-top: 12px;
    }
    .sitemap-link-list li {
        padding: 13px 0;
    }
    .legal-intro {
        padding: 22px 0 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .legal-doc {
        margin-top: 18px;
        padding: 24px 20px;
        border-radius: 20px;
    }
    .message-letter {
        padding: 28px 20px 24px;
        border-radius: 22px;
    }
    .message-letter__header h2 {
        font-size: 1.55rem;
    }
    .message-letter__body p {
        font-size: 0.94rem;
        line-height: 1.8;
    }
    .detail-block {
        padding: 22px 18px;
        border-radius: 20px;
    }
    .detail-facts,
    .detail-card-grid,
    .detail-checklist,
    .overview-pillars {
        grid-template-columns: 1fr;
    }
    .overview-visual {
        min-height: 240px;
        padding: 22px 18px;
        border-radius: 20px;
    }
    .overview-visual::before {
        inset: 12px;
    }
    .detail-steps__item {
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 18px;
    }
    .detail-steps__item::before {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        font-size: 0.92rem;
    }
    .detail-checklist__item {
        padding-left: 50px;
    }
    .sub-page-hero,
    .sub-page-hero-nav-sticky {
        display: none;
    }
    .page-main--sub-section {
        padding-top: 10px;
    }
    .page-title-banner {
        padding: 20px 0 14px;
        margin-bottom: 20px;
    }
    .page-title-banner__title {
        font-size: 1.2rem;
    }
    .site-nav {
        position: relative;
        border-top: none;
        background: var(--accent-dark);
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        overflow: visible;
    }
    .site-nav__current-section {
        display: flex;
        align-items: center;
        gap: 0;
        padding: 10px 16px 10px 20px;
        margin-left: 20px;
        min-width: 0;
        overflow: visible;
        color: #fff;
        position: relative;
    }
    .site-nav__current-section-main {
        display: inline-flex;
        align-items: center;
        font-size: 0.82rem;
        font-weight: 700;
        line-height: 1.2;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .site-nav__current-section-sep {
        margin: 0 5px;
        opacity: 0.5;
        flex-shrink: 0;
        font-size: 0.9rem;
    }
    .site-nav__current-section-sub {
        display: inline-flex;
        align-items: center;
        font-size: 0.78rem;
        font-weight: 500;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: 0.88;
        min-width: 0;
    }
    .site-nav__current-section-sub--dropdown {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        border: 0;
        padding: 0;
        margin: 0;
        background: transparent;
        color: inherit;
        font-size: 0.78rem;
        font-weight: 500;
        line-height: 1.2;
        max-width: 100%;
        overflow: visible;
        text-overflow: clip;
        padding-right: 2px;
        cursor: pointer;
    }
    .site-nav__current-section-sub-label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .site-nav__current-section-sub-caret {
        width: 7px;
        height: 7px;
        border-right: 1.8px solid currentColor;
        border-bottom: 1.8px solid currentColor;
        transform: rotate(45deg) translateY(-1px);
        transform-origin: center;
        opacity: 0.8;
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }
    .site-nav__current-section-sub--dropdown[aria-expanded="true"] .site-nav__current-section-sub-caret {
        transform: rotate(225deg) translateY(1px);
    }
    .site-nav__current-submenu {
        position: absolute;
        right: 0;
        left: auto;
        top: calc(100% + 8px);
        z-index: 170;
        min-width: min(62vw, 248px);
        max-width: calc(100vw - 40px);
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--surface);
        box-shadow: 0 12px 28px rgba(12, 24, 18, 0.2);
    }
    .site-nav__current-submenu[hidden] {
        display: none;
    }
    .site-nav__current-submenu:not([hidden]) {
        display: block;
    }
    .site-nav__current-submenu-link {
        display: block;
        padding: 9px 11px;
        border-radius: 8px;
        color: var(--muted);
        font-size: 0.84rem;
        font-weight: 500;
        line-height: 1.35;
    }
    .site-nav__current-submenu-link:hover {
        background: var(--surface-muted);
        color: var(--text);
    }
    .site-nav__current-submenu-link.is-active {
        background: var(--surface-muted);
        color: var(--accent);
        font-weight: 700;
    }
    .site-nav__brand {
        display: none;
    }
    .site-nav__link {
        display: none;
    }
    .site-nav__utilities {
        display: none;
    }
    /* ── Drawer state (nav-open) ── */
    body.nav-open .site-nav {
        position: fixed;
        left: 0;
        top: 0;
        width: min(70vw, 260px);
        height: 100dvh;
        background: var(--surface);
        border-right: 1px solid var(--line);
        box-shadow: 0 20px 36px rgba(12, 24, 18, 0.18);
        z-index: 240;
        padding: 22px 16px 28px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        overflow-y: auto;
    }
    body.nav-open .site-nav__current-section {
        display: none;
    }
    body.nav-open .site-nav__current-submenu {
        display: none !important;
    }
    /* ── Accordion nav items with children ── */
    body.nav-open .site-nav__nav-item {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    body.nav-open .site-nav__link--has-children {
        justify-content: space-between;
    }
    body.nav-open .site-nav__link--has-children::after {
        content: '';
        display: inline-block;
        width: 7px;
        height: 7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        opacity: 0.45;
        transition: transform 0.2s ease, opacity 0.2s ease;
        flex-shrink: 0;
        margin-top: -2px;
    }
    body.nav-open .site-nav__nav-item.is-open .site-nav__link--has-children::after {
        transform: rotate(225deg);
        opacity: 0.7;
    }
    body.nav-open .site-nav__sub-links {
        display: flex;
        flex-direction: column;
        gap: 1px;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        margin: 0 0 0 12px;
        padding: 0 0 0 12px;
        border-left: 2px solid var(--line-strong);
        transition: max-height 0.28s ease, opacity 0.22s ease, margin 0.28s ease, padding 0.28s ease;
    }
    body.nav-open .site-nav__nav-item.is-open .site-nav__sub-links {
        max-height: var(--submenu-height, 360px);
        opacity: 1;
        margin: 0 0 6px 12px;
        padding: 4px 0 4px 12px;
    }
    body.nav-open .site-nav__sub-link {
        display: flex;
        padding: 8px 12px;
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--muted);
        border-radius: 6px;
        transition: background 0.15s, color 0.15s;
    }
    body.nav-open .site-nav__sub-link:hover {
        background: var(--surface-muted);
        color: var(--text);
    }
    body.nav-open .site-nav__sub-link.is-active {
        background: var(--surface-muted);
        color: var(--accent);
        font-weight: 600;
    }
    body.nav-open .site-nav__brand {
        display: inline-flex;
        align-self: flex-start;
        margin-bottom: 10px;
        padding: 0 0 14px;
        border-bottom: 1px solid var(--line);
    }
    body.nav-open .site-nav__brand img {
        width: 132px;
        height: auto;
        object-fit: contain;
    }
    body.nav-open .site-nav__link {
        display: flex;
        width: 100%;
        padding: 12px 14px;
        font-size: 0.96rem;
        border-radius: 8px;
    }
    body.nav-open .site-nav__link::after {
        display: none;
    }
    body.nav-open .site-nav__link.is-active,
    body.nav-open .site-nav__link:hover {
        background: var(--surface-muted);
    }
    body.nav-open .site-nav__utilities {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-top: auto;
        padding: 14px 0 0;
        border-top: 1px solid var(--line);
    }
    body.nav-open .site-nav__util-row {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }
    body.nav-open .site-nav__utility-btn {
        font-size: 0.82rem;
        padding: 9px 12px;
        width: auto;
        justify-content: flex-start;
    }
    .site-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        border: 0;
        background: rgba(13, 25, 18, 0.4);
        z-index: 220;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease;
        cursor: pointer;
    }
    body.nav-open .site-nav-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    body.nav-open .nav-toggle__line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    body.nav-open .nav-toggle__line:nth-child(2) {
        opacity: 0;
    }
    body.nav-open .nav-toggle__line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }
    .footer-info {
        min-width: 0;
    }
    .footer-contacts span {
        display: block;
    }
    .footer-contacts span + span {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 4px;
    }
}

@media (max-width: 389px) {
    .brandmark__copy {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .brandmark {
        --brandmark-logo-width: min(100%, 220px);
    }
    .brandmark__copy {
        display: block;
        font-size: 0.52rem;
        line-height: 1.3;
    }
    .container {
        width: min(1400px, 100% - 28px);
    }
}

.mailto-copy-tooltip {
    position: fixed;
    left: 50%;
    top: 24px;
    transform: translate(-50%, -100%);
    background: rgba(16, 44, 32, 0.96);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.3;
    padding: 9px 12px;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(10, 26, 18, 0.3);
    opacity: 0;
    pointer-events: none;
    z-index: 320;
    transition: opacity 0.16s ease, transform 0.16s ease;
    max-width: min(90vw, 460px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mailto-copy-tooltip.is-visible {
    opacity: 1;
    transform: translate(-50%, -120%);
}

.mailto-copy-tooltip.is-error {
    background: rgba(133, 28, 28, 0.95);
}

@media (max-width: 600px) {
    .mailto-copy-tooltip {
        font-size: 0.68rem;
        max-width: calc(100vw - 24px);
        white-space: normal;
        border-radius: 14px;
    }
}
