:root {
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #f7c948;
    --ink: #13201f;
    --muted: #64748b;
    --line: rgba(15, 118, 110, 0.14);
    --surface: #ffffff;
    --soft: #f6faf8;
    --glass: rgba(255, 255, 255, 0.82);
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--soft);
    color: var(--ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0;
    text-decoration: none;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: linear-gradient(145deg, #ffffff, #dff6ed);
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.14);
}

.brand-mark img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.lang-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-link {
    min-width: 42px;
    border-radius: 8px;
    padding: 7px 10px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    text-align: center;
}

.lang-link.active {
    background: var(--primary);
    color: white;
}

.lang-link:hover {
    text-decoration: none;
}

.legal-page {
    padding: 132px 0 78px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(247, 201, 72, 0.09) 48%, rgba(255, 255, 255, 0.96)),
        var(--soft);
    min-height: 100vh;
}

.legal-card {
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
    padding: 42px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    padding: 7px 12px;
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

h1 {
    margin-bottom: 10px;
    font-size: 2.9rem;
    line-height: 1.08;
    letter-spacing: 0;
}

h2 {
    margin: 34px 0 12px;
    font-size: 1.42rem;
    line-height: 1.25;
    letter-spacing: 0;
}

p {
    margin-bottom: 16px;
    color: var(--muted);
}

ul,
ol {
    margin: 0 0 18px 22px;
    color: var(--muted);
}

li {
    margin-bottom: 8px;
}

.last-updated {
    margin-bottom: 30px;
    color: #475569;
    font-weight: 700;
}

.notice {
    border-left: 4px solid var(--accent);
    background: rgba(247, 201, 72, 0.13);
    padding: 16px 18px;
}

.deletion-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 0.94rem;
    font-weight: 800;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 8px;
    background: white;
    color: var(--ink);
    font: inherit;
    padding: 14px 16px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}

textarea {
    min-height: 116px;
    resize: vertical;
}

.submit-button {
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: white;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.submit-button:hover {
    background: var(--primary-dark);
}

.success {
    display: none;
    margin-top: 18px;
    border-radius: 8px;
    background: rgba(15, 118, 110, 0.1);
    padding: 14px 16px;
    color: var(--primary-dark);
    font-weight: 800;
}

.footer {
    padding: 46px 0;
    background: #101817;
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
}

.footer strong {
    display: block;
    margin-bottom: 12px;
    color: white;
}

.footer a {
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 700px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-inner {
        min-height: 64px;
    }

    .brand span:last-child {
        font-size: 0.9rem;
    }

    .legal-page {
        padding-top: 100px;
    }

    .legal-card {
        padding: 24px 20px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.25rem;
        margin-top: 24px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .brand-mark img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .brand span:last-child {
        display: none;
    }
    
    .lang-link {
        min-width: 36px;
        padding: 5px 8px;
        font-size: 0.75rem;
    }
}
