@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../../resources/libs/fonts/dm-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "DM Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../../resources/libs/fonts/dm-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #475264;
    --ink-strong: #2f3848;
    --muted: #6b7384;
    --page: #f4f6f8;
    --cream: #eef3f5;
    --cream-2: #e2f5f5;
    --soft: #eef1f5;
    --card: #fff;
    --line: #e3e8ee;
    --teal: #46bfbf;
    --teal-deep: #349898;
    --teal-ink: #24716f;
    --teal-soft: #e2f5f5;
    --accent: #24716f;
    --accent-hover: #1c5b5a;
    --accent-soft: #e2f5f5;
    --price: #24716f;
    --orange: #24716f;
    --orange-hover: #1c5b5a;
    --orange-soft: #e2f5f5;
    --ice: #e2f5f5;
    --green: #17803d;
    --green-soft: #e7f7ec;
    --red: #c2410c;
    --red-soft: #ffece6;
    --shadow: 0 10px 30px rgba(71, 82, 100, 0.08);
    --shadow-hover: 0 16px 36px rgba(71, 82, 100, 0.12);
    --shadow-soft: 0 8px 20px rgba(71, 82, 100, 0.05);
    --radius: 28px;
    --pill: 800px;
    --font: "DM Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--page); }
body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
::selection { background: #c8eded; color: var(--ink-strong); }
:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.wrap-wide { width: min(1280px, calc(100% - 32px)); margin-inline: auto; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#header-placeholder {
    position: sticky;
    top: 0;
    z-index: 40;
}
.site-header {
    background: rgba(244, 246, 248, 0.86);
    backdrop-filter: saturate(1.15) blur(18px);
    border-bottom: 1px solid rgba(47, 56, 72, 0.06);
}
.masthead {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 72px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    flex: 0 0 auto;
}
.brand-mark {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    color: transparent;
    font-size: 0;
}
.brand-mark svg { display: block; }
.brand-text {
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--ink-strong);
    text-transform: lowercase;
}
.brand-text small { display: none; }
.nav-desk {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 1 auto;
    gap: 22px;
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}
.nav-desk a {
    position: relative;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--muted);
    padding: 10px 0;
    border-radius: 0;
    transition: color 0.2s ease;
}
.nav-desk a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 1.5px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}
.nav-desk a:hover {
    color: var(--ink-strong);
    background: none;
}
.nav-desk a:hover::after,
.nav-desk a[aria-current="page"]::after {
    transform: scaleX(1);
}
.nav-desk a[aria-current="page"] {
    color: var(--ink-strong);
    background: none;
    box-shadow: none;
}
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.lang-box { position: relative; }
.lang-btn, .menu-toggle, .btn-text {
    border: 0;
    background: transparent;
    padding: 8px 11px;
    cursor: pointer;
    color: #5f6470;
    font-weight: 500;
    font-size: 14px;
    border-radius: 10px;
}
.lang-btn:hover, .btn-text:hover, .menu-toggle:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.62);
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.lang-btn .chev {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    opacity: 0.7;
}
.lang-btn[aria-expanded="true"] .chev { transform: rotate(-135deg) translateY(-1px); }
.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    list-style: none;
    margin: 0;
    padding: 8px;
    min-width: 188px;
    max-height: min(360px, 70vh);
    overflow: auto;
    box-shadow: var(--shadow);
    z-index: 30;
}
.lang-hint {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 16px;
    padding: 10px 20px;
    background: var(--cream-2);
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.lang-hint p { margin: 0; }
.lang-hint-actions { display: flex; align-items: center; gap: 6px; }
.lang-menu li { margin: 0; }
.lang-menu a, .lang-soon {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
}
.lang-menu a:hover, .lang-menu a[aria-current="page"] { background: var(--soft); }
.lang-soon { color: var(--muted); }
.nav-mob {
    display: none;
    flex-direction: column;
    padding: 4px 20px 18px;
    gap: 2px;
}
.nav-mob a,
.nav-mob .btn-text {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    padding: 11px 12px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 12px;
}
.nav-mob a:hover,
.nav-mob .btn-text:hover { background: rgba(255, 255, 255, 0.7); }
.nav-mob #mobile-user-menu:not([hidden]),
.nav-mob #mobile-auth-buttons:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}
.menu-toggle { display: none; width: 40px; height: 40px; place-items: center; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 22px;
    border-radius: var(--pill);
    text-decoration: none;
    font-size: 15px;
    font-weight: 550;
    letter-spacing: -0.01em;
    cursor: pointer;
    border: 0;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm {
    min-height: 38px;
    padding: 7px 16px;
    font-size: 14px;
}
.btn-accent {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 12px 28px rgba(36, 113, 111, 0.24);
}
.btn-accent:hover { background: var(--orange-hover); box-shadow: 0 16px 32px rgba(36, 113, 111, 0.3); }
.btn-ice {
    background: var(--teal-soft);
    color: var(--teal-deep);
    border: 1.5px solid var(--teal);
    box-shadow: none;
}
.btn-ghost-light {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.36);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.22); }
.btn-ice:hover { background: #d5f1f1; }
.btn-solid {
    background: var(--orange);
    color: #fff;
    box-shadow: none;
}
.btn-solid:hover { background: var(--orange-hover); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn-line {
    background: #fff;
    color: var(--ink);
    border: 1px solid #d9d6d0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.btn-line:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-text { min-height: auto; }

.site-footer {
    margin-top: 0;
    padding: 72px 0 32px;
    background:
        radial-gradient(ellipse 48% 70% at 88% 0%, rgba(70, 191, 191, 0.22), transparent 52%),
        #2a3342;
    color: #c5ced8;
    border-top: 0;
}
.ft-stage { max-width: 1180px; }
.ft-word {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #fff;
    text-transform: lowercase;
}
.ft-line {
    margin: 0 0 14px;
    max-width: 28em;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
}
.ft-mail {
    display: inline-block;
    color: #8fd4d4;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.01em;
}
.ft-mail:hover { color: #fff; }
.ft-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 40px 0 0;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.ft-rail a {
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}
.ft-rail a:hover { color: #7ee8e8; }
.ft-end {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.42);
    font-size: 13px;
    line-height: 1.6;
}
.ft-end p { margin: 0; }
.ft-end-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.ft-end-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}
.ft-end-links a:hover { color: #fff; }

.user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    padding: 4px 10px 4px 4px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 550;
}
.user-pill__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
/* Account gate: split showroom sheet. Keep .field / .auth-msg for console forms. */
.gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: 28px;
    background: rgba(16, 20, 28, 0.58);
    backdrop-filter: saturate(1.1) blur(18px);
    -webkit-backdrop-filter: saturate(1.1) blur(18px);
    animation: gate-veil 0.32s ease both;
}
.gate.is-open { display: grid; }
.gate[hidden] { display: none; }
.gate-stage {
    width: min(1040px, 100%);
    height: min(680px, calc(100vh - 56px));
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    background: #f4f6f8;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(16, 20, 28, 0.36);
    animation: gate-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.gate-vista {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px 32px;
    color: #fff;
    background: #12202a;
}
.gate-vista::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        url("../../resources/image/nk-hero-aisle.jpg") center / cover no-repeat;
    transform: scale(1.08);
    animation: gate-vista-drift 16s ease-out both;
}
.gate-vista::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 20, 28, 0.12) 0%, rgba(16, 20, 28, 0.72) 100%),
        linear-gradient(90deg, rgba(36, 113, 111, 0.18) 0%, transparent 55%);
}
.gate-vista-word,
.gate-vista-line,
.gate-vista-meta {
    position: relative;
    z-index: 1;
}
.gate-vista-word {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 650;
    letter-spacing: -0.04em;
    text-transform: lowercase;
}
.gate-vista-line {
    margin: 0 0 10px;
    max-width: 16em;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}
