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

:root {
    --xqrPaper: #f8f5ee;
    --xqrPaperSoft: #fdfbf6;
    --xqrPanel: #ffffff;
    --xqrInk: #2a2824;
    --xqrNavy: #334a6b;
    --xqrNavyDeep: #27384f;
    --xqrMuted: #5d5a53;
    --xqrFaint: #6f6b62;
    --xqrLine: #ded7c8;
    --xqrSerif: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --xqrSans: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --xqrRadS: 8px;
    --xqrRadM: 14px;
    --xqrShadeA: 0 2px 8px rgba(42, 40, 36, .06);
}

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--xqrSans);
    background: var(--xqrPaper);
    color: var(--xqrInk);
    line-height: 1.72;
    font-size: 16px;
}

a {
    color: var(--xqrNavy);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}
a:hover { color: var(--xqrNavyDeep); }

/* ---------- logo bar ---------- */
.xqrTopBar {
    padding: 18px 20px 16px;
    background: var(--xqrPaperSoft);
    border-bottom: 1px solid var(--xqrLine);
}
.xqrTopBarInner {
    max-width: 1060px;
    margin: 0 auto;
    text-align: center;
}
.xqrLogo {
    display: inline-block;
    font-family: var(--xqrSerif);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .2em;
    text-indent: .2em;
    text-transform: uppercase;
    color: var(--xqrNavy);
    text-decoration: none;
}
.xqrLogo:hover { color: var(--xqrNavyDeep); }

/* ---------- page head ---------- */
.xqrPaperHead {
    max-width: 820px;
    margin: 0 auto;
    padding: 44px 22px 10px;
    text-align: center;
}
.xqrPaperTitle {
    font-family: var(--xqrSerif);
    font-size: clamp(24px, 3.6vw, 38px);
    font-weight: 700;
    line-height: 1.26;
    color: var(--xqrInk);
}
.xqrPaperLead {
    display: block;
    margin: 13px auto 0;
    max-width: 600px;
    font-size: 15px;
    color: var(--xqrMuted);
}
.xqrPaperStamp {
    display: inline-block;
    margin-top: 16px;
    padding: 5px 14px;
    border-radius: var(--xqrRadS);
    background: var(--xqrPanel);
    border: 1px solid var(--xqrLine);
    font-size: 13px;
    font-weight: 600;
    color: var(--xqrNavy);
}

/* ---------- summary block ---------- */
.xqrPaperBody {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
    padding: 18px 22px 64px;
}
.xqrDigest {
    margin: 10px 0 34px;
    padding: 20px 22px 18px;
    background: var(--xqrPanel);
    border: 1px solid var(--xqrLine);
    border-left: 3px solid var(--xqrNavy);
    border-radius: var(--xqrRadS);
    box-shadow: var(--xqrShadeA);
}
.xqrDigestTitle {
    font-family: var(--xqrSerif);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--xqrNavy);
    margin-bottom: 10px;
}
.xqrDigestList {
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--xqrMuted);
    font-size: 15px;
}
.xqrDigestList li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
}
.xqrDigestList li:last-child { margin-bottom: 0; }
.xqrDigestList li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .78em;
    width: 10px;
    height: 1px;
    background: var(--xqrNavy);
}

/* ---------- question and answer list ---------- */
.xqrQa { display: block; }
.xqrQaItem {
    padding: 22px 0;
    border-top: 1px solid var(--xqrLine);
}
.xqrQaItem:first-child { border-top: none; padding-top: 4px; }
.xqrQaItem:last-child { border-bottom: 1px solid var(--xqrLine); }
.xqrQaAsk {
    font-family: var(--xqrSerif);
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--xqrInk);
    margin: 0 0 10px;
}
.xqrQaSay p { margin-bottom: 11px; color: var(--xqrMuted); }
.xqrQaSay p:last-child { margin-bottom: 0; }
.xqrQaSay strong { color: var(--xqrInk); }
.xqrQaSay ul,
.xqrQaSay ol {
    margin: 0 0 11px;
    padding-left: 0;
    list-style: none;
    color: var(--xqrMuted);
}
.xqrQaSay ol { counter-reset: xqrStepNo; }
.xqrQaSay li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 7px;
}
.xqrQaSay ul > li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .8em;
    width: 9px;
    height: 1px;
    background: var(--xqrNavy);
}
.xqrQaSay ol > li {
    counter-increment: xqrStepNo;
    padding-left: 28px;
}
.xqrQaSay ol > li::before {
    content: counter(xqrStepNo) ".";
    position: absolute;
    left: 2px;
    top: 0;
    font-weight: 700;
    color: var(--xqrNavy);
}

