:root {
    --bg: #100f12;
    --bg-soft: #181313;
    --bg-deep: #08090c;
    --text: #fff9ee;
    --muted: #c9bdad;
    --soft: rgba(255, 249, 238, 0.72);
    --line: rgba(255, 249, 238, 0.16);
    --panel: rgba(255, 249, 238, 0.07);
    --panel-strong: rgba(255, 249, 238, 0.11);
    --accent: #e0ad61;
    --accent-strong: #f1c981;
    --accent-blue: #8fb4ff;
    --danger: #ef7a7a;
    --success: #7fd59b;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.44);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
}

button,
input,
textarea {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(16, 15, 18, 0.58) 0%, var(--bg) 42%, var(--bg-deep) 100%),
        linear-gradient(115deg, rgba(224, 173, 97, 0.18), rgba(143, 180, 255, 0.12) 42%, rgba(15, 13, 16, 0) 72%),
        var(--bg);
}

.site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 10;
}

.site-header-static {
    position: relative;
}

.header-inner,
.section-inner,
.footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    color: var(--text);
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 249, 238, 0.28);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(224, 173, 97, 0.92), rgba(143, 180, 255, 0.68));
    color: #121012;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.nav-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 249, 238, 0.06);
    outline: none;
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(8, 9, 12, 0.56);
    backdrop-filter: blur(18px);
}

.lang-btn {
    width: 42px;
    min-height: 34px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    transition: background 180ms ease, color 180ms ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
    color: var(--text);
    outline: none;
}

.lang-btn.active {
    color: #121012;
    background: var(--accent-strong);
}

.hero {
    position: relative;
    min-height: 82svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    filter: saturate(1.04) contrast(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 9, 12, 0.96) 0%, rgba(12, 11, 13, 0.82) 34%, rgba(12, 11, 13, 0.42) 63%, rgba(12, 11, 13, 0.68) 100%),
        linear-gradient(180deg, rgba(8, 9, 12, 0.74) 0%, rgba(8, 9, 12, 0.06) 40%, rgba(8, 9, 12, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 126px 0 64px;
}

.kicker,
.section-label {
    margin: 0 0 16px;
    color: var(--accent-strong);
    font-size: 14px;
    font-weight: 800;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 720px;
    margin-bottom: 22px;
    font-size: 76px;
    line-height: 0.98;
    font-weight: 900;
    overflow-wrap: anywhere;
}

h2 {
    margin-bottom: 18px;
    color: var(--text);
    font-size: 42px;
    line-height: 1.08;
    font-weight: 850;
    overflow-wrap: anywhere;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.2;
}

.hero-lead {
    max-width: 640px;
    margin-bottom: 32px;
    color: var(--soft);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border-radius: 8px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.button-primary {
    color: #16110b;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    box-shadow: 0 18px 44px rgba(224, 173, 97, 0.24);
}

.button-secondary {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 249, 238, 0.08);
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-metrics div {
    min-width: 136px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 249, 238, 0.07);
    backdrop-filter: blur(18px);
}

.hero-metrics strong,
.hero-metrics span {
    display: block;
}

.hero-metrics strong {
    color: var(--text);
    font-size: 24px;
    line-height: 1;
}

.hero-metrics span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.section {
    padding: 82px 0;
}

.section-intro {
    padding: 54px 0 34px;
    border-top: 1px solid rgba(255, 249, 238, 0.09);
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 52px;
    align-items: start;
}

.section-copy,
.story-copy p,
.form-panel p,
.page-lead,
.policy-card p,
.policy-aside span {
    color: var(--soft);
}

.section-copy {
    margin-bottom: 0;
    font-size: 18px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 249, 238, 0.04);
}

.feature-card {
    min-height: 252px;
    padding: 26px;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 249, 238, 0.08), rgba(255, 249, 238, 0.03));
}

.feature-card:last-child {
    border-right: 0;
}

.feature-number {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--accent-blue);
    font-size: 13px;
    font-weight: 900;
}

.feature-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.story-section {
    padding-top: 34px;
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(280px, 460px) 1fr;
    gap: 64px;
    align-items: center;
}

.story-visual {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 249, 238, 0.18);
    box-shadow: var(--shadow);
}

.story-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: inherit;
    pointer-events: none;
}

.story-visual img {
    width: 100%;
    aspect-ratio: 9 / 14;
    object-fit: cover;
    object-position: center top;
}

.story-copy {
    max-width: 640px;
}

.story-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.story-points span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text);
    background: rgba(255, 249, 238, 0.06);
    font-size: 14px;
    font-weight: 700;
}

.site-footer {
    border-top: 1px solid rgba(255, 249, 238, 0.1);
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 14px;
}

.footer-inner strong,
.footer-inner span {
    display: block;
}

.footer-inner strong {
    margin-bottom: 4px;
    color: var(--text);
}

.footer-inner a {
    color: var(--muted);
    text-decoration: none;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
    color: var(--text);
    outline: none;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.sub-main {
    padding-bottom: 72px;
}

.page-hero {
    padding: 80px 0 36px;
}

.policy-section {
    padding-top: 42px;
}

.narrow {
    max-width: 860px;
}

.page-hero h1,
.support-intro h1 {
    font-size: 58px;
    line-height: 1.02;
}

.page-lead {
    max-width: 680px;
    font-size: 19px;
}

.updated {
    display: inline-flex;
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

.policy-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 28px;
    align-items: start;
}

.policy-aside,
.policy-card,
.form-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 249, 238, 0.06);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.policy-aside {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 10px;
    padding: 24px;
}