.gate-vista-meta {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.56);
}
.gate-desk {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 40px 48px 36px;
    overflow: auto;
    background:
        radial-gradient(ellipse 70% 50% at 100% 0%, rgba(226, 245, 245, 0.7), transparent 58%),
        #f7f9fb;
}
.gate-x {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: color 0.2s ease, transform 0.2s ease;
}
.gate-x:hover { color: var(--ink-strong); transform: rotate(90deg); }
.gate-marks {
    display: flex;
    gap: 18px;
    margin: 0 0 22px;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #b4bac4;
}
.gate-marks .is-on { color: var(--teal-ink); }
.gate-desk h2 {
    margin: 0 0 8px;
    max-width: 12em;
    font-size: clamp(30px, 3.4vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.042em;
    font-weight: 650;
    color: var(--ink-strong);
    text-wrap: balance;
}
.gate-note {
    margin: 0 0 8px;
    max-width: 28em;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}
.gate-alert {
    margin: 14px 0 0;
    padding: 0;
    font-size: 13.5px;
    line-height: 1.5;
    background: none;
    border-radius: 0;
}
.gate-alert.is-error { color: var(--red); }
.gate-alert.is-success { color: var(--green); }
.gate-alert.is-info { color: var(--muted); }
.gate-form { margin-top: 8px; }
.gate-desk [hidden] { display: none !important; }
.gate-slot {
    display: block;
    margin: 22px 0 0;
}
.gate-slot > span {
    display: block;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7b8390;
}
.gate-slot input {
    width: 100%;
    margin-top: 6px;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid #d5dbe3;
    border-radius: 0;
    background: transparent;
    color: var(--ink-strong);
    font: inherit;
    appearance: none;
    transition: border-color 0.18s ease;
}
.gate-slot input:focus {
    outline: none;
    border-bottom-color: var(--teal);
    box-shadow: none;
}
.gate-pair {
    display: flex;
    align-items: center;
    gap: 12px;
}
.gate-pair input { flex: 1; width: auto; }
.gate-send {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: none;
    padding: 0;
    color: var(--teal-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 550;
    cursor: pointer;
    white-space: nowrap;
}
.gate-send:hover { color: var(--ink-strong); }
.gate-send:disabled { color: #9aa2ae; cursor: default; }
.gate-chip {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 4px;
    padding: 12px 0 14px;
    border-bottom: 1px solid #d5dbe3;
}
.gate-chip b {
    font-weight: 550;
    font-size: 16px;
    color: var(--ink-strong);
    word-break: break-all;
}
.gate-chip button,
.gate-tools button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gate-chip button:hover,
.gate-tools button:hover { color: var(--ink-strong); }
.gate-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 22px 0 4px;
    border-bottom: 1px solid var(--line);
}
.gate-tabs button {
    border: 0;
    background: none;
    padding: 10px 0 12px;
    margin-bottom: -1px;
    font: inherit;
    font-size: 14px;
    font-weight: 550;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}
.gate-tabs button[aria-pressed="true"] {
    color: var(--ink-strong);
    border-bottom-color: var(--teal);
}
.gate-pact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 22px 0 4px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    cursor: pointer;
}
.gate-pact input { margin-top: 3px; accent-color: var(--teal-ink); }
.gate-pact a { color: var(--ink-strong); }
.gate-form .btn { margin-top: 28px; min-width: 148px; }
.gate-form .btn:disabled svg,
.gate-send:disabled svg { animation: gate-spin 0.7s linear infinite; }
@keyframes gate-spin { to { transform: rotate(360deg); } }
.gate-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 22px;
}
@keyframes gate-veil {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes gate-in {
    from { opacity: 0; transform: translateX(40px) scale(0.985); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: none; }
}
@keyframes gate-vista-drift {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}
.auth-msg { font-size: 13px; margin: 0 0 12px; padding: 8px 10px; border-radius: 10px; }
.auth-msg-error { background: var(--red-soft); color: var(--red); }
.auth-msg-success { background: var(--green-soft); color: var(--green); }
.auth-msg-info { background: var(--soft); color: var(--muted); }
.field-row { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.field { display: block; font-size: 13px; font-weight: 550; margin: 14px 0; color: #3c4048; }
.field input, .field textarea {
    width: 100%;
    margin-top: 7px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #e4e1db;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
.field > .btn {
    display: flex;
    width: 100%;
    height: 46px;
    min-height: 46px;
    margin-top: 14px;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
}
.field > .btn:hover { transform: none; }
.field .field-row input {
    flex: 1;
    width: auto;
    margin-top: 0;
    height: 46px;
    min-height: 46px;
}
.field .field-row .btn {
    height: 46px;
    min-height: 46px;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1;
    flex-shrink: 0;
}
.field .field-row .btn:hover { transform: none; }
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(36, 113, 111, 0.16);
}

.kicker, .eyebrow {
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-deep);
    margin: 0 0 12px;
}
.section-lead {
    color: var(--muted);
    margin: 0 0 0;
    max-width: 38em;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

.page-top,
.page-hero {
    position: relative;
    padding: 36px 0 12px;
    background: transparent;
}
.page-hero-layout,
.page-hero-copy {
    display: block;
    max-width: 40em;
}
.page-hero-copy .section-lead { margin: 0; }
.price-fig {
    color: var(--price);
    font-variant-numeric: tabular-nums;
}
.page-top h1,
.page-hero h1 {
    font-size: clamp(32px, 4.4vw, 46px);
    line-height: 1.12;
    font-weight: 650;
    letter-spacing: -0.04em;
    margin: 0 0 12px;
    text-wrap: balance;
    color: var(--ink-strong);
}
.page-hero-shot { display: none; }
.page-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin: 18px 0 0;
}
.page-pills span,
.page-pills a {
    background: none;
    border: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--teal-deep);
    text-decoration: none;
}
.page-pills a:hover { color: var(--ink-strong); }
.page-hero-actions,
.act-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}
.page-fine {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13px;
}
.close-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px 40px;
    margin: 72px 0 8px;
    padding: 28px 0 8px;
    border-top: 1px solid var(--line);
}
.close-band h2 {
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 650;
    letter-spacing: -0.036em;
    line-height: 1.2;
    margin: 0 0 8px;
    color: var(--ink-strong);
}
.close-band p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 36em;
}
.close-band .act-row { margin-top: 0; flex-shrink: 0; }

