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

:root {
    --qn-slate: #263238;
    --qn-orange: #ff7a1a;
    --qn-text: #1f272b;
    --qn-dim: #62717a;
    --qn-bg: #eceff1;
    --qn-white: #ffffff;
    --qn-line: #cfd8dc;
    --qn-mono: "SF Mono", Menlo, Consolas, monospace;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--qn-bg);
    color: var(--qn-text);
    font: 15px/1.65 Roboto, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.qn_top {
    padding: 16px;
    text-align: center;
    background: var(--qn-slate);
    border-bottom: 4px solid var(--qn-orange);
}

.qn_top_brand {
    font-family: var(--qn-mono);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--qn-white);
    text-decoration: none;
}

.qn_doc {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: 40px 18px 56px;
}

.qn_doc_title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--qn-slate);
}

.qn_doc_stamp {
    display: inline-block;
    margin: 10px 0 26px;
    padding: 3px 10px;
    font-family: var(--qn-mono);
    font-size: 12px;
    color: var(--qn-white);
    background: var(--qn-slate);
}

.qn_table {
    width: 100%;
    border-collapse: collapse;
    background: var(--qn-white);
    border: 1px solid var(--qn-slate);
    box-shadow: 8px 8px 0 var(--qn-orange);
}

.qn_table th,
.qn_table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--qn-line);
}

.qn_table thead th {
    font-family: var(--qn-mono);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--qn-white);
    background: var(--qn-slate);
}

.qn_table tbody th {
    width: 32%;
    font-weight: 700;
    color: var(--qn-slate);
}

.qn_table td p + p,
.qn_table td p + ul,
.qn_table td ul + p {
    margin-top: 8px;
}

.qn_table td ul {
    padding-left: 18px;
}

@media (max-width: 640px) {
    .qn_table thead {
        display: none;
    }
    .qn_table,
    .qn_table tbody,
    .qn_table tr,
    .qn_table th,
    .qn_table td {
        display: block;
        width: 100%;
    }
    .qn_table tbody th {
        width: 100%;
        padding-bottom: 4px;
        border-bottom: 0;
        color: var(--qn-orange);
    }
    .qn_table td {
        padding-top: 0;
    }
}

.qn_footer {
    margin-top: auto;
    padding: 26px 18px;
    text-align: center;
    background: var(--qn-slate);
}

.qn_footer_in {
    max-width: 860px;
    margin: 0 auto;
}

.qn_footer_nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin-bottom: 12px;
}

.qn_footer_nav a {
    font-size: 13px;
    color: var(--qn-orange);
    text-decoration: none;
}

.qn_footer_nav a:hover {
    text-decoration: underline;
}

.qn_footer_copy {
    font-size: 12px;
    color: #b0bec5;
}

.qn_footer_legal {
    max-width: 740px;
    margin: 10px auto 0;
    font-size: 11px;
    line-height: 1.65;
    color: #8fa0a8;
}
