/* Shared public-page presentation. Content, controls and page scripts stay local. */
@font-face {
  font-family: Figtree;
  src: url('/fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-wght-latin.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
body.rex-public {
  --bg: #faf8f3;
  --bg-elev: #fff;
  --paper: #fff;
  --card: #fff;
  --panel: #fff;
  --wash: #f1efe8;
  --text: #171714;
  --ink: #171714;
  --dark: #171714;
  --body: #5e5e55;
  --text-2: #69695f;
  --ink-2: #69695f;
  --muted: #74746c;
  --subtle: #a7a59b;
  --border: #e5e3dc;
  --border2: #e5e3dc;
  --line: #e5e3dc;
  --line-strong: #cfcdc4;
  --red: #e4002b;
  --darkred: #c70024;
  --red-press: #c70024;
  --red-lift: #e4002b;
  --red-floor: #c70024;
  --serif: Figtree, sans-serif;
  --sans: 'DM Sans', sans-serif;
  --rex-gutter: clamp(24px, 3.3vw, 64px);
  margin: 0;
  color: var(--body);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.rex-public::after { display: none; }
body.rex-public :is(h1, h2, h3, h4, .serif) {
  font-family: Figtree, sans-serif;
  font-variation-settings: normal;
  font-weight: 500;
  letter-spacing: -.035em;
}
body.rex-public h1 { color: var(--ink); font-size: clamp(40px, 5.3vw, 76px); line-height: 1.04; letter-spacing: -.055em; }
body.rex-public h2 { line-height: 1.12; }
body.rex-public h3 { line-height: 1.2; letter-spacing: -.025em; }
body.rex-public :is(h1, h2, h3) em { font-style: normal; }
body.rex-public :is(button, input, select, textarea) { font-family: var(--sans); }
body.rex-public :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
body.rex-public ::selection { background: #f8b9c4; color: var(--ink); }
body.rex-public :is(h2, h3, section[id], details[id]) { scroll-margin-top: 104px; }
body.rex-public .wrap { padding-inline: var(--rex-gutter); max-width: 1180px; }
body.rex-public .hero { padding-block: clamp(48px, 6vw, 88px) 48px; }
body.rex-public .hero::before { display: none; }
body.rex-public .hero-h { margin-block: 22px; }
body.rex-public .lede { line-height: 1.65; }
body.rex-public .eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .05em; font-weight: 500; }
body.rex-public .eyebrow::before { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: none; animation: none; }
body.rex-public .breadcrumb { font-size: 12px; }
body.rex-public .sec-head h2 { font-size: clamp(32px, 4vw, 48px); }
body.rex-public .prose { line-height: 1.75; }
body.rex-public :is(.answer, .answer-box, .toc, .toc-card, .card, .qcard, .bcard, .panel, .example, .example-card, .alt-card, .vs-card, .pick-card, .comp-card, .segcard, .res-card, .template, .lane-card) {
  border-color: var(--line);
  border-radius: 14px;
  box-shadow: none;
}
body.rex-public :is(.qcard, .bcard, .card, .alt-card, .comp-card, .res-card):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px #332c1609;
}
body.rex-public .scroll { overscroll-behavior-x: contain; }
body.rex-public :is(th, td) { border-color: var(--line); }
body.rex-public .related a { border-radius: 8px; }

/* Both existing navigation structures use the homepage's full-width rail. */
body.rex-public :is(nav.topnav, header.nav) {
  position: sticky;
  top: 0;
  left: auto;
  transform: none;
  z-index: 50;
  width: 100%;
  max-width: none;
  min-height: 74px;
  margin: 0;
  padding: 12px var(--rex-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  border-bottom: 1px solid #1717140d;
  border-radius: 0;
  background: #faf8f3f2;
  box-shadow: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
body.rex-public .nav-left { display: flex; align-items: center; flex: 1; gap: clamp(28px, 5vw, 76px); }
body.rex-public .brand { font-family: Figtree, sans-serif; font-size: 24px; line-height: 1; font-weight: 750; letter-spacing: -1px; color: var(--ink); gap: 10px; flex-shrink: 0; text-decoration: none; }
body.rex-public .brand span { font-family: Figtree, sans-serif; font-size: 24px; letter-spacing: -1px; font-weight: 750; color: var(--ink); }
body.rex-public .brand img { width: 30px; height: 30px; object-fit: contain; border-radius: 7px; }
body.rex-public .brand .brand__mark { font-size: 39px; letter-spacing: -4px; line-height: .9; font-weight: 850; }
body.rex-public .brand em { color: var(--red); font-style: normal; }
body.rex-public :is(.nav-links, .nav__links) { align-items: center; gap: 25px; padding: 0; margin: 0 auto; background: none; border: 0; border-radius: 0; box-shadow: none; }
body.rex-public :is(.nav-links, .nav__links) a { font-size: 13px; font-weight: 400; color: var(--ink); padding: 7px 0; background: none; border-radius: 0; text-decoration: none; white-space: nowrap; }
body.rex-public :is(.nav-links, .nav__links) a:hover { color: var(--red); }
body.rex-public .nav-links a[aria-current='page'] { color: var(--red); background: none; }
body.rex-public .nav-right { gap: 16px; flex-shrink: 0; }
body.rex-public .nav__price { font-size: 12px; margin: 0; flex-shrink: 0; }
body.rex-public .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  height: auto;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #fff;
  background: var(--red);
  box-shadow: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  white-space: normal;
  transition: background .18s, transform .18s, border-color .18s;
}
body.rex-public .btn:hover { background: var(--darkred); color: #fff; transform: translateY(-1px); box-shadow: none; filter: none; text-decoration: none; }
body.rex-public :is(.btn-ghost, .btn--ghost) { color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: none; text-transform: none; letter-spacing: 0; }
body.rex-public :is(.btn-ghost, .btn--ghost):hover { background: var(--wash); color: var(--ink); border-color: #cfcdc4; box-shadow: none; }
body.rex-public :is(.topnav, .nav) .btn { min-height: 42px; padding: 11px 17px; font-size: 12px; white-space: nowrap; }
body.rex-public .topnav .btn-ghost { background: transparent; border-color: transparent; font-size: 13px; padding: 10px 0; }
body.rex-public .cta-band { background: var(--wash); color: var(--ink); padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
body.rex-public .cta-band::before { display: none; }
body.rex-public .cta-band h2 { color: var(--ink); font-size: clamp(34px, 4vw, 54px); }
body.rex-public .cta-band p { color: var(--body); }
body.rex-public .cta-band :is(a:not(.btn), .sub) { color: var(--body); }

/* Keep the original footer links and disclosures in a quiet, shared layout. */
body.rex-public :is(footer.site, footer.footer) { width: 100%; max-width: none; padding: 56px var(--rex-gutter) 30px; margin: 0; background: var(--bg); color: var(--ink); border-top: 1px solid var(--line); }
body.rex-public footer.site > .wrap { padding: 0; max-width: 1432px; }
body.rex-public :is(.foot-grid, .foot-bottom, .footer__row) { max-width: 1432px; margin-inline: auto; }
body.rex-public .foot-grid { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(0, 1.4fr); gap: 48px; }
body.rex-public .foot-brand span { font-family: Figtree, sans-serif; font-size: 25px; font-weight: 750; letter-spacing: -1px; color: var(--ink); }
body.rex-public .foot-brand p { max-width: 300px; font-size: 13px; line-height: 1.7; color: var(--muted); }
body.rex-public .foot-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 13px 24px; max-width: none; }
body.rex-public :is(.foot-links, .flinks, .footer__links) a { color: var(--body); font-size: 12px; line-height: 1.6; text-decoration: none; }
body.rex-public :is(.foot-links, .flinks, .footer__links) a:hover { color: var(--red); }
body.rex-public .foot-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
body.rex-public footer .disclaimer { color: var(--muted); font-size: 11px; margin-top: 28px; }
body.rex-public .footer__row { border: 0; padding: 0; gap: 24px; }
body.rex-public .footer__tag { color: var(--ink); font-size: 27px; }
body.rex-public .footer__word { font-family: Figtree, sans-serif; font-size: clamp(110px, 21vw, 280px); color: #e5e3dc; margin-top: 40px; line-height: .9; }
body.rex-public .page-foot { padding: 32px 0 0; }
body.rex-public.rex-blog .post { max-width: 820px; padding-top: 58px; }
body.rex-public.rex-blog .post-head h1 { font-size: clamp(40px, 5vw, 64px); }
body.rex-public.rex-learn .answer { background: #fff; border: 1px solid var(--line); box-shadow: none; }
body.rex-public.rex-learn .res-card { background: #fff; border: 1px solid var(--line); }
body.rex-public.rex-learn .related a { background: #fff; }
body.rex-public .progress { top: 86px; }

@media (max-width: 1050px) {
  body.rex-public :is(nav.topnav, header.nav) { gap: 16px; }
  body.rex-public .nav-left { gap: 28px; }
  body.rex-public :is(.nav-links, .nav__links) { gap: 18px; }
  body.rex-public.rex-blog .nav__links a.nav__wide { display: none; }
}
@media (max-width: 780px) {
  body.rex-public .nav-links { display: none; }
  body.rex-public .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  body.rex-public .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.rex-public.rex-blog .nav__links { display: none; }
  body.rex-public.rex-blog .nav__price { margin-left: auto; }
}
@media (max-width: 540px) {
  body.rex-public { --rex-gutter: 20px; }
  body.rex-public :is(nav.topnav, header.nav) { gap: 10px; min-height: 70px; }
  body.rex-public .nav-right { gap: 12px; }
  body.rex-public .brand, body.rex-public .brand span { font-size: 21px; }
  body.rex-public .brand { gap: 7px; }
  body.rex-public .brand img { width: 26px; height: 26px; }
  body.rex-public .topnav .btn { padding-inline: 12px; }
  body.rex-public .hero { padding-top: 40px; }
  body.rex-public .hero-h { overflow-wrap: break-word; }
  body.rex-public .container { padding-inline: var(--rex-gutter); }
  body.rex-public .foot-bottom { flex-direction: column; align-items: flex-start; }
  body.rex-public .progress { top: 82px; }
  body.rex-public.rex-blog .post { padding-top: 40px; }
  body.rex-public.rex-blog .brand__name { display: inline; }
  body.rex-public.rex-blog .nav__price { font-size: 10px; }
  body.rex-public.rex-blog .nav__cta { margin-left: auto; }
}
@media (max-width: 419px) {
  body.rex-public.rex-blog .brand__name { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.rex-public) { scroll-behavior: auto; }
  body.rex-public *, body.rex-public *::before, body.rex-public *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Neighborhood edition: public resources and policy reading rooms. */
body.rex-refined .rex-nav { padding-inline: max(var(--rex-gutter), calc((100vw - 1360px) / 2)); }
body.rex-refined .rex-nav .nav-links { display:flex; }
body.rex-refined .rex-nav-login { color:var(--ink); font-size:13px; text-decoration:none; }
body.rex-refined .rex-nav .rex-nav-cta { background:var(--ink); gap:20px; }
body.rex-refined .rex-nav .rex-nav-cta:hover { background:#34342c; }
body.rex-refined .rex-mobile-nav { display:none; }
body.rex-refined .rex-nav .brand { display:flex; align-items:center; }
body.rex-refined .rex-nav .brand__mark { font-size:42px; }
body.rex-refined .hero { text-align:left; padding-block:72px 44px; }
body.rex-refined .hero .wrap { max-width:1180px; }
body.rex-refined .hero-h { max-width:920px; margin-left:0; }
body.rex-refined .hero-h em { color:#8a8a81; }
body.rex-refined .hero .eyebrow { justify-content:flex-start !important; }
body.rex-refined .hero .lede { max-width:750px; margin-left:0; font-size:18px; color:#63635a; }
body.rex-refined .hero :is(.byline,.disclaimer,.hero-cta-sub) { max-width:740px; margin-left:0; }
body.rex-refined .byline { font-size:12px; color:var(--muted); }
body.rex-refined .disclaimer { font-size:11px; color:var(--muted); }
body.rex-refined .rex-text-link { display:inline-flex; gap:36px; padding:20px 0 10px; color:var(--ink); font-size:14px; text-decoration:none; border-bottom:1px solid var(--ink); }
body.rex-refined .rex-text-link span { color:var(--red); }
body.rex-refined .rex-resource-scene { margin:8px auto 52px; position:relative; width:calc(100% - var(--rex-gutter)*2); max-width:1080px; height:300px; overflow:hidden; border-radius:18px; }
body.rex-refined .rex-resource-scene img { width:100%; height:100%; object-fit:cover; object-position:center 57%; }
body.rex-refined .rex-resource-scene span { position:absolute; left:24px; bottom:24px; padding:10px 16px; background:#faf8f3; border-radius:7px; color:var(--ink); font-size:13px; }
body.rex-refined.rex-learn .res-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; counter-reset:tool; }
body.rex-refined.rex-learn .res-card { position:relative; padding:32px; display:flex; flex-direction:column; min-height:330px; border-radius:18px; transition:transform .35s,box-shadow .35s,border-color .35s; }
body.rex-refined.rex-learn .res-card::before { counter-increment:tool; content:'0' counter(tool); color:#a5a59a; font-family:Figtree,sans-serif; font-size:14px; position:absolute; right:26px; top:25px; }
body.rex-refined.rex-learn .res-card:hover { border-color:#c6c2b5; transform:translateY(-4px); box-shadow:0 14px 30px #30250c08; }
body.rex-refined.rex-learn .res-card .tag { background:#f5f2ea; color:#666558; border:0; border-radius:5px; width:fit-content; margin-bottom:22px; font-size:11px; padding:5px 9px; letter-spacing:.03em; }
body.rex-refined.rex-learn .res-card h3 { font-size:29px; max-width:350px; margin:0 0 16px; }
body.rex-refined.rex-learn .res-card h3 a { color:var(--ink); text-decoration:none; }
body.rex-refined.rex-learn .res-card p { font-size:14px; line-height:1.7; color:var(--body); margin:0 0 24px; }
body.rex-refined.rex-learn .res-card .go { margin-top:auto; color:var(--ink); text-decoration:none; font-size:13px; border-top:1px solid var(--line); padding-top:18px; }
body.rex-refined .answer { border:1px solid var(--line); background:#fff; border-radius:14px; padding:26px 30px; box-shadow:none; }
body.rex-refined .related { gap:10px; }
body.rex-refined .related a { background:#fff; border:1px solid var(--line); border-radius:8px; color:var(--ink); padding:12px 16px; font-size:13px; }
body.rex-refined .rex-document { width:100%; max-width:1180px; padding:64px var(--rex-gutter) 88px; }
body.rex-refined .rex-document .header { margin:0 0 52px; padding:0 0 36px; border-bottom:1px solid var(--line); }
body.rex-refined .rex-document .header h1 { max-width:900px; margin:18px 0; }
body.rex-refined .rex-document .header .meta { font-size:12px; color:var(--muted); }
body.rex-refined .rex-reading-layout { display:grid; grid-template-columns:240px minmax(0,1fr); gap:64px; align-items:start; }
body.rex-refined .rex-contents { position:sticky; top:104px; max-height:calc(100svh - 140px); overflow:auto; padding:4px 18px 20px 0; scrollbar-width:thin; }
body.rex-refined .rex-contents summary { font-size:12px; letter-spacing:.05em; color:var(--ink); margin-bottom:17px; cursor:pointer; }
body.rex-refined .rex-contents nav { display:grid; gap:0; }
body.rex-refined .rex-contents a { padding:9px 0 9px 14px; border-left:1px solid var(--line); color:var(--muted); font-size:12px; line-height:1.45; text-decoration:none; transition:color .2s,border-color .2s; }
body.rex-refined .rex-contents a:hover, body.rex-refined .rex-contents a[aria-current] { color:var(--ink); border-left-color:var(--red); }
body.rex-refined .rex-document-body { min-width:0; font-size:15px; line-height:1.85; }
body.rex-refined .rex-document-body > p:first-child { margin-top:0; font-size:18px; color:var(--ink); line-height:1.65; }
body.rex-refined .rex-document-body h2 { border-top:1px solid var(--line); padding-top:32px; margin-top:48px; margin-bottom:20px; font-size:30px; color:var(--ink); }
body.rex-refined .rex-document-body h3 { font-size:21px; margin-top:28px; color:var(--ink); }
body.rex-refined .rex-document-body :is(p,li) { color:var(--body); }
body.rex-refined .rex-document-body li { margin-bottom:9px; }
body.rex-refined .rex-document-body code { overflow-wrap:anywhere; }
body.rex-refined .rex-google-reading { max-width:1180px; margin:auto; padding:0 var(--rex-gutter) 80px; }
body.rex-refined .rex-google-reading .narrow { width:100%; padding:0; }
body.rex-refined .rex-google-reading .prose h2 { font-size:30px; padding-top:26px; margin-top:34px; border-top:1px solid var(--line); }
body.rex-refined .rex-google-reading .control { background:#eeede5; border:0; border-radius:16px; padding:26px; }
body.rex-refined .rex-google-reading .control h2 { margin-top:0; padding-top:0; border:0; }
body.rex-refined .progress { background:#faf8f3f5; backdrop-filter:blur(12px); box-shadow:none; border-color:var(--line); border-radius:12px; padding:20px 24px; }
body.rex-refined .progress-label { color:var(--ink); }
body.rex-refined .progress-track { background:#e7e4db; }
body.rex-refined .check-section { box-shadow:none; border-radius:16px; padding:28px 32px; margin-bottom:22px; }
body.rex-refined .check-section > h2 { font-family:Figtree,sans-serif; font-size:29px; font-weight:500; letter-spacing:-.035em; padding-bottom:20px; }
body.rex-refined .check-item { padding:18px 0; }
body.rex-refined .check-item .check-text span { line-height:1.7; }
body.rex-refined .check-item input { margin-top:3px; }
body.rex-refined .rex-public-close { max-width:1360px; margin:auto; padding:86px var(--rex-gutter) 70px; display:flex; justify-content:space-between; align-items:center; gap:30px; }
body.rex-refined .rex-public-close h2 { font-size:clamp(36px,4.8vw,68px); letter-spacing:-.05em; margin:18px 0 28px; color:var(--ink); }
body.rex-refined .rex-public-close h2 span { color:var(--red); }
body.rex-refined .rex-public-close img { width:190px; height:auto; flex-shrink:0; }
@media(max-width:980px) {
 body.rex-refined .rex-reading-layout { grid-template-columns:190px minmax(0,1fr); gap:30px; }
 body.rex-refined .rex-nav .nav-links { gap:16px; }
 body.rex-refined .rex-nav-login { display:none; }
}
@media(max-width:780px) {
 body.rex-refined .rex-nav .nav-links { display:none; }
 body.rex-refined .rex-mobile-nav { display:block; }
 body.rex-refined .rex-mobile-nav summary { list-style:none; cursor:pointer; width:42px; height:42px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; }
 body.rex-refined .rex-mobile-nav summary::-webkit-details-marker { display:none; }
 body.rex-refined .rex-mobile-nav summary span { display:block; width:21px; height:1.5px; background:var(--ink); transition:transform .2s; }
 body.rex-refined .rex-mobile-nav[open] summary span:first-child { transform:translateY(3.75px) rotate(45deg); }
 body.rex-refined .rex-mobile-nav[open] summary span:last-child { transform:translateY(-3.75px) rotate(-45deg); }
 body.rex-refined .rex-mobile-links { position:absolute; left:0; right:0; top:100%; background:var(--bg); border-bottom:1px solid var(--line); box-shadow:0 18px 24px #17171408; padding:12px var(--rex-gutter) 24px; display:grid; }
 body.rex-refined .rex-mobile-links a { font-size:20px; color:var(--ink); text-decoration:none; border-top:1px solid var(--line); padding:13px 0; }
 body.rex-refined .rex-reading-layout { grid-template-columns:1fr; gap:30px; }
 body.rex-refined .rex-contents { position:static; max-height:none; padding:18px 20px; background:#f0eee6; border-radius:10px; }
 body.rex-refined .rex-contents nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
 body.rex-refined .rex-contents summary { margin:0; }
 body.rex-refined .rex-contents details[open] summary { margin-bottom:14px; }
 body.rex-refined .hero { padding-top:44px; }
 body.rex-refined .rex-document { padding-top:44px; }
 body.rex-refined .rex-public-close img { width:130px; }
 body.rex-refined.rex-learn .res-grid { grid-template-columns:1fr; }
 body.rex-refined.rex-learn .res-card { min-height:0; }
}
@media(max-width:540px) {
 body.rex-refined .rex-nav .rex-nav-cta { font-size:11px; padding:12px; gap:12px; }
 body.rex-refined .rex-nav .brand__mark { font-size:35px; }
 body.rex-refined .rex-nav .nav-right { gap:4px; }
 body.rex-refined .hero .lede { font-size:16px; }
 body.rex-refined .rex-resource-scene { height:210px; border-radius:12px; }
 body.rex-refined .rex-resource-scene span { left:14px; bottom:14px; right:14px; font-size:11px; }
 body.rex-refined .rex-contents nav { grid-template-columns:1fr; }
 body.rex-refined .rex-public-close { align-items:flex-end; padding-block:52px; gap:8px; }
 body.rex-refined .rex-public-close h2 { font-size:34px; }
 body.rex-refined .rex-public-close img { width:90px; margin-bottom:20px; }
 body.rex-refined .rex-public-close .eyebrow { font-size:10px; }
 body.rex-refined.rex-learn .res-card,body.rex-refined .check-section { padding:24px; }
 body.rex-refined .answer { padding:23px; }
}
@media(prefers-reduced-motion:reduce) { body.rex-refined .res-card:hover { transform:none; } }
body.rex-refined #toolkit { scroll-margin-top:100px; }
body.rex-refined.rex-learn .res-card .go { text-transform:none; letter-spacing:0; }
body.rex-refined .rex-privacy-choice { appearance:none; padding:0; border:0; background:none; color:var(--muted); font:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
body.rex-refined.rex-google .hero .narrow { max-width:1180px; padding-inline:var(--rex-gutter); }
body.rex-refined .rex-footer-columns { grid-template-columns:repeat(3,minmax(0,1fr)); }
body.rex-refined .rex-footer-columns > div { display:flex; flex-direction:column; gap:9px; }
body.rex-refined .rex-footer-columns h3 { margin:0 0 10px; color:var(--ink); font-size:13px; font-weight:600; letter-spacing:0; }
body.rex-refined .rex-footer-columns > div:last-child:nth-child(4) { grid-column:1/-1; padding-top:20px; border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
body.rex-refined .rex-footer-columns > div:last-child:nth-child(4) h3 { grid-column:1/-1; }
@media(max-width:540px) { body.rex-refined .rex-footer-columns { grid-template-columns:repeat(2,minmax(0,1fr)); } body.rex-refined .rex-footer-columns > div:last-child:nth-child(4) { grid-template-columns:1fr 1fr; } }
body.rex-refined .foot-brand .brand { display:inline-flex; align-items:center; }
body.rex-refined .foot-brand .brand__mark { font-size:42px; letter-spacing:-4px; }

@media (prefers-reduced-motion: reduce), print { body.rex-refined .rex-resource-scene img { transform:none !important; } }
