/* iqs.ai — site styles
   Brand: AEGIS Nexus Color System v1 + iQs logo blue. Type: Century Gothic (Jost fallback).
   Rules: periwinkle (#5A85F6) for brand highlights on dark; iQs blue (#0946FE) / Lazuli 600 (#2438E8) on white. */

:root {
  --ink: #232429;          /* Graphite 900: text, dark bands */
  --ink-2: #35373D;        /* Graphite 800 */
  --ink-3: #484A52;        /* Graphite 700 */
  --muted: #5C5F68;        /* Graphite 600 */
  --muted-dark: #8C8F99;   /* Graphite 400 (on dark) */
  --soft-dark: #A7A9B2;    /* Graphite 300 (on dark) */
  --line-dark: #C2C4CB;    /* Graphite 200 */
  --line: #DDDEE3;         /* Graphite 100 */
  --white: #FFFFFF;
  --lazuli: #2438E8;       /* Lazuli 600, brand anchor */
  --brand: #0946FE;        /* iQs logo-dot blue */
  --peri: #5A85F6;         /* Lazuli 300, periwinkle */
  --l400: #456BF2;
  --l500: #3450EE;
  --font: 'Century Gothic', CenturyGothic, 'URW Gothic', Jost, Futura, sans-serif;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--lazuli); }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--peri); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.narrow { max-width: 820px; margin: 0 auto; }
.sec { padding-top: 112px; padding-bottom: 112px; text-align: center; }
.sec-tight { padding-top: 64px; padding-bottom: 64px; }
.band-dark { background: var(--ink); color: var(--white); }
.band-line { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) {
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .sec { padding-top: 80px; padding-bottom: 80px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
}

/* ---------- type ---------- */
.eb { margin: 0 0 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--lazuli); }
.band-dark .eb { color: var(--peri); }
.h1 { margin: 0; font-weight: 400; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.08; letter-spacing: -.02em; }
.h2 { margin: 0 auto; font-weight: 700; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.015em; max-width: 960px; }
.h2-reg { font-weight: 400; }
.h3 { margin: 0; font-weight: 700; font-size: 22px; line-height: 1.25; }
.lead { margin: 24px auto 0; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 700px; }
.band-dark .lead { color: var(--line-dark); }
.body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-3); }
.band-dark .body { color: var(--line-dark); }
.small { font-size: 13px; color: var(--muted); }
.c-lazuli { color: var(--lazuli); }
.c-brand { color: var(--brand); }
.c-peri { color: var(--peri); }
.brandname b { font-weight: 700; }
.on-white .brandname, .brandname { color: var(--brand); }
.band-dark .brandname, .site-header .brandname, .site-footer .brandname { color: var(--peri); }
.p3 { color: var(--lazuli); font-weight: 700; }
.band-dark .p3, .site-footer .p3 { color: var(--peri); }