.policy-aside strong {
    color: var(--text);
}

.policy-aside a {
    color: var(--accent-strong);
    text-decoration: none;
}

.policy-card {
    padding: 34px;
}

.policy-card section + section {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 249, 238, 0.12);
}

.policy-card h2 {
    margin-bottom: 12px;
    font-size: 26px;
}

.policy-card p:last-child {
    margin-bottom: 0;
}

.support-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 44px;
    align-items: start;
    padding-top: 78px;
}

.support-intro {
    min-width: 0;
}

.support-visual {
    position: relative;
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.support-visual img {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
}

.support-agent-card {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 36px);
    padding: 12px 14px;
    border: 1px solid rgba(255, 249, 238, 0.34);
    border-radius: 8px;
    background: rgba(255, 249, 238, 0.9);
    color: #121012;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(16px);
}

.agent-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-strong), var(--accent-blue));
    color: #121012;
    font-weight: 900;
}

.support-agent-card strong,
.support-agent-card small {
    display: block;
}

.support-agent-card small {
    margin-top: 2px;
    color: rgba(18, 16, 18, 0.66);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.form-panel {
    padding: 32px;
}

.form-panel h2 {
    margin-bottom: 8px;
    font-size: 34px;
}

form {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

label {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 249, 238, 0.18);
    border-radius: 8px;
    background: rgba(8, 9, 12, 0.5);
    color: var(--text);
    padding: 14px 15px;
    outline: none;
    transition: border-color 180ms ease, background 180ms ease;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    border-color: var(--accent-strong);
    background: rgba(8, 9, 12, 0.74);
}

::placeholder {
    color: rgba(201, 189, 173, 0.56);
}

.form-button {
    width: 100%;
    margin-top: 8px;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.notice {
    margin: 22px 0 0;
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 700;
}

.notice-success {
    border: 1px solid rgba(127, 213, 155, 0.34);
    color: var(--success);
    background: rgba(127, 213, 155, 0.11);
}

.notice-error {
    border: 1px solid rgba(239, 122, 122, 0.34);
    color: var(--danger);
    background: rgba(239, 122, 122, 0.11);
}

@media (max-width: 980px) {
    .site-header {
        position: relative;
        background: rgba(8, 9, 12, 0.72);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(255, 249, 238, 0.1);
    }

    .header-inner {
        min-height: auto;
        padding: 14px 0;
        align-items: flex-start;
    }

    .nav-actions {
        flex-wrap: wrap;
    }

    .hero {
        min-height: auto;
    }

    .hero-media {
        position: absolute;
    }

    .hero-overlay {
        background:
            linear-gradient(180deg, rgba(8, 9, 12, 0.88) 0%, rgba(8, 9, 12, 0.72) 46%, rgba(8, 9, 12, 0.96) 100%),
            linear-gradient(90deg, rgba(8, 9, 12, 0.9), rgba(8, 9, 12, 0.42));
    }

    .hero-content {
        padding: 78px 0 54px;
    }

    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 34px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .split,
    .story-layout,
    .policy-layout,
    .support-layout {
        grid-template-columns: 1fr;
    }

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

    .feature-card {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .feature-card:nth-child(odd) {
        border-right: 1px solid var(--line);
    }

    .feature-card:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .policy-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .header-inner,
    .section-inner,
    .footer-inner,
    .hero-content {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .brand {
        width: auto;
        justify-content: flex-start;
        min-width: 0;
        white-space: nowrap;
    }

    .nav-actions {
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
        gap: 0;
    }

    .nav-link {
        min-height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }

    .site-header .nav-link {
        display: none;
    }

    .language-switcher {
        width: auto;
        justify-content: flex-end;
    }

    .lang-btn {
        width: 38px;
        flex: 0 0 38px;
    }

    .hero-content {
        padding: 46px 0 38px;
    }

    h1,
    .page-hero h1,
    .support-intro h1 {
        font-size: 42px;
        line-height: 1.04;
    }

    .page-hero h1,
    .support-intro h1 {
        font-size: 34px;
        line-height: 1.1;
    }

    h2 {
        font-size: 29px;
    }

    .hero-lead,
    .page-lead,
    .section-copy {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-metrics div {
        min-width: 0;
        padding: 12px;
    }

    .hero-metrics strong {
        font-size: 21px;
    }

    .hero-metrics span {
        font-size: 11px;
    }

    .button {
        width: 100%;
        min-height: 50px;
        padding: 0 16px;
    }

    .section {
        padding: 54px 0;
    }

    .section-intro {
        padding-top: 42px;
    }

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

    .feature-card,
    .feature-card:nth-child(odd) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .feature-card:last-child {
        border-bottom: 0;
    }

    .feature-number {
        margin-bottom: 18px;
    }

    .story-layout {
        gap: 34px;
    }

    .page-hero {
        padding: 48px 0 22px;
    }

    .support-layout {
        padding-top: 46px;
    }

    .policy-card,
    .policy-aside,
    .form-panel {
        padding: 22px;
    }

    .support-visual img {
        min-height: 260px;
    }

    .support-agent-card {
        left: 14px;
        bottom: 14px;
        padding: 10px 12px;
    }

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

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
