/* GamingAdRulebook.online: Platform Policy Comparison Studio */
@font-face { font-family: "Rulebook Serif"; src: url("/assets/fonts/rulebook-serif-700.v1.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #0f172a; --ink-2: #283548; --muted: #556072; --line: #dfe5ee; --line-2: #edf1f7;
  --blue: #1d4ed8; --blue-2: #1e40af; --blue-3: #2563eb; --sky: #0ea5e9; --sky-soft: #e8f4fe; --soft: #f5f8fe; --soft-2: #eef3fd;
  --navy: #0b1f4d; --navy-2: #0a1838; --white: #fff;
  --ok-bg: #eaf1ff; --ok-ink: #1e3a8a; --warn-bg: #fff3dc; --warn-ink: #7a4300; --unk-bg: #f2f4f8; --unk-ink: #46505f;
  --serif: "Rulebook Serif", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1240px; --r: 10px; --r-lg: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 28px rgba(29, 78, 216, .08);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.62 var(--sans); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-2); }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.95rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.gr-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.gr-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.gr-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 6px; font-weight: 600; }
.gr-skip:focus { top: 12px; color: #fff; }
.gr-i { flex: none; }

/* buttons */
.gr-btn { display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: 10px 20px; border: 1px solid var(--blue); border-radius: 8px; background: var(--blue); color: #fff; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.gr-btn:hover { background: var(--blue-2); border-color: var(--blue-2); color: #fff; }
.gr-btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.gr-btn-line { background: #fff; color: var(--ink); border-color: #c9d3e2; }
.gr-btn-line:hover { background: var(--soft); color: var(--ink); border-color: var(--blue); }
.gr-btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.gr-btn-ghost:hover { background: var(--soft); color: var(--ink); border-color: transparent; }
.gr-btn-light { background: #fff; color: var(--blue); border-color: #fff; }
.gr-btn-light:hover { background: #e9f0ff; color: var(--blue-2); border-color: #e9f0ff; }
.gr-iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
.gr-iconbtn:hover { background: var(--soft); }

/* header */
.gr-head { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line-2); backdrop-filter: saturate(140%) blur(6px); }
.gr-head-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.gr-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.gr-word { font: 700 1.28rem/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.gr-word span { color: var(--blue); }
.gr-nav { margin-left: auto; }
.gr-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.gr-nav a { display: block; padding: 10px 9px; border-radius: 6px; color: var(--ink-2); font-size: .86rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.gr-nav a:hover { background: var(--soft); color: var(--blue); }
.gr-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.gr-head-tools { display: flex; align-items: center; gap: 8px; }
.gr-menu-btn { display: none; }
.gr-search { border-top: 1px solid var(--line-2); background: #fff; padding: 14px 0 16px; }
.gr-search-form { display: flex; align-items: center; gap: 10px; border: 1px solid #c9d3e2; border-radius: 10px; padding: 4px 4px 4px 14px; color: var(--muted); }
.gr-search-form:focus-within { outline: 3px solid #f59e0b; outline-offset: 2px; }
.gr-search-form input { flex: 1; min-width: 0; border: 0; padding: 10px 0; background: transparent; color: var(--ink); }
.gr-search-form input:focus { outline: none; }
.gr-suggest { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.gr-suggest a { display: block; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; text-decoration: none; color: var(--ink); background: var(--soft); }
.gr-suggest a:hover, .gr-suggest a:focus-visible { border-color: var(--blue); }
.gr-suggest small { display: block; color: var(--muted); }

/* shared bits */
.gr-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 14px; }
.gr-eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--blue); }
.gr-lede { font-size: 1.1rem; color: var(--ink-2); max-width: 46em; }
.gr-kicker { font: 700 .68rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }
.gr-tag { display: inline-block; padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: .74rem; font-weight: 600; color: var(--ink-2); margin: 0; }
.gr-tag-sec { border-color: #f1c27d; background: var(--warn-bg); color: var(--warn-ink); }
.gr-cc { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 5px; background: var(--soft-2); border: 1px solid #c9d7f3; color: var(--blue-2); font: 700 .7rem/1 var(--sans); letter-spacing: .04em; flex: none; }
.gr-cc-lg { width: 64px; height: 46px; font-size: 1.1rem; border-radius: 9px; }
.gr-st { display: inline-flex; align-items: center; justify-content: center; min-height: 24px; padding: 3px 10px; border-radius: 6px; font: 600 .74rem/1.2 var(--sans); white-space: nowrap; border: 1px solid transparent; }
.gr-st-approval { background: var(--ok-bg); color: var(--ok-ink); border-color: #c7d7fb; }
.gr-st-restricted { background: var(--warn-bg); color: var(--warn-ink); border-color: #f1d29e; }
.gr-st-unknown { background: var(--unk-bg); color: var(--unk-ink); border: 1px dashed #a6afbd; }
.gr-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.gr-scroll:focus-visible { outline-offset: -3px; }
.gr-note { font-size: .86rem; color: var(--muted); }
.gr-empty { padding: 18px; border: 1px dashed #b8c3d4; border-radius: var(--r); background: var(--soft); color: var(--ink-2); }
.gr-sec { padding: 54px 0 0; }
.gr-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.gr-sec-head h2 { margin: 0 0 4px; }
.gr-sec-head p { margin: 0; color: var(--muted); }
.gr-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; text-decoration: none; }
.gr-more:hover { text-decoration: underline; }

/* hero */
.gr-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #f7faff 100%); border-bottom: 1px solid var(--line-2); }
.gr-hero::before { content: ""; position: absolute; inset: -20% -10% 0 38%; background: radial-gradient(40% 45% at 92% 18%, rgba(29, 78, 216, .32), transparent 70%), radial-gradient(60% 55% at 70% 30%, rgba(14, 165, 233, .18), transparent 70%), radial-gradient(45% 50% at 95% 75%, rgba(29, 78, 216, .16), transparent 70%), repeating-linear-gradient(115deg, rgba(37, 99, 235, .06) 0 2px, transparent 2px 26px); pointer-events: none; }
.gr-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; padding-top: 52px; padding-bottom: 40px; }
.gr-hero h1 { font-size: clamp(2.3rem, 1.2rem + 2.1vw, 2.95rem); line-height: 1.07; margin-bottom: .4em; }
.gr-hero .gr-lede { font-size: 1.12rem; max-width: 30em; }
.gr-trust { display: flex; flex-wrap: wrap; gap: 14px 22px; list-style: none; padding: 0; margin: 24px 0 30px; }
.gr-trust li { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--ink-2); line-height: 1.3; }
.gr-trust .gr-i { color: var(--blue); }
.gr-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.gr-ctas .gr-btn { min-height: 50px; padding: 12px 22px; }
.gr-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.gr-hero-panel { padding: 14px 16px 10px; }
.gr-panel-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.gr-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.gr-tabs button { min-height: 34px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--soft); color: var(--ink-2); font-size: .8rem; font-weight: 600; cursor: pointer; }
.gr-tabs button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.gr-view { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 6px 12px; border: 1px solid var(--line); border-radius: 7px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.gr-panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 2px 2px; font-size: .78rem; color: var(--muted); }
.gr-panel-foot p { margin: 0; }
.gr-panel-foot a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }
.gr-mx { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .84rem; }
.gr-mx th, .gr-mx td { padding: 7px 6px; border-bottom: 1px solid var(--line-2); text-align: center; vertical-align: middle; }
.gr-mx thead th { background: var(--soft); color: var(--ink-2); font: 600 .76rem/1.25 var(--sans); padding: 10px 6px; }
.gr-mx thead th:first-child { border-top-left-radius: 8px; text-align: left; padding-left: 10px; }
.gr-mx thead th:last-child { border-top-right-radius: 8px; }
.gr-mx tbody th { text-align: left; font-weight: 600; padding-left: 10px; white-space: nowrap; }
.gr-mx tbody th .gr-cc { margin-right: 8px; vertical-align: middle; }
.gr-mx tbody th span:not(.gr-cc) { vertical-align: middle; }
.gr-mx td a { display: inline-flex; text-decoration: none; border-radius: 7px; }
.gr-mx td a:hover .gr-st { filter: brightness(.96); box-shadow: 0 0 0 2px #c7d7fb; }
.gr-mx-hero td .gr-st { min-width: 0; width: 100%; padding: 3px 3px; font-size: .64rem; white-space: nowrap; line-height: 1.15; text-align: center; }
.gr-mx-hero th, .gr-mx-hero td { padding: 9px 3px; }
.gr-mx-hero:not(.gr-mx-text):not(.gr-mx-topic) { table-layout: fixed; min-width: 560px; }
.gr-mx-text, .gr-mx-topic { min-width: 480px; }
.gr-mx-studio { min-width: 620px; }
.gr-mx-hero:not(.gr-mx-text):not(.gr-mx-topic) thead th:first-child { width: 152px; }
.gr-mx-hero tbody th span:not(.gr-cc) { white-space: nowrap; }
.gr-mx-hero thead th { font-size: .7rem; padding: 9px 3px; }
.gr-mx-hero tbody th { font-size: .78rem; padding-left: 8px; }
.gr-mx-hero td a { display: flex; }
.gr-mx-topic td, .gr-mx-text td { font-size: .8rem; text-align: left; color: var(--ink-2); }
.gr-mx-topic td a { color: var(--ink-2); text-decoration: underline; text-decoration-color: #b9c7e4; display: inline; }
.gr-mx-text tbody th a { color: var(--ink); }
.gr-pane:focus-visible { outline-offset: 2px; }
.gr-figs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 22px 0 0; }
.gr-figs li { display: flex; align-items: center; gap: 14px; }
.gr-figs .gr-i { color: var(--blue); width: 34px; height: 34px; }
.gr-figs strong { display: block; font: 700 1.6rem/1 var(--serif); color: var(--ink); }
.gr-figs span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; margin-top: 4px; }

/* country cards */
.gr-ccards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.gr-ccard { position: relative; padding: 18px 18px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.gr-ccard:hover, .gr-ccard-on { border-color: var(--blue); box-shadow: var(--shadow); }
.gr-ccard-h { display: flex; align-items: center; gap: 10px; font: 700 1.08rem/1.2 var(--serif); margin: 0 0 10px; }
.gr-ccard p { font-size: .9rem; color: var(--ink-2); }
.gr-ccard a { margin-top: auto; display: inline-flex; align-items: center; gap: 5px; font-size: .88rem; font-weight: 600; text-decoration: none; }
.gr-ccard a::after { content: ""; position: absolute; inset: 0; }

/* studio */
.gr-studio-band { background: linear-gradient(180deg, #f6f9ff, #eef4ff); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); margin-top: 56px; padding: 44px 0; }
.gr-studio-in { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 40px; align-items: center; }
.gr-studio { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 14px 16px; }
.gr-studio-ctl { display: grid; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.gr-ctl-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 0; margin: 0; padding: 0; min-width: 0; }
.gr-ctl-h { font-size: .8rem; font-weight: 700; color: var(--ink); margin: 0; min-width: 120px; padding: 0; float: left; }
fieldset.gr-ctl-row > legend { float: left; }
.gr-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.gr-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.gr-chip[aria-pressed="false"] { background: #fff; color: var(--muted); text-decoration: line-through; border-style: dashed; }
.gr-chip[aria-pressed="false"] .gr-i { transform: rotate(45deg); }
.gr-boxes { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.gr-box { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; min-height: 32px; cursor: pointer; }
.gr-box input, .gr-ck input, .gr-agree input { width: 18px; height: 18px; accent-color: var(--blue); }
.gr-mx-studio td .gr-st { min-width: 0; }
[data-mode="home"] .gr-mx-studio td .gr-st { width: 100%; padding: 3px 5px; font-size: .7rem; white-space: normal; line-height: 1.15; text-align: center; }
[data-mode="home"] .gr-mx-studio th, [data-mode="home"] .gr-mx-studio td { padding: 6px 3px; }
[data-mode="home"] .gr-mx-studio thead th { font-size: .72rem; }
.gr-mx-studio td a { display: flex; }
[data-mode="full"] .gr-mx-studio td .gr-st { min-width: 132px; }
.gr-mx [hidden] { display: none; }
.gr-studio-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; font-size: .82rem; color: var(--muted); }
.gr-studio-foot p { margin: 0; }
.gr-studio-foot a { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; }
.gr-fetch { color: var(--warn-ink); }
.gr-legend { display: grid; gap: 10px; margin: 0 0 24px; }
.gr-legend div { display: grid; grid-template-columns: 210px 1fr; gap: 14px; align-items: start; }
.gr-legend dt { margin: 0; }
.gr-legend dd { margin: 0; font-size: .92rem; color: var(--ink-2); }

/* checklist cards */
.gr-checks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.gr-checks li { position: relative; display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.gr-check-i { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: var(--sky-soft); color: var(--blue); margin-bottom: 14px; }
.gr-checks h3 { font-family: var(--sans); font-size: .98rem; font-weight: 700; margin-bottom: 6px; }
.gr-checks p { font-size: .84rem; color: var(--ink-2); line-height: 1.45; }
.gr-checks .gr-tag { align-self: flex-start; margin: auto 0 10px; }
.gr-check-go { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 600; text-decoration: none; }

/* change tracker */
.gr-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.gr-track-row { grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.gr-track-row::before { content: ""; position: absolute; left: 10px; right: 10px; top: 10px; height: 2px; background: #cfdcf6; }
.gr-ch { position: relative; }
.gr-track-row .gr-ch { padding-top: 30px; }
.gr-ch-dot { position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--blue); background: #fff; }
.gr-track-row .gr-ch:first-child .gr-ch-dot { background: var(--blue); box-shadow: 0 0 0 4px #dbe6ff; }
.gr-track:not(.gr-track-row) { padding-left: 30px; position: relative; }
.gr-track:not(.gr-track-row)::before { content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: #cfdcf6; }
.gr-track:not(.gr-track-row) .gr-ch-dot { left: -28px; top: 18px; }
.gr-ch-card { height: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.gr-track-row .gr-ch-card > p:not(.gr-ch-meta):not(.gr-ch-src) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gr-track-row .gr-ch-card h3 a { color: var(--ink); text-decoration: none; }
.gr-track-row .gr-ch-card h3 a:hover, .gr-track-row .gr-ch-card h3 a:focus-visible { color: var(--blue); text-decoration: underline; }
.gr-ch-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.gr-ch-tag { padding: 2px 8px; border-radius: 99px; font-weight: 700; font-size: .7rem; }
.gr-ch-platform { background: #e8efff; color: var(--blue-2); }
.gr-ch-regulator, .gr-ch-government { background: #eef2f7; color: #334155; }
.gr-ch-industry { background: var(--warn-bg); color: var(--warn-ink); }
.gr-ch h3 { font-family: var(--sans); font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.gr-ch p { font-size: .84rem; color: var(--ink-2); margin-bottom: 8px; }
.gr-ch-src { font-size: .78rem !important; color: var(--muted) !important; margin: 0 !important; }

/* cards */
.gr-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 0; }
.gr-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gr-card { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .15s, box-shadow .15s; }
.gr-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.gr-card img { width: 92px; height: 100%; min-height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); }
.gr-card h3 { font-family: var(--sans); font-size: .92rem; font-weight: 700; line-height: 1.28; margin-bottom: 5px; }
.gr-card h3 a { color: var(--ink); text-decoration: none; }
.gr-card h3 a::after { content: ""; position: absolute; inset: 0; }
.gr-card p { font-size: .83rem; color: var(--ink-2); line-height: 1.45; margin-bottom: 6px; }
.gr-card-meta { color: var(--muted) !important; font-size: .76rem !important; margin: 0 !important; }

/* contact band */
.gr-band { margin-top: 64px; background: var(--navy); background-image: radial-gradient(60% 120% at 100% 0%, rgba(14, 165, 233, .25), transparent 60%), radial-gradient(40% 100% at 0% 100%, rgba(37, 99, 235, .35), transparent 60%); color: #e6edfb; }
.gr-band-in { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.gr-band-i { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--blue-3); color: #fff; }
.gr-band h2 { color: #fff; font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); margin-bottom: 4px; }
.gr-band p { margin: 0; color: #c9d6f2; font-size: .95rem; }
.gr-band-act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.gr-band-mail { color: #dbe7ff; font-size: .86rem; }
.gr-band-mail:hover { color: #fff; }

/* footer */
.gr-foot { padding: 40px 0 24px; background: #fff; border-top: 1px solid var(--line-2); font-size: .88rem; }
.gr-foot-top { display: grid; grid-template-columns: 2.2fr repeat(4, minmax(0, 1fr)); gap: 28px; }
.gr-foot-brand p { color: var(--muted); font-size: .84rem; margin: 12px 0 0; max-width: 34em; }
.gr-foot h2 { font: 700 .82rem/1.3 var(--sans); letter-spacing: .04em; color: var(--ink); margin: 4px 0 10px; }
.gr-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gr-foot ul a { color: var(--ink-2); text-decoration: none; }
.gr-foot ul a:hover { color: var(--blue); text-decoration: underline; }
.gr-foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: .8rem; }
.gr-foot-base p { margin: 0; }

/* inner pages */
.gr-pagehead { background: linear-gradient(180deg, #f7faff, #fff); border-bottom: 1px solid var(--line-2); padding: 18px 0 30px; }
.gr-ph-in { display: flex; gap: 22px; align-items: flex-start; }
.gr-ph-in > div { min-width: 0; max-width: 100%; }
.gr-pagehead h1 { max-width: 22em; }
.gr-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .82rem; color: var(--muted); }
.gr-crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: #a3adbc; }
.gr-crumbs a { color: var(--muted); }
.gr-byline { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin: 0; }
.gr-narrow { max-width: 860px; padding-top: 36px; }
.gr-wide { padding-top: 36px; }
.gr-cols { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; padding-top: 36px; align-items: start; }
.gr-cols .gr-aside { order: 2; position: sticky; top: 96px; }
.gr-toc { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; background: var(--soft); }
.gr-toc h2 { font: 700 .78rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; color: var(--ink-2); }
.gr-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .88rem; }
.gr-toc a { color: var(--ink-2); text-decoration: none; }
.gr-toc a:hover { color: var(--blue); text-decoration: underline; }
.gr-body { min-width: 0; }
.gr-body > h2, .gr-body section > h2 { margin-top: 1.6em; }
.gr-body > h2:first-child { margin-top: 0; }
.gr-body ul, .gr-body ol { padding-left: 1.3em; }
.gr-body li { margin-bottom: .45em; }
.gr-prose-narrow { max-width: 760px; }
.gr-brief { border: 1px solid #c9d7f3; background: var(--soft); border-radius: var(--r); padding: 18px 22px; margin: 0 0 28px; }
.gr-brief h2 { font: 700 .82rem/1.3 var(--sans) !important; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px !important; color: var(--blue-2); }
.gr-brief ul { margin: 0; }
.gr-callout { border-left: 4px solid var(--blue); background: var(--soft); padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; margin: 1.4em 0; }
.gr-callout p:last-child { margin: 0; }
.gr-quote { margin: 1.3em 0; padding: 12px 18px; border-left: 4px solid var(--sky); background: #fbfdff; font-family: var(--serif); font-size: 1.04rem; }
.gr-quote footer { font-family: var(--sans); font-size: .82rem; color: var(--muted); margin-top: 6px; }
.gr-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 0 0 1.4em; }
.gr-table caption { text-align: left; font-weight: 600; font-size: .86rem; color: var(--ink-2); padding: 0 0 8px; }
.gr-table th, .gr-table td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.gr-table thead th { background: var(--soft); font-size: .82rem; }
.gr-table tbody th { font-weight: 600; background: #fcfdff; }
.gr-steps { counter-reset: s; list-style: none; padding: 0 !important; }
.gr-steps > li { counter-increment: s; position: relative; padding-left: 46px; margin-bottom: 1em; }
.gr-steps > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font: 700 .85rem/1 var(--sans); }
.gr-faq { margin-top: 2.2em; border-top: 1px solid var(--line); padding-top: 1em; }
.gr-qa h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 1.2em 0 .35em; }
.gr-qa p { color: var(--ink-2); }
.gr-sources { margin-top: 2.2em; border-top: 1px solid var(--line); padding-top: 1em; font-size: .88rem; }
.gr-sources h2 { font-size: 1.2rem; }
.gr-sources ol { padding-left: 1.3em; }
.gr-sources li { margin-bottom: .5em; color: var(--ink-2); }
.gr-src-note { color: var(--muted); }
.gr-related { padding-top: 40px; }
.gr-related h2 { margin-bottom: 16px; }

/* records */
.gr-recs { display: grid; gap: 14px; margin: 0 0 1.4em; }
.gr-rec { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 14px 18px; scroll-margin-top: 96px; }
.gr-rec:target { border-color: var(--blue); box-shadow: 0 0 0 3px #dbe6ff; }
.gr-rec header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.gr-rec h3 { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0; }
.gr-rec-c { color: var(--muted); font-weight: 500; }
.gr-rec dl { display: grid; grid-template-columns: 120px 1fr; gap: 4px 14px; margin: 0 0 8px; font-size: .88rem; }
.gr-rec dl div { display: contents; }
.gr-rec dt { font-weight: 600; color: var(--ink-2); }
.gr-rec dd { margin: 0; color: var(--ink-2); }
.gr-rec-src { display: flex; gap: 6px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 0; }
.gr-rec-src .gr-i { margin-top: 3px; }
.gr-recgroup { margin-bottom: 26px; }
.gr-recgroup-h { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin: 1.2em 0 .6em; }

/* tools */
.gr-tool { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; background: #fff; box-shadow: var(--shadow); }
.gr-tool-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.gr-tool-bar label { font-weight: 600; font-size: .9rem; }
.gr-tool-bar select, .gr-arch-bar input, .gr-field input, .gr-field select, .gr-field textarea { min-height: 44px; padding: 9px 12px; border: 1px solid #b4c0d3; border-radius: 8px; background: #fff; max-width: 100%; }
.gr-progress { margin: 0 0 0 auto; font-weight: 600; color: var(--blue-2); }
.gr-ckgroup { border: 1px solid var(--line-2); border-radius: var(--r); padding: 10px 16px 6px; margin: 0 0 12px; }
.gr-ckgroup legend { font-weight: 700; padding: 0 6px; }
.gr-ck { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; cursor: pointer; font-size: .93rem; }
.gr-ck input { margin-top: 3px; flex: none; }
.gr-ck-notes p { margin: 0 0 8px; padding: 10px 14px; background: var(--soft); border-radius: 8px; font-size: .9rem; }
.gr-ck-notes p[hidden] { display: none; }
.gr-tool-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }

/* archive */
.gr-arch-bar { display: grid; gap: 10px; margin-bottom: 14px; }
.gr-arch-bar label { font-weight: 600; }
.gr-arch-bar input { width: 100%; max-width: 560px; }
.gr-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.gr-seg button { min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.gr-seg button[aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.gr-arch-n { font-size: .88rem; color: var(--muted); }
.gr-arch-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gr-arch-list li { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin: 0; }
.gr-arch-list li:hover { border-color: var(--blue); }
.gr-arch-list h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.gr-arch-list h3 a { color: var(--ink); text-decoration: none; }
.gr-arch-list h3 a::after { content: ""; position: absolute; inset: 0; }
.gr-arch-list p:last-child { font-size: .86rem; color: var(--ink-2); margin: 0; }
.gr-arch-list li[hidden] { display: none; }

/* glossary */
.gr-gloss { display: grid; gap: 12px; }
.gr-gloss div { border-bottom: 1px solid var(--line-2); padding-bottom: 12px; scroll-margin-top: 96px; }
.gr-gloss div:target { background: var(--soft); }
.gr-gloss dt { font: 700 1.05rem/1.3 var(--serif); margin-bottom: 4px; }
.gr-gloss dd { margin: 0; color: var(--ink-2); }

/* contact */
.gr-form { margin-top: 10px; }
.gr-fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.gr-field { display: grid; gap: 6px; margin: 0 0 16px; }
.gr-field label { font-weight: 600; font-size: .92rem; }
.gr-field textarea { min-height: 160px; resize: vertical; }
.gr-field [aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.gr-opt, .gr-hint { color: var(--muted); font-weight: 400; font-size: .84rem; }
.gr-ferr { color: #b42318; font-size: .86rem; font-weight: 600; margin: 0; }
.gr-agree { display: flex; gap: 10px; align-items: flex-start; }
.gr-agree input { margin-top: 3px; flex: none; }
.gr-agree label { font-weight: 400; }
.gr-agree .gr-ferr { flex-basis: 100%; }
.gr-agree { flex-wrap: wrap; }
.gr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gr-alert { border-radius: var(--r); padding: 16px 20px; margin: 0 0 20px; border: 1px solid; }
.gr-alert h2 { font-size: 1.15rem; margin: 0 0 6px; }
.gr-alert p { margin: 0; }
.gr-alert-ok { background: var(--ok-bg); border-color: #a7d8b8; }
.gr-alert-err { background: #fdecea; border-color: #f2b8b2; }
.gr-alert-wait { background: var(--soft); border-color: #c9d7f3; }
.gr-404 { text-align: left; padding-bottom: 20px; }

@media (max-width: 1320px) { .gr-head-cta { display: none; } }
@media (max-width: 1180px) {
  .gr-nav a { padding: 10px 7px; font-size: .84rem; }
  .gr-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gr-track-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gr-track-row .gr-ch:nth-child(n+4) { display: none; }
  .gr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .gr-menu-btn { display: inline-grid; }
  .gr-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .gr-nav.gr-open { display: block; }
  .gr-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .gr-nav a { padding: 12px 10px; font-size: .98rem; }
  .gr-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); }
  .gr-head-tools { margin-left: auto; }
  .gr-hero-in { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .gr-studio-in { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .gr-ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gr-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gr-cols .gr-aside { order: 0; position: static; }
  .gr-foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gr-foot-brand { grid-column: 1 / -1; }
  .gr-band-in { grid-template-columns: auto 1fr; }
  .gr-band-act { grid-column: 1 / -1; align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .gr-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .gr-wrap { padding: 0 16px; }
  .gr-head-in { min-height: 62px; gap: 10px; }
  .gr-word { font-size: 1.06rem; }
  .gr-brand .gr-mark { width: 30px; height: 30px; }
  .gr-hero-in { padding-top: 32px; }
  .gr-figs { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gr-ccards, .gr-checks, .gr-cards, .gr-cards-3, .gr-arch-list, .gr-fgrid { grid-template-columns: minmax(0, 1fr); }
  .gr-track-row { grid-template-columns: minmax(0, 1fr); }
  .gr-track-row::before { display: none; }
  .gr-track-row .gr-ch:nth-child(n+4) { display: block; }
  .gr-track-row .gr-ch { padding-top: 0; padding-left: 30px; }
  .gr-track-row .gr-ch-dot { top: 16px; }
  .gr-legend div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .gr-rec dl { grid-template-columns: minmax(0, 1fr); }
  .gr-rec dt { margin-top: 4px; }
  .gr-ph-in { flex-direction: column; gap: 12px; }
  .gr-foot-top { grid-template-columns: minmax(0, 1fr); }
  .gr-band-in { grid-template-columns: minmax(0, 1fr); }
  .gr-ctl-h { min-width: 0; float: none; }
  fieldset.gr-ctl-row > legend { float: none; margin-bottom: 6px; }
  .gr-card { grid-template-columns: 88px 1fr; }
  .gr-card img { width: 88px; }
  .gr-tabs button { padding: 6px 9px; font-size: .76rem; }
}
@media (max-width: 400px) {
  .gr-word { font-size: .94rem; }
  .gr-brand { gap: 7px; }
  .gr-brand .gr-mark { width: 26px; height: 26px; }
  .gr-head-tools { gap: 2px; }
  .gr-iconbtn { width: 38px; height: 38px; }
  .gr-head-in { gap: 6px; }
}
@media (max-width: 340px) { .gr-word span { display: none; } }
@media (max-width: 400px) { .gr-btn { white-space: normal; } }
.gr-pagehead h1, .gr-hero h1 { overflow-wrap: break-word; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .gr-head, .gr-band, .gr-foot, .gr-tool-actions, .gr-tool-bar select, .gr-aside, .gr-crumbs, .gr-related { display: none !important; }
  body { font-size: 11pt; }
  .gr-tool { box-shadow: none; border: 0; padding: 0; }
  a { color: inherit; }
}
