:root {
    color-scheme: dark;
    font-family: Arial, Helvetica, sans-serif;
    background: #0b0f15;
    color: #e9edf3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    line-height: 1.6;
}

a {
    color: #efb544;
}

a:hover {
    color: #ffd47b;
}

a:focus-visible {
    outline: 2px solid #ffd47b;
    outline-offset: 4px;
}

.site-header {
    border-bottom: 1px solid #293441;
    background: #101720;
}

.header-inner,
main,
.site-footer {
    width: min(100% - 40px, 1040px);
    margin-inline: auto;
}

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

.brand {
    color: #f4f6f8;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
}

.brand span {
    color: #efb544;
}

.header-link {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.hero {
    max-width: 790px;
    padding: clamp(60px, 9vw, 112px) 0 78px;
}

.eyebrow,
.step-number {
    color: #efb544;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2 {
    line-height: 1.15;
    letter-spacing: -0.035em;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(2.5rem, 6.5vw, 5rem);
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(1.85rem, 3.5vw, 2.7rem);
}

h3 {
    margin-bottom: 7px;
    font-size: 1.05rem;
}

.lead {
    max-width: 670px;
    color: #bdc7d2;
    font-size: clamp(1.03rem, 1.8vw, 1.2rem);
}

.primary-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    border: 1px solid #b57b20;
    border-radius: 6px;
    padding: 12px 19px;
    background: #8b5a16;
    color: #fff8e8;
    font-weight: 800;
    text-decoration: none;
}

.primary-link:hover {
    background: #a36a1a;
    color: white;
}

.section {
    border-top: 1px solid #293441;
    padding: 68px 0 76px;
}

.section-heading {
    max-width: 670px;
    margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
    color: #b4bfcb;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    display: flex;
    gap: 19px;
    border: 1px solid #293441;
    border-radius: 8px;
    padding: 25px;
    background: #121b25;
}

.steps p,
.readout-list p,
.notice p {
    margin-bottom: 0;
    color: #b4bfcb;
}

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 60px;
}

.readout-list {
    border-top: 1px solid #293441;
}

.readout-list > div {
    border-bottom: 1px solid #293441;
    padding: 16px 0;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid #293441;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th,
td {
    border-bottom: 1px solid #293441;
    padding: 18px 20px;
}

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

thead {
    background: #172330;
    color: #f1bd5a;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

tbody {
    background: #121b25;
}

.notice {
    margin-top: 22px;
    border-left: 3px solid #efb544;
    padding: 20px 24px;
    background: #17202a;
}

.closing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin: 4px 0 78px;
    border: 1px solid #31404f;
    border-radius: 9px;
    padding: 35px;
    background: #14202b;
}

.closing h2 {
    max-width: 570px;
    margin-bottom: 0;
}

.closing .primary-link {
    flex-shrink: 0;
    margin-top: 0;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #293441;
    padding: 24px 0 42px;
    color: #8998a8;
    font-size: 0.85rem;
}

.site-footer p {
    margin-bottom: 0;
}

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

    .two-column {
        gap: 0;
    }

    .closing,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .closing .primary-link {
        margin-top: 8px;
    }
}

@media (max-width: 420px) {
    .header-inner,
    main,
    .site-footer {
        width: min(100% - 28px, 1040px);
    }

    .brand {
        max-width: 155px;
        line-height: 1.3;
    }

    .steps li,
    .closing {
        padding: 20px;
    }
}
