*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg: #222425;
    --bg2: #2A2C2D;
    --bg3: #343738;
    --white: #F1F0EC;
    --grey: #C2C1BC;
    --muted: #9B9A95;
    --accent: #7C6653;
    --accent2: #B09579;
    --border: rgba(255, 255, 255, 0.12);
    --footer-bg: #1C1E1F;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent2);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover { color: var(--white); }

:focus-visible {
    outline: 3px solid var(--accent2);
    outline-offset: 4px;
    border-radius: 3px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1000;
    padding: 10px 18px;
    border-radius: 5px;
    background: var(--accent2);
    color: var(--bg);
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus { top: 12px; }

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(34, 36, 37, 0.98);
}

.header-inner {
    width: min(1180px, calc(100% - 80px));
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: var(--white);
    text-decoration: none;
}

.logo img {
    display: block;
    width: auto;
    height: 42px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--grey);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    border-color: var(--accent2);
    color: var(--white);
}

main {
    width: min(880px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0 96px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent2);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1, h2 { text-wrap: balance; }

h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(40px, 7vw, 58px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.lead {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--grey);
    font-size: 19px;
    line-height: 1.65;
}

.updated {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.summary-item {
    min-width: 0;
    padding: 24px 22px;
    border-right: 1px solid var(--border);
}

.summary-item:first-child { padding-left: 0; }
.summary-item:last-child { border-right: 0; }

.summary-label {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.summary-value {
    display: block;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.contents {
    margin: 0 0 56px;
    padding: 26px 28px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    border-radius: 5px;
    background: var(--bg2);
}

.contents h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.contents ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 34px;
    margin: 0;
    padding-left: 22px;
}

.contents li { padding-left: 4px; }
.contents a { color: var(--grey); }
.contents a:hover { color: var(--white); }

.policy-section {
    scroll-margin-top: 24px;
    padding-top: 42px;
    border-top: 1px solid var(--border);
}

.policy-section + .policy-section { margin-top: 42px; }

h2 {
    margin: 0 0 18px;
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2::before {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    margin-bottom: 14px;
    background: var(--accent2);
}

p { margin: 0 0 16px; color: var(--grey); }
p:last-child { margin-bottom: 0; }

ul {
    margin: 14px 0 18px;
    padding-left: 23px;
    color: var(--grey);
}

li { margin-bottom: 8px; padding-left: 5px; }
li::marker { color: var(--accent2); }

strong { color: var(--white); font-weight: 600; }

.data-list {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    margin: 22px 0 0;
    border-top: 1px solid var(--border);
}

.data-list dt,
.data-list dd {
    margin: 0;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.data-list dt {
    padding-right: 24px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.data-list dd {
    color: var(--grey);
    overflow-wrap: anywhere;
}

.notice {
    margin-top: 24px;
    padding: 18px 20px;
    border-left: 3px solid var(--accent2);
    background: var(--bg2);
}

.notice p { font-size: 15px; }

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--footer-bg);
}

.footer-inner {
    width: min(1180px, calc(100% - 80px));
    min-height: 104px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-inner p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links a { color: var(--grey); font-size: 14px; }

@media (max-width: 760px) {
    .header-inner,
    .footer-inner { width: min(100% - 40px, 1180px); }

    .header-inner { min-height: 72px; }
    .logo img { height: 36px; }
    .back-link { padding-inline: 11px; }

    main {
        width: min(100% - 40px, 880px);
        padding: 48px 0 72px;
    }

    .lead { font-size: 17px; }

    .summary { grid-template-columns: 1fr; }
    .summary-item,
    .summary-item:first-child {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }
    .summary-item:last-child { border-bottom: 0; }

    .contents { padding: 22px; }
    .contents ol { grid-template-columns: 1fr; }

    .data-list { grid-template-columns: 1fr; }
    .data-list dt { padding: 14px 0 3px; border-bottom: 0; }
    .data-list dd { padding: 0 0 14px; }

    .footer-inner {
        min-height: 0;
        padding: 28px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 440px) {
    .back-link span:last-child { display: none; }
    .footer-links { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

@media print {
    body { background: #fff; color: #111; }
    .site-header, .site-footer, .contents, .skip-link { display: none; }
    main { width: 100%; padding: 0; }
    h1, h2, strong, .summary-value { color: #111; }
    p, li, .data-list dd, .lead, .updated { color: #333; }
    .summary, .policy-section, .data-list, .data-list dt, .data-list dd { border-color: #bbb; }
    a { color: #111; }
}
