/* useqri.com's main and partner pages: the product shown as it is, on QRI's blue and navy, in Pretendard.
   Product pictures are drawn in HTML from QRI's own screens (registers, side panels, status chips) with sample data. */
.home {
  --ink: #10222e; --body: #3d505c; --muted: #5f707b;
  --navy: #0f2a38; --navy-deep: #0a1d29; --teal: #0a7597;
  --good: #1f6f3c; --good-bg: #eaf7ee; --warn: #8a5200; --warn-bg: #fff4d8; --bad: #a4322c; --bad-bg: #fff0ee;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --radius: 14px;
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
p.eyebrow { margin: 0 0 18px; font-size: 12.5px; color: var(--brand); font: 600 12.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.home .section h2 { font-weight: 600; letter-spacing: -0.04em; }
.home .section-heading > p { color: var(--body); }

/* The top bar stays in reach while reading; on a phone its links move to a second row that scrolls sideways. */
.home .topbar { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
.home .topbar-inner { min-height: 72px; gap: 40px; }
.home .brand-logo { font-size: 32px; }
.home .topnav { gap: 26px; }
.home .topnav a { font-size: 14.5px; }
.home .topbar-actions { gap: 20px; }
.button-quiet { background: transparent; color: var(--brand); }
.button-quiet:hover { background: #eaf3f9; color: var(--brand-dark); }
.button-light { background: #fff; border-color: #fff; color: var(--navy); }
.button-light:hover { background: #e3f3fa; border-color: #e3f3fa; color: var(--navy); }
.text-link-light { color: #fff; }
.text-link-light:hover { color: #bfe9f7; }

/* The hero: the promise, then the real dashboard on its navy stage with three notes on what it shows. */
.home-hero { padding: 76px 0 24px; }
.home-hero-copy { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: end; gap: 56px; margin-bottom: 56px; }
.home-hero h1 { font-size: clamp(56px, 7vw, 104px); font-weight: 600; line-height: 0.98; letter-spacing: -0.058em; }
.home-hero h1 .h1-topic { display: block; margin-bottom: 22px; color: var(--brand); font: 600 12.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.home-hero h1 .h1-accent { color: var(--brand); background: linear-gradient(100deg, var(--brand) 20%, #0a8fc0 70%, var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.home-hero .lede { font-size: 20px; max-width: 27em; }
.partner-hero h1 { font-size: clamp(50px, 6.2vw, 90px); }
.stage { position: relative; margin: 0; border-radius: var(--radius); background: var(--navy-deep); box-shadow: 0 50px 90px -40px rgba(10, 29, 41, 0.55), 0 0 0 1px rgba(10, 29, 41, 0.08); }
.stage img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.proof li { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.proof strong { display: block; color: var(--ink); font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.proof span { display: block; max-width: 17em; margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* Clauses 4 to 10 as a strip of outlined numerals: what each part of the standard is called in QRI. */
.clause-map { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 56px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.clause-map li { padding: 22px 18px 8px 0; }
.clause-map li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.clause-map .num { display: block; color: transparent; -webkit-text-stroke: 1.4px var(--brand); font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -0.04em; transition: color 250ms; }
.clause-map li:hover .num { color: var(--brand); }
.clause-map h3 { margin-top: 18px; font-size: 16px; font-weight: 650; }
.clause-map p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* The product tour: six modules as tabs once the script runs; without it every panel shows in turn. */
.tour-section { background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%); }
.tour { margin-top: 52px; }
.tour-tabs { display: none; }
.tour.is-tabbed .tour-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 12px; background: #e6edf1; }
.tour-tabs button { min-height: 44px; padding: 8px 18px; border: 0; border-radius: 9px; background: transparent; color: var(--body); font-size: 15px; font-weight: 550; cursor: pointer; transition: background-color 150ms, color 150ms, box-shadow 150ms; }
.tour-tabs button:hover { color: var(--ink); }
.tour-tabs button[aria-selected="true"] { background: #fff; color: var(--brand); box-shadow: 0 1px 2px rgba(15, 42, 56, 0.12), 0 4px 14px -6px rgba(15, 42, 56, 0.25); }
.tour-panel { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.75fr); align-items: center; gap: 56px; margin-top: 40px; }
.tour:not(.is-tabbed) .tour-panel + .tour-panel { margin-top: 72px; }
.tour-panel[hidden] { display: none; }
.tour.is-tabbed .tour-panel:not([hidden]) { animation: panel-in 420ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tour-copy h3 { font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.tour-copy > p { margin-top: 14px; color: var(--body); font-size: 17px; }
.ticks { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 15.5px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #dff1f9; }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 6.5px; width: 4px; height: 7px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line); }
.more > p { color: var(--muted); font: 600 12.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.more ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.more li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--body); font-size: 14px; }

/* A QRI window: the module bar, the register's tools and table, and the record open beside it. */
.ui { overflow: hidden; border: 1px solid #c3cfd7; border-radius: 10px; background: #fff; color: #2d4d61; font-size: 12.5px; line-height: 1.4; box-shadow: 0 40px 70px -40px rgba(15, 42, 56, 0.5), 0 2px 6px rgba(15, 42, 56, 0.06); }
.ui * { margin: 0; }
.ui-bar { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px; border-bottom: 1px solid #d3dce1; background: linear-gradient(#f6f8fa, #e8eef1); color: var(--ink); font-size: 13.5px; font-weight: 650; }
.ui-badge { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 3px; background: var(--navy); color: #fff; font: 700 10.5px/1 var(--mono); }
.ui-dr { background: #8a6d1d; } .ui-qe { background: #a4322c; } .ui-ad, .ui-sp { background: #5b3f8c; } .ui-tn { background: #1f6f3c; } .ui-cl { background: #a0521a; }
.ui-note { margin-left: auto; color: var(--muted); font-size: 11.5px; font-weight: 400; }
.ui-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.56fr); }
.ui-main { min-width: 0; }
.ui-pad { padding-bottom: 6px; }
.ui-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 48px; padding: 9px 12px; border-bottom: 1px solid #dbe3e8; background: #f8fafb; }
.ui-seg { display: inline-flex; border: 1px solid #b9c6ce; }
.ui-seg b, .ui-seg i { padding: 4px 10px; font-style: normal; font-weight: 500; white-space: nowrap; }
.ui-seg b { background: #fff; color: #0a6a96; box-shadow: inset 0 -2px 0 #0a6a96; font-weight: 650; }
.ui-seg i + i, .ui-seg b + i, .ui-seg i + b { border-left: 1px solid #d3dce1; }
.ui-search { flex: 1 1 120px; min-width: 0; padding: 4px 9px; border: 1px solid #b9c6ce; background: #fff; color: #8896a0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-btn { padding: 4px 10px; border: 1px solid #8898a4; background: #fff; color: #26313a; white-space: nowrap; }
.ui-primary { border-color: #0a6a96; background: #0a6a96; color: #fff; font-weight: 650; }
.ui-label { flex: 1 1 auto; color: var(--muted); }
.ui-tools .ui-btn:first-of-type:not(.ui-primary) { margin-left: auto; }
.ui-tools .ui-label + .ui-btn, .ui-tools .ui-seg + .ui-label { margin-left: auto; }
.ui-table { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.ui-table th { padding: 8px 10px; background: var(--teal); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-table td { padding: 10px; border-bottom: 1px solid #e3e9ed; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.ui-table tr:last-child td { border-bottom: 0; }
.ui-table tr.is-on td { background: #dcefff; }
.ui-table th:first-child { width: 23%; }
.ui-table th:nth-child(n+3) { width: 17%; }
.ui-matrix th:first-child { width: 28%; }
.ui-matrix th:nth-child(n+3) { width: auto; }
.ui-id, .ui-mono { font-family: var(--mono); font-size: 0.94em; }
.ui-id { color: #1d5f86; }
.ui-late { color: var(--bad); }
.ui-late em { display: block; font-family: Pretendard, sans-serif; font-style: normal; font-size: 11px; }
.ui-high, .ui-bad { color: var(--bad); font-weight: 650; }
.ui-warn { color: var(--warn); font-weight: 650; }
.ui-good { color: var(--good); font-weight: 650; }
.chip { display: inline-block; padding: 1px 7px; border: 1px solid; border-radius: 2px; font-size: 11px; font-weight: 550; white-space: nowrap; }
.chip-good { border-color: #9fd0ae; background: var(--good-bg); color: var(--good); }
.chip-warn { border-color: #e7c77a; background: var(--warn-bg); color: var(--warn); }
.chip-bad { border-color: #e8a9a4; background: var(--bad-bg); color: var(--bad); }
.ui-side { min-width: 0; padding: 14px 16px 16px; border-left: 1px solid #d3dce1; }
.ui-title { margin-top: 4px; color: var(--ink); font-size: 15px; font-weight: 650; line-height: 1.3; }
.ui-state { margin-top: 6px; font-size: 12px; color: var(--muted); }
.ui-state.ui-good, .ui-state.ui-bad { font-weight: 600; }
.ui-sub { margin-top: 14px; color: var(--ink); font-size: 12px; font-weight: 650; }
.ui-facts { margin-top: 12px; border-top: 1px solid #e3e9ed; }
.ui-facts div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid #e3e9ed; }
.ui-facts dt { color: var(--muted); font-size: 11.5px; }
.ui-facts dd { color: var(--ink); font-size: 12px; }
.ui-history, .ui-findings, .ui-lots, .ui-steps { margin-top: 12px; padding: 0; list-style: none; }
.ui-history li { position: relative; padding: 0 0 10px 16px; border-left: 1px solid #c8d4db; margin-left: 3px; color: var(--muted); font-size: 11.5px; }
.ui-history li:last-child { border-color: transparent; padding-bottom: 0; }
.ui-history li::before { content: ""; position: absolute; left: -4px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: #8aa4b5; }
.ui-history li:first-child::before { background: var(--good); }
.ui-history b { display: block; color: var(--ink); font-weight: 600; font-size: 12px; }
.ui-findings li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 8px; padding: 8px 0; border-top: 1px solid #e3e9ed; }
.ui-findings b { grid-row: span 2; display: grid; place-items: center; height: 22px; background: #efe9f8; color: #5b3f8c; font: 700 11px/1 var(--mono); }
.ui-findings span { color: var(--ink); font-size: 12px; }
.ui-findings em { color: var(--muted); font-size: 11px; font-style: normal; }
.ui-lots li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-top: 1px solid #e3e9ed; }
.ui-steps { display: flex; flex-wrap: wrap; gap: 4px; }
.ui-steps li { padding: 3px 8px; border: 1px solid #d3dce1; color: var(--muted); font-size: 11px; }
.ui-steps .done { border-color: #9fd0ae; background: var(--good-bg); color: var(--good); }
.ui-steps .now { border-color: #0a6a96; background: #0a6a96; color: #fff; font-weight: 650; }
.ui-matrix td { text-align: center; }
.ui-matrix td:first-child { text-align: left; color: var(--ink); font-weight: 550; }
.ui-matrix td small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.ui-matrix th:not(:first-child) { text-align: center; }
.lv { display: inline-grid; place-items: center; min-width: 28px; height: 24px; padding: 0 6px; font: 650 11.5px/1 var(--mono); font-style: normal; }
.lv4 { background: var(--good); color: #fff; }
.lv3 { background: #4c9a68; color: #fff; }
.lv2 { background: #cfe9d7; color: var(--good); }
.lv-gap { border: 1px solid #e7c77a; background: var(--warn-bg); color: var(--warn); font-family: Pretendard, sans-serif; }
.lv-none { color: #a3b1ba; }

/* Records that name each other, on navy: a line runs from the instrument to the training it ends in. */
.connected { background: radial-gradient(ellipse 70% 60% at 85% 0%, rgba(0, 166, 216, 0.16), transparent 70%), linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; }
.connected .section-heading > p { color: var(--on-navy); }
.connected .eyebrow { color: #7fd3ef; }
.chain { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; margin: 64px 0 0; padding: 0; list-style: none; }
.chain::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: linear-gradient(90deg, #00a6d8, #7fd3ef 50%, #3fc78a); transform-origin: left; }
.chain li { position: relative; padding-top: 34px; }
.chain li::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--navy-deep); box-shadow: 0 0 0 2px #7fd3ef, 0 0 18px 2px rgba(0, 166, 216, 0.55); }
.chain .ui-id { display: block; color: #7fd3ef; font-size: 13px; }
.chain b { display: block; margin-top: 8px; font-size: 17px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }

/* Audit day: the count, then the records themselves as an index of cards. */
.audit-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.audit-copy h2 + p { margin-top: 22px; color: var(--body); font-size: 18px; }
.big-number { display: flex; align-items: baseline; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.big-number strong { color: var(--brand); font-size: 96px; font-weight: 600; line-height: 0.9; letter-spacing: -0.06em; }
.big-number span { max-width: 11em; color: var(--muted); font-size: 15px; }
.records { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: record; }
.records li { position: relative; min-height: 74px; padding: 14px 14px 14px 46px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 550; line-height: 1.35; counter-increment: record; transition: border-color 150ms, transform 150ms, box-shadow 150ms; }
.records li:hover { border-color: #9cc7de; transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(13, 101, 151, 0.45); }
.records li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 18px; height: 22px; border: 1.5px solid var(--brand); border-radius: 2px; background: linear-gradient(var(--brand), var(--brand)) 4px 7px / 8px 1.5px no-repeat, linear-gradient(var(--brand), var(--brand)) 4px 11px / 8px 1.5px no-repeat, linear-gradient(var(--brand), var(--brand)) 4px 15px / 5px 1.5px no-repeat; }

/* The new edition: four clause numbers, each with what QRI does for it, and the transition date with its source. */
.edition { background: var(--surface-soft); border-block: 1px solid var(--line); }
.edition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.edition-grid article { padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.edition-grid .num { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #e3f1f8; color: var(--brand); font: 650 13px/1.3 var(--mono); }
.edition-grid h3 { margin-top: 18px; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.edition-grid p { margin-top: 10px; color: var(--body); font-size: 15px; }
.fact { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 28px; padding: 14px 18px; border-left: 3px solid var(--cyan); background: #fff; color: var(--body); font-size: 15px; }
.fact a { font-size: 14px; }

/* Every size: three companies, then two strips on starting and on language. */
.fit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.fit-grid article { position: relative; padding: 28px 26px 30px; border-radius: 12px; background: var(--surface-soft); }
.fit-grid article:nth-child(2) { background: #e9f3f9; }
.fit-grid article:nth-child(3) { background: var(--navy); color: #fff; }
.fit-grid article:nth-child(3) p:not(.fit-size) { color: var(--on-navy); }
.fit-size { color: var(--brand); font: 650 13px/1.4 var(--mono); letter-spacing: 0.02em; }
.fit-grid article:nth-child(3) .fit-size { color: #7fd3ef; }
.fit-grid h3 { margin-top: 30px; font-size: 24px; font-weight: 600; letter-spacing: -0.025em; }
.fit-grid p:not(.fit-size) { margin-top: 10px; color: var(--body); font-size: 15.5px; }
.fit-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.fit-strip article { padding: 24px 26px; border: 1px solid var(--line); border-radius: 12px; }
.fit-strip h3 { font-size: 18px; font-weight: 600; }
.fit-strip p { margin-top: 8px; color: var(--body); font-size: 15px; }

/* How you get QRI: four steps along one line. */
.how { border-top: 1px solid var(--line); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin: 56px 0 0; padding: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 24px; right: calc(25% - 7px); top: 24px; border-top: 1.5px dashed #9fb8c6; }
.steps li { position: relative; }
.step-num { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--brand); border-radius: 50%; background: #fff; color: var(--brand); font: 650 17px/1 var(--mono); }
.steps li:last-child .step-num { background: var(--brand); color: #fff; }
.steps h3 { margin-top: 22px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.steps p { margin-top: 8px; color: var(--body); font-size: 15px; }

/* Compare: QRI's column stands out; each answer is a word first, then why. */
.compare { background: var(--surface-soft); border-block: 1px solid var(--line); }
.compare-table { margin-top: 48px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.compare-table table { width: 100%; min-width: 780px; border-collapse: collapse; text-align: left; }
.compare-table th, .compare-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.compare-table tbody tr:last-child > * { border-bottom: 0; }
.compare-table thead th { padding-block: 20px; color: var(--muted); font-size: 13px; font-weight: 600; }
.compare-table thead th.is-qri { background: var(--brand); color: #fff; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.compare-table tbody th { width: 26%; color: var(--ink); font-size: 15px; font-weight: 600; }
.compare-table td { color: var(--muted); }
.compare-table td.is-qri { background: #f0f7fb; color: var(--body); }
.compare-table td > span { position: relative; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--ink); font-size: 14.5px; font-weight: 650; }
.compare-table td > span::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; }
.compare-table td > span::after { content: ""; position: absolute; }
/* The marks are drawn in CSS: the site's policy loads images from useqri.com only. */
.yes::before { background: var(--good); }
.yes::after { left: 6.5px; top: 50%; width: 4px; height: 8px; margin-top: -5.5px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.no::before { background: #e4e9ec; }
.no::after { left: 4px; top: 50%; width: 10px; height: 1.8px; margin-top: -0.9px; background: #7b8b95; }
.part::before { background: linear-gradient(90deg, #d39b27 50%, #f6e7c3 50%); box-shadow: inset 0 0 0 1.5px #d39b27; }

/* Security: six short tiles with drawn icons. */
.security-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; margin: 56px 0 0; padding: 0; list-style: none; }
.security-grid svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.security-grid h3 { margin-top: 16px; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; }
.security-grid p { margin-top: 8px; color: var(--body); font-size: 15px; }

/* The partner band: for consultants, a way in and a way back to their sign-in. */
.partner-band { padding-block: 88px; background: radial-gradient(ellipse 60% 120% at 100% 0%, rgba(0, 166, 216, 0.35), transparent 60%), linear-gradient(120deg, var(--brand-dark), var(--navy) 70%); color: #fff; }
.partner-band-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 48px; align-items: end; }
.partner-band .eyebrow { color: #bfe9f7; }
.partner-band h2 { font-size: clamp(34px, 4vw, 56px); font-weight: 600; line-height: 1.08; letter-spacing: -0.04em; }
.partner-band p:not(.eyebrow) { max-width: 36em; margin-top: 20px; color: #d6eaf4; font-size: 18px; }
.partner-band-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Questions: short answers that open in place. */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.faq-more { margin-top: 22px; color: var(--muted); font-size: 15px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-list summary { position: relative; display: block; padding: 22px 48px 22px 0; color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 2px; background: var(--brand); transition: transform 200ms; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--brand); }
.faq-list details p { max-width: 40em; padding-bottom: 24px; color: var(--body); font-size: 16px; }
.faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size 260ms ease, content-visibility 260ms allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }

/* The footer: three short columns, then what the site does with a visitor's browser. */
.home-footer { padding-block: 64px 40px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-cols nav { display: grid; align-content: start; gap: 10px; }
.footer-cols h2 { margin-bottom: 6px; color: var(--ink); font-size: 13px; font-weight: 650; }
.footer-cols nav a { color: var(--body); font-size: 14px; text-decoration: none; }
.footer-cols nav a:hover { color: var(--brand); text-decoration: underline; }
.home-footer .footer-details { max-width: 760px; margin-top: 28px; }

/* The comparison's own limits, under the table. */
.compare-note { max-width: 62em; margin-top: 18px; color: var(--muted); font-size: 14px; }
.compare-note strong { color: var(--ink); font-weight: 600; }

/* The partner page: the partner's Home drawn from QRI's own words, then what partners get, who does what and how to join. */
.stage-light { padding: clamp(18px, 3vw, 44px); background: radial-gradient(ellipse 80% 90% at 80% 0%, rgba(0, 166, 216, 0.22), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy-deep)); }
.ui-wide { font-size: 13.5px; }
.ui-home { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 14px; padding: 16px; background: #eef2f5; }
.ui-tile { padding: 14px 16px; border: 1px solid #d3dce1; background: #fff; }
.ui-tile .ui-sub { display: flex; justify-content: space-between; margin: 0 0 10px; font-size: 13px; }
.ui-tile .ui-sub em { color: var(--muted); font-style: normal; font-weight: 500; }
.ui-needs { grid-row: span 2; }
.ui-needs ul, .ui-checks { margin: 0; padding: 0; list-style: none; }
.ui-needs li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid #e3e9ed; color: var(--ink); }
.ui-needs li .ui-btn { flex: none; font-weight: 500; font-size: 12px; }
.ui-stages { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-stages span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 1px solid #c8d4db; background: #f8fafb; font-size: 12px; }
.ui-stages b { color: var(--brand); font: 700 13px/1 var(--mono); }
.ui-progress { height: 6px; margin-bottom: 10px; border-radius: 3px; background: #e3e9ed; }
.ui-progress i { display: block; width: 75%; height: 100%; border-radius: 3px; background: var(--good); }
.ui-checks li { position: relative; padding: 4px 0 4px 22px; color: var(--muted); font-size: 12.5px; }
.ui-checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border: 1.5px solid #a9b8c2; border-radius: 50%; }
.ui-checks li.done { color: var(--ink); }
.ui-checks li.done::before { border-color: var(--good); background: var(--good); }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 52px; border-top: 1px solid var(--line-strong); }
.offer-grid article { padding: 28px 28px 32px 0; border-bottom: 1px solid var(--line); }
.offer-grid article:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.offer-grid .num { color: var(--brand); font: 650 13px/1 var(--mono); }
.offer-grid h3 { margin-top: 18px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.offer-grid p { margin-top: 8px; color: var(--body); font-size: 15px; }
.split-roles { background: var(--surface-soft); border-block: 1px solid var(--line); }
.roles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.roles-grid article { padding: 30px 30px 34px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.roles-grid .roles-qri { border-color: transparent; background: var(--navy); color: #fff; }
.roles-grid h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.roles-qri .ticks li { color: #e7f1f6; }
.roles-qri .ticks li::before { background: rgba(127, 211, 239, 0.18); }
.roles-qri .ticks li::after { border-color: #7fd3ef; }
.look-for { border-top: 1px solid var(--line); }
.look-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 72px; align-items: start; }
.ticks-large { margin-top: 6px; gap: 18px; }
.ticks-large li { padding-left: 34px; font-size: 18px; }
.ticks-large li::before { top: 4px; width: 20px; height: 20px; }
.ticks-large li::after { left: 9px; top: 8px; }

/* Sections rise in as they come into view, where the browser can tie motion to scrolling. */
@media (prefers-reduced-motion: no-preference) {
  .stage { animation: rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @supports (animation-timeline: view()) {
    .clause-map li, .chain li, .records li, .edition-grid article, .fit-grid article, .steps li, .security-grid li, .proof li {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%;
    }
    .chain::before { animation: draw linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
    @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

@media (max-width: 1150px) {
  .home .topnav { display: none; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-grid article:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .offer-grid article:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .clause-map { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .clause-map li:nth-child(5) { padding-left: 0; border-left: 0; }
  .tour-panel { grid-template-columns: 1fr; gap: 32px; }
  .tour-copy { max-width: 40em; }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 44px; }
  .chain::before { display: none; }
  .records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .edition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .home-hero-copy, .audit-grid, .faq-grid, .partner-band-inner, .look-grid { grid-template-columns: 1fr; gap: 28px; }
  .ui-home { grid-template-columns: 1fr; }
  .ui-needs { grid-row: auto; }
  .roles-grid { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ui-split { grid-template-columns: 1fr; }
  .ui-side { border-left: 0; border-top: 1px solid #d3dce1; }
  .fit-grid, .steps { grid-template-columns: 1fr; }
  .steps::before { left: 24px; right: auto; top: 24px; bottom: 24px; border-top: 0; border-left: 1.5px dashed #9fb8c6; }
  .steps li { padding-left: 72px; min-height: 48px; }
  .step-num { position: absolute; left: 0; top: 0; }
  .steps h3 { margin-top: 10px; }
  .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
/* On a phone the section links and the partner links move into a menu under the bar. */
.menu { display: none; }
@media (max-width: 800px) {
  .home .topbar-inner { display: flex; flex-wrap: nowrap; gap: 0 12px; min-height: 64px; padding-block: 10px; }
  .home .topbar-actions { gap: 12px; }
  .home .topbar .signin, .home .topbar .become { display: none; }
  .menu { display: block; }
  .menu summary { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px 8px 36px; border: 1px solid var(--line-strong); border-radius: 2px; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary::before, .menu summary::after { content: ""; position: absolute; left: 12px; top: 50%; width: 15px; height: 2px; margin-top: -1px; background: currentColor; }
  .menu summary::before { box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
  .menu summary::after { display: none; }
  .menu[open] summary::before { box-shadow: none; transform: rotate(45deg); }
  .menu[open] summary::after { display: block; transform: rotate(-45deg); }
  .menu[open] summary { border-color: var(--brand); color: var(--brand); }
  .menu nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 4px var(--gutter) 18px; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 24px 30px -24px rgba(15, 42, 56, 0.35); }
  .menu nav a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; text-decoration: none; }
  .menu nav a:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .home-hero { padding-top: 40px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-grid article:nth-child(even) { padding-left: 0; border-left: 0; }
  .ui-needs li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .home-hero h1 { font-size: clamp(50px, 14vw, 72px); }
  .clause-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clause-map li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .clause-map li:nth-child(5) { padding-left: 0; }
  .clause-map .num { font-size: 56px; }
  .tour.is-tabbed .tour-tabs { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tour-tabs button { flex: none; }
  .ui { font-size: 11.5px; }
  .ui-table th:nth-child(n+4), .ui-table td:nth-child(n+4) { display: none; }
  .ui-matrix th:nth-child(n+4), .ui-matrix td:nth-child(n+4) { display: table-cell; }
  .ui-matrix th:nth-child(n+5), .ui-matrix td:nth-child(n+5) { display: none; }
  .chain { grid-template-columns: 1fr; gap: 0; margin-top: 44px; }
  .chain li { padding: 0 0 26px 34px; border-left: 2px solid rgba(127, 211, 239, 0.4); margin-left: 6px; }
  .chain li:last-child { border-color: transparent; }
  .chain li::before { left: -8px; top: 2px; }
  .chain b { margin-top: 4px; }
  .records { grid-template-columns: 1fr; }
  .edition-grid, .fit-strip, .security-grid { grid-template-columns: 1fr; }
  .big-number strong { font-size: 76px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .home .brand-logo { font-size: 28px; }
  .home .topbar-actions .button-small { padding-inline: 12px; }
  .proof { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .proof strong { font-size: 38px; }
  .ui-tools .ui-search, .ui-tools .ui-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tour.is-tabbed .tour-panel:not([hidden]) { animation: none; }
  .records li, .clause-map .num { transition: none; }
}

/* QRI's research on the home page (2026-10-27; docs/design/DOCUMENT_DESIGN.md): the piece on the hero under the buttons,
   set off by a rule; the latest three as rules, not cards. Both stay hidden until the research list answers. */
.hero-news { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-news[hidden], .research-latest[hidden] { display: none; }
.hero-news a { display: grid; gap: 4px; color: var(--ink); text-decoration: none; }
.hero-news-label { color: var(--brand); font: 600 12px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.hero-news-title { font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.hero-news a:hover .hero-news-title { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.research-latest-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 40px 0 28px; padding: 0; list-style: none; }
.research-latest-list li { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.research-latest-meta { margin: 0 0 10px; color: var(--brand); font: 600 11.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.research-latest-list h3 { margin: 0 0 10px; font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.03em; }
.research-latest-list h3 a { color: var(--ink); text-decoration: none; }
.research-latest-list h3 a:hover { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; }
.research-latest-list p:not(.research-latest-meta) { color: var(--body); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 900px) { .research-latest-list { grid-template-columns: minmax(0, 1fr); gap: 0; } .research-latest-list li { padding-bottom: 24px; } }
