/* =========================================
   RESET + BASE TYPOGRAPHY + LAYOUT
   ========================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial,
        Helvetica, sans-serif;
    background: var(--surface);
    color: var(--text);
    line-height: 1.7;
    font-size: 15.5px;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.3;
    color: var(--primary);
    font-weight: 700;
}

p {
    color: var(--text-soft);
}

/* ---------- ICON UTILITY ---------- */

.icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

/* ---------- LAYOUT ---------- */

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}

.section {
    padding: 72px 0;
}

.section--alt {
    background: var(--surface-alt);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 36px;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    color: var(--secondary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(26px, 3.4vw, 34px);
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--muted);
    font-size: 15.5px;
    max-width: 680px;
}

/* ---------- PROSE (long-form readable text) ---------- */

.prose {
    max-width: 72ch;
}

.prose p {
    margin-bottom: 16px;
    line-height: 1.85;
}

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

/* ---------- NOTICE (single pending-info hint) ---------- */

.notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 22px;
    border-left: 4px solid var(--secondary);
    background: var(--secondary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    line-height: 1.7;
}

.notice .icon {
    color: var(--secondary-dark);
    font-size: 20px;
    margin-top: 2px;
}

body[data-theme="dark"] .notice {
    background: rgba(224, 184, 94, 0.12);
    color: var(--text);
}

/* ---------- FACT / INFO LIST (replaces card soup) ---------- */

.info-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--border);
}

.info-list__row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.info-list__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    font-size: 18px;
}

.info-list__body h4 {
    color: var(--primary);
    font-size: 15px;
    margin-bottom: 4px;
}

.info-list__body p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
}

/* Two-column variant for short facts */
.info-list--two {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

.info-list--two .info-list__row {
    grid-template-columns: 36px 1fr;
    padding: 18px 0;
}

@media (max-width: 720px) {
    .info-list--two {
        grid-template-columns: 1fr;
    }
}

/* ---------- DEFINITION LIST ---------- */

.dl {
    display: grid;
    grid-template-columns: minmax(160px, 220px) 1fr;
    gap: 14px 32px;
    padding: 22px 0;
    border-top: 1px solid var(--border);
}

.dl dt {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
}

.dl dd {
    color: var(--text-soft);
    font-size: 14px;
}

@media (max-width: 640px) {
    .dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* ---------- NUMBERED STEPS ---------- */

.steps {
    counter-reset: step;
    display: grid;
    gap: 20px;
}

.steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    align-items: start;
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--primary-dark);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 14px;
}

.steps h4 {
    color: var(--primary);
    font-size: 15.5px;
    margin-bottom: 4px;
}

.steps p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
}

/* ---------- TABLE ---------- */

.table-wrap {
    overflow-x: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

th {
    background: var(--primary-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

td {
    color: var(--text-soft);
}

tbody tr:last-child td {
    border-bottom: 0;
}

.td-empty {
    text-align: center;
    color: var(--muted);
    padding: 32px 18px !important;
}

/* ---------- UTILITIES ---------- */

.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }