:root {
    --ink-900: #0d1b2a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --brand-700: #0d1b2a;
    --brand-600: #1a2f46;
    --accent-500: #f6bd19;
    --surface-100: #f8fafc;
    --surface-200: #eef2ff;
    --border: #e2e8f0;
    --radius-md: 18px;
    --radius-lg: 24px;
    --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--ink-900);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 48%, #f7fafc 100%);
    line-height: 1.7;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-content {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.brand span {
    color: var(--ink-900);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-600);
    color: var(--brand-600);
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 220ms ease;
}

.back-link:hover {
    background: var(--surface-200);
}

.legal-content {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 34px;
    margin-top: 30px;
    margin-bottom: 36px;
}

h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    color: var(--ink-900);
    margin: 0 0 10px;
}

.effective-date {
    color: var(--ink-500);
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 20px;
}

h2 {
    color: var(--brand-700);
    font-size: 1.2rem;
    margin-top: 26px;
    margin-bottom: 8px;
}

p {
    color: var(--ink-700);
    margin-top: 0;
    margin-bottom: 14px;
}

ul {
    margin-top: 0;
    margin-bottom: 14px;
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
    color: var(--ink-700);
}

a {
    color: var(--brand-600);
    font-weight: 600;
}

a:hover {
    color: var(--brand-700);
}

.submit-button {
    display: inline-block;
    background: linear-gradient(180deg, var(--accent-500), #efb70a);
    color: var(--ink-900);
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 700;
    margin: 10px 0 12px;
}

.submit-button:hover {
    filter: brightness(1.04);
}

.warning-text {
    color: #b91c1c;
    font-weight: 700;
}

@media (max-width: 700px) {
    .nav-content {
        min-height: auto;
        padding: 12px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-content {
        padding: 20px;
        margin-top: 20px;
    }
}