/* ---------- accents ---------- */
.xqrNote {
    margin: 13px 0 4px;
    padding: 14px 16px;
    border-left: 3px solid var(--xqrNavy);
    border-radius: 0 var(--xqrRadS) var(--xqrRadS) 0;
    background: #f1eee5;
}
.xqrNote p { color: var(--xqrInk); margin: 0; font-size: 15px; }

.xqrDefs {
    margin: 12px 0;
    display: grid;
    gap: 9px;
}
.xqrDefRow {
    display: grid;
    grid-template-columns: minmax(140px, 34%) 1fr;
    gap: 4px 16px;
    padding: 11px 14px;
    background: var(--xqrPanel);
    border: 1px solid var(--xqrLine);
    border-radius: var(--xqrRadS);
    font-size: 15px;
}
.xqrDefKey { font-weight: 700; color: var(--xqrNavy); }
.xqrDefVal { color: var(--xqrMuted); }
@media (max-width: 560px) {
    .xqrDefRow { grid-template-columns: 1fr; }
}

.xqrBoard {
    width: 100%;
    border-collapse: collapse;
    margin: 13px 0;
    font-size: 15px;
    background: var(--xqrPanel);
    border: 1px solid var(--xqrLine);
    border-radius: var(--xqrRadS);
    overflow: hidden;
}
.xqrBoard th {
    background: #f1eee5;
    color: var(--xqrNavy);
    text-align: left;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--xqrLine);
}
.xqrBoard td {
    padding: 10px 14px;
    border-top: 1px solid var(--xqrLine);
    color: var(--xqrMuted);
}

.xqrChipRow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
.xqrChip {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--xqrRadS);
    border: 1px solid var(--xqrLine);
    background: var(--xqrPanel);
    font-size: 13px;
    font-weight: 600;
    color: var(--xqrNavy);
}

.xqrClosing {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 22px 56px;
}
.xqrClosingInner {
    padding: 18px 20px;
    border: 1px dashed rgba(51, 74, 107, .4);
    border-radius: var(--xqrRadM);
    background: var(--xqrPaperSoft);
    font-size: 15px;
    color: var(--xqrMuted);
    text-align: center;
}

@media (max-width: 620px) {
    .xqrPaperHead { padding-top: 34px; }
    .xqrPaperBody { padding-bottom: 48px; }
}

/* ---------- base ---------- */
.xqrBase {
    margin-top: auto;
    flex-shrink: 0;
    background: #f1eee5;
    border-top: 1px solid var(--xqrLine);
    padding: 24px 20px 22px;
    text-align: center;
}
.xqrBaseInner {
    max-width: 860px;
    margin: 0 auto;
}
.xqrBaseNav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-bottom: 12px;
}
.xqrBaseNav a {
    color: var(--xqrNavy);
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1px solid rgba(51, 74, 107, .35);
    padding-bottom: 2px;
}
.xqrBaseNav a:hover { color: var(--xqrNavyDeep); border-bottom-color: var(--xqrNavy); }
.xqrBaseCopy {
    font-size: 12px;
    color: var(--xqrMuted);
    margin-bottom: 9px;
}
.xqrBaseLegal {
    font-size: 11px;
    line-height: 1.75;
    color: var(--xqrFaint);
    max-width: 740px;
    margin: 0 auto;
}