.mast {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    width: min(1280px, calc(100% - 32px));
    margin: 8px auto 16px;
    border-radius: 32px;
}
.mast-media {
    position: absolute;
    inset: 0;
    margin: 0;
}
.mast-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: mast-drift 18s ease-out both;
}
.mast-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 26, 34, 0.2) 0%, rgba(20, 26, 34, 0.66) 100%);
}
.mast-copy {
    position: relative;
    z-index: 1;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 56px 0 40px;
    color: #fff;
}
.mast-copy .eyebrow { color: #9fe4e4; }
.mast-copy h1 { color: #fff; }
.mast-copy .section-lead { color: rgba(255, 255, 255, 0.8); }
.mast-slim { min-height: 240px; }
.mast-slim .mast-copy { min-height: 240px; padding-top: 40px; padding-bottom: 32px; }
.mast-quiet {
    min-height: 280px;
    background:
        radial-gradient(ellipse 70% 80% at 88% 0%, rgba(70, 191, 191, 0.38), transparent 52%),
        linear-gradient(155deg, #2a3342 0%, #3c4a5c 100%);
}
.mast-quiet .mast-copy { min-height: 280px; }
.mast-quiet .legal-meta span { color: rgba(255, 255, 255, 0.72); }

.stage-close {
    margin: 72px auto 16px;
}
.stage-close-frame {
    position: relative;
    min-height: 360px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(47, 56, 72, 0.16);
}
.stage-close-frame img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.stage-close-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 26, 34, 0.72) 0%, rgba(20, 26, 34, 0.28) 70%, rgba(20, 26, 34, 0.12) 100%);
}
.stage-close-copy {
    position: absolute;
    z-index: 1;
    left: 40px;
    right: 40px;
    bottom: 40px;
    color: #fff;
    max-width: 36em;
}
.stage-close-copy h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3.4vw, 40px);
    letter-spacing: -0.038em;
    color: #fff;
}
.stage-close-copy p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.78);
}
.stage-close-copy .act-row { margin-top: 0; }
@keyframes mast-drift {
    from { transform: scale(1.08); }
    to { transform: none; }
}
.faq-list { width: 100%; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-align: left;
    background: none;
    border: 0;
    padding: 18px 0;
    font: inherit;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.02em;
    cursor: pointer;
    color: var(--ink-strong);
}
.faq-chevron {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-right: 1.6px solid #9aa0ab;
    border-bottom: 1.6px solid #9aa0ab;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.faq-item.is-open .faq-chevron { transform: rotate(-135deg); }
.faq-item dd {
    display: none;
    margin: -4px 28px 18px 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}
.faq-item.is-open dd { display: block; }
.page-stub { padding: 56px 0 48px; }
.page-stub h1 {
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.12;
    margin: 0 0 14px;
    text-wrap: balance;
}
.page-stub h2 {
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -0.03em;
    margin: 40px 0 14px;
}
.page-stub .section-lead { margin-left: 0; }
.page-stub ul { padding-left: 18px; color: var(--muted); }
.page-stub li { margin: 8px 0; }
.page-stub li a { color: var(--ink); }

.sheet {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    overflow: hidden;
}
.table-wrap, table.sheet.kv {
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.sheet th, .sheet td {
    border-bottom: 1px solid var(--line);
    padding: 15px 18px;
    text-align: left;
    vertical-align: top;
    font-variant-numeric: tabular-nums;
}
.sheet tr:last-child th, .sheet tr:last-child td { border-bottom: 0; }
.sheet thead th { background: #f4f7f8; font-weight: 600; font-size: 13px; color: #5c606b; }
.sheet tbody th { background: #f7f9fb; font-weight: 600; font-size: 13.5px; }
.sheet.kv th { width: 22%; }
.warn {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #9a5b12;
    font-size: 13.5px;
    line-height: 1.6;
    margin: 16px 0 0;
    padding: 12px 14px;
    background: #fff7ea;
    border-radius: 12px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.postpay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(27, 29, 34, 0.32);
    display: grid;
    place-items: center;
    padding: 20px;
}
.postpay[hidden] { display: none; }
.postpay-card {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
}

@media (max-width: 860px) {
    .wrap { width: min(1100px, calc(100% - 32px)); }
    .nav-desk { display: none; }
    .menu-toggle { display: inline-grid; }
    .nav-mob:not([hidden]) { display: flex; }
    .header-actions .btn-accent { display: none; }
    .ft-rail { gap: 14px 20px; }
    .ft-end { align-items: flex-start; }
    .page-top,
    .page-hero { padding: 20px 0 8px; }
    .page-top h1,
    .page-hero h1 { font-size: 30px; }
    .close-band {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 48px;
    }
    .mast { border-radius: 24px; }
    .mast-copy,
    .mast-quiet .mast-copy { min-height: 240px; padding: 36px 0 28px; }
    .stage-close-frame,
    .stage-close-frame img { min-height: 300px; height: 300px; }
    .stage-close-copy { left: 20px; right: 20px; bottom: 24px; }
    .gate { align-items: end; padding: 0; }
    .gate-stage {
        width: 100%;
        height: min(92vh, 100%);
        grid-template-columns: 1fr;
        grid-template-rows: 128px 1fr;
        border-radius: 28px 28px 0 0;
        animation-name: gate-up;
    }
    .gate-vista { padding: 20px 22px; }
    .gate-vista-line { display: none; }
    .gate-desk { padding: 28px 22px max(32px, env(safe-area-inset-bottom)); }
    .gate-desk h2 { font-size: 28px; }
    .gate-form .btn { width: 100%; }
}
@keyframes gate-up {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn, .nav-desk a, .plan, .ledger article, .gate-x { transition: none; }
    .mast-media img { animation: none; }
    .gate, .gate-stage, .gate-vista::before,
    .gate-form .btn:disabled svg,
    .gate-send:disabled svg { animation: none; }
}
