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

:root {
    --title-1: #000;
    --title-2: #000;
    --text: #111;
    --muted: #888;
    --border: #e8e8e8;
    --accent: #C11C25;
    --bg: #fff;
    --dark: #222;
    --dark-text: #eee;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
}

/* ── Header ── */
header {
    padding: 32px 48px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--dark);
    color: var(--dark-text)
}

header svg, header img {
    height: 64px;
    width: auto;
    flex-shrink: 0;
}

header #logo-imflexup {
    .cls-2 {
        fill: #fff !important;
    }
}

.header-logo-ironman {
    margin-left: auto;
    flex-shrink: 0;
}

.header-logo-ironman svg {
    height: 28px;
    width: auto;
}

.header-title h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.header-title .meta {
    font-size: 12px;
    color: var(--muted);
    margin-top: 3px;
}

.header-sep {
    width: 1px;
    height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

.wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 48px 96px;
}

.faq-link {
    margin-top: 40px;
    margin-bottom: -8px;
    display: flex;
    justify-content: center;
}

.faq-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--dark);
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background .18s, transform .18s;
}

.faq-link a::before {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.faq-link a:hover {
    background: #000;
}

/* ── Notice ── */
.notice {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: #fdf8f8;
    border-radius: 6px;
}

.notice-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

.notice p {
    margin-bottom: 10px;
    color: #333;
    font-size: 14px;
}

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

/* ── Section ── */
.section {
    padding: 24px 0;
}

.section-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 28px;
    font-size: 18px;
}

.section-num {
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: nowrap;
}

.section-anchor {
    margin-left: auto;
    font-size: 14px;
    font-weight: 400;
    color: var(--border);
    text-decoration: none;
    line-height: 1;
    transition: color .15s;
}

.section-head:hover .section-anchor { color: var(--accent); }

.section-title {
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--title-1);
}

/* ── Sub-section ── */
.sub {
    margin-bottom: 32px;
}

.sub:last-child { margin-bottom: 0; }

.sub-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
    color: var(--title-2);
}

p { margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }

ul, ol {
    padding-left: 18px;
    margin-bottom: 12px;
}

li { margin-bottom: 5px; }

/* ── Definitions ── */
.defs dt {
    display: inline;
    font-weight: 600;
    font-style: normal;
}

.defs dd {
    display: inline;
    margin-left: 0;
    color: #444;
}

.defs dd::after {
    content: '';
    display: block;
    margin-top: 8px;
}

/* ── Example box ── */
.example {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
    margin-top: 16px;
    font-size: 14px;
}

.example-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

.example-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    color: #333;
}

.example-row.total {
    font-weight: 700;
    color: var(--text);
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 6px;
}

.example-row.refund { color: #1a7a3f; font-weight: 600; }
.example-row.loss   { color: #888; }

.example-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 12px 0;
}

.example-note {
    font-size: 12px;
    color: var(--muted);
    margin-top: 14px;
}

/* ── Sub-label (a)(b)(c) ── */
.sub-label {
    font-weight: 600;
    display: block;
    margin: 20px 0 8px;
}

.sub-label:first-child { margin-top: 0; }

/* ── Contact block ── */
.contact {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px 24px;
    font-size: 14px;
    line-height: 2;
    color: #333;
    margin-bottom: 20px;
}

/* ── Footer ── */
footer {
    padding: 24px 48px;
    font-size: 12px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
}

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

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

.footer-links a:hover {
    color: var(--text);
}

.footer-logo-ironman a {
    width: auto;
    opacity: 0.5;
}

.footer-logo-ironman a:hover {
    opacity: 1;
}

.footer-logo-ironman svg .cls-2 {
    fill: #333;
}

.footer-logo-ironman svg {
    height: 18px;
}

@media (max-width: 640px) {
    header, footer { padding-left: 24px; padding-right: 24px; }
    .header-title h1 { font-size: 18px; }
    header { gap: 16px; flex-wrap: wrap; }
    header svg, header img { height: 48px; }
    .header-logo-ironman { margin-left: 0; width: 100%; display: flex; justify-content: center; }
    .wrap { padding-left: 24px; padding-right: 24px; }
    footer { flex-direction: column; align-items: flex-start; }
}