:root {
    --brand: #F3FA05;
    --brand-hover: #DDE404;
    --ink: #090909;
    --paper: #F5F5F0;
    --white: #FFFFFF;
    --muted: #666660;
    --line: rgba(9, 9, 9, 0.13);
    --page: 1180px;
    --radius-lg: 36px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--ink);
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -0.025em;
    word-break: keep-all;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--brand); }

.container { width: min(calc(100% - 48px), var(--page)); margin-inline: auto; }
.nav {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    border-bottom: 1px solid rgba(9, 9, 9, 0.09);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
}
.nav-inner { display: flex; height: 72px; align-items: center; justify-content: space-between; }
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -0.045em;
}
.brand-lockup img {
    width: 42px;
    height: 42px;
    border: 2px solid var(--ink);
    border-radius: 12px;
    object-fit: cover;
}
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 750; }
.nav-links a { position: relative; }
.nav-links a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: var(--ink);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--brand);
    color: var(--ink);
    font-size: 14px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}
.nav-cta:hover {
    background: var(--brand-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 0 rgba(9, 9, 9, 0.18);
}
.nav-cta:focus-visible,
.nav-links a:focus-visible,
.brand-lockup:focus-visible,
.footer a:focus-visible,
.legal-card a:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }

.legal-main { padding-top: 72px; }
.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 78px;
    border-bottom: 2px solid var(--ink);
    background: var(--brand);
}
.legal-hero::before {
    position: absolute;
    top: -170px;
    right: -90px;
    width: 430px;
    height: 430px;
    border: 2px solid rgba(9, 9, 9, 0.16);
    border-radius: 50%;
    content: "";
}
.legal-hero::after {
    position: absolute;
    right: 5%;
    bottom: -70px;
    width: 240px;
    height: 180px;
    background-image: radial-gradient(var(--ink) 1.4px, transparent 1.4px);
    background-size: 16px 16px;
    content: "";
    opacity: 0.16;
    transform: rotate(-8deg);
}
.legal-hero-inner { position: relative; z-index: 1; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: -0.01em;
}
.eyebrow::before {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}
h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(52px, 7vw, 82px);
    font-weight: 950;
    letter-spacing: -0.07em;
    line-height: 0.98;
}
.updated { margin: 26px 0 0; font-size: 15px; font-weight: 650; }

.legal-content { width: min(calc(100% - 48px), 920px); padding: 72px 0 104px; }
.legal-card {
    padding: clamp(28px, 5vw, 52px);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    background: var(--white);
}
.legal-card section + section { margin-top: 38px; padding-top: 38px; border-top: 1px solid var(--line); }
.legal-card h2 {
    margin: 0 0 14px;
    font-size: clamp(20px, 2.4vw, 25px);
    font-weight: 880;
    letter-spacing: -0.04em;
    line-height: 1.35;
}
.legal-card p,
.legal-card ul { color: var(--muted); font-size: 16px; line-height: 1.8; }
.legal-card p { margin: 0; }
.legal-card ul { margin: 14px 0 0; padding-left: 22px; }
.legal-card li + li { margin-top: 8px; }
.legal-card a {
    text-decoration: underline;
    text-decoration-color: rgba(9, 9, 9, 0.3);
    text-underline-offset: 3px;
}
.legal-card .notice {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(9, 9, 9, 0.18);
    border-radius: 16px;
    background: var(--brand);
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
}

.footer { padding: 54px 0 42px; background: var(--ink); color: var(--white); }
.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 900; }
.footer-brand img { width: 48px; height: 48px; border-radius: 13px; }
.footer-copy {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.46);
    font-size: 13px;
    line-height: 1.7;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 720px) {
    :root { --radius-lg: 28px; }
    .container,
    .legal-content { width: min(calc(100% - 36px), var(--page)); }
    .nav-inner { height: 64px; }
    .legal-main { padding-top: 64px; }
    .nav-links { display: none; }
    .brand-lockup span { display: none; }
    .brand-lockup img { width: 38px; height: 38px; border-radius: 11px; }
    .nav-cta { min-height: 48px; padding: 0 16px; font-size: 13px; }
    .legal-hero { padding: 70px 0 60px; }
    h1 { font-size: clamp(43px, 13vw, 62px); }
    .legal-content { padding: 46px 0 72px; }
    .legal-card { padding: 28px 22px; }
    .legal-card p,
    .legal-card ul { font-size: 15px; line-height: 1.75; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; }
}