/* ---------- buttons & pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 14px 28px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { color: var(--ink); background: var(--peri); border-color: var(--peri); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { color: var(--ink); background: var(--peri); border-color: var(--peri); }
.btn-brand { background: var(--brand); color: var(--white); }
.btn-brand:hover { color: var(--white); background: var(--lazuli); }
.btn-peri { background: var(--peri); color: var(--ink); }
.btn-peri:hover { color: var(--ink); background: #7AA0F9; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.pill { display: inline-block; border-radius: 999px; padding: 6px 14px; font-size: 14px; background: var(--brand); color: var(--white); }
.pill-lg { padding: 8px 18px; letter-spacing: .04em; }

/* ---------- animated AEGIS Nexus mark (official circle variant) ---------- */
.aegis-mark circle { fill: #2438E8; animation: aegis-wave 5.5s linear infinite; }
.aegis-mark .d1 { animation-delay: -.55s; } .aegis-mark .d2 { animation-delay: -1.1s; } .aegis-mark .d3 { animation-delay: -1.65s; } .aegis-mark .d4 { animation-delay: -2.2s; }
@keyframes aegis-wave { 0%{fill:#9CBCFB}11%{fill:#7AA0F9}22%{fill:#5A85F6}33%{fill:#456BF2}44%{fill:#3450EE}55%{fill:#2438E8}66%{fill:#1A30BE}77%{fill:#13289A}88%{fill:#0B1E78}100%{fill:#9CBCFB} }
.mark-static circle:nth-child(1){fill:#9CBCFB}.mark-static circle:nth-child(2){fill:#7AA0F9}.mark-static circle:nth-child(3){fill:#5A85F6}.mark-static circle:nth-child(4){fill:#456BF2}.mark-static circle:nth-child(5){fill:#3450EE}.mark-static circle:nth-child(6){fill:#2438E8}.mark-static circle:nth-child(7){fill:#1A30BE}.mark-static circle:nth-child(8){fill:#13289A}.mark-static circle:nth-child(9){fill:#0B1E78}
@media (prefers-reduced-motion: reduce) {
  .aegis-mark circle { animation: none; }
  .aegis-mark .s0{fill:#9CBCFB}.aegis-mark .s1{fill:#7AA0F9}.aegis-mark .s2{fill:#5A85F6}.aegis-mark .s3{fill:#456BF2}.aegis-mark .s4{fill:#3450EE}.aegis-mark .s5{fill:#2438E8}.aegis-mark .s6{fill:#1A30BE}.aegis-mark .s7{fill:#13289A}.aegis-mark .s8{fill:#0B1E78}
  .btn:hover { transform: none; }
}

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--white); }
.nav { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 24px; min-height: 72px; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 36px; justify-content: center; font-size: 15px; }
.nav-links a { color: var(--line); text-decoration: none; }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--peri); }
.mobile-menu a:hover { color: var(--peri); }
.nav-brand { justify-self: end; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand .aegis-mark { width: 32px; height: 32px; }
.nav-brand span { font-size: 24px; letter-spacing: .03em; color: var(--peri); white-space: nowrap; }
.nav-toggle { display: none; justify-self: end; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--white); cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--ink-2); padding: 12px 20px 20px; }
.mobile-menu a { display: block; padding: 12px 0; color: var(--line); text-decoration: none; font-size: 17px; }
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { display: none; }
  .nav-brand { justify-self: center; }
  .nav-brand span { font-size: 19px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header.open .mobile-menu { display: block; }
}
@media (max-width: 420px) { .nav-brand span { display: none; } }

/* ---------- hero ---------- */
.hero { max-width: 1100px; margin: 0 auto; padding: 48px 32px 72px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero .aegis-mark { width: clamp(120px, min(13vw, 20vh), 210px); height: auto; }
.nowrap { white-space: nowrap; }
.hero .lead { margin-top: 0; font-size: 20px; }
.tagline { margin: 8px 0 0; font-size: 18px; letter-spacing: .04em; color: var(--brand); }
.rotator { display: inline-grid; justify-items: end; }
.rotator > span { grid-area: 1 / 1; opacity: 0; animation: rot 12.5s infinite; }
.rotator > span:nth-child(2) { animation-delay: 2.5s; } .rotator > span:nth-child(3) { animation-delay: 5s; } .rotator > span:nth-child(4) { animation-delay: 7.5s; } .rotator > span:nth-child(5) { animation-delay: 10s; }
@keyframes rot { 0%{opacity:0;transform:translateY(.3em)} 3%,17%{opacity:1;transform:none} 20%,100%{opacity:0;transform:translateY(-.3em)} }
@media (prefers-reduced-motion: reduce) { .rotator > span { animation: none; } .rotator > span:last-child { opacity: 1; } }

/* ---------- strips, cards, stats ---------- */
.strip { padding: 28px 32px; text-align: center; }
.strip-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font-size: 19px; color: var(--ink-3); }
.strip-names button { background: none; border: 0; padding: 8px; min-height: 44px; font: inherit; font-size: 19px; color: var(--ink-3); cursor: pointer; transition: color .15s ease; }
.strip-names button:hover { color: var(--peri); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.card .mini-mark { width: 30px; height: 30px; }
.card .eb { margin: 8px 0 0; font-size: 11px; }
.card .body { max-width: 320px; }
.card-dark { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 18px; padding: 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.card-dark .h3 { color: var(--white); font-size: 20px; }
.card-dark p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--line-dark); }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--peri); color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.card-link { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--lazuli); background: none; border: 0; font-family: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.stat-num { margin: 0; font-size: 56px; letter-spacing: -.02em; }
.stat-label { margin: 10px 0 4px; font-size: 17px; }
.stat-desc { margin: 0; font-size: 14px; line-height: 1.5; color: var(--soft-dark); }
.board-stat { padding-top: 28px; display: flex; flex-direction: column; align-items: center; border-top: 3px solid; }
.board-stat .num { margin: 0; font-size: 52px; font-weight: 700; }
.board-stat p { margin: 10px 0 0; font-size: 16px; color: var(--ink-3); line-height: 1.55; }
.source { display: inline-block; margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--lazuli); text-decoration: underline; text-underline-offset: 3px; }
.p3-word { margin: 0; font-size: clamp(72px, 10vw, 132px); line-height: 1; letter-spacing: -.02em; color: var(--lazuli); }
.flow { margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 16px; }
.flow span { display: inline-block; border-radius: 999px; padding: 13px 26px; font-size: 19px; font-weight: 700; color: var(--white); }
.brief-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.brief-pills button { border: 0; border-radius: 999px; padding: 13px 24px; font: inherit; font-size: 16px; background: var(--brand); color: var(--white); cursor: pointer; min-height: 44px; }
.brief-pills button:hover { background: var(--lazuli); }
.cta-panel { max-width: 1100px; margin: 0 auto; background: var(--ink); color: var(--white); border-radius: 28px; padding: 88px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }

