/* QAC preview site: additions to the Hive stylesheet (style.css) for the full page set. Same tokens, same components. */
.sketch { right: 14px; bottom: 14px; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* footer: four columns */
.ftr-cols4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ftr-cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ftr-cols4 { grid-template-columns: 1fr; } }
.ftr li { overflow-wrap: anywhere; }

/* mastheads */
.masthead.long-h1 h1, .masthead.doc-mast h1 { max-width: 22ch; font-size: clamp(36px, 1.2rem + 3vw, 64px); }
.masthead .lede { max-width: 56ch; }
.crumbs span[aria-current] { color: #E4EAF0; }
.masthead h1 { overflow-wrap: break-word; }

/* readiness: what you receive */
.receive { margin-top: 26px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--gold); border-radius: 14px; max-width: 64ch; }
.receive h3 { font-size: 22px; margin-bottom: 8px; }
.receive p + p { margin-top: 10px; }
.rd-body .fine { margin-top: 18px; }

/* routes: static panels and a three-up grid */
.routes.static .route { cursor: default; }
.routes.static .route:hover { transform: none; border-color: var(--line); }
.route h3 { font-size: 22px; }
.route p { color: var(--body-ink); }
.routes.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .routes.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .routes.three { grid-template-columns: 1fr; } }
.inl { color: var(--blue-d); font-weight: 600; text-underline-offset: 3px; }
.sectorline { margin-top: 56px; padding-top: 30px; border-top: 1px solid var(--line); max-width: 78ch; display: grid; gap: 14px; color: var(--body-ink); }

/* FAQ */
.faq h3 { font-size: 20px; margin: 22px 0 6px; }
.faq p { color: var(--body-ink); }