/* ---------- live alerts ---------- */
.globe-frame { margin: 48px auto 0; max-width: 1100px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #0B1130; box-shadow: 0 0 0 1px var(--ink-3); }
.globe-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.alert-stats { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: center; font-size: 16px; color: var(--line-dark); }
.alert-stats b { color: var(--white); font-size: 22px; font-weight: 700; margin-right: 6px; }
.alert-list { margin: 28px auto 0; max-width: 900px; display: grid; gap: 10px; text-align: left; padding: 0; list-style: none; }
.alert-list li { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: 14px; padding: 14px 18px; display: flex; gap: 14px; align-items: baseline; }
.alert-list .sev { flex: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; color: var(--ink); }
.sev-5 { background: #F5222D; color: var(--white) !important; } .sev-4 { background: #FF9A00; } .sev-3 { background: #FFF44F; } .sev-2, .sev-1 { background: var(--peri); }
.alert-list .t { color: var(--white); }
.alert-list .m { margin-left: auto; flex: none; font-size: 13px; color: var(--soft-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--line-dark); }
.foot { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 72px; padding-bottom: 40px; }
.foot-brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.foot-brand .iqs { height: 40px; width: auto; }
.foot-brand .lockup { width: 230px; height: auto; margin-left: -16px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-col .eb { font-size: 11px; color: var(--muted-dark); margin: 0 0 4px; }
.foot-col a, .foot-col .linkbtn { color: var(--line-dark); text-decoration: none; font-size: 15px; }
.foot-col a:hover, .foot-col .linkbtn:hover { color: var(--white); }
.legal { border-top: 1px solid var(--ink-2); padding-top: 24px; padding-bottom: 40px; font-size: 13px; color: var(--muted-dark); line-height: 1.6; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.legal .linkbtn { color: var(--line-dark); text-decoration: underline; font-size: 13px; }

/* ---------- modals ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(35, 36, 41, .75); overflow-y: auto; }
.modal.open { display: flex; }
.modal-card { position: relative; background: var(--white); border-radius: 24px; max-width: 960px; width: 100%; margin: auto; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.4); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.modal-card.single { display: block; max-width: 720px; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 1px var(--line); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.modal-side { background: var(--ink); color: var(--white); padding: 44px 36px; display: flex; flex-direction: column; justify-content: center; gap: 16px; text-align: left; }
.modal-side .eb { margin: 0; color: var(--peri); }
.modal-side h2 { margin: 0; font-weight: 700; font-size: 28px; line-height: 1.2; }
.modal-side p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--line-dark); }
.modal-points { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--line); }
.modal-points li { display: flex; gap: 12px; align-items: flex-start; }
.modal-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--peri); flex: none; margin-top: 7px; }
.modal-main { padding: 44px 36px 36px; display: flex; flex-direction: column; justify-content: center; }
.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.done .aegis-mark { width: 56px; height: 56px; }
.done h3 { margin: 4px 0 0; font-weight: 700; font-size: 26px; }
.done p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink-3); max-width: 380px; }
.diagram-box { margin: 24px 0 0; border: 1px solid var(--line); border-radius: 16px; min-height: 260px; display: flex; align-items: center; justify-content: center; padding: 20px; background: #F7F8FA; }
.diagram-box img { max-height: 420px; width: auto; }
@media (max-width: 760px) { .modal-card { grid-template-columns: minmax(0, 1fr); } .modal-side, .modal-main { padding: 36px 24px; } }

/* ---------- forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; text-align: left; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field .req { color: var(--lazuli); }
.input { width: 100%; border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--white); min-height: 46px; }
.input:focus { border-color: var(--lazuli); outline: 2px solid rgba(36, 56, 232, .25); outline-offset: 0; }
textarea.input { min-height: 120px; resize: vertical; }
.field.invalid .input { border-color: #F5222D; }
.ferr { font-size: 13px; font-weight: 400; color: #C4161F; min-height: 0; }
.ferr:empty { display: none; }
.consent-line { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lazuli); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 14px; color: #C4161F; text-align: center; margin: 0; }
.form-note:empty { display: none; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 600px) { .chips { grid-template-columns: minmax(0, 1fr); } }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid var(--line-dark); border-radius: 14px; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--white); }
.chip input:checked + span { border-color: var(--lazuli); box-shadow: 0 0 0 2px var(--lazuli) inset; color: var(--lazuli); }
.chip input:focus-visible + span { outline: 3px solid var(--peri); outline-offset: 2px; }
.step-h { display: flex; align-items: center; gap: 10px; margin: 8px 0 4px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--lazuli); font-weight: 700; }
.step-h span { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--lazuli); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: 0; }
.form-card { max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 40px 36px; text-align: left; }
@media (max-width: 600px) { .form-card { padding: 28px 20px; } }
.ts-slot:empty { display: none; }

/* ---------- long-form pages ---------- */
.page-hero { padding: 88px 32px 40px; text-align: center; }
.prose { max-width: 820px; margin: 0 auto; padding: 0 32px 112px; text-align: left; font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { font-size: 26px; line-height: 1.25; margin: 48px 0 12px; color: var(--ink); }
.prose h3 { font-size: 20px; margin: 32px 0 8px; color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lazuli); }
.prose .meta { color: var(--muted); font-size: 15px; }
.news-card { display: block; max-width: 820px; margin: 0 auto; text-align: left; text-decoration: none; color: inherit; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.news-card:hover { border-color: var(--lazuli); color: inherit; }
.news-card time { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lazuli); }
.news-card h2 { margin: 10px 0 8px; font-size: 24px; line-height: 1.3; }
blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--peri); color: var(--ink); }

/* Counsel-review drafting marks (Privacy, Important information). Remove the class or the <ins> once approved. */
ins.draft { text-decoration: none; background: #FFF8C5; box-shadow: 0 0 0 2px #FFF8C5; border-radius: 3px; }
del.draft { color: var(--muted); }
.draft-banner { max-width: 820px; margin: 0 auto 32px; padding: 14px 18px; border-radius: 14px; background: #FFF8C5; color: var(--ink); font-size: 14px; text-align: left; }

/* ---------- cookie banner ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 720px; margin: 0 auto; background: var(--ink); color: var(--line); border-radius: 18px; padding: 20px 22px; display: none; gap: 16px 24px; align-items: center; flex-wrap: wrap; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.cookie.show { display: flex; }
.cookie p { margin: 0; flex: 1 1 340px; font-size: 14px; line-height: 1.55; }
.cookie a { color: var(--peri); }
.cookie .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* small phones: stack 4-up grids, scale big numbers */
@media (max-width: 520px) {
  .grid4 { grid-template-columns: minmax(0, 1fr); }
  .stat-num { font-size: 48px; }
  .board-stat .num { font-size: 44px; }
  .flow svg { display: none; }
}

/* dark CTA panel follows the dark-band colour rules */
.cta-panel .eb { color: var(--peri); }
.cta-panel .lead { color: var(--line-dark); }
.cta-panel .brandname, .cta-panel .p3 { color: var(--peri); }
.foot-brand .iqs, .foot-brand .lockup { align-self: flex-start; }

/* the hidden attribute always wins over component display rules */
[hidden] { display: none !important; }
.field .lbl { display: block; }