/* product facts panel (dark side card) */
.kf div { padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.kf dt { font-family: var(--f-h); font-weight: 700; font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.kf dd { margin: 4px 0 0; color: #E4EAF0; font-size: 15.5px; line-height: 1.5; }
.watch { margin: 16px 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--honey); color: var(--ink); font-size: 15px; line-height: 1.5; }
.facts-card .btn { margin-bottom: 14px; }
.facts-card .quiet { display: inline-block; }

/* compare */
.cmp .axis + .axis { margin-top: 64px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.axcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.ax-name { font-family: var(--f-h); font-weight: 700; font-size: 22px; margin-bottom: 8px; }
.ax-name a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.axcard > p:not(.ax-name) { color: var(--body-ink); }
.verdict { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink) !important; }
.axis .fine { margin-top: 14px; }
.cmp-close { margin-top: 64px; max-width: 62ch; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* situations index extras */
.more-sits { margin-top: 64px; }
.draft-chip { display: inline-block; background: var(--honey); color: #3A2E00; border: 1px solid #E8C94A; border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.link-list { display: grid; gap: 10px; }
.link-list a { font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* apply */
.preview-note { background: var(--honey); border: 1.5px dashed var(--amber); color: #3A2E00; border-radius: 12px; padding: 12px 16px; margin-bottom: 26px; font-size: 16px; }
.enq { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fld label, .channels legend { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.opt { font-weight: 400; color: #55606C; }
.fld input, .fld select { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #8E9AA7; border-radius: 10px; }
.fld input:focus-visible, .fld select:focus-visible { outline: 3px solid var(--blue); outline-offset: 1px; }
.channels { border: 0; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.channels legend { width: 100%; margin-bottom: 10px; }
.channels label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid #8E9AA7; border-radius: 999px; font-weight: 600; cursor: pointer; }
.channels input { width: 18px; height: 18px; accent-color: var(--ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 24px; font-size: 15.5px; color: var(--body-ink); }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.consent-link { margin: 8px 0 22px 34px; font-size: 15px; }
.consent-link a { font-weight: 700; text-underline-offset: 3px; }
.enq .btn-lg { border: 0; cursor: pointer; }
.preview-msg { margin-top: 14px; font-weight: 700; }
.after { margin-top: 64px; }
.steps-apply { margin-top: 24px; grid-template-columns: 1fr; gap: 24px; }
.steps-apply::before { display: none; }
.steps-apply li { display: grid; grid-template-columns: 64px 1fr; column-gap: 6px; }
.steps-apply .sn { grid-row: span 2; margin: 0; }
.steps-apply h3 { font-size: 21px; margin-bottom: 4px; }
.after .fine { margin-top: 26px; }
.before .side-h { color: #fff; margin-bottom: 14px; }
.journey-h { font-size: 19px; margin: 26px 0 12px; color: #fff; }
.journey { display: grid; gap: 10px; }
.journey li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; color: #E4EAF0; font-size: 15.5px; }
.journey .sn { width: 32px; height: 35px; font-size: 15px; margin: 0; }
.apply-grid { grid-template-columns: minmax(0, 1fr) 380px; }
@media (max-width: 1000px) { .apply-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .fgrid { grid-template-columns: 1fr; } .enq { padding: 22px 18px; } .enq .btn-lg { width: 100%; } }

/* how we work */
.steps5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px; }
.steps5 h3 { font-size: 21px; }
@media (max-width: 1100px) { .steps5 { grid-template-columns: 1fr 1fr; } .steps5::before { display: none; } }
@media (max-width: 600px) { .steps5 { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 20px; } }
.prose-dark p { color: #DCE3EA; max-width: 64ch; }
.prose-dark p + p { margin-top: 14px; }
.prose-dark h3 { color: #fff; font-size: 24px; margin: 30px 0 10px; }
.charcoal h2#co-h { margin-bottom: 0; }
.ryan-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.ryan-photo { width: 100%; max-width: 300px; height: auto; border-radius: 22px; object-fit: cover; }
.ryan-wrap h2 { margin-bottom: 22px !important; }
@media (max-width: 900px) { .ryan-wrap { grid-template-columns: 1fr; gap: 26px; } .ryan-photo { max-width: 180px; } }
.nolimit-top { margin-top: 0; padding-top: 0; border-top: 0; }
.nots .fine { margin-top: 14px; }

/* guides index */
.doc .draftnote { margin-bottom: 40px; }
.gi-group + .gi-group { margin-top: 56px; }
.gi-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gi-list a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; text-decoration: none; transition: border-color .15s; }
.gi-list a:hover { border-color: var(--ink); }
.gi-list b { display: block; font-family: var(--f-h); font-size: 19px; line-height: 1.25; margin-bottom: 6px; }
.gi-list span { display: block; color: var(--body-ink); font-size: 15.5px; line-height: 1.5; }

/* draft pages: the readable prose column */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 1.1rem + 1vw, 34px); line-height: 1.12; margin: 48px 0 14px; }
.prose h3 { font-size: 22px; margin: 30px 0 10px; }
.prose h4 { font-family: var(--f-h); font-size: 19px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--body-ink); line-height: 1.65; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 24px; margin: 0 0 16px; display: grid; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--blue-d); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose blockquote { border-left: 4px solid var(--gold); margin: 0 0 16px; padding: 6px 0 6px 18px; }
.prose strong { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.tablewrap { overflow-x: auto; margin: 0 0 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tablewrap table { border-collapse: collapse; width: 100%; font-size: 15.5px; min-width: 520px; }
.tablewrap th, .tablewrap td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; color: var(--ink); line-height: 1.5; }
.tablewrap th { background: var(--honey); font-family: var(--f-h); font-weight: 700; }
.tablewrap tr:last-child td { border-bottom: 0; }
mark.q-ryan { display: block; background: #FFF1B0; color: #2E2400; border: 1.5px solid #D9AE00; border-left: 6px solid var(--gold); border-radius: 10px; padding: 10px 14px; margin: 10px 0; font-size: 15.5px; line-height: 1.5; }
mark.q-ryan b { color: #2E2400; }
td mark.q-ryan, li mark.q-ryan { margin: 6px 0; }
.q-tbc { display: inline-block; background: #E9ECF0; color: #333C47; border: 1px solid #C5CCD5; border-radius: 6px; padding: 1px 8px; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.draftnote { background: var(--honey); border: 1.5px solid #D9AE00; color: #2E2400; border-radius: 12px; padding: 12px 16px; margin: 0 0 32px; font-size: 16px; }
.nextlink { margin-top: 40px !important; }
.doc { padding-top: 120px; }
@media (max-width: 900px) { .doc { padding-top: 120px; } }
@media (max-width: 600px) { .q-tbc { white-space: normal; } .prose h2 { margin-top: 40px; } }
.prose ul, .prose ol { grid-template-columns: minmax(0, 1fr); }
.prose p, .prose li { overflow-wrap: anywhere; }
.tablewrap td, .tablewrap th { overflow-wrap: normal; word-break: normal; }
.side-card > p.watch, .side-card > p.watch b { color: var(--ink); }
.side-card > p.side-h { font-size: 26px; color: #fff; }
