/* The refresh stylesheet. Enqueued by functions-glr.php on refresh pages
   only, which dequeue the theme's main.css.

   Order: fonts, tokens, base, chrome, sections, page-head, then the
   glr- language itself. Prose version: documentation/GL-REFRESH-DESIGN.md. */

/* ======================================================== fonts */

/* ------------------------------------------------------------------
   Self-hosted faces: two families, three files, no CDN (DESIGN §3.1).

   Inter is one variable file, capped at 400-600. WARNING: 600 is the
   maximum; font-weight: 700 synthesises a faux bold.

   The Fallback faces are size-matched system fonts, so text does not
   reflow when the web fonts swap in.
   ------------------------------------------------------------------ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/Inter.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/EBGaramond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/EBGaramond-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107.2%;
  ascent-override: 90.4%;
  descent-override: 22.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'EB Garamond Fallback';
  src: local('Times New Roman');
  size-adjust: 94.3%;
  ascent-override: 107.1%;
  descent-override: 31.8%;
  line-gap-override: 0%;
}

/* ======================================================= tokens */

/* ------------------------------------------------------------------
   Design tokens. documentation/GL-REFRESH-DESIGN.md is the prose
   version; if the two disagree, the doc needs updating, not this file.
   ------------------------------------------------------------------ */

:root {
  /* ---- palette (DESIGN §4.1) ---------------------------------- */
  --gv-text: #0f172a;      /* body text, filled buttons, heavy rules   */
  --gv-muted: #64748b;     /* secondary copy, labels, captions         */
  --gv-blue: #1a56e8;      /* interactive accent, focus rings — NOT    */
                           /* decorative. Filled buttons are --gv-text */
  --gv-blue-bg: #eef4ff;   /* rare pale-blue wash                      */
  --gv-border: #e2e8f0;    /* component borders (inputs, nav card)     */
  --gv-green: #16a34a;     /* semantic: a number went the reader's way */
  --gv-amber: #d97706;     /* semantic: caution                        */

  --rule: #e4e9f0;                      /* THE hairline — §2 principle 1 */
  --rule-dark: rgba(255, 255, 255, 0.14);

  --ink: #0a0a0a;
  --sheet: #fdfdfc;        /* the one light surface all content sits on */

  /* ---- aurora channels (DESIGN §4.2) -----------------------------
     Raw RGB triplets so they compose at any alpha:
     rgba(var(--au-blue), 0.4). Navy #0F2454 is too dark to glow. */
  --au-blue: 26, 86, 232;
  --au-indigo: 79, 53, 210;
  --au-cyan: 46, 155, 214;
  --au-lilac: 171, 154, 246;

  /* ---- dark-surface text (DESIGN §4.3) ------------------------ */
  --on-dark: #fff;
  --on-dark-body: rgba(255, 255, 255, 0.64);
  --on-dark-fine: rgba(255, 255, 255, 0.4);

  /* ---- type scale — min / scaled / max (DESIGN §3.2) -------------
     Every size is a clamp: the root scales with the viewport, so
     unclamped rem body copy renders at 11px on a 1280 viewport.
     See §3.3 before adding a size. */
  --fs-eyebrow: clamp(10px, 0.6875rem, 12px);
  --fs-micro: clamp(12px, 0.8125rem, 14px);
  --fs-small: clamp(14px, 0.9375rem, 16px);
  --fs-body: clamp(15px, 1.0625rem, 18px);
  --fs-lead: clamp(17px, 1.1875rem, 21px);
  --fs-h3: clamp(19px, 1.375rem, 24px);
  --fs-h2: clamp(32px, 3rem, 52px);
  --fs-display: clamp(38px, 4rem, 72px);
  --fs-num: clamp(38px, 3.25rem, 58px);

  /* ---- faces (DESIGN §3.1) ------------------------------------ */
  --font-sans: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Helvetica, Arial, sans-serif;
  --font-serif: 'EB Garamond', 'EB Garamond Fallback', Georgia, 'Times New Roman', serif;

  /* ---- space and measure (DESIGN §5) -------------------------- */
  --maxw: 78rem;                          /* content column ceiling    */
  --pad-x: clamp(20px, 5vw, 76px);        /* horizontal page gutter    */
  --unit-y: clamp(64px, 7rem, 132px);     /* rhythm between sections   */
  --measure: 34rem;                       /* prose never runs the 78rem */

  /* ---- radius — rare, and large when used (DESIGN §5) --------- */
  --r-inset: clamp(20px, 1.75rem, 30px);
  --r-card: clamp(14px, 1.125rem, 20px);
  --r-button: 0.625rem;

  /* ---- motion (DESIGN §8) ------------------------------------- */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ========================================================= base */

/* ------------------------------------------------------------------
   Base. Thin by design (DESIGN §2) — the look comes from rules and
   whitespace, so little is set globally.
   ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sheet);
  color: var(--gv-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Serif carries display type only. Never body copy (DESIGN §2.4). */
h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

h4,
h5,
h6 {
  font-weight: 600;   /* 600 is maximum — Inter ships no 700 (§3.1) */
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* One visible focus treatment, on the accent (DESIGN §9). */
:focus-visible {
  outline: 2px solid var(--gv-blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ======================================================= chrome */

/* ------------------------------------------------------------------
   Origin hero. Reference 1920 x 1203. Lengths are rem against a
   viewport-scaled root, so proportions hold at any desktop width.
   ------------------------------------------------------------------ */

:root {
  --sky-shade: rgba(255, 255, 255, 0.05);
  --glass: rgba(255, 255, 255, 0.07);
  --ink: #0a0a0a;
  --lede-muted: #d4dadf;
  --tagline: #b9c9d8;
  --promo-bg: #d6f6ff;
  --promo-ink: #0e5a69;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --logo-ink: #000;              /* "Gravity" in the nav wordmark; was #fff on the dark bar */
  /* App palette, carried over from the prototype */
  --gv-blue: #1a56e8;
  --gv-blue-bg: #eef4ff;
  --gv-text: #0f172a;
  --gv-muted: #64748b;
  --gv-border: #e2e8f0;
  --gv-green: #16a34a;
  --gv-amber: #d97706;
  /* aurora mesh */
  --au-blue: 26, 86, 232;
  --au-indigo: 79, 53, 210;
  --au-cyan: 46, 155, 214;         /* brand navy is #0F2454 — too dark for the sky */
  --au-lilac: 171, 154, 246;       /* pale highlight in the mesh */
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  /* 1920 / 120 => 16px root at the design width */
  font-size: clamp(11px, 0.83333vw, 16px);
}

body {
  margin: 0;
  background: #0f1115;
  color: #fff;
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }

.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;
}

/* ---------------------------------------------------------- hero shell */

.hero {
  position: relative;
  /* min-height, not height, so nothing is cut off on a short screen.
     100svh measures the viewport with a phone's browser bars showing;
     the vh line above it is the fallback for browsers without svh. */
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(176deg, #14113a 0%, #0e0b28 38%, #090717 70%, #05040e 100%);
}

/* Keeps the lower third dark enough for the tagline and stat row. */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 14, 0) 46%, rgba(4, 7, 14, 0.62) 82%, rgba(4, 7, 14, 0.9) 100%);
}

/* Fine grain: stops the big gradients from banding on 8-bit displays. */
.hero__grain {
  position: absolute;
  inset: -100%;
  opacity: 0.24;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------- aurora mesh */

/* A slow morphing mesh: three colour blobs on periods sharing no
   common multiple (43s / 59s / 71s), so the pattern never repeats.
   Only transform animates, so it costs no layout and no repaint.

   Keep the blobs off the edges — the dark base showing at the corners
   is what makes it read as a mesh rather than a wash. */

/* z-index -1 in an isolated host paints above the host's background
   but below its content. Every host MUST set `isolation: isolate` or
   already create a stacking context, or this escapes behind the page. */
.mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.mesh__blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.mesh__blob--a {
  top: -34%;
  left: -12%;
  width: 78%;
  padding-bottom: 78%;
  background: radial-gradient(circle at 50% 50%,
    rgba(var(--au-indigo), 0.92) 0%,
    rgba(var(--au-indigo), 0.42) 38%,
    rgba(var(--au-indigo), 0) 68%);
  animation: mesh-a 43s ease-in-out infinite;
}

.mesh__blob--b {
  top: 6%;
  right: -20%;
  width: 72%;
  padding-bottom: 72%;
  background: radial-gradient(circle at 50% 50%,
    rgba(var(--au-lilac), 0.6) 0%,
    rgba(var(--au-lilac), 0.24) 40%,
    rgba(var(--au-lilac), 0) 70%);
  animation: mesh-b 59s ease-in-out infinite;
}

.mesh__blob--c {
  bottom: -40%;
  left: 18%;
  width: 84%;
  padding-bottom: 84%;
  background: radial-gradient(circle at 50% 50%,
    rgba(var(--au-blue), 0.72) 0%,
    rgba(var(--au-blue), 0.3) 42%,
    rgba(var(--au-blue), 0) 70%);
  animation: mesh-c 71s ease-in-out infinite;
}

@keyframes mesh-a {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  33%      { transform: translate3d(26%, 14%, 0) scale(1.22) rotate(6deg); }
  66%      { transform: translate3d(10%, 30%, 0) scale(0.9) rotate(-5deg); }
}

@keyframes mesh-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1.1) rotate(0deg); }
  33%      { transform: translate3d(-30%, 18%, 0) scale(0.86) rotate(-7deg); }
  66%      { transform: translate3d(-14%, -16%, 0) scale(1.18) rotate(5deg); }
}

@keyframes mesh-c {
  0%, 100% { transform: translate3d(0, 0, 0) scale(0.95) rotate(0deg); }
  33%      { transform: translate3d(18%, -26%, 0) scale(1.2) rotate(5deg); }
  66%      { transform: translate3d(-20%, -10%, 0) scale(1.04) rotate(-6deg); }
}

/* ---------------------------------------------------------------- nav */

/* Sticky nav. .js-nav gates position:fixed so the bar stays in flow
   with JavaScript off. */

.js-nav .nav {
  position: fixed;
  z-index: 50;                /* above the mobile sheet, whose toggle it holds */
}

.js-nav .nav {
  background: #fff;
  box-shadow: none;
  transition: background 240ms ease, box-shadow 240ms ease;
}

.js-nav .nav.is-lifted {
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.1),
              0 0.5rem 1.5rem rgba(4, 7, 14, 0.1);
}

.nav {
  position: absolute;
  /* .hero__content is positioned and comes later in the DOM, so without an
     explicit order its transparent top padding paints over the bar and eats
     every pointer event aimed at it. */
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  /* Taller box + more side padding = more breathing room around the
     centred row of links. */
  height: 4.25rem;
  /* Three columns, outer two sharing the slack, so the links sit on the
     bar's true centre while staying in flow — columns cannot slide
     through each other and overlap the logo or the buttons. */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: clamp(16px, 1.5vw, 28px);
  align-items: center;
  /* .glr-wrap's content edge. */
  padding: 0 calc(max(0px, (100% - var(--glr-wrap)) / 2) + clamp(20px, 3vw, 32px));
  /* White bar. The links and buttons inside it are recoloured to match
     under "white bar" further down. */
  background: #fff;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.1),
              0 0.5rem 1.5rem rgba(4, 7, 14, 0.1);
}

.nav__logo {
  /* Logo size is ONE knob: --logo-h, the height of the square mark. The
     wordmark beside it is sized from the same knob (see "logo reveal"
     below); --logo-gap is the space between the two. */
  --logo-h: 2.375rem;
  --logo-gap: 0.5rem;
  position: relative;
  display: block;
  /* Grid items stretch by default; the mark sizes from its height and
     aspect-ratio, so it has to sit at the start of its column instead. */
  justify-self: start;
  height: var(--logo-h);
  aspect-ratio: 1;
  width: auto;
  color: var(--logo-ink);
}

.nav__logo-mark {
  display: block;
  width: 100%;
  height: 100%;
  /* object-fit is a no-op on the inline <svg> below (it only affects
     replaced elements) — harmless, left in case this ever points at an
     <img> again. */
  object-fit: contain;
}

/* ---------------------------------------------------- logo draw-in --
   Each piece carries --i, its place in the queue, and starts 60ms after
   the one before, so the lockup is fully in at ~990ms.

   On SVG children a px transform is in viewBox units, so -1.4 below is
   1.4 of the logo's 57. .foot__mark reuses these @keyframes. */

.nav__logo-mark .logo-part {
  opacity: 0;
  animation: logo-cascade 450ms cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 60ms);
}

@keyframes logo-cascade {
  from { opacity: 0; transform: translateX(-1.4px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Only the first page of a visit plays the cascade. After that the
   layout's inline script puts .logo-played on <html> (see
   and the logo is simply there. */
.logo-played .nav__logo-mark .logo-part {
  animation: none;
  opacity: 1;
}

/* ------------------------------------------------------ logo reveal --
   Hover or focus brings the wordmark in beside the mark, each letter
   60ms after the one before; leaving, they fade out together.

   A transition, not @keyframes, so it runs backwards on leave. The
   timing lives on the state it heads TO: the staggered one on hover,
   the quick one on rest.

   The wordmark is absolutely positioned, so it takes no room in the bar
   and the centred links never shift. */

.nav__logo-word {
  position: absolute;
  top: 50%;
  left: calc(100% + var(--logo-gap));
  /* Both sides are set: an inline <svg> at width:auto falls back to
     100% of the link, not to its viewBox's shape. The global
     max-width:100% on svg would squeeze it back, so it is lifted. */
  height: calc(var(--logo-h) * 11 / 18);
  width: calc(var(--logo-h) * 52 / 18);
  max-width: none;
  /* -50% would centre the wordmark's box on the mark, but the letters
     sit high in that box (the y's tail fills the bottom), so it drops
     by about a tenth of its height to centre the capitals instead. */
  transform: translateY(-39%);
  overflow: visible;
  /* Hidden, it must not catch the pointer — otherwise the blank space
     right of the mark would secretly be a hover target. */
  pointer-events: none;
}

/* Once shown, it catches the pointer, so moving onto the wordmark keeps
   it open (and clicking it goes home, like the mark). */
.nav__logo:hover .nav__logo-word,
.nav__logo:focus-visible .nav__logo-word { pointer-events: auto; }

/* Bridges the gap between the mark and the wordmark, so crossing it
   does not end the hover and flicker the wordmark out. */
.nav__logo::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: var(--logo-gap);
}

.nav__logo-word .logo-part {
  opacity: 0;
  transform: translateX(-1.4px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav__logo:hover .nav__logo-word .logo-part,
.nav__logo:focus-visible .nav__logo-word .logo-part {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 450ms cubic-bezier(0.22, 0.9, 0.3, 1),
              transform 450ms cubic-bezier(0.22, 0.9, 0.3, 1);
  transition-delay: calc(var(--i) * 60ms);
}

.nav__links {
  position: relative;
  display: flex;
  /* .nav__divider is 3rem, taller than the 2.625rem chips, so it sets
     the row height. Without this the row stretches and every link
     rides (3rem - 2.625rem) / 2 above the bar's centre. */
  align-items: center;
  gap: 0.25rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 2.625rem;        
  padding: 0 0.75rem;
  border-radius: 0.75rem;  
  background: var(--glass);
  color: #fff;
  font-size: 0.9375rem;     
  font-weight: 600;
  letter-spacing: 0.046em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.chip:hover {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.17);
}

.chip:active { background: rgba(255, 255, 255, 0.08); }

.nav__divider {
  width: 1px;
  height: 3rem;         
  margin: 0 0.5rem;
  background: rgba(255, 255, 255, 0.28);
}

/* ------------------------------------------------------------- dropdowns */

.navdrop { position: relative; }

.navdrop__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.625rem;        
  padding: 0 0.5rem;
  border: 0;
  border-radius: 0.75rem;
  background: none;
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;     
  font-weight: 600;
  letter-spacing: 0.046em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease;
}

.navdrop__trigger:hover,
.navdrop.is-open .navdrop__trigger { background: rgba(255, 255, 255, 0.13); }

.navdrop__chev {
  /* The label is nowrap, so the chevron is the only thing that can give
     and absorbs the whole squeeze. Fixed size, no shrinking. */
  flex: 0 0 auto;
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 220ms var(--ease);
}

.navdrop.is-open .navdrop__chev { transform: rotate(180deg); }

.navdrop__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 3;
  /* transparent bridge so the pointer can cross the gap without closing */
  padding-top: 0.625rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-0.375rem);
  transition: opacity 160ms ease, transform 200ms var(--ease),
              visibility 0s linear 200ms;
}

.navdrop.is-open .navdrop__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 160ms ease, transform 200ms var(--ease),
              visibility 0s;
}

.navdrop__card {
  min-width: 16.5rem;       
  padding: 0.5rem;
  border-radius: 0.875rem;
  background: #fff;
  box-shadow: 0 1.5rem 3rem rgba(8, 22, 44, 0.28),
              0 0.125rem 0.375rem rgba(8, 22, 44, 0.12);
  text-align: left;
}

.navdrop__title {
  margin: 0;
  padding: 0.375rem 0.5rem 0.25rem;
  font-size: 0.6875rem;     
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gv-muted);
}

.navdrop__rule {
  height: 0;
  margin: 0.375rem 0.5rem;
  border: 0;
  border-top: 1px solid var(--gv-border);
}

.navdrop__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4375rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;      
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gv-text);
  transition: background 140ms ease, color 140ms ease;
}

a.navdrop__item:hover { background: var(--gv-blue-bg); color: var(--gv-blue); }

.navdrop__item.is-disabled { color: var(--gv-muted); cursor: default; }

.pill {
  flex-shrink: 0;
  padding: 0.0625rem 0.3125rem;
  border-radius: 0.25rem;
  font-size: 0.5625rem;    
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pill--gl      { background: var(--gv-blue-bg); color: var(--gv-blue); }
.pill--partner { background: #f0fdf4;           color: var(--gv-green); }
.pill--soon    { background: #fff7ed;           color: var(--gv-amber); }

.chip__badge {
  margin-left: 0.5rem;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  background: var(--promo-bg);
  color: var(--promo-ink);
  font-size: 0.625rem;      
  font-weight: 700;
  letter-spacing: 0.08em;
}

.chip__plus {
  margin-left: 0.5rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 0;
  transition: transform 220ms var(--ease);
}

.chip:hover .chip__plus { transform: translateY(1px); }

.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* The search affordance. Inert — no behaviour behind it yet. */
.nav__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: none;
  color: #fff;
  opacity: 0.95;
  cursor: pointer;
  transition: background 180ms ease, opacity 160ms ease;
}

.nav__search:hover {
  background: rgba(255, 255, 255, 0.13);
  opacity: 1;
}

.nav__search:active { background: rgba(255, 255, 255, 0.08); }

/* ---- the nav's search -------------------------------------------
   A <details>: the summary is the icon, the panel is the form. It
   opens and submits with JavaScript off; site.js only adds the focus
   and the Escape key. */
.navsearch { position: relative; }

/* The summary is the button, so it must not draw a triangle. */
.navsearch__trigger { list-style: none; cursor: pointer; }
.navsearch__trigger::-webkit-details-marker { display: none; }
.navsearch[open] .navsearch__trigger { background: rgba(255, 255, 255, 0.13); }

.navsearch__panel {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 3;
  padding-top: 0.625rem;
}

.navsearch__form {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem;
  border-radius: 0.875rem;
  background: #fff;
  box-shadow: 0 1.5rem 3rem rgba(8, 22, 44, 0.28),
              0 0.125rem 0.375rem rgba(8, 22, 44, 0.12);
}

.navsearch__input {
  width: 15rem;
  padding: 0.5rem 0.625rem;
  border: 0;
  border-radius: 0.5rem;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--gv-text, #17295c);
}

/* The ring goes on the form, not the field: the input and the button
   are one control, and a second outline inside the first reads as a
   mistake. Needs the .glr prefix to outrank the page-wide
   ":focus-visible" ring, which is set later in this file. */
.glr .navsearch__input:focus,
.glr .navsearch__input:focus-visible { outline: 0; }

.navsearch__form:focus-within { box-shadow: 0 0 0 2px var(--glr-blue), 0 1.5rem 3rem rgba(8, 22, 44, 0.28); }

.navsearch__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 0.5rem;
  background: var(--glr-blue);
  color: #fff;
  cursor: pointer;
  transition: background 140ms ease;
}

.navsearch__submit svg { width: 1.05rem; height: 1.05rem; }
.navsearch__submit:hover { background: var(--glr-navy); }

/* The sheet's copy of the form: full width, on the sheet's own card. */
.navmenu__search {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  padding: 0.375rem;
  border-radius: 0.875rem;
  border: 1px solid var(--glr-line);
  background: #fff;
}

.navmenu__search .navsearch__input { width: 100%; }

.navmenu__search:focus-within {
  border-color: var(--glr-blue);
  box-shadow: 0 0 0 2px rgba(26, 86, 232, 0.18);
}

.nav__search-icon {
  display: block;
  width: 1.0625rem;
  height: 1.0625rem;
}

.nav__login {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.046em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  opacity: 0.95;
  transition: opacity 160ms ease;
  /* The nav only ever sits on a dark surface, so this is not
     conditional. Do not scope it to a parent — the nav gets relocated
     in the DOM, which breaks descendant selectors. */
  color: #fff;
}

.nav__login::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4375rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms var(--ease);
}

.nav__login:hover { opacity: 1; }

.nav__login:hover::after { transform: scaleX(1); }

/* -------------------------------------------------------------- button */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.75rem;          
  padding: 0 1.4375rem;     
  border-radius: 0.875rem;  
  background: #fff;
  color: var(--ink);
  font-size: 0.9375rem;    
  font-weight: 500;
  letter-spacing: 0.048em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms var(--ease), box-shadow 180ms ease,
              background-color 180ms ease;
}

/* The nav's "Sign up free" is a smaller cut of the same button, so it
   sits inside the bar rather than filling it. (Phones already shrink
   every .btn — see the max-width rules further down.) */
.btn--nav {
  height: 3rem;
  padding: 0 1.125rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
}

.btn:hover {
  background: #f6f9fd;
  transform: translateY(-1px);
  box-shadow: 0 0.625rem 1.5rem rgba(8, 22, 44, 0.3);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 0.1875rem 0.5rem rgba(8, 22, 44, 0.24);
}

.btn__arrow {
  margin-left: 0.5rem;
  font-size: 1.0625rem;
  letter-spacing: 0;
  transition: transform 220ms var(--ease);
}

.btn:hover .btn__arrow { transform: translateX(0.1875rem); }

/* Hover is not the only way in — give the keyboard the same clarity. */
.chip:focus-visible,
.navdrop__trigger:focus-visible,
.navdrop__item:focus-visible,
.nav__login:focus-visible,
.nav__logo:focus-visible,
.btn:focus-visible,
.nav__search:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.navdrop__item:focus-visible {
  outline: 2px solid var(--gv-blue);
  outline-offset: -2px;
}

/* ---------------------------------------------------------- white bar --
   The bar is white, so everything on it swaps white-on-dark for
   ink-on-white. The rules above still describe the dark bar; these
   override colour only, all scoped to .nav. Delete this block and
   restore .nav's background to put the dark bar back. */

.nav .chip,
.nav .navdrop__trigger,
.nav .nav__search,
.nav .nav__login,
.nav .navmenu__toggle { color: var(--gv-text); }

.nav .chip,
.nav .navmenu__toggle { background: rgba(15, 23, 42, 0.04); }

.nav .chip:hover {
  background: rgba(15, 23, 42, 0.07);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.nav .chip:active { background: rgba(15, 23, 42, 0.1); }

.nav .navdrop__trigger:hover,
.nav .navdrop.is-open .navdrop__trigger,
.nav .nav__search:hover,
.nav .navmenu__toggle:hover { background: rgba(15, 23, 42, 0.07); }

.nav .nav__search:active { background: rgba(15, 23, 42, 0.1); }

.nav .nav__divider { background: rgba(15, 23, 42, 0.14); }

/* "Sign up free" was a white button, which would vanish on a white bar,
   so here it takes the app blue instead. */
.nav .btn--nav {
  background: var(--gv-blue);
  color: #fff;
}

.nav .btn--nav:hover {
  background: #1447c9;
  box-shadow: 0 0.625rem 1.5rem rgba(26, 86, 232, 0.28);
}

/* The white focus ring above would be invisible here. */
.nav .chip:focus-visible,
.nav .navdrop__trigger:focus-visible,
.nav .nav__login:focus-visible,
.nav .nav__logo:focus-visible,
.nav .btn:focus-visible,
.nav .nav__search:focus-visible,
.nav .navmenu__toggle:focus-visible { outline: 2px solid var(--gv-blue); }

/* ------------------------------------------------------------- content */

.hero__content {
  position: relative;
  z-index: 1;
  /* Fills the hero's full height (flex: 1) and centres the copy in it. */
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Centring sets the spacing; the top padding only keeps the headline
     clear of the fixed nav when the screen is too short to centre. */
  padding: 8rem 2rem 3.375rem;
  text-align: center;
}

.promo {
  display: inline-flex;
  align-items: center;
  height: 2.1875rem;        
  padding: 0 0.84375rem;    
  border-radius: 0.5rem;    
  background: var(--promo-bg);
  color: var(--promo-ink);
  font-size: 0.896875rem;   
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.headline {
  margin: 1.125rem 0 0;     
  font-family: 'EB Garamond', 'EB Garamond Fallback', 'Times New Roman', serif;
  font-weight: 400;
  font-size: 7.9625rem;     
  line-height: 1;
  letter-spacing: -0.009em;
  color: #fff;
}

.headline em { font-style: italic; }

.lede {
  margin: 1.5625rem 0 0;    
  font-size: 1.203125rem;   
  line-height: 1.875rem;    
  color: var(--lede-muted);
}

.lede strong {
  display: block;
  font-weight: 600;
  color: #fff;
}

.btn--hero { margin-top: 2rem; }       

/* --------------------------------------------------------- tag + awards */

.tagline {
  margin: 2.0625rem 0 0;    
  font-size: 1.1875rem;     
  line-height: 1.625rem;    
  color: var(--tagline);
}

.stats {
  margin: 1.75rem 0 0;      
  display: flex;
  align-items: center;
}

.stat {
  padding: 0 2.25rem;       
  text-align: center;
}

.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.18); }

.stat dt {
  font-size: 2rem;          
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
}

.stat__star {
  font-size: 0.68em;
  vertical-align: 0.12em;
  margin-left: 0.06em;
}

.stat dd {
  margin: 0.3125rem 0 0;
  font-size: 0.75rem;       
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tagline);
}

/* ----------------------------------------------------------- beam */

/* A primary CTA for dark grounds: glass fill, hairline ring, bright
   arc travelling the ring.

   The arc is a conic gradient rotated by a custom property. @property
   is required — an unregistered property jumps 0 to 360 instead of
   sweeping. inherits:true lets both pseudo-elements read one animation.

   The ring is a masked pseudo-element: `padding` sets its thickness and
   a two-layer mask punches the middle out, leaving the band.

   The hairline is an inset box-shadow, not part of the gradient, so the
   arc's glow does not smear along the whole border. */

@property --beam {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: true;
}

/* Qualified a.beam / button.beam (0,1,1) on purpose, so it outranks
   .action and .btn without !important or a doubled class. */
a.beam,
button.beam {
  position: relative;
  isolation: isolate;
  border: 0;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: beam-spin 4.5s linear infinite;
  transition: background 200ms ease, box-shadow 200ms ease,
              transform 200ms var(--ease);
}

a.beam:hover,
button.beam:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
}

a.beam:active,
button.beam:active { transform: translateY(0); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); }

/* The travelling arc. */
a.beam::before,
button.beam::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--beam),
    transparent 0 68%,
    rgba(190, 215, 255, 0.35) 77%,
    #f2f7ff 84%,
    rgba(190, 215, 255, 0.35) 91%,
    transparent 97%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  filter: drop-shadow(0 0 5px rgba(160, 195, 255, 0.7));
  pointer-events: none;
}

/* A softer bloom behind the glass, following the same arc. */
a.beam::after,
button.beam::after {
  content: '';
  position: absolute;
  inset: -3px;
  z-index: -1;
  padding: 3px;
  border-radius: inherit;
  background: conic-gradient(from var(--beam),
    transparent 0 70%,
    rgba(120, 170, 255, 0.75) 84%,
    transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  filter: blur(6px);
  opacity: 0.8;
  pointer-events: none;
}

@keyframes beam-spin { to { --beam: 360deg; } }

/* ------------------------------------------------------------ app bar */

/* A dark band hosting the nav above a light page — the nav is
   white-on-glass and needs something dark beneath it. */

  /* No overflow:hidden — the nav's dropdown panels are absolutely
     positioned inside this band and would be clipped. The mesh clips
     itself. */
.appbar {
  position: relative;
  isolation: isolate;
  padding: 8.25rem var(--pad-x, 2rem) 0;
  background: linear-gradient(168deg, #14113a 0%, #0e0b28 55%, #0a081c 100%);
}

/* .nav__login takes its colour from <body>, which is dark on a light page. */

/* ---------------------------------------------------------- member bar */

/* Member tabs along the bottom edge of the dark band. The band drops
   its bottom padding so the current tab's underline sits on the edge.
   Two classes so it outranks per-page .appbar padding. */
.appbar.appbar--member { padding-bottom: 0; }

.memberbar {
  max-width: var(--maxw);
  margin: clamp(28px, 2.5rem, 44px) auto 0;
  padding: 0 var(--pad-x);
}

.memberbar__tabs {
  display: flex;
  gap: clamp(20px, 2rem, 36px);
  border-top: 1px solid var(--rule-dark);
  overflow-x: auto;
  scrollbar-width: none;           /* a swipe row on phones, no bar */
}

.memberbar__tabs::-webkit-scrollbar { display: none; }

.memberbar__tab {
  flex: 0 0 auto;
  padding: 0.95rem 0 1rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--on-dark-body);
  white-space: nowrap;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color 140ms var(--ease), box-shadow 140ms var(--ease);
}

.memberbar__tab:hover { color: var(--on-dark); }

.memberbar__tab[aria-current="page"] {
  color: var(--on-dark);
  box-shadow: inset 0 -2px 0 var(--on-dark);
}

.memberbar__tab:focus-visible {
  outline: 2px solid var(--on-dark);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Credit Health's column has no page gutter. */
.app .memberbar { max-width: 76rem; padding: 0; }

/* ---------------------------------------------------------- page head */

/* The masthead on an inner page: nav band, eyebrow, display title and a
   line of metadata. Shared by the legal pages and the articles. */

.pagehead {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 4.5rem, 80px) var(--pad-x) clamp(32px, 3.5rem, 60px);
  color: #fff;
}

.pagehead__title {
  margin: 0.875rem 0 0;
  font-family: 'EB Garamond', 'EB Garamond Fallback', Georgia, 'Times New Roman', serif;
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.014em;
}

.pagehead__meta {
  margin: 1.125rem 0 0;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* -------------------------------------------------------- mobile menu */

/* Rendered by template-parts/glr/gl-mobile-menu.php. Hidden above
   the breakpoint, where the real bar takes over. */

.navmenu__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 0.75rem;
  background: var(--glass);
  color: #fff;
  cursor: pointer;
  transition: background 160ms ease;
}

.navmenu__toggle:hover { background: rgba(255, 255, 255, 0.14); }

/* Two bars that cross into an X. */
.navmenu__bars,
.navmenu__bars::before,
.navmenu__bars::after {
  display: block;
  width: 1.125rem;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 240ms var(--ease), opacity 160ms ease;
}

.navmenu__bars { position: relative; background: transparent; }

.navmenu__bars::before,
.navmenu__bars::after {
  content: '';
  position: absolute;
  left: 0;
}

.navmenu__bars::before { transform: translateY(-4px); }

.navmenu__bars::after { transform: translateY(4px); }

.navmenu__toggle.is-open .navmenu__bars::before { transform: rotate(45deg); }

.navmenu__toggle.is-open .navmenu__bars::after { transform: rotate(-45deg); }

/* Dims the page behind the sheet and gives the outside-click a target. */
.navmenu__scrim {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(4, 6, 16, 0.6);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.navmenu__scrim.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 220ms ease, visibility 0s;
}

.navmenu {
  position: fixed;
  top: 5.25rem;
  left: calc(max(0px, (100% - var(--glr-wrap)) / 2) + clamp(20px, 3vw, 32px));
  right: calc(max(0px, (100% - var(--glr-wrap)) / 2) + clamp(20px, 3vw, 32px));
  /* Capped, with the slack taken off the left, so it stays a panel under
     the ☰ rather than a full-width banner. On a phone the cap exceeds
     the screen, so it still fills the width. */
  max-width: 26rem;
  margin-left: auto;
  max-height: calc(100vh - 6.5rem);
  z-index: 40;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem 1.25rem 1.75rem;
  border-radius: 1.25rem;
  background: rgba(9, 7, 24, 0.985);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1),
              0 1.5rem 3rem rgba(4, 7, 14, 0.55);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  /* visibility, not display — so it can transition and still leave the
     accessibility tree and the tab order when closed */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: opacity 200ms ease, transform 260ms var(--ease),
              visibility 0s linear 260ms;
}

.navmenu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 200ms ease, transform 260ms var(--ease),
              visibility 0s;
}

/* One top-level row: a chip's link, or a section's <summary>. They
   share the look, so the sheet reads as one short list. */
.navmenu__lead {
  display: flex;
  align-items: center;
  height: auto;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: none;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #fff;
}

.navmenu__lead:hover { background: none; box-shadow: none; }

/* A collapsible section (a dropdown on desktop). */
summary.navmenu__lead {
  justify-content: space-between;
  list-style: none;           /* drop the browser's own ▸ marker */
  cursor: pointer;
}

summary.navmenu__lead::-webkit-details-marker { display: none; }

.navmenu__chev {
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 240ms var(--ease);
}

.navmenu__section[open] .navmenu__chev { transform: rotate(180deg); }

/* An open section's links, set in under its name. */
.navmenu__items {
  padding: 0.375rem 0 0.625rem 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navmenu__section[open] summary.navmenu__lead { border-bottom-color: transparent; }

.navmenu__item {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
}

.navmenu__item:hover,
.navmenu__item[aria-current="page"] { color: #fff; }

.navmenu__login {
  display: block;
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
}

/* Signed in: the account links, under the list. */
.navmenu__account { margin-top: 1rem; }

.navmenu a:focus-visible,
.navmenu summary:focus-visible,
.navmenu__toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* ------------------------------------------------------------- responsive */

/* ----------------------------------------------------- nav, menu --
   Where the bar hands its links to the ☰ sheet.

   1279px is measured: the full row of links stops fitting at 1265px,
   and 1279 keeps the common 1280px laptop on the full bar.

   Separate from the phone block below, which also changes type, bar
   height and lockup size. site.js keeps its BREAKPOINT in step. */
@media (max-width: 1279px) {
  .nav {
    /* Down to two columns: the lockup, and the menu button beside the
       sign-up call. */
    grid-template-columns: 1fr auto;
  }

  .nav__links, .nav__login, .nav__search { display: none; }

  .navmenu__toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  html { font-size: 16px; }

  .nav {
    top: 0;
    height: 3.5rem;
  }

  /* Same single knob as the desktop rule. */
  .nav__logo { --logo-h: 2rem; }

  .btn { height: 2.75rem; padding: 0 1rem; font-size: 0.75rem; }

  .hero__content { padding: 6rem 1.25rem 2.75rem; }

  .headline { font-size: clamp(2.75rem, 12vw, 4.5rem); margin-top: 0.875rem; }

  .lede { margin-top: 1.5rem; font-size: 1rem; line-height: 1.5rem; }

  /* the space before the <br> keeps the words apart once it is dropped */
  .lede span br { display: none; }

  .btn--hero { margin-top: 1.75rem; }

  .tagline { margin-top: 1.5rem; font-size: 0.9375rem; }

  .stats { margin-top: 2rem; }

  .stat { padding: 0 1rem; }

  .stat dt { font-size: 1.375rem; }

  .stat dd { font-size: 0.625rem; letter-spacing: 0.07em; }
}

/* ------------------------------------------------- nav, narrow --
   Small phones. The lockup, ☰ and sign-up call do not wrap, so below
   ~390px the spacing between them goes first. */
@media (max-width: 420px) {
  .nav { column-gap: 0.5rem; }

  .nav__actions { gap: 0.625rem; }

  .btn--nav { padding: 0 0.75rem; }
}

/* 320px. */
@media (max-width: 350px) {
  .btn--nav { padding: 0 0.5rem; }

  /* Same single knob as every other breakpoint. */
  .nav__logo { --logo-h: 1.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mesh__blob { animation: none; }

  a.beam,
  button.beam { animation: none; }

  .navmenu,
  .navmenu__scrim,
  .navmenu__bars,
  .navmenu__bars::before,
  .navmenu__bars::after,
  .navmenu__chev { transition: none; }

  .nav__logo-mark .logo-part {
    animation: none;
    opacity: 1;
    transform: none;
  }

  /* The wordmark still appears on hover, just all at once. */
  .nav__logo-word .logo-part,
  .nav__logo:hover .nav__logo-word .logo-part,
  .nav__logo:focus-visible .nav__logo-word .logo-part {
    transition: none;
    transform: none;
  }

  .chip,
  .chip__plus,
  .navdrop__chev,
  .navdrop__panel,
  .nav__login::after,
  .btn,
  .btn__arrow { transition: none; }

  .js-nav .nav,
  .nav__marker,
  .gl-nav .gl-nav__logo img { transition: none; }

  .gl-nav .gl-nav__logo:hover img,
  .gl-nav .gl-nav__logo:focus-visible img { transform: none; }

  .btn:hover,
  .btn:hover .btn__arrow,
  .chip:hover .chip__plus { transform: none; }
}


/* ------------------------------------------------- signed-in account menu
   An ordinary .navdrop, but its panel hangs from the right edge so it
   cannot run off screen. Hidden below 900px; the phone menu carries the
   same links. */

.navdrop--account .navdrop__trigger { gap: 0.5rem; padding-left: 0.375rem; }

.nav__avatar {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgb(var(--au-blue)), rgb(var(--au-indigo)));
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.navdrop--account .navdrop__panel {
  left: auto;
  right: 0;
  transform: translateY(-0.375rem);
}

.navdrop--account.is-open .navdrop__panel { transform: translateY(0); }

.nav__who {
  margin: 0;
  padding: 0 0.5rem 0.375rem;
  font-size: 0.875rem;
  color: var(--gv-text);
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .navdrop--account { display: none; }
}

/* ===================================================== sections */

/* ------------------------------------------------------------------
   Home page — everything below the hero. Sections are separated by
   rules and whitespace on one continuous sheet, headings in a left
   column.

   The hero's lengths are rem against a viewport-scaled root, which is
   wrong for paragraphs: at a 1280 viewport the root is 10.7px, so plain
   rem body copy renders at 11px. The reading sizes below are clamped.
   ------------------------------------------------------------------ */

.home {
  /* type scale — min / scaled / max */
  --fs-eyebrow: clamp(10px, 0.6875rem, 12px);
  --fs-micro: clamp(12px, 0.8125rem, 14px);
  --fs-small: clamp(14px, 0.9375rem, 16px);
  --fs-body: clamp(15px, 1.0625rem, 18px);
  --fs-lead: clamp(17px, 1.1875rem, 21px);
  --fs-h3: clamp(19px, 1.375rem, 24px);
  --fs-h2: clamp(32px, 3rem, 52px);
  --fs-display: clamp(38px, 4rem, 72px);
  --fs-num: clamp(38px, 3.25rem, 58px);

  --pad-x: clamp(20px, 5vw, 76px);
  --unit-y: clamp(64px, 7rem, 132px);
  --maxw: 78rem;

  --rule: #e4e9f0;
  --rule-dark: rgba(255, 255, 255, 0.14);
}

/* -------------------------------------------------------- proof strip */

/* Inside the hero, so it has no background of its own and the hero's
   centring and 100svh height include it. */
.proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 68px);
  flex-wrap: wrap;
  margin-top: 2.25rem;
  color: #fff;
}

.proof__label {
  margin: 0;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.proof__logo {
  height: clamp(44px, 3.75rem, 64px);
  width: auto;
  opacity: 0.6;
  transition: opacity 200ms ease;
}

.proof__logo:hover { opacity: 1; }

/* The two laurel SVGs ship already mirrored as a left/right pair, so
   neither one gets flipped in CSS. */
.proof__wreath {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1vw, 15px);
}

.proof__leaf {
  height: clamp(32px, 3.25vw, 44px);
  width: auto;
  opacity: 0.8;
}

.proof__mid { margin: 0; text-align: center; }

.proof__stars {
  display: block;
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  color: #fbbf24;
}

.proof__rating {
  display: block;
  margin-top: 0.125rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ------------------------------------------------------------- sheet */

/* One surface for the whole body. Sections are told apart by rules and
   space, not by alternating background colours. */
.sheet {
  background: #fdfdfc;
  color: var(--gv-text);
}

.unit {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: var(--unit-y) var(--pad-x);
  border-top: 1px solid var(--rule);
}

/* The first unit follows the dark strip, which is separation enough. */
.sheet > .unit:first-child { border-top: 0; }

/* The score inset supplies its own edges. */
.unit--flush { border-top: 0; padding-top: 0; }

/* Heading in a left column, content in a wide right one. The heading
   stays put while the list beside it scrolls. */
.unit__grid {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

/* Sticky only inside the spine, where content scrolls past it. A
   full-width head has nothing to stick against and no grid gap, so it
   carries its own space below. */
.unit__grid > .unit__head {
  position: sticky;
  top: clamp(24px, 5rem, 88px);
}

.unit > .unit__head { margin-bottom: clamp(32px, 3.5rem, 64px); }

/* Heading above the content instead of beside it, so $body gets the
   section's full width. Same shape the spine already collapses to below
   1000px — there is nothing to stick to once the heading sits above. */
.unit--stacked .unit__grid {
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 44px);
}

.unit--stacked .unit__grid > .unit__head { position: static; }

.unit--stacked .unit__note { max-width: 42rem; }

.unit__title {
  margin: 0.875rem 0 0;
  font-family: 'EB Garamond', 'EB Garamond Fallback', Georgia, 'Times New Roman', serif;
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

.unit__note {
  margin: 1rem 0 0;
  max-width: 26rem;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--gv-muted);
}

.unit__fine {
  margin: clamp(32px, 3rem, 52px) 0 0;
  text-align: center;
  font-size: var(--fs-micro);
  letter-spacing: 0.02em;
  color: var(--gv-muted);
}

.eyebrow {
  margin: 0;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gv-muted);
}

.eyebrow--dark { color: rgba(255, 255, 255, 0.5); }

/* --------------------------------------------------------- text link */

.link {
  display: inline-block;
  position: relative;
  margin-top: 1rem;
  padding-bottom: 2px;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--gv-text);
}

.link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
  transition: opacity 180ms ease;
}

.link:hover { color: var(--gv-blue); }

.link:hover::after { opacity: 1; }

/* ------------------------------------------------------------ index */

/* A numbered list, ruled rather than boxed. */
.entry {
  display: grid;
  grid-template-columns: minmax(0, 4.5rem) minmax(0, 1fr);
  gap: clamp(16px, 2vw, 32px);
  padding: clamp(28px, 2.75rem, 46px) 0;
  border-top: 1px solid var(--rule);
}

.index > .entry:first-child { border-top: 0; padding-top: 0; }

.index > .entry:last-child { padding-bottom: 0; }

.entry__num {
  margin: 0;
  font-family: 'EB Garamond', 'EB Garamond Fallback', Georgia, serif;
  font-size: clamp(22px, 1.75rem, 30px);
  line-height: 1.1;
  color: #b6c2d4;
  font-variant-numeric: tabular-nums;
}

.entry__title {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.entry__copy {
  margin: 0.625rem 0 0;
  max-width: 34rem;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--gv-muted);
}

/* --------------------------------------------------------- openings */

/* The ADP job widget. It renders into a shadow root, so nothing here
   reaches its cards, buttons or search field. Inherited properties DO
   cross the boundary, so setting face and colour on the host pulls the
   listings onto the site's typeface. */
.openings {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--gv-text);
}

/* An undefined custom element is inline, so before ADP's script upgrades
   it the section would collapse and then jolt open. A block box with a
   floor holds the space while the listings load. */
.openings recruitment-current-openings {
  display: block;
  /* Roughly the height of a loaded one-row listing, so the reserved
     space is close to what arrives. Overshooting leaves dead space
     under the cards, since the widget does not fill the box. */
  min-height: 9rem;
}

.openings__fallback {
  margin: 0;
  max-width: 34rem;
  line-height: 1.7;
  color: var(--gv-muted);
}

/* ------------------------------------------------------- score inset */

/* The one enclosed object on the page: a dark panel inset into the
   sheet rather than a full-bleed band, so the sheet stays continuous. */
.inset {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 25rem);
  align-items: center;
  gap: clamp(36px, 5vw, 88px);
  padding: clamp(40px, 4.5rem, 84px) clamp(28px, 4vw, 68px);
  border-radius: clamp(20px, 1.75rem, 30px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(150deg, #14113a 0%, #0e0b28 55%, #0a081c 100%);
}

.inset__title {
  margin: 1rem 0 0;
  font-family: 'EB Garamond', 'EB Garamond Fallback', Georgia, 'Times New Roman', serif;
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.014em;
}

.inset__lede {
  margin: 1.125rem 0 0;
  max-width: 28rem;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.64);
}

.inset .action { margin-top: clamp(24px, 2rem, 34px); }

/* ------------------------------------------------------- score card */

.card {
  margin: 0;
  padding: clamp(22px, 1.875rem, 32px);
  border: 1px solid var(--rule-dark);
  border-radius: clamp(14px, 1.125rem, 20px);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.card__label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.card__value {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  margin: 0.625rem 0 0;
  font-family: 'EB Garamond', 'EB Garamond Fallback', Georgia, serif;
  font-size: var(--fs-num);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.card__delta {
  font-family: 'Inter', 'Inter Fallback', sans-serif;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0;
  color: #6ee7a0;
}

.card__band {
  margin: 0.5rem 0 0;
  font-size: var(--fs-micro);
  color: rgba(255, 255, 255, 0.5);
}

.card__meter {
  height: 2px;
  margin: 1rem 0 clamp(18px, 1.5rem, 26px);
  background: rgba(255, 255, 255, 0.14);
}

.card__meter span {
  display: block;
  height: 100%;
  background: #fff;
}

.card__factors { margin: 0; }

.card__factors > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--rule-dark);
  font-size: var(--fs-micro);
}

.card__factors dt { color: rgba(255, 255, 255, 0.58); }

.card__factors dd { margin: 0; font-weight: 500; }

/* ----------------------------------------------------------- quotes */

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 68px);
}

.quote {
  padding-top: clamp(20px, 1.75rem, 28px);
  border-top: 2px solid var(--gv-text);
}

.quote__name {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.quote__figs {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  margin: clamp(18px, 1.5rem, 26px) 0 0;
}

.quote__figs dt {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gv-muted);
}

.quote__figs dd {
  margin: 0.375rem 0 0;
  font-family: 'EB Garamond', 'EB Garamond Fallback', Georgia, serif;
  font-size: clamp(24px, 2rem, 34px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.quote__big { font-size: var(--fs-num) !important; }

.quote__copy {
  margin: clamp(18px, 1.5rem, 26px) 0 0;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--gv-muted);
}

/* ------------------------------------------------------------- flow */

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow__step {
  padding-top: clamp(18px, 1.5rem, 24px);
  border-top: 1px solid var(--rule);
}

.flow__num {
  margin: 0 0 0.75rem;
  font-family: 'EB Garamond', 'EB Garamond Fallback', Georgia, serif;
  font-size: clamp(22px, 1.75rem, 30px);
  line-height: 1;
  color: #b6c2d4;
  font-variant-numeric: tabular-nums;
}

.flow__title {
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.flow__copy {
  margin: 0.625rem 0 0;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--gv-muted);
}

/* ------------------------------------------------------------ facts */

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(28px, 4vw, 64px);
  margin: 0;
}

.fact {
  padding: clamp(20px, 1.75rem, 30px) 0;
  border-top: 1px solid var(--rule);
}

.fact dt {
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.008em;
}

.fact dd {
  margin: 0.5rem 0 0;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--gv-muted);
}

/* -------------------------------------------------------------- faq */

.faq { border-top: 1px solid var(--rule); }

.qa { border-bottom: 1px solid var(--rule); }

.qa__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(18px, 1.5rem, 26px) 0;
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: -0.008em;
  cursor: pointer;
  list-style: none;
  transition: color 160ms ease;
}

/* Safari draws its own triangle unless this is cleared. */
.qa__q::-webkit-details-marker { display: none; }

.qa__q:hover { color: var(--gv-blue); }

.qa__q:focus-visible {
  outline: 2px solid var(--gv-blue);
  outline-offset: 3px;
}

.qa__sign {
  position: relative;
  flex: 0 0 auto;
  width: 0.875rem;
  height: 0.875rem;
  color: var(--gv-muted);
}

.qa__sign::before,
.qa__sign::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.75rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 240ms var(--ease);
}

.qa__sign::after { transform: translate(-50%, -50%) rotate(90deg); }

.qa[open] .qa__sign::after { transform: translate(-50%, -50%) rotate(0deg); }

.qa[open] .qa__q { color: var(--gv-blue); }

.qa__a {
  margin: 0;
  padding: 0 3rem clamp(20px, 1.75rem, 30px) 0;
  max-width: 44rem;
  font-size: var(--fs-small);
  line-height: 1.8;
  color: var(--gv-muted);
}

/* ----------------------------------------------------------- action */

.action {
  display: inline-flex;
  align-items: center;
  height: 3rem;
  padding: 0 1.5rem;
  border-radius: 0.625rem;
  background: var(--gv-text);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background 180ms ease, transform 180ms var(--ease),
              box-shadow 180ms ease, border-color 180ms ease;
}

.action:hover {
  background: #1d2b45;
  transform: translateY(-1px);
  box-shadow: 0 0.625rem 1.5rem rgba(9, 21, 40, 0.24);
}

.action:active { transform: translateY(0); box-shadow: none; }

/* Sits next to a .beam, so it stays deliberately quieter — otherwise the
   two read at the same weight and the primary action stops leading. */
.action--ghost {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
}

.action--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  box-shadow: none;
}

/* ---------------------------------------------------------- closing */

.closer {
  padding: clamp(72px, 8rem, 152px) var(--pad-x);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(165deg, #16123c 0%, #0d0a24 58%, #080616 100%);
}

.closer__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.closer__title {
  margin: 0;
  font-family: 'EB Garamond', 'EB Garamond Fallback', Georgia, 'Times New Roman', serif;
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.014em;
}

.closer__copy {
  margin: 1.25rem auto 0;
  max-width: 30rem;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.closer__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: clamp(28px, 2.5rem, 44px);
}

.closer__fine {
  margin: clamp(22px, 1.75rem, 30px) 0 0;
  font-size: var(--fs-micro);
  color: rgba(255, 255, 255, 0.36);
}

/* ----------------------------------------------------------- footer */

/* The footer runs the same spine as the page: a small label in a fixed
   left column, content wide on the right, ruled between. Links sit
   inline, separated by middots. */

.foot {
  padding: clamp(56px, 5.5rem, 100px) var(--pad-x) clamp(28px, 2.5rem, 40px);
  background: #04070e;
  color: #fff;
}

.foot__inner { max-width: var(--maxw); margin: 0 auto; }

/* ------------------------------------------------------------- brand */

.foot__brand { padding-bottom: clamp(32px, 3.5rem, 60px); }

/* The stacked lockup: mark on top, wordmark under it, tagline along
   the bottom, on a 60×32 grid.

   Height is the only knob, as in the nav. Below ~6.4rem the tagline
   (about 2.5 units against the wordmark's 8) stops being readable.

   Drawn in currentColor, so `color` here is its colour. */
.foot__mark {
  display: block;
  height: 6.4rem;
  aspect-ratio: 60 / 32;
  width: auto;
  margin-bottom: clamp(16px, 1.5rem, 26px);
  color: #fff;
}

/* ---------------------------------------------- footer logo draw-in --
   Reuses the nav's @keyframes and --i. The footer is below the fold, so
   the parts start hidden and site.js adds .is-inview when the mark
   first scrolls into view. */
.foot__mark .logo-part {
  opacity: 0;
  transform: translateX(-1.4px);
}

.foot__mark.is-inview .logo-part {
  animation: logo-cascade 450ms cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
  animation-delay: calc(var(--i) * 60ms);
}

/* -------------------------------------------------------- link rows */

.foot__row {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: clamp(12px, 2vw, 32px);
  align-items: baseline;
  padding: clamp(16px, 1.375rem, 24px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot__label {
  margin: 0;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* A separator between items, not inside the link — so it stays out of
   the underline and the hit area. */
.foot__links li + li::before {
  content: '·';
  margin-right: 0.75rem;
  color: rgba(255, 255, 255, 0.22);
}

.foot__link {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.62);
  transition: color 160ms ease;
}

.foot__link:hover { color: #fff; }

/* ------------------------------------------------------------ legal */

.foot__legal {
  padding-top: clamp(22px, 2rem, 34px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.foot__ids {
  margin: 0;
  font-size: var(--fs-micro);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.44);
}

.foot__ids .foot__link { font-size: inherit; }

.foot__fine {
  margin: 0.625rem 0 0;
  max-width: 58rem;
  font-size: var(--fs-eyebrow);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.28);
}

.foot__copy {
  margin: clamp(14px, 1.25rem, 20px) 0 0;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.28);
}

/* --------------------------------------------------------- reveal-in */

/* Opt-in: the class is only added once the observer is confirmed
   running, so with JS off nothing is ever hidden. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}

.js-reveal .reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ focus */

.link:focus-visible,
.action:focus-visible,
.foot__link:focus-visible,
.proof__logo:focus-visible {
  outline: 2px solid var(--gv-blue);
  outline-offset: 3px;
}

.inset .beam:focus-visible,
.closer .action:focus-visible {
  outline-color: rgba(255, 255, 255, 0.92);
}

/* ------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .unit__grid { grid-template-columns: 1fr; gap: clamp(28px, 4vw, 44px); }

  /* Nothing to stick to once the heading sits above the content. */
  .unit__grid > .unit__head { position: static; }

  .unit__note { max-width: 34rem; }

  .inset { grid-template-columns: 1fr; }

  /* Lead with the card: it is the proof, the pitch is the caption. */
  .card { order: -1; }
}

@media (max-width: 760px) {
  /* The spine collapses on a phone, so content sections centre. Set once
     on the containers; the rules under it only fix pieces that use flex
     or asymmetric padding and do not follow text-align. */
  .unit,
  .inset,
  .closer { text-align: center; }

  .unit__note,
  .inset__lede,
  .entry__copy,
  .quote__copy,
  .flow__copy,
  .fact dd,
  .qa__a { margin-left: auto; margin-right: auto; }

  /* Flex rows ignore text-align. */
  .quote__figs { justify-content: center; }

  /* The question text is an anonymous flex item and grows to fill the
     row, so the toggle is pinned to keep it in the same place. */
  .qa__q {
    display: block;
    position: relative;
    padding-right: 1.75rem;
  }

  .qa__sign {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  /* Its right padding cleared the toggle; symmetric now that it centres. */
  .qa__a { padding-right: 0; }

  /* The score card stays a product visual: its rows are label-left /
     value-right pairs that centring would pull apart. */
  .card { text-align: left; }

  /* This title carries a hard <br>, so at the shared --fs-h2 its two
     lines each wrap again on a phone and it lands in four. Sizing it to
     the viewport keeps the break where it was written. */
  .inset__title { font-size: clamp(29px, 8vw, 42px); }

  .quotes,
  .flow,
  .facts { grid-template-columns: 1fr; }

  .facts .fact:first-child { border-top: 1px solid var(--rule); }

  .entry { grid-template-columns: 1fr; gap: 0.5rem; }

  .entry__num { font-size: var(--fs-micro); letter-spacing: 0.1em; }

  .closer__actions .action { width: 100%; justify-content: center; }

  /* The footer centres with everything else on a phone; its rows stack
     so the label sits over its links rather than beside them. */
  .foot { text-align: center; }

  .foot__mark { margin-left: auto; margin-right: auto; }

  .foot__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: clamp(18px, 1.5rem, 26px) 0;
  }

  .foot__links {
    justify-content: center;
    gap: 0.625rem 1.25rem;
  }

  /* Centred and wrapping, a leading middot lands at the start of the
     next line. The wider gap separates the items on its own. */
  .foot__links li + li::before { content: none; }

  .foot__fine { margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .action,
  .link::after,
  .qa__sign::before,
  .qa__sign::after,
  .proof__logo { transition: none; }

  .action:hover { transform: none; }

  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }

  /* The footer mark starts hidden, waiting on IntersectionObserver, so
     reduced motion must force the settled look rather than just
     cancelling the animation. */
  .foot__mark .logo-part { animation: none; opacity: 1; transform: none; }
}

/* ==================================================== page-head */

/* ------------------------------------------------------------------
   The dark app band carrying an inner page's title. Uses --pad-x and
   --maxw so the title aligns with the content below it.
   ------------------------------------------------------------------ */

.appbar {
  padding: 8.25rem var(--pad-x) clamp(2.5rem, 3.25rem, 3.5rem);
}

.appbar__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  color: var(--on-dark);
  /* .appbar applies --pad-x, but --maxw centres inside that padded box.
     Repeating the gutter here (border-box, inside --maxw) lines the
     title up with the content column. */
  padding: 0 var(--pad-x);
}

.appbar__copy {
  max-width: 44rem;
}

.appbar__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.appbar__lede {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--lede-muted);
}

@media (max-width: 720px) {
  .appbar {
    padding: 6.5rem var(--pad-x) 2.5rem;
  }
  .appbar__head {
    flex-direction: column;
    gap: 1.25rem;
  }
  .appbar__lede {
    font-size: var(--fs-small);
  }
}

/* Bands carrying a .pagehead instead of .appbar__head. .pagehead
   brings its own padding and the article header image rises into the
   band, so these keep zero bottom padding. */
.appbar.appbar--pagehead {
  padding: 8.25rem var(--pad-x, 2rem) 0;
  /* The masthead was drawn at the browser's default leading, before
     the base rules set the body to 1.6. */
  line-height: normal;
}

/* ------------------------------------------------------------------
   Document pages — articles and legal, <body class="home doc">. They
   want the browser's default leading and sans headings, the opposite
   of the base rules, so this restores it for those pages only.

   :where() keeps the heading rule at zero specificity: it wins on
   order but loses to any class rule, so .legal__h and .prose h2 keep
   their serif.
   ------------------------------------------------------------------ */
/* main only — the nav and footer stay identical on every page. */
body.doc main { line-height: normal; }

:where(.doc) h2,
:where(.doc) h3,
:where(.doc) h4 {
  font-family: var(--font-sans);
  line-height: normal;
}

/* =============================================== refresh language */

/* ==================================================================
   THE REFRESH LANGUAGE

   Everything below is prefixed glr- and scoped to <body class="glr">,
   so it cannot leak into a non-refresh page.

   Prose version: documentation/GL-REFRESH-DESIGN.md.
   ================================================================== */

.glr {
  /* ---- palette. Blue means "click here" and nothing else, with one
     exception: the end of the hero headline. Headings, labels, icons
     and step numbers are navy; paragraphs a deep slate. */
  --glr-navy: #10214f;         /* deep navy: headings, labels, icons, panels */
  --glr-ink: #20304c;
  --glr-muted: #334155;        /* paragraphs: deep slate, 10:1 on white */
  --glr-blue: #1a56e8;         /* the buttons, and the hero headline's accent */
  --glr-blue-hover: #1447c9;   /* darker, for hover */
  --glr-tint: #eef2f7;         /* icon and check-mark badges */
  --glr-slate-light: #c7d3e4;  /* labels on the navy panels */
  --glr-line: #dfe6ed;
  --glr-soft: #f5f8fa;
  --glr-gold: #f7b51d;
  --glr-on-dark: #dbe3ef;      /* text on the navy panels */

  --glr-wrap: 1180px;
  --glr-radius: 20px;
  --glr-shadow: 0 10px 32px rgba(16, 39, 70, 0.06);
  --glr-settle: cubic-bezier(0.22, 0.61, 0.36, 1);   /* things easing back to rest */
  --glr-section-y: clamp(64px, 6.5rem, 112px);

  background: #fff;
  color: var(--glr-ink);
}

.glr-wrap {
  width: 100%;
  max-width: var(--glr-wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 32px);
}

.glr-skip {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--glr-navy);
  color: #fff;
  font-size: var(--fs-small);
}

.glr-skip:focus { top: 12px; }

.glr :focus-visible { outline: 2px solid var(--glr-navy); outline-offset: 3px; }

/* =========================================================== type */

/* EB Garamond carries every headline; the navy and
   the scale are the prototype's. Garamond ships one weight (400), so
   size does the work the prototype's heavy Arial did. */
.glr-h1,
.glr-h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--glr-navy);
  letter-spacing: -0.015em;
}

.glr-h1 {
  font-size: clamp(44px, 4.75rem, 80px);
  line-height: 1;
}

@media (max-width: 600px) {
  .glr-h1 { font-size: clamp(32px, 9.5vw, 40px); }
}

/* The one place blue appears that is not a button: the end of the
   hero headline, in the buttons' own blue. */
.glr-h1 em { font-style: normal; color: var(--glr-blue); }

/* The accent phrase breaks as a unit ("auto refinancing." together),
   never across lines. Not on phones: there the phrase is wider than the
   screen and has to wrap. */
@media (min-width: 601px) {
  .glr-h1 em { white-space: nowrap; }
}

.glr-h2 {
  margin-top: 0.6rem;
  font-size: clamp(34px, 3.25rem, 54px);
  line-height: 1.05;
}

/* Phones: below the h1 (29px vs 37px at 390 wide). */
@media (max-width: 600px) {
  .glr-h2 { font-size: clamp(26px, 7.5vw, 32px); }
}

.glr-h2--on-dark { color: #fff; }

/* Card and step titles: Inter, like the prototype's small headings. */
.glr-h3 {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.2rem, 21px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--glr-navy);
}

.glr-eyebrow,
.glr-kicker {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glr-navy);
}

.glr-kicker--on-dark { color: var(--glr-slate-light); }

.glr-lead {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--glr-muted);
}

.glr-sub {
  margin-top: 1rem;
  max-width: 40rem;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-muted);
}

/* ======================================================== buttons */

.glr-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding: 0.95rem 1.6rem;
  /* Mostly an <a>, but a <button> on the forms and the search, and a
     button keeps the browser's own border unless it is cleared. */
  border: 0;
  border-radius: 999px;
  background: var(--glr-blue);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(26, 86, 232, 0.24);
  transition: background 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease);
}

.glr-btn:hover {
  background: var(--glr-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(26, 86, 232, 0.3);
}

.glr-btn:active { transform: none; }

.glr-arrow { transition: transform 160ms var(--ease); }
.glr-btn:hover .glr-arrow { transform: translateX(3px); }

/* A quieter second button. Not on the reference page at present (one
   solid Get My Rate per section is enough there), kept for pages that
   need two actions side by side. */
.glr-btn--ghost {
  background: transparent;
  color: var(--glr-blue);
  box-shadow: inset 0 0 0 1.5px var(--glr-blue);
}

.glr-btn--ghost:hover { background: var(--glr-blue); color: #fff; box-shadow: 0 12px 28px rgba(26, 86, 232, 0.3); }

/* ============================================================ nav --
   Fixed over the top of the page, white, rounded bottom corners. Only
   what differs from the base .nav rules is set here. */

/* The Gravity Lending logo (assets/images/glr-gravitylending-logo.svg) is
   a wide lockup (226 × 32), not the square G1 mark .nav__logo is
   sized for. Height is the one knob; the width follows. */
.gl-nav .gl-nav__logo {
  aspect-ratio: auto;
  height: 1.875rem;
}

.gl-nav .gl-nav__logo img { width: auto; height: 100%; max-width: none; }

/* The page you are on. */
.gl-nav .chip[aria-current="page"] {
  background: rgba(23, 41, 92, 0.1);
  box-shadow: inset 0 0 0 1px rgba(23, 41, 92, 0.16);
  color: var(--glr-navy);
}

/* One pill that slides between the chips. Positioned by site.js. */

.nav__marker {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 0;
  width: 0;          /* site.js sets width and the x-offset */
  height: 2.625rem;
  border-radius: 0.75rem;
  background: rgba(23, 41, 92, 0.1);
  box-shadow: inset 0 0 0 1px rgba(23, 41, 92, 0.16);
  transform: translate(0, -50%);
  opacity: 0;
  pointer-events: none;
  transition: transform 320ms var(--glr-settle),
              width 320ms var(--glr-settle),
              opacity 180ms ease;
}

.nav__marker.is-on { opacity: 1; }

/* Chips ride over the marker and drop their own fills. */
.chip--flat { position: relative; z-index: 1; }

.chip.chip--flat,
.chip.chip--flat:hover,
.chip.chip--flat[aria-current="page"] {
  background: transparent;
  box-shadow: none;
}

.gl-nav .gl-nav__logo img { transition: transform 420ms var(--glr-settle); }

.gl-nav .gl-nav__logo:hover img,
.gl-nav .gl-nav__logo:focus-visible img { transform: translate(2px, -2px); }

/* Get My Rate is not restyled — it reuses .nav .btn--nav above: the
   app blue, white text. */

/* Phones and small tablets: the bar shrinks to 3.5rem here,
   which made this one, with its wide logo, read too small. It keeps
   its desktop height (4.25rem) and a full-size logo and menu button. */
@media (max-width: 900px) {
  .gl-nav.nav { height: 4.25rem; }
  .gl-nav .gl-nav__logo { height: 2rem; }
  .gl-nav .navmenu__toggle { width: 3rem; height: 3rem; border-radius: 0.875rem; }
  .gl-nav .navmenu__bars { transform: scale(1.12); }
}

/* The narrowest phones (320px): a touch smaller, so it all still fits. */
@media (max-width: 350px) {
  .gl-nav .gl-nav__logo { height: 1.75rem; }
}

/* Phones: the page's sticky Get My Rate button (bottom of the screen)
   takes over from the bar's, which would not fit beside the logo. */
@media (max-width: 600px) {
  .gl-nav .btn--nav { display: none; }
}

/* ========================================================== hero */

.glr-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 44rem, 720px);
  overflow: hidden;
  background: #fff;
}

/* Hero <picture>s only pick the phone crop; the img keeps the layout. */
.glr-pic { display: contents; }

/* The photo sits right and fades in from the left, keeping the
   headline on clean white. It is portrait at 1300 × 1701, about 2× its
   displayed size, so it stays sharp on high-density screens.
   object-position keeps the subject in frame as the box reshapes. */
.glr-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
  /* The photo's own left edge fades out into the white, so there is
     never a seam, whatever the screen width. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}

.glr-hero .glr-wrap { position: relative; z-index: 1; }

/* The bar (4.25rem) floats over the top of the hero, so the copy
   starts below it; the photo runs up behind it. */
.glr-hero__copy { max-width: 620px; padding: calc(4.25rem + 64px) 0 72px; }
.glr-hero__copy .glr-h1 { margin-top: 1rem; }

/* The hero's short claims, rotated one at a time by gl-process.js
   ([data-trust]). Without the script they are simply listed. */
/* The dots sit under the claim, lined up with its start (beside it,
   they would sit wherever the longest claim ends). */
.glr-trust {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.glr-trust__dots { padding-left: 1.1rem; }

.glr-trust__list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glr-trust__item {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.75rem;
  padding: 0.55rem 1.25rem 0.55rem 0.55rem;
  border: 1px solid var(--glr-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(16, 39, 70, 0.08);
  font-size: clamp(16px, 1.05rem, 18px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--glr-navy);
  white-space: nowrap;
}

.glr-trust__item .glr-check { width: 34px; height: 34px; background: var(--glr-navy); color: #fff; }
.glr-trust__item .glr-check svg { width: 16px; height: 16px; }

/* One at a time: all three share one spot (so the dots never move),
   and only the current one shows. */
.glr-trust.is-ready .glr-trust__item {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 550ms var(--glr-settle);
}

.glr-trust.is-ready .glr-trust__item.is-active {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease 220ms, transform 600ms var(--glr-settle) 220ms;   /* the next waits for the last to lift away */
}

.glr-trust.is-ready .glr-trust__item.is-leaving { transform: translateY(-12px); }

.glr-trust__dots { display: flex; align-items: center; gap: 6px; }

.glr-trust__dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c9d4e5;
  cursor: pointer;
  transition: background-color 250ms ease;
}

/* A bigger target than it looks. */
.glr-trust__dot::before { content: ''; position: absolute; inset: -10px -4px; }

.glr-trust__dot.is-active { background: var(--glr-navy); }

.glr-trust__dot:focus-visible { outline: 2px solid var(--glr-navy); outline-offset: 4px; }

/* ======================================================= sections */

.glr-section { padding: var(--glr-section-y) 0; }
.glr-section--soft { background: var(--glr-soft); }

.glr-head { margin-bottom: clamp(32px, 3rem, 52px); }

.glr-head--center {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.glr-head--center .glr-sub { margin-left: auto; margin-right: auto; }

/* A centred heading wraps into even lines, never one word alone. */
.glr-head--center .glr-h2 { text-wrap: balance; }

.glr-grid { display: grid; gap: 20px; }
.glr-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.glr-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.glr-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.glr-card {
  padding: clamp(22px, 1.75rem, 30px);
  border: 1px solid var(--glr-line);
  border-radius: var(--glr-radius);
  background: #fff;
  box-shadow: var(--glr-shadow);
}

.glr-card__copy {
  margin-top: 0.65rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--glr-muted);
}

/* Icon cards: a navy badge with a white icon, a title, a line or two.
   Check marks stay pale — they support text rather than lead a card. */
.glr-feature { padding: clamp(24px, 2rem, 32px) clamp(22px, 1.75rem, 28px); }

/* A card that ends in a link to its own page (Products). The link is
   pushed to the bottom edge so the four line up whatever their copy. */
.glr-card--linked { display: flex; flex-direction: column; }

.glr-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.35rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--glr-blue);
}

.glr-card__more:hover .glr-arrow { transform: translateX(3px); }

/* A card that is a link whole (the 404's helpful links). */
.glr-card--link {
  display: block;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease);
}

.glr-card--link:hover {
  border-color: #c3cedb;
  box-shadow: 0 16px 40px rgba(16, 39, 70, 0.1);
  transform: translateY(-2px);
}

.glr-feature__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 33, 79, 0.18);
}

/* A touch heavier than the markup's 1.75, so the white line holds up
   on the dark circle. */
.glr-feature__icon svg { width: 26px; height: 26px; stroke-width: 2; }

/* Two columns: copy one side, the list or photo the other. */
.glr-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

/* ================================================== the qualify panel */

.glr-panel {
  margin-top: 2rem;
  padding: clamp(26px, 2rem, 36px);
  border-radius: 24px;
  background: var(--glr-navy);
  color: #fff;
}

.glr-panel__title {
  font-size: clamp(26px, 1.9rem, 32px);
  color: #fff;
}

.glr-panel__copy {
  margin-top: 0.6rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--glr-on-dark);
}

.glr-panel .glr-btn { margin-top: 1.4rem; }

/* ========================================================= checks */

.glr-check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glr-tint);
  color: var(--glr-navy);
}

.glr-check svg { width: 18px; height: 18px; }

/* ======================================================== reasons */

/* UNUSED — no page renders this. Reasons on soft tiles, each with a
   navy icon badge; a tile turns white and lifts on hover. */
.glr-reasons { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }

.glr-reason {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  padding: 1.2rem 1.4rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 18px;
  background: var(--glr-soft);
  text-align: left;   /* also on phones, where other content centres */
  /* Letting go eases back slowly; the hover itself (below) is quicker. */
  transition: background-color 450ms var(--glr-settle), border-color 450ms var(--glr-settle),
              box-shadow 500ms var(--glr-settle), transform 500ms var(--glr-settle);
}

.glr-reason:hover {
  border-color: var(--glr-line);
  background: #fff;
  box-shadow: 0 16px 36px rgba(16, 39, 70, 0.1);
  transform: translateY(-2px);
  transition-duration: 260ms;
}

.glr-reason__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 33, 79, 0.18);
}

.glr-reason__icon svg { width: 22px; height: 22px; }

.glr-reason__title {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.1rem, 19px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--glr-navy);
}

.glr-reason__copy {
  margin-top: 0.35rem;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--glr-muted);
}

/* ====================================================== documents */


.glr-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--glr-ink);
}

.glr-list li { display: flex; align-items: center; gap: 0.75rem; }
.glr-list .glr-check { width: 28px; height: 28px; }
.glr-list .glr-check svg { width: 14px; height: 14px; }

/* ======================================================== reviews */

.glr-reviews {
  padding: clamp(36px, 4.5rem, 72px) clamp(22px, 4rem, 64px);
  border-radius: 28px;
  background: var(--glr-navy);
}

/* One featured review (template-parts/glr/reviews.php): the introduction on the
   left, the review on a white card on the right, a soft light in the
   panel's top corner behind it. */
.glr-reviews--feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  background: radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 60%), var(--glr-navy);
}

.glr-reviews--feature .glr-h2 { text-wrap: balance; }

.glr-reviews__copy {
  max-width: 32rem;
  margin-top: 1rem;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-on-dark);
}

.glr-quote {
  position: relative;
  margin: 0;
  padding: clamp(26px, 2.75rem, 44px);
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(4, 12, 34, 0.35);
  text-align: left;   /* also on phones, where other content centres */
}

/* A large pale quotation mark in the corner, behind the words. */
.glr-quote::before {
  content: '“';
  position: absolute;
  top: -0.12em;
  right: 0.2em;
  font-family: var(--font-serif);
  font-size: 180px;
  line-height: 1;
  color: var(--glr-tint);
  pointer-events: none;
}

.glr-quote__stars { position: relative; font-size: 1.2rem; }

.glr-quote__text { position: relative; margin: 0.9rem 0 0; }

.glr-quote__text p {
  font-family: var(--font-serif);
  font-size: clamp(24px, 1.85rem, 31px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--glr-navy);
}

.glr-quote__by {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--glr-line);
  font-size: var(--fs-small);
  color: var(--glr-navy);
}

.glr-quote__by strong { font-weight: 600; }

.glr-quote__initials {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.glr-quote__source { display: block; font-size: var(--fs-micro); color: var(--glr-muted); }

.glr-stars {
  color: var(--glr-gold);
  letter-spacing: 0.12em;
}

.glr-kicker .glr-stars { margin-right: 0.35rem; }

.glr-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.glr-review {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.glr-review .glr-stars { font-size: var(--fs-body); }

.glr-review__text { margin: 0.75rem 0 0; }

.glr-review__text p {
  font-size: var(--fs-small);
  line-height: 1.65;
  color: #fff;
}

.glr-review__by {
  margin-top: 1rem;
  font-size: var(--fs-micro);
  color: var(--glr-on-dark);
}

.glr-review__by strong { font-weight: 600; color: #fff; }

/* ------------------------------------------------------------ wall ---
   (Reviews) Every Google review as a white card on the soft ground. */

.glr-reviewwall__head { max-width: 46rem; }

.glr-reviewwall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.5rem, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.glr-reviewwall__item { display: flex; }

.glr-wallcard {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: clamp(22px, 2rem, 30px);
  border: 1px solid var(--glr-line);
  border-radius: var(--glr-radius);
  background: #fff;
  box-shadow: var(--glr-shadow);
  text-align: left;
}

.glr-wallcard__stars { font-size: var(--fs-body); }

.glr-wallcard__text {
  margin: 0.85rem 0 1.25rem;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-muted);
  overflow-wrap: anywhere;
}

.glr-wallcard__text p + p { margin-top: 0.75em; }

/* Long reviews: seven lines, faded, until "Read more" is ticked. */
.glr-wallcard--long .glr-wallcard__text {
  max-height: calc(7 * 1.6em);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 65%, transparent);
  mask-image: linear-gradient(#000 65%, transparent);
}

.glr-wallcard__toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  opacity: 0;
}

.glr-wallcard__toggle:checked ~ .glr-wallcard__text {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.glr-wallcard__more {
  align-self: flex-start;
  margin: -0.5rem 0 1.25rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--glr-navy);
  text-decoration: underline;
  text-decoration-color: var(--glr-line);
  text-underline-offset: 4px;
  cursor: pointer;
}

.glr-wallcard__more:hover { text-decoration-color: currentColor; }

.glr-wallcard__toggle:focus-visible ~ .glr-wallcard__more {
  outline: 2px solid var(--glr-navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.glr-wallcard__more-close,
.glr-wallcard__toggle:checked ~ .glr-wallcard__more .glr-wallcard__more-open { display: none; }
.glr-wallcard__toggle:checked ~ .glr-wallcard__more .glr-wallcard__more-close { display: inline; }

.glr-wallcard__by {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--glr-line);
  font-size: var(--fs-small);
  color: var(--glr-navy);
}

.glr-wallcard__by strong { font-weight: 600; }

/* The rating band: stars and a Google link beside the figure. */
.glr-band__stars { margin-bottom: 0.3rem; font-size: var(--fs-body); }

.glr-band__link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 4px;
}

.glr-band__link:hover { text-decoration-color: #fff; }
.glr-band__link:focus-visible { outline-color: #fff; }

@media (max-width: 1000px) {
  .glr-reviewwall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Two columns: an odd last card spans the row, with room for all of it. */
@media (min-width: 601px) and (max-width: 1000px) {
  .glr-reviewwall__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .glr-reviewwall__item:last-child:nth-child(odd) .glr-wallcard__text { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .glr-reviewwall__item:last-child:nth-child(odd) :is(.glr-wallcard__toggle, .glr-wallcard__more) { display: none; }
}

@media (max-width: 600px) {
  .glr-reviewwall { grid-template-columns: minmax(0, 1fr); }
}

/* ========================================================= closer */

.glr-closer { background: linear-gradient(135deg, #f7f9fb, #edf1f6); }
.glr-closer .glr-head { margin-bottom: 0; }

.glr-closer__phone {
  margin-top: 1.1rem;
  font-size: var(--fs-small);
  color: var(--glr-muted);
}

.glr-closer__phone a { font-weight: 600; color: var(--glr-navy); border-bottom: 1px solid rgba(23, 41, 92, 0.35); }

/* ========================================================= footer --
   Only the additions to the base .foot rules: the logo with the social
   icons beside it, and the disclaimers. */

.gl-foot__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.gl-foot__logo img { width: auto; height: 2.5rem; max-width: none; }   /* 226 × 32 */

.gl-foot__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.gl-foot__social {
  display: flex;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gl-foot__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  transition: background 160ms ease, color 160ms ease;
}

.gl-foot__social a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.gl-foot__social svg { width: 18px; height: 18px; }

/* Legal copy has to be readable, so it is a step brighter than
   the base fine print, which is a short line rather than paragraphs. */
.gl-foot__disclaimers p {
  max-width: 66rem;
  font-size: var(--fs-micro);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
}

.gl-foot__disclaimers p + p { margin-top: 0.85rem; }

.gl-foot__copy .foot__link { font-size: inherit; }

.gl-foot__test {
  margin-top: 0.5rem;
  font-size: var(--fs-eyebrow);
  color: rgba(255, 255, 255, 0.28);
}

.gl-foot a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* =====================================================================
   HOME PAGE LAYOUTS (home-refresh.php)
   ===================================================================== */

/* ---------------------------------------------------- showcase hero --
   Copy left; photo right in a rounded frame, two small white cards
   floating over its edges, on a soft gradient ground. */

.glr-showcase {
  position: relative;
  overflow: hidden;
  padding: calc(4.25rem + clamp(40px, 4rem, 72px)) 0 clamp(120px, 10rem, 168px);
  background: linear-gradient(180deg, #eef2f8 0%, #f7f9fc 55%, #fff 100%);
}

.glr-showcase::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -12%;
  width: min(60vw, 820px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16, 33, 79, 0.08), transparent);
  pointer-events: none;
}

.glr-showcase__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}

.glr-showcase__copy .glr-lead { max-width: 30rem; }

.glr-showcase__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 480px;
}

/* 1300px wide, shown at most 480: sharp on 2× screens. */
.glr-showcase__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 55% 30%;
  border-radius: 32px;
  box-shadow: 0 32px 64px rgba(16, 33, 79, 0.18);
}

/* --cutout: a cut-out image instead of a photo. Shown whole, no crop,
   frame or shadow, and multiplied into the gradient so its white ground
   disappears. Wider column, since it is landscape. */
.glr-showcase--cutout { padding-bottom: clamp(150px, 11.5rem, 200px); }
.glr-showcase--cutout .glr-showcase__inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.glr-showcase--cutout .glr-showcase__visual { max-width: 640px; margin-top: 2rem; }

.glr-showcase--cutout .glr-showcase__photo {
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
}

.glr-float {
  position: absolute;
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 12px 16px 13px;
  border: 1px solid var(--glr-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 33, 79, 0.14);
  text-align: left;
}

.glr-float__num {
  font-family: var(--font-serif);
  /* A badge over the photo, not a headline: a step down from the
     specialist bar's number, which shares the old size. */
  font-size: clamp(22px, 1.75rem, 29px);
  line-height: 1;
  color: var(--glr-navy);
  font-variant-numeric: tabular-nums;
}

.glr-float__num .glr-stars { font-size: 0.7em; letter-spacing: 0; vertical-align: 0.12em; }

.glr-float__label { font-size: var(--fs-micro); color: var(--glr-muted); white-space: nowrap; }

.glr-float--savings { left: -44px; bottom: 64px; }
.glr-float--rating { right: -28px; top: 44px; }

/* Over the cut-out: in the open space above the SUV, and just under
   the truck's front. */
.glr-showcase--cutout .glr-float--rating { right: 2%; top: -8px; }
.glr-showcase--cutout .glr-float--savings { left: -12px; bottom: -28px; }

/* ----------------------------------------------------- specialist bar --
   A white bar pulled up over the bottom of the hero: the phone number,
   the pitch, the button. */

.glr-bar-section {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(64px, 5rem, 88px));
  padding-bottom: clamp(56px, 5rem, 88px);
}

/* A hero with the bar below it (§6.2's hero, which fills its box, not
   the showcase, which ends in empty gradient): hold back exactly what
   the bar is pulled up by, or it covers the end of the copy — the
   trust rotator's dots. Only while the copy is beside the photo; once
   they stack the bar overlaps the photo instead (see the 860px block). */
.glr-hero--bar { padding-bottom: clamp(64px, 5rem, 88px); }

.glr-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem clamp(24px, 3vw, 48px);
  padding: clamp(20px, 1.75rem, 28px) clamp(22px, 2.25rem, 36px);
  border: 1px solid var(--glr-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(16, 33, 79, 0.12);
}

.glr-bar__contact { display: flex; align-items: center; gap: 1rem; }

.glr-bar__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
}

.glr-bar__icon svg { width: 22px; height: 22px; }

.glr-bar__phone {
  display: inline-block;
  margin-top: 0.2rem;
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.25rem, 38px);
  line-height: 1.05;
  color: var(--glr-navy);
  white-space: nowrap;   /* a phone number never breaks */
  font-variant-numeric: tabular-nums;
}

.glr-bar__phone:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.glr-bar__copy {
  max-width: 26rem;
  padding-left: clamp(24px, 3vw, 48px);
  border-left: 1px solid var(--glr-line);
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--glr-muted);
}

.glr-bar .glr-btn { margin-top: 0; white-space: nowrap; }

/* ---------------------------------------------------------- bento ---
   Tiles of two widths in a three-column grid, each leading with a
   figure. One navy tile gives the section its focal point. */

.glr-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.glr-tile {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(26px, 2.25rem, 40px);
  border: 1px solid var(--glr-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--glr-shadow);
}

.glr-tile--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
}

.glr-tile__figure {
  font-family: var(--font-serif);
  font-size: clamp(52px, 4.5rem, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--glr-navy);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.glr-tile__note {
  margin-top: 0.7rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glr-muted);
}

.glr-tile .glr-feature__icon { margin-bottom: 0; }

.glr-tile--navy {
  border-color: transparent;
  background: var(--glr-navy);
  box-shadow: 0 24px 48px rgba(16, 33, 79, 0.22);
}

.glr-tile--navy .glr-tile__figure,
.glr-tile--navy .glr-h3 { color: #fff; }

.glr-tile--navy .glr-tile__note,
.glr-tile--navy .glr-card__copy { color: var(--glr-on-dark); }

/* ----------------------------------------------------------- flow ---
   "Simple. Fast. Done.": three steps side by side, each under a rule
   with a short navy lead-in, numbered in the headline serif. */

.glr-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.glr-flow__step {
  position: relative;
  padding-top: 1.75rem;
  border-top: 2px solid var(--glr-line);
}

.glr-flow__step::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--glr-navy);
}

.glr-flow__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: clamp(44px, 3.5rem, 60px);
  line-height: 1;
  color: var(--glr-navy);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------- proof ---
   The 18% stat and the reviews on one navy band, edge to edge. */

.glr-proof {
  padding: var(--glr-section-y) 0;
  background: var(--glr-navy);
}

.glr-proof__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 3rem;
  margin-bottom: clamp(32px, 3rem, 52px);
}

.glr-proof__stat {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding-left: clamp(20px, 2.5vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.glr-proof__num {
  font-family: var(--font-serif);
  font-size: clamp(64px, 6rem, 104px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.glr-proof__text {
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.4;
  color: var(--glr-on-dark);
}

/* =====================================================================
   PRODUCT PAGES

   The four products share a hero and pick their own layouts below it.
   ===================================================================== */

/* ----------------------------------------------------- product hero --
   Centred type on a soft ground, under a pill naming the product. */

.glr-product-hero {
  position: relative;
  padding: calc(4.25rem + clamp(56px, 5.5rem, 96px)) 0 clamp(64px, 6rem, 104px);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, #e7edf7 0%, rgba(231, 237, 247, 0) 100%),
    linear-gradient(180deg, #f5f8fb 0%, #fff 100%);
  text-align: center;
}

.glr-product-hero__inner { max-width: 56rem; }
.glr-product-hero .glr-lead { margin-left: auto; margin-right: auto; max-width: 38rem; }

/* Some products have a long accent line ("Your loan doesn't have to
   suffer."), so here it may wrap — evenly, never leaving one word
   alone — rather than stay on one line and overflow. */
.glr-product-hero .glr-h1 em { display: block; white-space: normal; text-wrap: balance; }

/* With a photo (VSC): words left, photo right in a rounded portrait
   frame with a figure card over its lower-left corner. */
.glr-product-hero--photo { text-align: left; padding-bottom: clamp(72px, 7rem, 120px); }

.glr-product-hero--photo .glr-product-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  max-width: var(--glr-wrap);
}

.glr-product-hero--photo .glr-lead { margin-left: 0; }

.glr-product-hero__media {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  margin: 0;
}

.glr-product-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(16, 33, 79, 0.28);
  animation: glr-hero-photo-in 1200ms var(--glr-settle) both;
}

@keyframes glr-hero-photo-in {
  from { opacity: 0; transform: scale(1.04); }
  to   { opacity: 1; transform: none; }
}

.glr-product-hero__float {
  left: -40px;
  bottom: 44px;
  max-width: 15rem;
  animation: glr-hero-float-in 700ms var(--glr-settle) 500ms both;
}

.glr-product-hero__float .glr-float__label { white-space: normal; line-height: 1.4; }

@keyframes glr-hero-float-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Banner (GAP): a dark full-width hero. The photo fills the right,
   tinted by a luminosity blend over the navy ground, and fades into the
   navy on its left where the white words sit. */
.glr-product-hero--banner {
  overflow: hidden;
  min-height: clamp(560px, 42rem, 700px);
  display: flex;
  align-items: center;
  background: var(--glr-navy);
  color: #fff;
  text-align: left;
}

/* The photo starts where the words end — content edge plus the 34rem
   text column and some air — so at any width the words sit on plain
   navy and the photo fades in beyond them. */
.glr-product-hero__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc(max(clamp(20px, 3vw, 32px), (100% - var(--glr-wrap)) / 2) + 34rem + 2rem);
  background: var(--glr-navy);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
}

.glr-product-hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: luminosity;
  opacity: 0.85;
  animation: glr-hero-pushback 2400ms var(--glr-settle) both;
}

/* A soft darkening along the bottom, so the hero settles into the page. */
.glr-product-hero__backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 33, 79, 0) 60%, rgba(16, 33, 79, 0.55) 100%);
}

@keyframes glr-hero-pushback {
  from { transform: scale(1.12); opacity: 0; }
  to   { transform: none; opacity: 0.85; }
}

.glr-product-hero--banner .glr-product-hero__inner { position: relative; max-width: var(--glr-wrap); width: 100%; }
.glr-product-hero--banner .glr-product-hero__inner > * { max-width: 34rem; }
.glr-product-hero--banner .glr-h1 { color: #fff; }

/* Blue would not read on navy; the accent takes the pale blue-grey the
   other navy panels use for their labels. */
.glr-product-hero--banner .glr-h1 em { color: var(--glr-slate-light); }
.glr-product-hero--banner .glr-lead { margin-left: 0; color: var(--glr-on-dark); }
.glr-product-hero--banner .glr-btn:focus-visible { outline-color: #fff; }

/* Bleed (VDP): two halves. The photo fills the left edge to edge, up
   under the nav, with one rounded corner bottom right; the words sit
   right, on the page's content edge. */
.glr-product-hero--bleed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(600px, 44rem, 720px);
  padding: 0;
  text-align: left;
}

.glr-product-hero__bleed {
  position: relative;
  overflow: hidden;
  border-bottom-right-radius: 40px;
  animation: glr-hero-wipe 1100ms var(--glr-settle) both;
}

.glr-product-hero__bleed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: glr-hero-settle 1600ms var(--glr-settle) both;
}

@keyframes glr-hero-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}

@keyframes glr-hero-settle {
  from { transform: scale(1.08); }
  to   { transform: none; }
}

/* The words: the right half, from a little past the middle to the
   content's right edge (the wrap's margin, or the gutter). */
.glr-product-hero--bleed .glr-product-hero__inner {
  align-self: center;
  max-width: none;
  margin: 0;
  padding: calc(4.25rem + 48px) max(clamp(20px, 3vw, 32px), (100vw - var(--glr-wrap)) / 2) 64px clamp(40px, 5vw, 88px);
}

.glr-product-hero--bleed .glr-product-hero__inner > * { max-width: 32rem; }
.glr-product-hero--bleed .glr-lead { margin-left: 0; }

/* Arch (Vehicle Protection Plan): the photo layout's two columns, the
   photo in an arch. As the page opens a band of light sweeps down it
   once. */
.glr-product-hero__arch {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 440px;
  margin: 0;
  animation: glr-hero-photo-in 1000ms var(--glr-settle) both;
}

.glr-product-hero__arch-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  /* A semicircle on top (half the width across, which on a 4:5 frame
     is 40% of the height down), softly rounded at the foot. */
  border-radius: 50% 50% 28px 28px / 40% 40% 28px 28px;
  box-shadow: 0 30px 70px rgba(16, 33, 79, 0.25);
}

.glr-product-hero__arch-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The scan: a soft band of pale light with a bright edge, crossing top
   to bottom once (--scan-time), then gone. */
.glr-product-hero__arch {
  --scan-start: 500ms;
  --scan-time: 1600ms;
}

.glr-product-hero__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 22%;
  background: linear-gradient(180deg, rgba(219, 227, 239, 0) 0%, rgba(219, 227, 239, 0.28) 80%, rgba(255, 255, 255, 0.85) 98%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transform: translateY(-100%);
  animation: glr-scan var(--scan-time) cubic-bezier(0.45, 0, 0.55, 1) var(--scan-start) both;
  pointer-events: none;
}

@keyframes glr-scan {
  0%   { opacity: 0; transform: translateY(-100%); }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(455%); }
}

.glr-product-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem 0.4rem 0.45rem;
  border: 1px solid var(--glr-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(16, 33, 79, 0.06);
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--glr-navy);
}

.glr-product-pill__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
}

.glr-product-pill__icon svg { width: 15px; height: 15px; }

/* ----------------------------------------------------------- intro ---
   An editorial opening: the headline on the left, the explanation at
   reading size on the right. */

.glr-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.glr-intro__body { padding-top: 2rem; }

.glr-intro__body p {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--glr-muted);
}

/* A section that follows another without its own top padding, so a
   panel sits close under the section before it. */
.glr-section--flush-top { padding-top: 0; }

/* -------------------------------------------------------- criteria ---
   "Is it right for you?": a navy panel, the question on the left and
   the conditions as a checklist on the right. */

.glr-criteria {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(32px, 4rem, 64px);
  border-radius: 28px;
  background: var(--glr-navy);
}

.glr-criteria__head .glr-h2 { margin-top: 0; }

.glr-criteria__sub {
  margin-top: 0.8rem;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--glr-on-dark);
}

.glr-criteria__list { margin: 0; padding: 0; list-style: none; }

.glr-criteria__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.45;
  color: #fff;
  text-align: left;
}

.glr-criteria__list li:first-child { padding-top: 0; }
.glr-criteria__list li:last-child { padding-bottom: 0; border-bottom: 0; }

/* The service name in a row (Lender Services). <strong> asks for 700,
   which Inter does not have and the browser would fake (§3). */
.glr-criteria__list strong { font-weight: 600; }

.glr-criteria__check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.glr-criteria__check svg { width: 18px; height: 18px; }

/* A split whose two sides centre on each other (text beside a figure). */
.glr-split--center { align-items: center; }

/* --------------------------------------------------------- diagram ---
   A simple drawn explanation (inline SVG) in a white card. Illustrative
   only — never figures that are not on the page. */

.glr-diagram {
  margin: 0;
  padding: clamp(24px, 2.5rem, 40px);
  border: 1px solid var(--glr-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--glr-shadow);
}

.glr-diagram svg { display: block; width: 100%; height: auto; }
.glr-diagram__ground { stroke: var(--glr-line); stroke-width: 2; }
.glr-diagram__owed { fill: var(--glr-navy); }
.glr-diagram__value { fill: #c9d4e5; }

.glr-diagram__gap {
  fill: rgba(16, 33, 79, 0.04);
  stroke: var(--glr-navy);
  stroke-width: 2;
  stroke-dasharray: 6 6;
}

.glr-diagram__bracket {
  fill: none;
  stroke: var(--glr-navy);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.glr-diagram__label {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  fill: var(--glr-navy);
  text-anchor: middle;
}

.glr-diagram__gap-label {
  font-family: var(--font-serif);
  font-size: 24px;
  fill: var(--glr-navy);
  text-anchor: middle;
}

.glr-diagram__caption {
  margin-top: 1rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--glr-navy);
  text-align: center;
}

/* ------------------------------------------------- out-of-pocket ---
   A warning, then a Without / With comparison. The warning is marked
   by its icon and words, not a colour (status is never colour alone). */

.glr-kicker--alert { display: inline-flex; align-items: center; gap: 0.5rem; }
.glr-kicker--alert svg { width: 16px; height: 16px; }

.glr-pocket__copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem clamp(24px, 3vw, 48px);
  margin-top: 1.5rem;
}

.glr-pocket__copy p {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--glr-muted);
}

.glr-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: clamp(32px, 3rem, 52px);
}

.glr-compare__card {
  padding: clamp(24px, 2rem, 32px);
  border: 1px solid var(--glr-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--glr-shadow);
}

.glr-compare__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--glr-tint);
  color: var(--glr-muted);
}

.glr-compare__mark svg { width: 20px; height: 20px; }

.glr-compare__card--with {
  border-color: transparent;
  background: var(--glr-navy);
  box-shadow: 0 24px 48px rgba(16, 33, 79, 0.22);
}

.glr-compare__card--with .glr-h3 { color: #fff; }
.glr-compare__card--with .glr-card__copy { color: var(--glr-on-dark); }
.glr-compare__card--with .glr-compare__mark { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ------------------------------------------------------------ band ---
   (Vehicle Debt Protection) One key figure on a full-width navy band
   between sections. */

.glr-band {
  padding: clamp(48px, 5rem, 88px) 0;
  background: var(--glr-navy);
  text-align: center;
}

.glr-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem clamp(24px, 3vw, 48px);
}

.glr-band__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.glr-band__icon svg { width: 28px; height: 28px; }

.glr-band__num {
  font-family: var(--font-serif);
  font-size: clamp(72px, 7.5rem, 128px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.glr-band__text {
  padding-left: clamp(20px, 2.5vw, 40px);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.45;
  color: var(--glr-on-dark);
  text-align: left;
}

/* ---------------------------------------------------------- policy ---
   (VDP) Terms set out as a policy document: a tilted white sheet over
   a second for depth, navy header with a shield, terms as ruled rows. */

.glr-policy {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 460px;
  padding: 18px 18px 0 0;
}

/* The sheet behind. */
.glr-policy::before {
  content: '';
  position: absolute;
  inset: 0 0 18px 18px;
  border: 1px solid var(--glr-line);
  border-radius: 22px;
  background: #eef2f7;
  transform: rotate(3deg);
}

.glr-policy__sheet {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glr-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(16, 33, 79, 0.16);
  transform: rotate(-1.5deg);
}

.glr-policy__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: var(--glr-navy);
  text-align: left;
}

.glr-policy__seal {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  color: #fff;
}

.glr-policy__seal svg { width: 24px; height: 24px; }

.glr-policy__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 1.9rem, 32px);
  line-height: 1.1;
  color: #fff;
}

.glr-policy__rows { margin: 0; padding: 0.5rem 1.75rem 1.5rem; }

.glr-policy__row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--glr-line);
  text-align: left;
}

.glr-policy__row:last-child { border-bottom: 0; }

.glr-policy__row dt {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--glr-muted);
}

.glr-policy__row dd {
  margin: 0;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.45;
  color: var(--glr-navy);
}

/* ------------------------------------------------ illustrations ---
   Drawn scenes in a .glr-diagram card (the umbrella, the car). Line
   art in the page's navy, rain in the pale grey-blue. */

.glr-illo__canopy { fill: var(--glr-navy); }

.glr-illo__pole {
  fill: none;
  stroke: var(--glr-navy);
  stroke-width: 5;
  stroke-linecap: round;
}

.glr-illo__rain path {
  fill: none;
  stroke: #b9c7dc;
  stroke-width: 3.5;
  stroke-linecap: round;
}

/* The drawn car (template-parts/glr/car-drawing.php). */
.glr-car__shadow { fill: rgba(16, 33, 79, 0.08); }
.glr-car__body { fill: var(--glr-navy); }
.glr-car__glass { fill: #c9d4e5; }
.glr-car__line { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 2.5; }
.glr-car__handle { fill: rgba(255, 255, 255, 0.55); }
.glr-car__lamp { fill: #e8eef7; }
.glr-car__tail { fill: #8d9fbd; }   /* the taillight: dimmer than the headlight */
.glr-car__arch { fill: #fff; }
.glr-car__tire { fill: #0a1536; }
.glr-car__rim { fill: #dfe6ed; }

/* ------------------------------------------------ numbered cards ---
   An icon card carrying a big serif number in its corner (01, 02 …). */

.glr-feature--numbered { position: relative; }

.glr-feature__num {
  position: absolute;
  top: clamp(20px, 1.75rem, 28px);
  right: clamp(22px, 1.75rem, 28px);
  font-family: var(--font-serif);
  font-size: clamp(30px, 2.5rem, 42px);
  line-height: 1;
  color: #d3dbe7;
  font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------- plan card --
   (Vehicle Protection Plan) A white card named after the plan, listing
   what it offers — like a product spec sheet beside the explanation. */

.glr-plancard {
  justify-self: center;
  width: 100%;
  max-width: 440px;
  padding: clamp(26px, 2.5rem, 40px);
  border: 1px solid var(--glr-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(16, 33, 79, 0.12);
  text-align: left;
}

.glr-plancard__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--glr-line);
}

.glr-plancard__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
}

.glr-plancard__icon svg { width: 22px; height: 22px; }

.glr-plancard__name {
  font-family: var(--font-serif);
  font-size: clamp(26px, 1.9rem, 32px);
  line-height: 1.1;
  color: var(--glr-navy);
}

.glr-plancard__list { margin-top: 1.25rem; gap: 1rem; font-size: var(--fs-body); }
.glr-plancard__list .glr-check { width: 32px; height: 32px; }
.glr-plancard__list .glr-check svg { width: 16px; height: 16px; }

/* ------------------------------------------------------- photo map --
   (VPP) A photo with numbered pins, each placed by percentage so it
   holds its spot at any width. */

.glr-photomap {
  max-width: 900px;
  margin: 0 auto clamp(28px, 2.5rem, 44px);
  padding-top: clamp(16px, 2rem, 32px);
  overflow: hidden;
  border: 1px solid var(--glr-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--glr-shadow);
}

/* The photo and its pins share this box, so the pins' percentages are
   of the photo alone (not the card's padding). */
.glr-photomap__stage { position: relative; }
.glr-photomap__img { display: block; width: 100%; height: auto; }

.glr-photomap__pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2.5px solid var(--glr-navy);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.55), 0 6px 14px rgba(16, 33, 79, 0.3);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--glr-navy);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 320ms cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 240ms var(--ease), color 240ms var(--ease),
              opacity 320ms var(--ease), box-shadow 320ms var(--ease);
}

.glr-photomap__pin:hover { transform: translate(-50%, -50%) scale(1.12); }
.glr-photomap__pin:focus-visible { outline: 2px solid var(--glr-navy); outline-offset: 4px; }

/* A soft ring that pulses out from the chosen pin. */
.glr-photomap__pin::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--glr-navy);
  opacity: 0;
  pointer-events: none;
}

.glr-photomap__hint {
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--glr-line);
  font-size: var(--fs-micro);
  font-weight: 500;
  color: var(--glr-muted);
  text-align: center;
}

.glr-photomap__hint-touch { display: none; }

@media (hover: none) {
  .glr-photomap__hint-hover { display: none; }
  .glr-photomap__hint-touch { display: inline; }
}

/* ------------------------------------------- photo map spotlight ---
   Driven by gl-photomap.js. Choosing a pin crossfades the six cards
   for a panel holding just that one; the script animates the height of
   .glr-photomap__cards so the page below glides.

   The hidden layer is position:absolute, so the area's height is
   always the visible layer's. */

.glr-photomap__cards {
  --glr-fade-out: 200ms;
  --glr-fade-in: 420ms;
  --glr-fade-wait: 150ms;   /* the incoming layer waits for the outgoing one */
  --glr-glide: cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  /* Room for the cards' shadows when the script clips this area
     during its height animation; the margin gives the space back. */
  padding-bottom: 56px;
  margin-bottom: -56px;
}

/* The six cards. Fading back in, they wait for the panel to clear,
   then rise a few pixels as they come. */
.glr-hcards {
  transition: opacity var(--glr-fade-in) var(--glr-glide) var(--glr-fade-wait),
              transform var(--glr-fade-in) var(--glr-glide) var(--glr-fade-wait),
              visibility 0s linear 0s;
}

.glr-photomap-group.is-spotlight .glr-hcards {
  position: absolute;
  inset: 0 0 auto;
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--glr-fade-out) ease-out,
              transform var(--glr-fade-out) ease-out,
              visibility 0s linear var(--glr-fade-out);
}

/* The panel holding the chosen card. */
.glr-photomap__detail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-width: 760px;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  visibility: hidden;
  transition: opacity var(--glr-fade-out) ease-out,
              transform var(--glr-fade-out) ease-out,
              visibility 0s linear var(--glr-fade-out);
}

.glr-photomap-group.is-spotlight .glr-photomap__detail {
  position: relative;
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity var(--glr-fade-in) var(--glr-glide) var(--glr-fade-wait),
              transform var(--glr-fade-in) var(--glr-glide) var(--glr-fade-wait),
              visibility 0s linear 0s;
}

.glr-photomap__detail .glr-hcard {
  border-color: var(--glr-navy);
  box-shadow: 0 0 0 1px var(--glr-navy), 0 24px 52px rgba(16, 33, 79, 0.16);
}

/* Moving from one pin to the next: the old card fades out on top
   while the new one fades in beneath it. */
@keyframes glr-detail-out { to { opacity: 0; } }
@keyframes glr-detail-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.glr-photomap__detail .glr-hcard.is-leaving {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  animation: glr-detail-out 180ms ease-out forwards;
}

.glr-photomap__detail .glr-hcard.is-entering {
  animation: glr-detail-in 360ms var(--glr-glide) 60ms both;
}

/* The claims strip sits over the fading cards as the area shrinks. */
.glr-photomap-group + .glr-claims { position: relative; z-index: 1; }

.glr-photomap-group.is-spotlight .glr-photomap__pin,
.glr-photomap-group.is-lit .glr-photomap__pin {
  opacity: 0.75;
  transform: translate(-50%, -50%) scale(0.88);
}

.glr-photomap-group .glr-photomap__pin.is-active,
.glr-photomap-group .glr-photomap__pin.is-lit {
  opacity: 1;
  background: var(--glr-navy);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.22);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.75), 0 10px 24px rgba(16, 33, 79, 0.4);
}

.glr-photomap__pin.is-active::after { animation: glr-pin-pulse 1.6s var(--ease) infinite; }

@keyframes glr-pin-pulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.9); }
}

/* ----------------------------------------------------------- hcards --
   (Vehicle Protection Plan) Coverage cards with the icon beside the
   text rather than above it — suits a longer list — in two columns. */

.glr-hcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.glr-hcard {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  padding: clamp(22px, 1.75rem, 30px);
  border: 1px solid var(--glr-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--glr-shadow);
}

.glr-hcard .glr-feature__icon { margin-bottom: 0; }
.glr-hcard .glr-card__copy { margin-top: 0.45rem; }

/* The number that ties a card to its pin on the car diagram. */
.glr-hcard__num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 0.55rem;
  border: 2px solid var(--glr-navy);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  vertical-align: 0.15em;
}

/* ----------------------------------------------------------- claims --
   (Vehicle Protection Plan) A phone line on its own strip. */

.glr-claims {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  width: fit-content;
  max-width: 100%;
  margin: clamp(28px, 2.5rem, 44px) auto 0;
  padding: 0.85rem 1.5rem 0.85rem 0.85rem;
  border-radius: 999px;
  background: var(--glr-navy);
  color: #fff;
}

.glr-claims__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.glr-claims__icon svg { width: 18px; height: 18px; }

.glr-claims__label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glr-on-dark);
}

.glr-claims__number {
  font-family: var(--font-serif);
  font-size: clamp(24px, 1.75rem, 30px);
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.glr-claims__number:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.glr-claims__number:focus-visible { outline-color: #fff; }

/* ------------------------------------------------------------- road --
   (VSC) The pale near stretch is the manufacturer's warranty, the navy
   stretch beyond the sign the VSC. Left of the text on desktop
   (.glr-split--flip), under it on phones. */

@media (min-width: 861px) {
  .glr-split--flip > :first-child { order: 2; }
}

.glr-road__sun { fill: var(--glr-tint); }
.glr-road__hills { fill: #e3e9f2; }
.glr-road__ground { fill: var(--glr-soft); }
.glr-road__near { fill: #c9d4e5; }
.glr-road__far { fill: var(--glr-navy); }
.glr-road__line { stroke: #fff; stroke-width: 3; }
.glr-road__dash { fill: #fff; }
.glr-road__posts,
.glr-road__signpost,
.glr-road__sign { fill: var(--glr-navy); }

.glr-road__sign-text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-anchor: middle;
  fill: #fff;
}

.glr-road__halo { fill: var(--glr-tint); }
.glr-road__shield-body { fill: var(--glr-navy); }

.glr-road__shield-check {
  fill: none;
  stroke: #fff;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The shield drifts, gently, over the horizon. */
@keyframes glr-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-5px); }
}

.glr-road__shield { animation: glr-float 3.2s ease-in-out infinite alternate; }

.glr-road__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--glr-navy);
}

.glr-road__key {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.5rem;
  border-radius: 4px;
  vertical-align: -2px;
}

.glr-road__key--near { background: #c9d4e5; }
.glr-road__key--far { background: var(--glr-navy); }

/* ----------------------------------------------------------- ledger --
   (VSC) Cost figures as ruled rows on a white card: the figure in the
   serif, what it means, and an icon. */

.glr-ledger {
  margin: 0;
  padding: 0.5rem clamp(22px, 2rem, 36px);
  border: 1px solid var(--glr-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--glr-shadow);
}

.glr-ledger__row {
  display: grid;
  grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.6rem 0;
}

.glr-ledger__row + .glr-ledger__row { border-top: 1px solid var(--glr-line); }

.glr-ledger__figure {
  font-family: var(--font-serif);
  font-size: clamp(42px, 3.5rem, 58px);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--glr-navy);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.glr-ledger__label {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--glr-muted);
}

.glr-ledger__mark { margin: 0; }

.glr-ledger__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glr-tint);
  color: var(--glr-navy);
}

.glr-ledger__icon svg { width: 22px; height: 22px; }

.glr-people { display: flex; gap: 4px; }
.glr-people svg { width: 20px; height: 27px; fill: #c9d4e5; }
.glr-people svg.is-on { fill: var(--glr-navy); }

/* As the row arrives, the one person in three steps forward. */
@keyframes glr-person-in {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.glr-ledger__row.is-in .glr-people svg.is-on {
  transform-origin: 50% 100%;
  animation: glr-person-in 600ms var(--ease) 500ms both;
}

/* The answer, centred under both columns. */
.glr-answer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  max-width: 820px;
  margin: clamp(40px, 4rem, 64px) auto 0;
  padding: clamp(22px, 2rem, 34px);
  border: 1px solid var(--glr-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--glr-shadow);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-ink);
  text-align: left;   /* also on phones, where other content centres */
}

.glr-answer .glr-feature__icon { margin: 0; }

/* ------------------------------------------------------------ perks --
   (VSC) Thirteen perks as icon tiles, three across. The first and last
   are navy tiles two columns wide, which makes thirteen fill five
   rows. */

.glr-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glr-perk {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;   /* also on phones, where other content centres */
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--glr-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--glr-shadow);
  /* Letting go eases back slowly; the hover itself (below) is quicker. */
  transition: transform 500ms var(--glr-settle), box-shadow 500ms var(--glr-settle), border-color 450ms var(--glr-settle);
}

.glr-perk:hover {
  transform: translateY(-2px);
  border-color: #c9d4e5;
  box-shadow: 0 16px 36px rgba(16, 39, 70, 0.1);
  transition-duration: 260ms;
}

.glr-perk__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
}

.glr-perk__icon svg { width: 21px; height: 21px; }

.glr-perk__label {
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.35;
  color: var(--glr-navy);
}

.glr-perk--feature {
  grid-column: span 2;
  gap: 1.25rem;
  padding: 1.6rem 1.75rem;
  border-color: var(--glr-navy);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 55%), var(--glr-navy);
}

.glr-perk--feature:hover { border-color: var(--glr-navy); box-shadow: 0 18px 40px rgba(16, 33, 79, 0.25); }

.glr-perk--feature .glr-perk__icon { width: 56px; height: 56px; background: #fff; color: var(--glr-navy); }
.glr-perk--feature .glr-perk__icon svg { width: 26px; height: 26px; }

.glr-perk--feature .glr-perk__label {
  font-family: var(--font-serif);
  font-size: clamp(24px, 1.75rem, 30px);
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
}

/* -------------------------------------------------------- exclusive --
   (Vehicle Service Contract) The members-only offer on a white card
   beside a seal: the kicker's words round a navy disc, turning slowly. */

.glr-exclusive {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(28px, 3.5rem, 56px);
  border: 1px solid var(--glr-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--glr-shadow);
}

.glr-seal { display: block; width: clamp(150px, 16vw, 210px); height: auto; }
.glr-seal__disc { fill: var(--glr-navy); }
.glr-seal__rim { fill: none; stroke: rgba(255, 255, 255, 0.25); stroke-width: 1.5; }

.glr-seal__text {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: #fff;
}

@keyframes glr-spin { to { transform: rotate(360deg); } }

.glr-seal__ring {
  transform-box: view-box;
  transform-origin: 100px 100px;
  animation: glr-spin 40s linear infinite;
}

.glr-seal__shield { fill: #fff; }

.glr-seal__check {
  fill: none;
  stroke: var(--glr-navy);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------- explore --
   The savings explorer: four ways as tabs, and the loan drawn as a bar
   per month, current above and refinanced below.

   Each tab carries a shape (--months of 16 bars, --pay the bar height
   in %, --int the pale interest top in %); gl-explore.js copies it onto
   the refinanced row and the bars glide to it in turn. */

.glr-explore {
  display: grid;
  gap: clamp(20px, 2.25rem, 36px);
  padding: clamp(18px, 2.25rem, 36px);
  border: 1px solid var(--glr-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--glr-shadow);
}

.glr-explore__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }

.glr-explore__tab {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 0.8rem;
  border: 0;
  border-radius: 14px;
  background: transparent;
  font: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.3;
  color: var(--glr-navy);
  text-align: left;
  cursor: pointer;
  transition: background-color 250ms var(--ease), color 250ms var(--ease), box-shadow 250ms var(--ease);
}

.glr-explore__tab { background: var(--glr-soft); }
.glr-explore__tab:hover { background: var(--glr-tint); }

.glr-explore__tab.is-active {
  background: var(--glr-navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 33, 79, 0.2);
}

.glr-explore__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glr-tint);
  color: var(--glr-navy);
  transition: background-color 250ms var(--ease), color 250ms var(--ease);
}

.glr-explore__icon svg { width: 20px; height: 20px; }
.glr-explore__tab.is-active .glr-explore__icon { background: rgba(255, 255, 255, 0.14); color: #fff; }

.glr-explore__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
}

.glr-explore__icon { background: #fff; }

/* One explanation at a time once the script runs; without it, all four. */
.glr-explore.is-ready .glr-explore__panel:not(.is-active) { display: none; }
.glr-explore__panel + .glr-explore__panel { margin-top: 1rem; }
.glr-explore.is-ready .glr-explore__panel + .glr-explore__panel { margin-top: 0; }
.glr-explore__panel .glr-card__copy { font-size: var(--fs-body); }

@keyframes glr-panel-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.glr-explore.is-ready .glr-explore__panel.is-active { animation: glr-panel-in 360ms var(--ease) both; }

/* The drawing. */
.glr-bars {
  padding: 1.1rem 1.25rem 0.9rem;
  border-radius: 18px;
  background: var(--glr-soft);
  text-align: left;   /* also on phones, where other content centres */
}

/* "Each bar is one monthly payment." — the key to the drawing. */
.glr-bars__caption {
  font-size: var(--fs-micro);
  font-weight: 500;
  color: var(--glr-muted);
}

/* On the refinanced row, top right: what changed, in a few words.
   (Above its bars on phones.) */
.glr-bars__row--new { position: relative; }

.glr-bars__note {
  position: absolute;
  top: 1.1rem;
  right: 0;
  max-width: 60%;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--glr-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(16, 39, 70, 0.06);
  font-size: var(--fs-micro);
  font-weight: 600;
  line-height: 1.3;
  color: var(--glr-navy);
  text-align: right;
  transition: opacity 180ms ease, transform 220ms var(--ease);
}

.glr-bars__note.is-swapping { opacity: 0; transform: translateY(-4px); }

.glr-bars__row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);   /* one label width, so both rows' bars line up */
  align-items: end;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--glr-line);
}

.glr-bars__label {
  padding-bottom: 2px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--glr-navy);
  white-space: nowrap;
}

.glr-bars__track {
  --bw: calc((100% - 64px) / 16);   /* one bar: 16 fit, 4px apart */
  display: flex;
  align-items: flex-end;
  height: 118px;
}

.glr-bars__bar {
  /* 1 for the first --months bars, 0 for the rest */
  --on: clamp(0, calc(var(--months) - var(--i) + 1), 1);
  position: relative;
  flex: 0 0 calc(var(--on) * var(--bw));
  height: calc(var(--pay) * 1%);
  margin-right: calc(var(--on) * 4px);
  overflow: hidden;
  border-radius: 4px 4px 2px 2px;
  background: var(--glr-navy);
  opacity: var(--on);
  transition: flex-basis 620ms var(--glr-bar-ease), margin 620ms var(--glr-bar-ease),
              height 620ms var(--glr-bar-ease), opacity 380ms ease;
  transition-delay: calc(var(--i) * 18ms);
}

/* The interest: the pale top of each payment. */
.glr-bars__bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(var(--int) * 1%);
  background: #c9d4e5;
  transition: height 620ms var(--glr-bar-ease);
  transition-delay: inherit;
}

.glr-bars { --glr-bar-ease: cubic-bezier(0.22, 0.61, 0.36, 1); }

/* The current loan, for comparison, in quieter tones. */
.glr-bars__row--current .glr-bars__bar { background: #8d9fbd; }
.glr-bars__row--current .glr-bars__bar::before { background: #dbe3ef; }

.glr-bars__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 0.75rem;
}

.glr-bars__legend {
  display: flex;
  gap: 1rem;
  font-size: var(--fs-micro);
  font-weight: 500;
  color: var(--glr-muted);
}

.glr-bars__key {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 0.4rem;
  border-radius: 3px;
  vertical-align: -1px;
}

.glr-bars__key--balance { background: var(--glr-navy); }
.glr-bars__key--interest { background: #c9d4e5; }

/* --------------------------------------------------------- stepsrow --
   (Our Process) Numbered stops on a line, the card under each.
   gl-process.js adds .is-ready, then .is-in once the row is in view.

   Timing: a stop lights at --i × --step-time, its line starts
   --line-wait later and runs for --line-time, and --step-time is the
   two added, so each line finishes before the next stop lights.
   Without the script, all lit. A column on phones. */

.glr-stepsrow {
  --line-wait: 150ms;   /* a stop lights, then its line sets off */
  --line-time: 450ms;   /* the line's run to the next stop */
  --step-time: 600ms;   /* = line-wait + line-time: each stop's turn */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glr-stepsrow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* The line to the next stop: from just past this number to just short
   of the next, which is one column and one gap along. Drawn twice —
   the pale track, and the navy fill over it. */
.glr-stepsrow__step:not(:last-child)::before,
.glr-stepsrow__step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(50% + 34px);
  right: calc(-50% - 20px + 34px);
  height: 3px;
  border-radius: 3px;
  background: var(--glr-line);
}

.glr-stepsrow__step:not(:last-child)::after {
  background: var(--glr-navy);
  transform-origin: left;
}

.glr-stepsrow__node {
  position: relative;
  z-index: 1;
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--glr-soft);
}

.glr-stepsrow__card {
  flex: 1;
  width: 100%;
  margin-top: 1.25rem;
  padding: 1.35rem 1.3rem 1.45rem;
  border: 1px solid var(--glr-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--glr-shadow);
}

/* Waiting to arrive: stops an open ring, line empty, cards low.
   No transitions here, deliberately: the page paints the finished row
   and the script reverts it, so easing into this state would run the
   row backwards — and a reload part-way turns it round mid-step. The
   timing belongs to arriving, below. */
.glr-stepsrow.is-ready .glr-stepsrow__node {
  background: #fff;
  color: var(--glr-navy);
  box-shadow: 0 0 0 6px var(--glr-soft), inset 0 0 0 2px #c9d4e5;
  transform: scale(0.88);
}

.glr-stepsrow.is-ready .glr-stepsrow__step::after {
  transform: scaleX(0);
}

.glr-stepsrow.is-ready .glr-stepsrow__card {
  opacity: 0;
  transform: translateY(14px);
}

/* Arrived, each stop in its turn. */
.glr-stepsrow.is-in .glr-stepsrow__node {
  background: var(--glr-navy);
  color: #fff;
  box-shadow: 0 0 0 6px var(--glr-soft);
  transform: none;
  transition: background-color 300ms var(--ease), color 300ms var(--ease),
              box-shadow 300ms var(--ease), transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(var(--i) * var(--step-time));
}

.glr-stepsrow.is-in .glr-stepsrow__step::after {
  transform: none;
  transition: transform var(--line-time) cubic-bezier(0.45, 0, 0.55, 1);
  transition-delay: calc(var(--i) * var(--step-time) + var(--line-wait));
}

.glr-stepsrow.is-in .glr-stepsrow__card {
  opacity: 1;
  transform: none;
  transition: opacity 500ms ease, transform 600ms var(--glr-settle);
  transition-delay: calc(var(--i) * var(--step-time) + 80ms);
}

/* ---------------------------------------------------------- journey --
   (Our Process) Cards alternate either side of a line. On scroll the
   line fills navy (--fill, set by gl-process.js) and each number lights
   at .is-reached. Without the script, full and all lit. */

.glr-journey { --fill: 1; position: relative; max-width: 1000px; margin: 0 auto; }

.glr-journey__track {
  position: absolute;
  top: 44px;
  bottom: 44px;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--glr-line);
}

.glr-journey__fill {
  position: absolute;
  inset: 0;
  background: var(--glr-navy);
  transform: scaleY(var(--fill));
  transform-origin: top;
}

.glr-journey__steps { margin: 0; padding: 0; list-style: none; }

.glr-journey__step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr);
  align-items: start;
}

/* Each step starts below the one before. (No overlap between the two
   sides: how much they could overlap depends on how long each card's
   copy is, and short cards would collide.) */
.glr-journey__step + .glr-journey__step { margin-top: 20px; }

.glr-journey__node {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  justify-self: center;
  width: 48px;
  height: 48px;
  margin-top: 20px;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--glr-soft);
  transition: background-color 300ms var(--ease), color 300ms var(--ease),
              box-shadow 300ms var(--ease), transform 450ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Not reached yet: an open ring. */
.glr-journey.is-ready .glr-journey__step:not(.is-reached) .glr-journey__node {
  background: #fff;
  color: var(--glr-navy);
  box-shadow: 0 0 0 6px var(--glr-soft), inset 0 0 0 2px #c9d4e5;
  transform: scale(0.88);
}

.glr-journey__card {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  padding: 1.35rem 1.5rem 1.45rem;
  border: 1px solid var(--glr-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--glr-shadow);
  text-align: left;
}

.glr-journey__step:nth-child(even) .glr-journey__card { grid-column: 3; }

/* A short tie from each card to its stop on the line. */
.glr-journey__card::after {
  content: '';
  position: absolute;
  top: 43px;
  right: -25px;
  width: 25px;
  height: 2px;
  background: var(--glr-line);
  transition: background-color 300ms var(--ease);
}

.glr-journey__step:nth-child(even) .glr-journey__card::after { right: auto; left: -25px; }
.glr-journey__step.is-reached .glr-journey__card::after,
.glr-journey:not(.is-ready) .glr-journey__card::after { background: var(--glr-navy); }

/* ----------------------------------------------------------- papers --
   (Our Process) Each document drawn as a paper laid askew (--r) with a
   folded corner. gl-process.js deals them in: .is-ready → .is-dealt,
   staggered by --i, then .is-settled. Hover straightens and lifts. */

/* The question above the papers, the sentence below: what might be
   asked for, not a checklist. */
.glr-papers-set { margin-top: clamp(40px, 4rem, 64px); text-align: center; }

.glr-papers-set__title {
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glr-muted);
}

.glr-papers-set__note {
  max-width: 44rem;
  margin: clamp(28px, 2.5rem, 40px) auto 0;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--glr-muted);
}

.glr-papers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 24px);
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.glr-paper {
  --r: 0deg;
  --lift: 0px;
  position: relative;
  display: flex;
  flex: 0 1 200px;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.7rem 1.1rem 1.35rem;
  border: 1px solid var(--glr-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(16, 39, 70, 0.08), 0 2px 4px rgba(16, 39, 70, 0.04);
  transform: translateY(var(--lift)) rotate(var(--r));
  transition: transform 550ms var(--glr-settle), box-shadow 500ms var(--glr-settle), opacity 450ms ease;
}

/* Laid out by hand, not in a grid. */
.glr-paper:nth-child(1) { --r: -2.5deg; }
.glr-paper:nth-child(2) { --r: 1.5deg; margin-top: 16px; }
.glr-paper:nth-child(3) { --r: -1deg; }
.glr-paper:nth-child(4) { --r: 2deg; margin-top: 16px; }
.glr-paper:nth-child(5) { --r: -1.5deg; }

/* On a pale grey section, the fold shows that grey through it. */
.glr-section--soft .glr-papers { --glr-paper-ground: var(--glr-soft); }

/* The folded corner: the top-right triangle is the page showing
   through, the bottom-left one the flap. */
.glr-paper::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 24px;
  height: 24px;
  border-bottom-left-radius: 5px;
  background: linear-gradient(225deg, var(--glr-paper-ground, #fff) 50%, #e3e9f2 50%);
  box-shadow: -2px 2px 4px rgba(16, 39, 70, 0.08);
}

.glr-paper:hover {
  --r: 0deg;
  --lift: -8px;
  box-shadow: 0 24px 44px rgba(16, 39, 70, 0.14), 0 2px 4px rgba(16, 39, 70, 0.04);
  transition-duration: 300ms;
}

.glr-paper__art { display: block; width: 100%; max-width: 150px; height: auto; }

.glr-paper__label {
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.3;
  color: var(--glr-navy);
  text-align: center;
}

/* The drawings (template-parts/glr/paper-art.php). */
.glr-paper__art .soft { fill: var(--glr-tint); stroke: #c9d4e5; stroke-width: 1.5; }
.glr-paper__art .ink { fill: var(--glr-navy); }
.glr-paper__art .pale { fill: #c9d4e5; }
.glr-paper__art .white { fill: #fff; }
.glr-paper__art .line { fill: none; stroke: #c9d4e5; stroke-width: 4; stroke-linecap: round; }
.glr-paper__art .ink-line { fill: none; stroke: var(--glr-navy); stroke-width: 4; stroke-linecap: round; }
.glr-paper__art .dash { fill: none; stroke: #c9d4e5; stroke-width: 1.5; stroke-dasharray: 3 3; }
.glr-paper__art .frame { fill: none; stroke: #c9d4e5; stroke-width: 1.5; stroke-dasharray: 4 3; }
.glr-paper__art .white-line { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.glr-paper__art .white-ring { fill: none; stroke: rgba(255, 255, 255, 0.6); stroke-width: 1.5; }

/* Dealt in: held back until they arrive, then each falls into place
   with a little overshoot, one after another. */
.glr-papers.is-ready:not(.is-dealt) .glr-paper {
  --lift: 40px;
  opacity: 0;
  transform: translateY(var(--lift)) rotate(calc(var(--r) * 4));
}

.glr-papers.is-dealt:not(.is-settled) .glr-paper {
  transition: transform 750ms cubic-bezier(0.34, 1.35, 0.64, 1), opacity 450ms ease;
  transition-delay: calc(var(--i) * 90ms);
}

/* The intro above them: the paragraph beside the heading, level with
   its first line (on desktop; stacked, it simply follows). */
@media (min-width: 861px) {
  .glr-intro--docs .glr-intro__body { padding-top: 2.4rem; }
}

/* ----------------------------------------------------------- beyond --
   (Our Process) Four articles in an open two-column list: pale icon
   badge, title, paragraph, hairlines between. No cards. */

.glr-beyond {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(36px, 5vw, 72px);
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.glr-beyond__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--glr-line);
  text-align: left;
}

.glr-beyond__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--glr-navy);
  box-shadow: 0 0 0 1px var(--glr-line), var(--glr-shadow);
}

.glr-beyond__icon svg { width: 24px; height: 24px; }
.glr-beyond .glr-card__copy { line-height: 1.65; }

/* -------------------------------------------------------------- faq --
   (Our Process) An accordion of white <details> rows, each led by a
   pale serif number. The open one lifts and its toggle rotates + to ×.
   gl-process.js glides them; without it they simply appear. */

.glr-faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }

.glr-faq__item {
  border: 1px solid var(--glr-line);
  border-radius: 18px;
  background: #fff;
  text-align: left;   /* also on phones, where other content centres */
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}

.glr-faq__item[open]:not(.is-closing) {
  border-color: #c9d4e5;
  box-shadow: 0 18px 40px rgba(16, 39, 70, 0.09);
}

.glr-faq__q {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.1rem;
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  list-style: none;
  cursor: pointer;
}

.glr-faq__q::-webkit-details-marker { display: none; }

.glr-faq__num {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1;
  color: #9aabc6;
  font-variant-numeric: tabular-nums;
  transition: color 300ms var(--ease);
}

.glr-faq__text {
  font-size: clamp(17px, 1.1rem, 19px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--glr-navy);
}

/* The toggle: a + drawn from two bars, which turns to × when open. */
.glr-faq__toggle {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glr-tint);
  transition: background-color 250ms var(--ease), transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glr-faq__toggle::before,
.glr-faq__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  border-radius: 2px;
  background: var(--glr-navy);
  transition: background-color 250ms var(--ease);
}

.glr-faq__toggle::after { transform: rotate(90deg); }

.glr-faq__q:hover .glr-faq__toggle { background: #e3e9f2; }

.glr-faq__item[open]:not(.is-closing) .glr-faq__num { color: var(--glr-navy); }
.glr-faq__item[open]:not(.is-closing) .glr-faq__toggle { background: var(--glr-navy); transform: rotate(45deg); }
.glr-faq__item[open]:not(.is-closing) .glr-faq__toggle::before,
.glr-faq__item[open]:not(.is-closing) .glr-faq__toggle::after { background: #fff; }

/* The answer lines up under the question, past the number. */
.glr-faq__a { overflow: hidden; }

.glr-faq__a p {
  padding: 0 4.5rem 1.35rem calc(1.4rem + 2.2rem + 1.1rem);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-muted);
}

/* ================================================== sticky button */

.glr-sticky { display: none; }

/* Fades in late so site.js can hide it first; without JS it still shows. */
@keyframes glr-sticky-in {
  from { opacity: 0; transform: translateY(12px); }
}

/* ===================================================== responsive */

@media (max-width: 1000px) {
  .glr-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Vehicle Service Contract: two tile columns. The last navy tile
     takes one, so the twelve after the first pair up evenly. */
  .glr-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glr-perk--feature:last-child { grid-column: auto; }
  .glr-reviews__grid { grid-template-columns: minmax(0, 1fr); }

  /* Home: two tile columns; wide tiles take the whole row. */
  .glr-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glr-bar { grid-template-columns: auto minmax(0, 1fr); }
  .glr-bar .glr-btn { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 860px) {
  /* The hero stacks: copy first, the photo beneath it. */
  .glr-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .glr-hero__media { order: 2; }
  .glr-hero__copy { padding: calc(4.25rem + 44px) 0 36px; }   /* clears the bar */
  .glr-hero__media {
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .glr-split,
  .glr-grid--2,
  .glr-grid--3 { grid-template-columns: minmax(0, 1fr); }

  /* Vehicle Debt Protection: the band stacks; the facts centre. */
  .glr-band__inner { flex-direction: column; }
  .glr-band__text { padding: 1rem 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); text-align: center; }
  .glr-policy { max-width: 420px; }
  .glr-policy__sheet { transform: rotate(-1deg); }
  .glr-policy__row { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }

  /* Our Process: the row becomes a column, the line running down the
     left from stop to stop. */
  .glr-stepsrow { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .glr-stepsrow__step { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; text-align: left; }
  .glr-stepsrow__card { margin-top: 0; }
  .glr-stepsrow__step:not(:last-child)::before,
  .glr-stepsrow__step:not(:last-child)::after { top: 56px; bottom: -8px; left: 22.5px; right: auto; width: 3px; height: auto; }
  .glr-stepsrow__step:not(:last-child)::after { transform-origin: top; }
  .glr-stepsrow.is-ready .glr-stepsrow__step::after { transform: scaleY(0); }
  .glr-stepsrow.is-in .glr-stepsrow__step::after { transform: none; }

  /* Arch hero: the arch under the words, narrower. */
  .glr-product-hero__arch { justify-self: center; max-width: 360px; }

  /* Bleed hero: the words first, centred; the photo a full-width band
     under them. */
  .glr-product-hero--bleed { grid-template-columns: minmax(0, 1fr); min-height: 0; text-align: center; }
  .glr-product-hero__bleed { order: 2; height: clamp(240px, 66vw, 400px); border-radius: 0; }
  .glr-product-hero--bleed .glr-product-hero__inner { padding: calc(4.25rem + 40px) clamp(20px, 3vw, 32px) 48px; }
  .glr-product-hero--bleed .glr-product-hero__inner > * { margin-left: auto; margin-right: auto; }

  /* Banner hero: the words centred on plain navy, the photo a band
     under them that fades up into the navy — never behind the words. */
  .glr-product-hero--banner {
    display: block;
    min-height: 0;
    padding-bottom: clamp(240px, 62vw, 340px);
    text-align: center;
  }
  .glr-product-hero--banner .glr-product-hero__inner > * { margin-left: auto; margin-right: auto; }
  .glr-product-hero__backdrop {
    top: auto;
    left: 0;
    height: clamp(260px, 68vw, 380px);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  }
  .glr-product-hero__backdrop::after { background: none; }

  /* Product hero with a photo: the photo under the words, square, still
     cropped to the subject; the card centred over its bottom edge, so
     it never covers the subject. */
  .glr-product-hero--photo { text-align: center; }
  .glr-product-hero--photo .glr-product-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .glr-product-hero--photo .glr-lead { margin-left: auto; }
  .glr-product-hero__media { justify-self: center; max-width: 480px; margin-bottom: 40px; }
  .glr-product-hero__media img { aspect-ratio: 1 / 1; border-radius: 24px; }
  .glr-product-hero__float {
    left: 50%;
    bottom: -40px;
    width: max-content;
    max-width: calc(100% - 32px);
    translate: -50% 0;
    text-align: center;
  }

  /* Vehicle Service Contract: the seal above the members' offer. */
  .glr-exclusive { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .glr-exclusive .glr-sub { margin-left: auto; margin-right: auto; }

  /* Vehicle Protection Plan: one column of cards; the icon sits on top. */
  .glr-hcards { grid-template-columns: minmax(0, 1fr); }
  .glr-hcard { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .glr-hcard .glr-feature__icon { margin: 0 auto; }


  /* The featured review goes under its introduction. */
  .glr-reviews--feature { grid-template-columns: minmax(0, 1fr); }
  .glr-reviews__copy { margin-left: auto; margin-right: auto; }

  /* Our Process: the explorer's tabs go two by two above the drawing;
     the path keeps to one side, its line on the left; the articles go
     one column. */
  .glr-explore__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glr-explore__stage { grid-template-columns: minmax(0, 1fr); }
  .glr-explore__panel { text-align: center; }
  /* Centred like the rest of the column. The bar rows stay anchored left:
     their length is the comparison. */
  .glr-explore__tab { justify-content: center; text-align: center; }
  .glr-bars__foot { justify-content: center; text-align: center; }
  .glr-journey__track { left: 24px; }
  .glr-journey__step { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .glr-journey__node { grid-column: 1; margin-top: 16px; }
  .glr-journey__card,
  .glr-journey__step:nth-child(even) .glr-journey__card { grid-column: 2; }
  .glr-journey__card::after { display: none; }
  .glr-beyond { grid-template-columns: minmax(0, 1fr); }

  /* Home: everything stacks and centres. */
  .glr-showcase { padding-bottom: clamp(88px, 7rem, 120px); }
  .glr-showcase__inner { grid-template-columns: minmax(0, 1fr); }
  .glr-showcase__copy { max-width: 36rem; margin: 0 auto; }
  .glr-showcase__visual { justify-self: center; max-width: 400px; }
  .glr-float--savings { left: -12px; bottom: 36px; }
  .glr-float--rating { right: -8px; top: 28px; }
  .glr-showcase--cutout .glr-showcase__inner { grid-template-columns: minmax(0, 1fr); }
  .glr-showcase--cutout { padding-bottom: clamp(120px, 9rem, 150px); }
  .glr-showcase--cutout .glr-showcase__visual { max-width: 520px; margin-top: 3rem; }
  .glr-showcase--cutout .glr-float--rating { right: 0; top: -40px; }
  .glr-showcase--cutout .glr-float--savings { left: 0; bottom: -44px; }

  .glr-bar-section { margin-top: -56px; }
  .glr-hero--bar { padding-bottom: 0; }
  .glr-bar { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .glr-bar__contact { flex-direction: column; gap: 0.75rem; }
  .glr-bar__copy { padding-left: 0; border-left: 0; }
  .glr-bar .glr-btn { grid-column: auto; justify-self: center; }

  .glr-bento { grid-template-columns: minmax(0, 1fr); }
  .glr-tile--wide { grid-column: auto; display: flex; }
  .glr-tile { align-items: center; }
  .glr-tile .glr-feature__icon { margin-left: auto; margin-right: auto; }

  .glr-flow { grid-template-columns: minmax(0, 1fr); }
  .glr-flow__step::before { left: 50%; transform: translateX(-50%); }

  .glr-proof__head { flex-direction: column; align-items: center; }

  /* Products: everything stacks. */
  .glr-intro,
  .glr-criteria,
  .glr-pocket__copy,
  .glr-compare { grid-template-columns: minmax(0, 1fr); }
  .glr-intro__body { padding-top: 0; }
  .glr-criteria__list { max-width: 30rem; margin: 0 auto; }
  .glr-compare__mark { margin-left: auto; margin-right: auto; }
  /* Number over caption, centred; the rule above it stays full width. */
  .glr-proof__stat {
    flex-direction: column;
    align-self: stretch;
    gap: 0.6rem;
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
  }



  /* ---- One column: everything centres on the screen's midline. */
  .glr main { text-align: center; }

  .glr-hero__copy { margin: 0 auto; }
  .glr-lead,
  .glr-sub { margin-left: auto; margin-right: auto; }

  .glr-trust { align-items: center; }
  .glr-trust__dots { padding-left: 0; }
  .glr-trust__list { justify-items: center; }
  .glr-trust__item { justify-self: center; }

  .glr-head { margin-left: auto; margin-right: auto; }
  .glr-feature__icon { margin-left: auto; margin-right: auto; }


}

@media (max-width: 600px) {
  .glr-grid--4 { grid-template-columns: minmax(0, 1fr); }

  /* Vehicle Service Contract: each ledger row puts the figure and its
     mark on one line, the meaning under them; the perks go one column. */
  .glr-ledger__row { grid-template-columns: minmax(0, 1fr) auto; gap: 0.6rem 1rem; padding: 1.35rem 0; }
  .glr-ledger__label { grid-column: 1 / -1; grid-row: 2; }
  .glr-ledger__mark { grid-row: 1; grid-column: 2; }
  .glr-perks { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .glr-paper { flex-basis: calc(50% - 8px); }
  .glr-paper:nth-child(2),
  .glr-paper:nth-child(4) { margin-top: 0; }
  .glr-road { padding: 14px; }
  .glr-perk--feature { grid-column: auto; padding: 1.35rem 1.4rem; }
  .glr-answer { grid-template-columns: minmax(0, 1fr); justify-items: start; }

  /* Vehicle Protection Plan: smaller pins on the photo. */
  .glr-photomap__pin { width: 26px; height: 26px; font-size: 12px; border-width: 2px; }

  /* Vehicle Protection Plan: the claims strip becomes a rounded card. */
  .glr-claims { border-radius: 20px; padding: 1rem 1.25rem; }

  /* Home: the floating cards and figures come down a size. */
  .glr-float { padding: 10px 14px 11px; border-radius: 14px; }
  .glr-float__num { font-size: 26px; }
  .glr-bar__phone { font-size: clamp(24px, 7.2vw, 30px); }

  /* Figures and serif card titles stay below the h1. */
  .glr-band__num,
  .glr-proof__num { font-size: clamp(30px, 9vw, 38px); }
  .glr-tile__figure,
  .glr-ledger__figure { font-size: clamp(26px, 7.7vw, 32px); }
  .glr-flow__num,
  .glr-feature__num,
  .glr-policy__title,
  .glr-plancard__name,
  .glr-perk--feature .glr-perk__label { font-size: clamp(22px, 6.2vw, 26px); }

  /* The navy reviews panel gives its width to the reviews. */
  .glr-reviews { padding: 40px 16px 20px; border-radius: 24px; }
  .glr-review { padding: 1.35rem 1.25rem; }

  /* One action always in reach; the footer leaves room for it. */
  .glr .gl-foot { padding-bottom: 96px; }

  .gl-foot__top,
  .gl-foot__actions { flex-direction: column; justify-content: center; }
  .gl-foot__disclaimers p { margin-left: auto; margin-right: auto; }

  .glr-sticky {
    display: block;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    animation: glr-sticky-in 0.25s ease 0.6s backwards;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
  }

  /* Hidden while another button to the same place is on screen (site.js). */
  .glr-sticky.is-hidden {
    opacity: 0;
    transform: translateY(12px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .glr-sticky .glr-btn { justify-content: center; width: 100%; margin-top: 0; padding-top: 0.7rem; padding-bottom: 0.7rem; }

  /* Mid-page duplicates of the sticky button. */
  .glr-hide-phone { display: none; }

  /* Our Process: the review card's quote comes down a size. */
  .glr-reviews--feature { padding-bottom: 16px; }
  .glr-quote__text p { font-size: 23px; }

  /* Our Process: the questions' answers use the full width. */
  .glr-faq__q { grid-template-columns: 1.8rem minmax(0, 1fr) auto; gap: 0.8rem; padding: 1.05rem 1.1rem; }
  .glr-faq__num { font-size: 22px; }
  .glr-faq__a p { padding: 0 1.1rem 1.2rem; }

  /* Our Process: compact tabs; each row's label sits above its bars. */
  .glr-explore__tab { gap: 0.6rem; padding: 0.65rem 0.7rem 0.65rem 0.6rem; font-size: var(--fs-micro); }
  .glr-explore__icon { width: 32px; height: 32px; }
  .glr-explore__icon svg { width: 17px; height: 17px; }
  .glr-explore { padding: 14px; border-radius: 24px; }
  .glr-bars { padding: 0.9rem 0.9rem 0.75rem; }
  .glr-bars__row { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .glr-bars__track { height: 84px; }
  .glr-bars__note { position: static; justify-self: start; max-width: none; border-radius: 12px; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .glr-btn,
  .glr-arrow { transition: none; }

  /* The spotlight still swaps cards, but instantly: nothing fades,
     slides or pulses. */
  .glr-hcards,
  .glr-photomap__detail,
  .glr-photomap-group.is-spotlight .glr-hcards,
  .glr-photomap-group.is-spotlight .glr-photomap__detail { transition: none; transform: none; }
  .glr-photomap__detail .glr-hcard.is-leaving,
  .glr-photomap__detail .glr-hcard.is-entering { animation: none; }
  .glr-photomap-group .glr-photomap__pin.is-active,
  .glr-photomap-group .glr-photomap__pin.is-lit,
  .glr-photomap__pin:hover { transform: translate(-50%, -50%); }
  .glr-photomap__pin.is-active::after { animation: none; }
  .glr-btn:hover { transform: none; }
  .glr-btn:hover .glr-arrow { transform: none; }
  .glr-card__more:hover .glr-arrow { transform: none; }
  .glr-card--link { transition: none; }
  .glr-card--link:hover { transform: none; }
  .glr-result { transition: none; }
  .glr-result:hover { transform: none; }

  /* Our Process: the bars, stops and ticks change without moving. */
  .glr-bars__bar,
  .glr-bars__bar::before,
  .glr-journey__node,
  .glr-paper { transition: none; }
  .glr-journey.is-ready .glr-journey__step:not(.is-reached) .glr-journey__node { transform: none; }
  .glr-explore.is-ready .glr-explore__panel.is-active { animation: none; }
  .glr-trust.is-ready .glr-trust__item,
  .glr-trust__dot { transition: none; }
  .glr-stepsrow.is-in .glr-stepsrow__node,
  .glr-stepsrow.is-in .glr-stepsrow__step::after,
  .glr-stepsrow.is-in .glr-stepsrow__card { transition: none; }
  .glr-product-hero__media img,
  .glr-product-hero__float,
  .glr-product-hero__backdrop img,
  .glr-product-hero__bleed,
  .glr-product-hero__bleed img,
  .glr-product-hero__arch { animation: none; }
  .glr-product-hero__scan { display: none; }
  .glr-faq__item,
  .glr-faq__num,
  .glr-faq__toggle,
  .glr-faq__toggle::before,
  .glr-faq__toggle::after,
  .glr-bars__note { transition: none; }

  /* Vehicle Service Contract: the seal, the shield and the tiles hold
     still. */
  .glr-road__shield,
  .glr-seal__ring,
  .glr-ledger__row.is-in .glr-people svg.is-on { animation: none; }
  .glr-perk,
  .glr-perk:hover,
  .glr-reason,
  .glr-reason:hover { transition: none; transform: none; }
}

/* ==================================================== WordPress */

/* Logged in, WordPress's admin bar sits across the top of the page;
   the pinned nav goes below it instead of under it. */
html.js-nav body.admin-bar .nav { top: 32px; }

@media (max-width: 782px) {
  html.js-nav body.admin-bar .nav { top: 46px; }
}

/* =====================================================================
   SAVINGS EXPLORER — home page additions to the explorer rules above.
   ===================================================================== */

/* The labels ("Your loan now", "After refinancing") never wrap, and the
   generated 7.5rem column cut the longer one off under the first bar.
   Both rows share this width, so the two sets of bars still line up. */
.glr-bars__row { grid-template-columns: 9.5rem minmax(0, 1fr); }

/* The stage and tabs had no narrow-screen rules: the explanation moves
   under the drawing, and the four tabs go two by two. */
@media (max-width: 860px) {
  .glr-explore__stage { grid-template-columns: minmax(0, 1fr); }
  .glr-explore__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .glr-bars__row { grid-template-columns: minmax(0, 1fr); }
  .glr-explore__tab { padding: 0.65rem 0.7rem; gap: 0.6rem; }
  .glr-explore__icon { width: 34px; height: 34px; }
  .glr-explore__icon svg { width: 17px; height: 17px; }
}

/* =====================================================================
   SHOWCASE HEADLINE ON PHONES

   Three stacked lines wrap into five at the full display size, so the
   headline drops a size on phones, as the product heroes do (§6.19).
   The accent still never splits.
   ===================================================================== */

@media (max-width: 600px) {
  .glr-showcase .glr-h1 { font-size: clamp(36px, 11.5vw, 56px); }
}

/* =====================================================================
   THE SPECIALIST BAR'S PHONE, RINGING

   The handset shakes for about 0.75s then rests for 3, so it rings in
   bursts rather than jittering for the whole page. A ring of sound
   spreads from the badge on the same beat.

   transform and opacity only (§9), so it stays on the compositor;
   prefers-reduced-motion stops both.
   ===================================================================== */

.glr-bar__icon {
  position: relative;   /* the ring below is placed against the badge */
}

.glr-bar__icon svg {
  transform-origin: 50% 55%;   /* swings about the handset, not the box */
  animation: glr-ring 3.8s ease-in-out infinite;
}

/* Rest, then a burst: over, back, over, back, settling as it goes. */
@keyframes glr-ring {
  0%, 74%, 100% { transform: rotate(0deg); }
  76% { transform: rotate(-15deg); }
  79% { transform: rotate(13deg); }
  82% { transform: rotate(-10deg); }
  85% { transform: rotate(7deg); }
  88% { transform: rotate(-4deg); }
  91% { transform: rotate(2deg); }
  94% { transform: rotate(0deg); }
}

/* The sound leaving the badge: a navy hairline that grows and fades.
   It never catches the pointer, and it starts with the shake. */
.glr-bar__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--glr-navy);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: glr-ring-wave 3.8s ease-out infinite;
}

@keyframes glr-ring-wave {
  0%, 74% { transform: scale(1); opacity: 0; }
  78% { opacity: 0.4; }
  100% { transform: scale(1.45); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .glr-bar__icon svg,
  .glr-bar__icon::after { animation: none; }
}

/* =====================================================================
   SHOWCASE HERO, CUT-OUT: TOP ALIGNMENT

   The columns align on their tops, not centres: the cut-out is wide and
   short against a three-line headline, and centring leaves the headline
   with empty space beside it.
   ===================================================================== */

.glr-showcase--cutout .glr-showcase__inner { align-items: start; }

/* Was 2rem, which pushed the image further down still. */
.glr-showcase--cutout .glr-showcase__visual { margin-top: 0; }

/* Centred again once the columns stack, where there is nothing to line
   the image up with. */
@media (max-width: 860px) {
  .glr-showcase--cutout .glr-showcase__inner { align-items: center; }
  .glr-showcase--cutout .glr-showcase__visual { margin-top: 3rem; }
}

/* =====================================================================
   OFFER WALL (offer-wall-refresh.php)

   The category filters, the card grid they narrow, and the "Why this
   page exists" list. The cards are .glr-card laid out as columns, so
   the note and button sit on the card's floor and line up across a row.
   ===================================================================== */

/* ------------------------------------------------------- filters --- */

.glr-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(32px, 3rem, 48px);
}

.glr-filter {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--glr-line);
  border-radius: 999px;
  background: #fff;
  color: var(--glr-muted);
  font-family: var(--font-sans);
  font-size: var(--fs-micro);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 160ms, color 160ms, border-color 160ms;
}

.glr-filter:hover { border-color: var(--glr-navy); color: var(--glr-navy); }

.glr-filter.is-active {
  border-color: var(--glr-navy);
  background: var(--glr-navy);
  color: #fff;
}

/* --------------------------------------------------------- cards --- */

/* Two across before the single column, so six cards never make one
   long stack on a tablet (.glr-grid--3 alone goes straight to one). */
@media (max-width: 1000px) and (min-width: 601px) {
  .glr-offers.glr-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.glr-offer {
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* Toggled by gl-offers.js. The class carries the hiding, because the
   card's own display:flex outranks the hidden attribute's UA rule. */
.glr-offer.is-hidden { display: none; }

.glr-offer__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 33, 79, 0.18);
}

.glr-offer__icon svg { width: 26px; height: 26px; }

.glr-offer__tag {
  margin: 0 0 0.35rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glr-navy);
}

/* Pushed to the floor of the card, with the button under it. */
.glr-offer__note {
  margin: auto 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--glr-line);
  font-size: var(--fs-micro);
  line-height: 1.5;
  color: var(--glr-muted);
}

.glr-offer .glr-btn { margin-top: 1.15rem; align-self: flex-start; }

/* Gravity Lending's own card: navy, so it reads as ours and not as one
   of the five partners. The badge inverts to stay visible. */
.glr-offer--own {
  border-color: transparent;
  background: var(--glr-navy);
  box-shadow: 0 24px 48px rgba(16, 33, 79, 0.22);
}

.glr-offer--own .glr-offer__icon {
  background: #fff;
  color: var(--glr-navy);
  box-shadow: none;
}

.glr-offer--own .glr-h3 { color: #fff; }
.glr-offer--own .glr-offer__tag { color: var(--glr-slate-light); }
.glr-offer--own .glr-card__copy { color: var(--glr-on-dark); }

.glr-offer--own .glr-offer__note {
  border-top-color: rgba(255, 255, 255, 0.2);
  color: var(--glr-slate-light);
}

/* ---------------------------------------------------- disclosure --- */

.glr-offers__disclosure {
  max-width: 56rem;
  margin: clamp(32px, 3rem, 44px) auto 0;
  font-size: var(--fs-micro);
  line-height: 1.6;
  text-align: center;
  color: var(--glr-muted);
}

/* ---------------------------------------- why this page exists --- */

/* The three points down the right of the split: a white badge, the
   title, the sentence, hairlines between — no cards, so the section
   does not read as another grid. */
.glr-why {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glr-why__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--glr-line);
  text-align: left;
}

.glr-why__item:first-child { border-top: 0; padding-top: 0; }
.glr-why__item:last-child { padding-bottom: 0; }

.glr-why__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--glr-navy);
  box-shadow: 0 0 0 1px var(--glr-line), var(--glr-shadow);
}

.glr-why__icon svg { width: 24px; height: 24px; }

/* One column: the split has stacked and §10 centres everything, but
   these read as a list, so they keep their left edge. */
@media (max-width: 860px) {
  .glr-why__item { text-align: left; }
  .glr-offer { text-align: left; }
  .glr-offer__icon { margin-left: 0; }
}

/* =====================================================================
   OFFER WALL, SECOND LAYOUT (page-offer-wall-glr2.php)

   The same words as the grid above, laid out as a list: one hairline
   row per partner, and Gravity Lending's own offer on a navy band of
   its own.
   ===================================================================== */

/* ---------------------------------------------------- the rows --- */

.glr-wall { margin: 0; padding: 0; list-style: none; }

/* Disc, words, button — three columns, so every row's action lines up
   on the same right edge however long the copy is. */
.glr-wall__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: center;
  padding: clamp(28px, 2.5rem, 40px) 0;
  border-top: 1px solid var(--glr-line);
}

.glr-wall__item:first-child { border-top: 0; padding-top: 0; }
.glr-wall__item:last-child { padding-bottom: 0; }

/* The same navy disc the cards use, so both layouts read as one
   language. */
.glr-wall__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 33, 79, 0.18);
}

.glr-wall__icon svg { width: 28px; height: 28px; }

/* Left in the three-column row; centred with the page at 860px and
   below (§10). */
.glr-wall__body { text-align: left; }

.glr-wall__tag {
  margin: 0 0 0.35rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glr-navy);
}

.glr-wall__body .glr-card__copy { margin-top: 0.5rem; max-width: 46rem; }

.glr-wall__note {
  margin: 0.7rem 0 0;
  font-size: var(--fs-micro);
  line-height: 1.5;
  color: var(--glr-muted);
}

/* Outlined here and solid on our own offer below, so the one Gravity
   Lending action on the page is the loudest. */
.glr-wall__go { margin: 0; }
.glr-wall__go .glr-btn { margin-top: 0; white-space: nowrap; }

/* One centred column: disc, words, then the button, like the rest of
   the page at this width (§10). */
@media (max-width: 860px) {
  .glr-wall__item {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 1rem;
  }

  .glr-wall__body { text-align: center; }
  .glr-wall__body .glr-card__copy { margin-left: auto; margin-right: auto; }
  .glr-wall__go { grid-column: 1; }
  .glr-wall__go .glr-btn { margin-top: 0.3rem; }
}

/* ------------------------------------------------- our own offer --- */

/* Gravity Lending's own offer, between the partner list and the FAQ:
   navy and alone, so it cannot be read as a sixth partner. The card
   layout does the same job with .glr-offer--own. */
.glr-spotlight {
  display: grid;
  /* Disc, words, button — the same three columns as a row above, so the
     band reads as the list's last entry in our own colours. */
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  padding: clamp(32px, 3.5rem, 56px);
  border-radius: 28px;
  background: radial-gradient(70% 90% at 100% 0%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 60%), var(--glr-navy);
  box-shadow: 0 24px 48px rgba(16, 33, 79, 0.22);
  text-align: left;
}

/* Panel size, not section size (§3): it sits inside a surface, so the
   full .glr-h2 would shout. */
.glr-spotlight__title {
  margin-top: 0.5rem;
  font-size: clamp(26px, 2.1rem, 36px);
  line-height: 1.1;
}

@media (max-width: 600px) {
  .glr-spotlight__title { font-size: clamp(22px, 6.2vw, 26px); }
}

.glr-spotlight__copy {
  margin-top: 0.9rem;
  max-width: 44rem;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-on-dark);
}

.glr-spotlight__note {
  margin: 1.1rem 0 0;
  font-size: var(--fs-micro);
  line-height: 1.5;
  color: var(--glr-slate-light);
}

.glr-spotlight__go { margin: 0; }
.glr-spotlight__go .glr-btn { margin-top: 0; white-space: nowrap; }

/* The disc the rows use, inverted: white on navy rather than navy on
   white. */
.glr-spotlight__icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.glr-spotlight__icon svg { width: 32px; height: 32px; }

/* Stacked and centred, like everything else below 860px (§10). */
@media (max-width: 860px) {
  .glr-spotlight {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .glr-spotlight__copy { margin-left: auto; margin-right: auto; }
}

/* =====================================================================
   CONTACT (contact-refresh.php)

   The photoless hero, the "ways to reach us" list, the form, the Austin
   band and the award logos.
   ===================================================================== */

/* ---------------------------------------------- hero, no photo --- */

/* The one hero in this language without a picture, so it keeps its own
   height rather than the photo's and centres on the page. */
.glr-hero--plain { min-height: 0; }

.glr-hero__plain {
  max-width: 46rem;
  margin: 0 auto;
  padding: calc(4.25rem + clamp(56px, 6vw, 96px)) 0 clamp(56px, 6vw, 96px);
  text-align: center;
}

.glr-hero__plain .glr-lead { margin-left: auto; margin-right: auto; }

/* The 404's number: the error as a picture, in the serif the h1 uses
   so the two read as one block. */
.glr-404__num {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(88px, 13vw, 170px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--glr-blue);
}

.glr-404__tel {
  margin-top: 1.5rem;
  font-size: var(--fs-small);
  color: var(--glr-muted);
}

.glr-404__tel a { color: var(--glr-navy); font-weight: 600; }

/* When the page is a legal document, the date it took effect sits
   under the lede rather than orphaned above the text. */
.glr-hero__stamp {
  margin-top: 1.25rem;
  font-size: var(--fs-micro);
  color: var(--glr-muted);
}

.glr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  margin-top: 1.75rem;
}

.glr-hero__actions .glr-btn { margin-top: 0; }

/* The number spelled out beside the button: the second action, quieter
   than the first but still a real one. */
.glr-hero__tel {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--glr-navy);
  font-weight: 600;
  text-decoration: none;
}

.glr-hero__tel-label { color: var(--glr-muted); font-weight: 400; }
.glr-hero__tel:hover { text-decoration: underline; text-underline-offset: 3px; }

.glr-hero__tel-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--glr-navy);
  box-shadow: 0 0 0 1px var(--glr-line), var(--glr-shadow);
}

.glr-hero__tel-icon svg { width: 20px; height: 20px; }

/* -------------------------------------------- ways + the form --- */

/* The aside is narrower than the form: the form is the work. */
.glr-contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); }
.glr-contact__aside { align-self: start; }

/* Under the aside's intro (Become a Lender), the same gap .glr-ways
   leaves on Contact. Beside a heading (Offer Wall) it needs none. */
.glr-contact__aside .glr-why { margin-top: clamp(28px, 3rem, 44px); }
.glr-contact__form .glr-head { margin-bottom: clamp(20px, 2rem, 28px); }

.glr-ways {
  display: grid;
  margin: clamp(28px, 3rem, 44px) 0 0;
  padding: 0;
  list-style: none;
}

.glr-ways__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--glr-line);
  text-align: left;
}

.glr-ways__item:first-child { border-top: 0; padding-top: 0; }

.glr-ways__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: var(--glr-navy);
  box-shadow: 0 0 0 1px var(--glr-line), var(--glr-shadow);
}

.glr-ways__icon svg { width: 23px; height: 23px; }

.glr-ways__value {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--glr-navy);
  font-weight: 600;
  text-decoration: none;
}

a.glr-ways__value:hover { text-decoration: underline; text-underline-offset: 3px; }
.glr-ways__value--static { font-weight: 500; line-height: 1.5; }

/* ---------------------------------------------------------- form --- */

.glr-form-card {
  padding: clamp(22px, 2rem, 34px);
  border: 1px solid var(--glr-line);
  border-radius: var(--glr-radius);
  background: #fff;
  box-shadow: var(--glr-shadow);
}

/* A form with nothing beside it (Lender Services), rather than in the
   split above: the card keeps a readable width and centres in the
   section. On .glr-wrap, whose own max-width this replaces. */
.glr-formcol { max-width: 44rem; }

.glr-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.glr-field { display: grid; gap: 0.4rem; text-align: left; }
.glr-field--full { grid-column: 1 / -1; }

.glr-field__label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--glr-navy);
}

.glr-field__optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--glr-muted);
}

.glr-field__input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--glr-line);
  border-radius: 12px;
  background: #fff;
  color: var(--glr-ink);
  font-size: var(--fs-small);
  line-height: 1.4;
  transition: border-color 160ms, box-shadow 160ms;
}

.glr-field__input::placeholder { color: #8795a8; }

.glr-field__input:hover { border-color: #c3cedb; }

.glr-field__input:focus {
  border-color: var(--glr-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 232, 0.14);
  outline: none;
}

textarea.glr-field__input { resize: vertical; min-height: 7rem; }

/* The arrow is drawn here rather than left to the browser, so the
   select matches the text inputs. */
select.glr-field__input {
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310214f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px 18px;
}

.glr-field__input.is-invalid { border-color: #c0392b; }
.glr-field__input.is-invalid:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.14); }

/* Never colour alone (§2): the message says what is wrong. */
.glr-field__error {
  margin: 0;
  font-size: var(--fs-micro);
  line-height: 1.4;
  color: #c0392b;
}

.glr-form .glr-btn { margin-top: 1.5rem; }

/* --------------------------------------------- the consent box --- */

/* The TCPA consent (Become a Lender). A panel rather than a bare
   checkbox, with the whole sentence as the label and the target. */
.glr-consent {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--glr-line);
  border-radius: 12px;
  background: var(--glr-soft);
}

/* The browser's own checkbox, in the buttons' blue. */
.glr-consent__box {
  width: 18px;
  height: 18px;
  margin: 0.15rem 0 0;
  accent-color: var(--glr-blue);
  cursor: pointer;
}

.glr-consent__label {
  font-size: var(--fs-micro);
  line-height: 1.5;
  color: var(--glr-muted);
  cursor: pointer;
}

.glr-consent__label a { color: var(--glr-navy); }

.glr-form__failed {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.25rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid #e4b7b1;
  border-radius: 12px;
  background: #fdf3f2;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: #7d2920;
  text-align: left;
}

.glr-form__failed strong { color: #5f1e17; }

/* display:grid above outranks the hidden attribute's UA rule, so the
   box would sit there announcing a failure that has not happened. */
.glr-form__failed[hidden] { display: none; }

.glr-form__done { text-align: center; }
.glr-form__done:focus { outline: none; }
.glr-form__done .glr-card__copy { margin-left: auto; margin-right: auto; max-width: 28rem; }

.glr-form__mark {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--glr-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(16, 33, 79, 0.18);
}

.glr-form__mark svg { width: 28px; height: 28px; }

/* -------------------------------------------------- Austin band --- */

/* Edge to edge, the photo under a navy wash so the words hold their
   contrast wherever the skyline is bright. */
.glr-austin {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 38rem, 560px);
  overflow: hidden;
  background: var(--glr-navy);
}

.glr-austin__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

/* Darkest on the left, where the words are. */
.glr-austin::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 33, 79, 0.95) 0%, rgba(16, 33, 79, 0.88) 42%, rgba(16, 33, 79, 0.62) 72%, rgba(16, 33, 79, 0.5) 100%);
}

.glr-austin .glr-wrap { position: relative; z-index: 1; width: 100%; }

.glr-austin__copy {
  max-width: 40rem;
  padding: clamp(56px, 6vw, 88px) 0;
  text-align: left;
}

.glr-austin__text {
  margin-top: 1.1rem;
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--glr-on-dark);
}

/* -------------------------------------------------------- awards --- */

/* One row, centred. They are all Austin workplace awards, so splitting
   them into named groups only broke up a short list. */
.glr-awards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3.5vw, 52px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Sized by height, as on Careers. Four fit one 390px row. */
.glr-awards__logo {
  width: auto;
  height: clamp(62px, 6.5vw, 92px);
  object-fit: contain;
}

.glr-awards__logo--tall { height: clamp(87px, 9.1vw, 129px); }

/* ------------------------------------------------------ narrow --- */

@media (max-width: 1000px) {
  .glr-contact { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  /* These read as lists, so they keep their left edge where §10
     centres the rest of the page. */
  .glr-ways__item { text-align: left; }
  .glr-field { text-align: left; }
  .glr-form__failed { text-align: left; }
  .glr-austin__copy { text-align: left; }

  .glr-form__grid { grid-template-columns: minmax(0, 1fr); }

  /* The wash goes top-to-bottom once the words sit over the middle. */
  .glr-austin::after {
    background: linear-gradient(180deg, rgba(16, 33, 79, 0.92) 0%, rgba(16, 33, 79, 0.86) 60%, rgba(16, 33, 79, 0.8) 100%);
  }
}

/* =====================================================================
   GLOSSARY (glossary-refresh.php)

   The search box, the sticky A-Z rail, and the terms as a definition
   list with the letter set in the margin.
   ===================================================================== */

/* -------------------------------------------------------- search --- */

.glr-search {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 30rem;
  margin: 1.75rem auto 0;
}

.glr-search__icon {
  position: absolute;
  left: 1.05rem;
  display: grid;
  place-items: center;
  color: var(--glr-muted);
  pointer-events: none;
}

.glr-search__icon svg { width: 20px; height: 20px; }

.glr-search__input {
  width: 100%;
  padding: 0.95rem 3rem 0.95rem 3rem;
  border: 1px solid var(--glr-line);
  border-radius: 999px;
  background: #fff;
  color: var(--glr-ink);
  font-size: var(--fs-small);
  box-shadow: var(--glr-shadow);
  transition: border-color 160ms, box-shadow 160ms;
}

.glr-search__input::placeholder { color: #8795a8; }

.glr-search__input:focus {
  border-color: var(--glr-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 232, 0.14);
  outline: none;
}

/* The browser's own clear control would sit beside ours. */
.glr-search__input::-webkit-search-cancel-button { display: none; }

.glr-search__clear {
  position: absolute;
  right: 0.6rem;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--glr-tint);
  color: var(--glr-navy);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.glr-search__clear:hover { background: #e3e9f2; }

/* ---------------------------------------------------------- rail --- */

/* Sticky under the nav bar (4.25rem), so the letters stay in reach all
   the way down a long list. */
.glr-rail {
  position: sticky;
  top: 4.25rem;
  z-index: 5;
  background: var(--glr-soft);
  border-top: 1px solid var(--glr-line);
  border-bottom: 1px solid var(--glr-line);
}

.glr-rail__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.glr-rail__letters {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glr-rail__letter {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 0.3rem;
  border-radius: 8px;
  color: var(--glr-navy);
  font-size: var(--fs-micro);
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms, color 160ms;
}

.glr-rail__letter:hover { background: var(--glr-navy); color: #fff; }

/* A letter whose terms are all filtered out — still a link, just quiet. */
.glr-rail__letter.is-quiet { color: #9aa7b8; }
.glr-rail__letter.is-quiet:hover { background: var(--glr-tint); color: #9aa7b8; }

.glr-rail__count {
  margin: 0;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--glr-muted);
}

/* --------------------------------------------------------- terms --- */

.glr-terms {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(28px, 3rem, 44px) 0;
  border-top: 1px solid var(--glr-line);
}

.glr-terms:first-of-type { border-top: 0; }

/* The letter sits in the margin and stays beside its terms as they
   scroll past. */
.glr-terms__letter {
  position: sticky;
  top: calc(4.25rem + 4.2rem);
  align-self: start;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(40px, 3.4rem, 58px);
  font-weight: 400;
  line-height: 1;
  color: var(--glr-navy);
}

.glr-terms__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 56px);
  margin: 0;
}

.glr-term {
  padding: 1.15rem 0;
  border-top: 1px solid var(--glr-line);
  text-align: left;
}

/* The first row of each column, whatever the count. */
.glr-term:nth-child(1),
.glr-term:nth-child(2) { border-top: 0; padding-top: 0; }

.glr-term__name {
  margin: 0 0 0.35rem;
  font-size: clamp(16px, 1.05rem, 18px);
  font-weight: 600;
  line-height: 1.35;
  color: var(--glr-navy);
}

.glr-term__def {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.65;
  color: var(--glr-muted);
}

.glr-terms__empty {
  padding: clamp(40px, 5rem, 72px) 0;
  text-align: center;
}

.glr-terms__empty .glr-card__copy { max-width: 26rem; margin: 0.5rem auto 0; }
.glr-terms__empty .glr-btn { margin-top: 1.5rem; }

/* ------------------------------------------------------ narrow --- */

@media (max-width: 860px) {
  /* One column of terms, and the letter moves above them rather than
     eating a fifth of a phone's width. */
  .glr-terms { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .glr-terms__letter { position: static; font-size: clamp(26px, 7.5vw, 38px); }
  .glr-terms__list { grid-template-columns: minmax(0, 1fr); }
  .glr-term { text-align: left; }
  .glr-term:nth-child(2) { border-top: 1px solid var(--glr-line); padding-top: 1.15rem; }

  .glr-rail__inner { justify-content: center; }
  .glr-rail__count { display: none; }
}

/* An element's own display rule outranks [hidden]'s UA rule, so
   anything hidden by script needs an explicit rule here. */
.glr-search[hidden],
.glr-search__clear[hidden],
.glr-terms[hidden] { display: none; }

/* =====================================================================
   CAREERS (careers-refresh.php)

   The hero's award badges, the navy benefits band, and the box the ADP
   widget draws itself into.
   ===================================================================== */

/* ------------------------------------------- hero award badges --- */

.glr-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 40px);
  margin: clamp(32px, 3.5rem, 52px) 0 0;
  padding: 0;
  list-style: none;
}

/* Sized by height, not capped: the caps left the badges 48px tall on a
   phone and a portrait badge 26px wide. Four fit one 390px row. */
.glr-badges__logo {
  width: auto;
  height: clamp(60px, 5.5vw, 78px);
  object-fit: contain;
}

.glr-badges__logo--tall { height: clamp(84px, 7.7vw, 108px); }

/* ------------------------------------------- benefits, on navy --- */

.glr-perkband {
  padding: clamp(56px, 6rem, 96px) 0;
  background: var(--glr-navy);
}

.glr-perkband__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each benefit is a plate on the navy rather than a card: the band is
   already an enclosure, and cards inside it would be a box in a box. */
.glr-perkband__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  text-align: left;
}

.glr-perkband__icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--glr-navy);
}

.glr-perkband__icon svg { width: 22px; height: 22px; }

.glr-perkband__label {
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

/* -------------------------------------------- the ADP openings --- */

/* A plain container. The list inside is ADP's own markup and styling;
   nothing here reaches into it. Only the width is held. */
.glr-openings {
  max-width: 980px;
  margin: 0 auto;
  min-height: 160px;
}

.glr-openings__loading {
  margin: 0;
  padding: 2.5rem 0;
  font-size: var(--fs-small);
  color: var(--glr-muted);
  text-align: center;
}

.glr-openings__loading[hidden],
.glr-openings__fallback[hidden] { display: none; }

.glr-openings__fallback {
  padding: clamp(28px, 3rem, 44px);
  border: 1px solid var(--glr-line);
  border-radius: var(--glr-radius);
  background: #fff;
  box-shadow: var(--glr-shadow);
  text-align: center;
}

.glr-openings__fallback .glr-card__copy { max-width: 30rem; margin: 0.5rem auto 0; }

/* ------------------------------------------------------ narrow --- */

@media (max-width: 1000px) {
  .glr-perkband__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .glr-perkband__list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  /* These read as a list, so they keep their left edge where §10
     centres the rest of the page. */
  .glr-perkband__item { text-align: left; }
}


/* =====================================================================
   APPLY NOW (apply-now-refresh.php, landing-apply-refresh.php)

   The form is template-parts/apply-form-body.php, included verbatim —
   it is the live funnel, so nothing here renames or restructures it.

   Refresh pages dequeue main.css, where the form's rules and tokens
   lived, so both are reproduced below under .glr-apply: the rules as
   they were, the tokens remapped to the refresh palette. Layout and
   spacing are unchanged; only colour, type and the button differ.
   ===================================================================== */

/* The theme's tokens, pointed at the refresh palette. The form's rules
   below are untouched copies, so every value it asks for has to exist. */
.glr-apply {
  --navy: var(--glr-navy);
  --navy-mid: #1a3270;
  --gravity-darkblue: var(--glr-navy);
  --text: var(--glr-ink);
  --muted: var(--glr-muted);
  --border: var(--glr-line);
  --white: #ffffff;
  --off-white: var(--glr-soft);
  --input-bg: #ffffff;
  --danger: #c0392b;
  /* Blue is the refresh's one action colour; lime is not in this
     language (DESIGN §2). The button's own colours are set again
     further down, because the theme pairs lime with navy text. */
  --lime: var(--glr-blue);
  --lime-dark: var(--glr-blue-hover);
  --lime-glow: rgba(26, 86, 232, 0.3);
  --gravity-green: var(--glr-blue);
  --radius: 12px;
  --radius-lg: 12px;
  --radius-xl: var(--glr-radius);
  --shadow-md: var(--glr-shadow);
  --transition: 160ms;
}

/* ------------------------------------- the form's own rules, as-is --- */
.glr-apply .gl-field input[type="file"] {
  padding: 10px 14px;
  cursor: pointer;
}
.glr-apply .gl-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 16px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition);
}
.glr-apply .gl-field input[type="file"]::file-selector-button:hover {
  background: var(--navy-mid);
}
.glr-apply .referral-apply .gl-app-wrapper {
  padding-top: 24px;
}
@media (min-width: 992px) {
  .glr-apply .gl-app-wrapper {
    max-width: 100%;
    margin: 0;
    padding: 24px 0;
  }
}
.glr-apply .gl-app-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.glr-apply .gl-step-heading {
  text-align: center;
  margin-bottom: 32px;
}
.glr-apply .gl-step-heading h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.25;
  color: var(--gravity-darkblue);
  max-width: 520px;
  margin: 0 auto;
}
.glr-apply .gl-progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 44px;
  position: relative;
}
.glr-apply .gl-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 120px;
}
.glr-apply .gl-progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 2px;
  background: var(--border);
  z-index: 0;
  transition: background var(--transition);
}
.glr-apply .gl-progress-step.completed:not(:last-child)::after {
  background: var(--lime);
}
.glr-apply .gl-progress-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
  border: 3px solid transparent;
}
.glr-apply .gl-progress-step.active .gl-progress-dot {
  border-color: var(--lime);
  box-shadow: 0 0 0 4px var(--lime-glow);
}

/* The step being filled in sends out a ring, on the same beat and the
   same keyframes as the specialist bar's phone: a burst every 3.8s
   rather than a constant pulse, so it marks the place without
   nagging. transform and opacity only, so it stays on the
   compositor. Only the active step has one — completed steps are
   done, and the dot is already position: relative. */
.glr-apply .gl-progress-step.active .gl-progress-dot::after {
  content: '';
  position: absolute;
  inset: -3px;             /* starts at the border, not inside it */
  border: 2px solid var(--lime);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: glr-ring-wave 3.8s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .glr-apply .gl-progress-step.active .gl-progress-dot::after { animation: none; }
}
.glr-apply .gl-progress-step.completed .gl-progress-dot {
  background: var(--lime);
  color: #fff;
  border-color: var(--lime);
  /* The dot's digit is 1rem, but the tick JS swaps in (U+2713) is a
     lighter, smaller glyph — it needs the size to carry the same
     weight inside a 44px circle. */
  font-size: 1.45rem;
  line-height: 1;
}
.glr-apply .gl-progress-label {
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.glr-apply .gl-progress-step.active .gl-progress-label,
.glr-apply .gl-progress-step.completed .gl-progress-label {
  color: var(--navy);
}
.glr-apply .gl-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gravity-darkblue);
  box-shadow: var(--shadow-md);
  padding: 36px 32px 32px;
  margin-bottom: 24px;
}
@media (max-width: 480px) {
  .glr-apply .gl-form-card {
    padding: 24px 18px 24px;
  }
}
.glr-apply .gl-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.glr-apply .gl-field-grid .gl-field-full {
  grid-column: 1 / -1;
}
@media (max-width: 480px) {
  .glr-apply .gl-field-grid {
    grid-template-columns: 1fr;
  }
  .glr-apply .gl-field-grid .gl-field-full {
    grid-column: 1;
  }
}
.glr-apply .gl-apply-form .gl-field-grid {
  grid-template-columns: 1fr;
}
.glr-apply .gl-apply-form .gl-field-grid .gl-field-full {
  grid-column: 1;
}
.glr-apply .gl-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.glr-apply .gl-field label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gravity-darkblue);
}
.glr-apply .gl-field input,
.glr-apply .gl-field select,
.glr-apply .gl-field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--input-bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.glr-apply .gl-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9bb0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.glr-apply .gl-field textarea {
  resize: vertical;
  min-height: 120px;
}
.glr-apply .gl-field input::placeholder,
.glr-apply .gl-field textarea::placeholder {
  color: var(--muted);
}
.glr-apply .gl-field input:focus,
.glr-apply .gl-field select:focus,
.glr-apply .gl-field textarea:focus {
  border-color: var(--lime);
  background: #fff;
  box-shadow: 0 0 0 3px var(--lime-glow);
}
.glr-apply .gl-field input.is-invalid,
.glr-apply .gl-field select.is-invalid,
.glr-apply .gl-field textarea.is-invalid {
  border-color: var(--danger);
  background: #fff5f5;
}
.glr-apply .gl-field .gl-error {
  font-size: 0.75rem;
  color: var(--danger);
  font-weight: 500;
}
.glr-apply .gl-intent-btn {
  padding: 14px 10px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  background: var(--input-bg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.glr-apply .gl-intent-btn:hover {
  border-color: var(--lime);
  background: var(--white);
}
.glr-apply .gl-intent-btn.selected {
  background: var(--lime);
  border-color: var(--lime);
  color: #fff;
  box-shadow: 0 4px 12px var(--lime-glow);
}
.glr-apply .gl-emp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.glr-apply .gl-res-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.glr-apply .gl-group-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gravity-darkblue);
  margin-bottom: 8px;
  display: block;
}
.glr-apply .gl-continue-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 17px 32px;
  background: var(--lime);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px var(--lime-glow);
  letter-spacing: 0.01em;
}
.glr-apply .gl-continue-btn:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--lime-glow);
}
.glr-apply .gl-continue-btn:active {
  transform: translateY(0);
}
.glr-apply .gl-continue-btn svg {
  flex-shrink: 0;
}
.glr-apply .gl-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  padding: 17px 32px;
  background: var(--lime);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px var(--lime-glow);
}
.glr-apply .gl-submit-btn:hover {
  background: var(--lime-dark);
  transform: translateY(-1px);
}
.glr-apply .gl-btn-area {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.glr-apply .gl-back-link {
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.glr-apply .gl-back-link:hover {
  color: var(--navy);
}
.glr-apply .gl-trust {
  text-align: center;
  margin-top: 28px;
}
.glr-apply .gl-trust-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: var(--navy);
}
.glr-apply .gl-trust ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  text-align: center;
}
.glr-apply .gl-trust li {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
.glr-apply .gl-trust li::before {
  content: '• ';
}
.glr-apply .gl-confirm-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 48px 32px;
  text-align: center;
}
.glr-apply .gl-confirm-box h3 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.glr-apply .gl-confirm-box p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.glr-apply .gl-confirm-box a {
  color: var(--lime-dark);
  font-weight: 600;
}
.glr-apply .gl-confirm-box .app-id {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  background: var(--off-white);
  border-radius: 8px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.1rem;
}
.glr-apply .gl-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
.glr-apply .gl-warning {
  font-size: 0.75rem;
  color: var(--danger);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}
.glr-apply .gl-tcpa {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--off-white);
  border-radius: 10px;
  padding: 14px;
  margin-top: 4px;
}
.glr-apply .gl-tcpa input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 0;
  border: none;
  background: transparent;
  accent-color: var(--lime);
  cursor: pointer;
}
.glr-apply .gl-tcpa label {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.glr-apply .gl-tcpa label a {
  color: var(--navy);
}
.glr-apply .gl-tcpa-notice {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.glr-apply .gl-tcpa-notice a {
  color: var(--navy);
}
.glr-apply .gl-legal-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--off-white);
  border-radius: 10px;
  padding: 14px;
  margin-top: 4px;
}
/* Grey, not the action blue: it is ticked already and the eye belongs
   on the button. Still a live checkbox the applicant can clear.
   apply-form-body.php has the same treatment in its own <style>, but
   this selector carries .glr-apply and so outranks it — the grey has
   to be set here or the native blue wins. An SVG background rather
   than ::after, which Firefox will not draw on an input. */
.glr-apply .gl-legal-note input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 0;
  border: 1.5px solid #ccd4df;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.glr-apply .gl-legal-note input[type="checkbox"]:checked {
  background-color: #b0bac8;
  border-color: #b0bac8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.4l3.1 3.1L12.5 5.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.glr-apply .gl-legal-note input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--muted);
  outline-offset: 2px;
}
.glr-apply .gl-legal-note label {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.glr-apply .gl-legal-note a {
  color: var(--navy);
}
.glr-apply .gl-section.active .gl-form-card {
  animation: slideUp 0.3s ease both;
}
.glr-apply .gl-ml-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.glr-apply .gl-ml-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.glr-apply .gl-ml-row:last-child {
  border-bottom: none;
}
.glr-apply .gl-ml-row-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}
.glr-apply .gl-ml-row-value {
  color: var(--navy);
  font-weight: 600;
  text-align: right;
}
.glr-apply .gl-ml-offer .gl-group-label {
  text-align: center;
  margin-bottom: 12px;
}
.glr-apply .gravity-app-2022.has-lp-banner .gl-app-wrapper.gl-pp {
  padding-top: 28px;
}
.glr-apply .gl-app-wrapper.gl-pp {
  padding-top: 120px;
}
.glr-apply .gl-promo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.glr-apply .gl-promo-modal.active {
  display: flex;
}
.glr-apply .gl-promo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.55);
}
.glr-apply .gl-promo-modal-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  max-width: 420px;
  width: 100%;
  padding: 32px 28px;
  text-align: center;
  animation: gl-promo-modal-in 0.25s ease;
}
.glr-apply .gl-promo-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.glr-apply .gl-promo-modal-title {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.glr-apply .gl-promo-modal-text {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.glr-apply .gl-promo-modal-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.glr-apply .gl-promo-modal-input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--input-bg);
  font-size: 1rem;
  text-transform: uppercase;
}
.glr-apply .gl-promo-modal-input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-glow);
}
.glr-apply .gl-promo-modal-go {
  padding: 12px 20px;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--lime);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}
.glr-apply .gl-promo-modal-go:hover {
  background: var(--lime-dark);
}
.glr-apply .gl-promo-modal-go:disabled,
.glr-apply .gl-promo-modal-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.glr-apply .gl-promo-modal-status {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.glr-apply .gl-promo-modal-error {
  font-size: 0.85rem;
  color: var(--danger);
  margin-bottom: 12px;
}
.glr-apply .gl-promo-modal-skip {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 4px;
}
.glr-apply .gl-hidden {
  display: none !important;
}
.glr-apply .gl-promo-not-me {
  margin-left: 8px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
}

/* The mailer greeting, filled in by the promo lookup. main.css styles
   it on the live site and is not loaded here, so without this it
   renders as bare text. Empty on every other page — hence :empty,
   which also keeps its margins from shifting the form on load. */
.glr-apply #promo_intro:empty {
  display: none;
}
.glr-apply #promo_intro:not(:empty) {
  display: block;
  max-width: 520px;
  margin: 0 auto 28px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--glr-line);
  border-radius: var(--glr-radius);
  box-shadow: var(--glr-shadow);
  color: var(--glr-navy);
  font-family: var(--font-sans);
  font-weight: 600;
  text-align: center;
}

/* ------------------------------------------- refresh overrides --- */

/* The theme set DM Sans on each control by name; this language uses
   Inter for everything but the big headings. */
.glr-apply .gl-field input,
.glr-apply .gl-field select,
.glr-apply .gl-field textarea,
.glr-apply .gl-continue-btn,
.glr-apply .gl-intent-btn,
.glr-apply .gl-back-link,
.glr-apply .gl-field label,
.glr-apply .gl-group-label { font-family: var(--font-sans); }

.glr-apply .gl-step-heading h2,
.glr-apply .gl-app-wrapper h1,
.glr-apply .gl-app-wrapper h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--glr-navy);
}

/* A .glr-btn in all but name: solid blue, white text, round, and the
   arrow nudges on hover. The theme's version was navy on lime. */
.glr-apply .gl-continue-btn {
  border-radius: 999px;
  background: var(--glr-blue);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(26, 86, 232, 0.22);
  transition: background 160ms, transform 160ms, box-shadow 160ms;
}

.glr-apply .gl-continue-btn:hover:not(:disabled) {
  background: var(--glr-blue-hover);
  transform: translateY(-1px);
}

.glr-apply .gl-continue-btn svg,
.glr-apply .gl-submit-btn svg { transition: transform 160ms; }
.glr-apply .gl-continue-btn:hover:not(:disabled) svg,
.glr-apply .gl-submit-btn:hover:not(:disabled) svg { transform: translateX(3px); }

/* White fields with a visible edge, as on the contact form, rather than
   the theme's filled grey boxes. */
.glr-apply .gl-field input,
.glr-apply .gl-field select,
.glr-apply .gl-field textarea {
  background: #fff;
  border: 1px solid var(--glr-line);
  border-radius: 12px;
}

.glr-apply .gl-field input:focus,
.glr-apply .gl-field select:focus,
.glr-apply .gl-field textarea:focus {
  border-color: var(--glr-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 232, 0.14);
  outline: none;
}

.glr-apply .gl-field label,
.glr-apply .gl-group-label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--glr-navy);
}

/* The choice buttons read as cards here, picking up the card border and
   the navy fill when chosen. */
.glr-apply .gl-intent-btn,
.glr-apply .gl-employment-status button,
.glr-apply .gl-residence-status button {
  background: #fff;
  border: 1px solid var(--glr-line);
  border-radius: 14px;
}

.glr-apply .gl-intent-btn:hover,
.glr-apply .gl-employment-status button:hover,
.glr-apply .gl-residence-status button:hover { border-color: var(--glr-navy); }

.glr-apply .gl-form-card {
  border: 1px solid var(--glr-line);
  border-radius: var(--glr-radius);
  background: #fff;
  box-shadow: var(--glr-shadow);
}

/* ------------------- permissible-purpose page (/lending-tree/) --- */

/* gravity-app-2022-glr.php. These rules lived in the dequeued main.css. */
.glr-apply .gl-app-wrapper.gl-pp,
.glr-apply .gl-app-wrapper.gl-ml {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(32px, 3rem, 48px) 20px 0;
}

.glr-apply .gl-pp-screen { display: none; }
.glr-apply .gl-pp-screen.active { display: block; }

.glr-apply .gl-pp-intro {
  max-width: 560px;
  margin: -18px auto 28px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-muted);
  text-align: center;
}

.glr-apply .gl-pp .gl-divider,
.glr-apply .gl-ml .gl-divider {
  height: 1px;
  margin: 24px 0;
  background: var(--glr-line);
}

.glr-apply .gl-pp-consent p {
  margin: 0 0 10px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--glr-navy);
}

.glr-apply .gl-pp-consent ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 4px;
  padding-left: 20px;
}

.glr-apply .gl-pp-consent li {
  font-size: var(--fs-micro);
  line-height: 1.55;
  color: var(--glr-muted);
}

.glr-apply .gl-pp-consent a {
  color: var(--glr-navy);
  font-weight: 600;
}

/* Legal copy stays left-aligned where the refresh centres phones. */
.glr-apply .gl-pp-consent,
.glr-apply .gl-pp .gl-legal-note { text-align: left; }

.glr-apply .gl-pp-consent--scroll {
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--glr-line);
  border-radius: 12px;
}

.glr-apply .gl-pp-consent--scroll:focus-visible {
  outline: 2px solid var(--glr-navy);
  outline-offset: 2px;
}

/* Inter 600, as .gl-continue-btn; the copied rule asks for DM Sans 700. */
.glr-apply .gl-pp .gl-submit-btn,
.glr-apply .gl-ml .gl-submit-btn {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(26, 86, 232, 0.22);
}

.glr-apply .gl-pp .gl-confirm-box a,
.glr-apply .gl-ml .gl-confirm-box a { color: var(--glr-navy); }

/* Keep phone numbers on one line. */
.glr-apply .gl-pp a[href^="tel:"],
.glr-apply .gl-ml a[href^="tel:"] { white-space: nowrap; }

/* The copied rules size these in bare rem, which the scaled root shrinks. */
.glr-apply .gl-pp .gl-legal-note label,
.glr-apply .gl-pp .gl-trust li,
.glr-apply .gl-ml .gl-trust li { font-size: var(--fs-micro); }
.glr-apply .gl-pp .gl-confirm-box .app-id,
.glr-apply .gl-ml .gl-confirm-box .app-id { font-size: var(--fs-body); }

/* 16px floor: readable on desktop, and no iOS zoom on focus. */
.glr-apply .gl-pp .gl-field input,
.glr-apply .gl-pp .gl-field select { font-size: max(1rem, 16px); }

/* Inline rem sizes in the form file, which the live page shares. */
.glr-apply .gl-pp .gl-confirm-box p[style*="font-size"] { font-size: var(--fs-micro) !important; }

/* The JS puts its warning between the checkbox and label; move it below. */
.glr-apply .gl-pp .gl-legal-note { flex-wrap: wrap; }
.glr-apply .gl-pp .gl-legal-note label { flex: 1 1 0; min-width: 0; }
.glr-apply .gl-pp .gl-legal-note .warning { order: 1; flex-basis: 100%; }

/* Yes / No consent on /p/. */
.glr-apply .gl-pp .gl-legal-note input[type="radio"] {
  -webkit-appearance: radio;
  appearance: radio;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--glr-blue);
  cursor: pointer;
}
.glr-apply .gl-pp-choice .gl-legal-note + .gl-legal-note { margin-top: 8px; }

.glr-apply .gl-pp .gl-ml-check,
.glr-apply .gl-ml .gl-ml-check {
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--glr-navy);
}

.glr-apply .gl-pp-received ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  color: var(--glr-muted);
}

.glr-apply .gl-pp-awards {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 560px;
  margin: 28px auto 0;
}

.glr-apply .gl-pp-awards img {
  width: auto;
  height: 90px;
}

/* Validation messages the JS inserts. */
.glr-apply .gl-pp .warning {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-micro);
  font-weight: 500;
  color: var(--danger);
  text-align: left;
}

.glr-apply .gl-pp .warning a {
  color: var(--danger);
  font-weight: 600;
}

/* Submit overlay, toggled by .is-open. Sits outside .gl-pp. */
.glr-apply .gl-pp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 27, 42, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.glr-apply .gl-pp-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.glr-apply .gl-pp-modal-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 32px;
  border-radius: var(--glr-radius);
  background: #fff;
  box-shadow: var(--glr-shadow);
  text-align: center;
}

.glr-apply .gl-pp-modal-msg {
  margin: 0 0 20px;
  font-size: var(--fs-lead);
  font-weight: 600;
  color: var(--glr-navy);
}

.glr-apply .gl-pp-modal-sub {
  margin: 8px 0 0;
  color: var(--glr-muted);
}

/* `spin` is only defined in main.css. */
.glr-apply .gl-pp .gl-spinner,
.glr-apply .gl-pp-modal .gl-spinner,
.glr-apply .gl-ml .gl-spinner { animation-name: glr-pp-spin; }

@keyframes glr-pp-spin { to { transform: rotate(360deg); } }

/* --------------------- MoneyLion page (/offerengine/moneylion/) --- */

/* gravity-app-moneylion-glr.php. White cards, not the old navy ones.
   The summary card is built by gravity-app-moneylion.js. */
.glr-apply .gl-ml-subtitle {
  max-width: 520px;
  margin: -18px auto 28px;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-muted);
  text-align: center;
}

.glr-apply .gl-ml-loading { text-align: center; }
.glr-apply .gl-ml-loading p {
  margin: 0;
  font-size: var(--fs-body);
  color: var(--glr-muted);
}

.glr-apply .gl-ml-summary,
.glr-apply .gl-ml-screen { margin-bottom: 24px; }

.glr-apply .gl-ml-greeting {
  margin: 0 0 20px;
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--glr-navy);
  text-align: center;
}

.glr-apply .gl-ml-row { border-bottom-color: var(--glr-line); }
.glr-apply .gl-ml-row-label { font-size: var(--fs-small); color: var(--glr-muted); }
.glr-apply .gl-ml-row-value { font-size: var(--fs-body); color: var(--glr-navy); }

.glr-apply .gl-ml-offer {
  margin-top: 20px;
  padding: 20px;
  border-radius: var(--r-card);
  background: var(--glr-soft);
  text-align: center;
}

.glr-apply .gl-ml-offer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.glr-apply .gl-ml-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Memorable figures: Garamond 400, never bold. */
.glr-apply .gl-ml-stat strong {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.1;
  color: var(--glr-navy);
}

.glr-apply .gl-ml-stat span {
  font-size: var(--fs-micro);
  color: var(--glr-muted);
}

.glr-apply .gl-ml-confirm-note {
  margin: 20px 0 0;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--glr-muted);
  text-align: center;
}

.glr-apply .gl-ml-not-me-wrap {
  margin: 16px 0 0;
  text-align: center;
}

.glr-apply .gl-ml-not-me {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--glr-line);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--glr-muted);
  text-decoration: none;
  transition: border-color 160ms, color 160ms;
}

.glr-apply .gl-ml-not-me:hover { border-color: var(--glr-navy); color: var(--glr-navy); }
.glr-apply .gl-ml-not-me:focus-visible { outline: 2px solid var(--glr-navy); outline-offset: 3px; }

.glr-apply .gl-ml .gl-group-label { text-align: center; }

.glr-apply .gl-ml-proceed {
  margin: 8px 0 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-muted);
  text-align: center;
}

/* Bordered like .gl-pp-consent--scroll so it reads as scrollable. */
.glr-apply .gl-ml-disclosures {
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-bottom: 12px;
  padding: 14px 16px 2px;
  border: 1px solid var(--glr-line);
  border-radius: 12px;
  text-align: left;
}

.glr-apply .gl-ml-disclosures p {
  margin: 0 0 12px;
  font-size: var(--fs-micro);
  line-height: 1.6;
  color: var(--glr-muted);
}

.glr-apply .gl-ml .gl-tcpa { text-align: left; }
.glr-apply .gl-ml .gl-tcpa label { font-size: var(--fs-micro); }

/* The JS swaps the label for "Processing…" while it waits. */
.glr-apply .gl-ml .gl-submit-btn:disabled { opacity: 0.7; cursor: progress; transform: none; }

.glr-apply .gl-ml-inline-error {
  margin: 16px 0 0;
  font-size: var(--fs-small);
  color: var(--danger);
  text-align: center;
}

.glr-apply .gl-ml-inline-error a {
  color: var(--danger);
  font-weight: 600;
  white-space: nowrap;
}

/* -------------------------------------------- the apply chrome --- */

/* Logo bar: in flow, not fixed. The form is long and the bar has
   nothing in it worth keeping on screen. */
.glr-applybar {
  border-bottom: 1px solid var(--glr-line);
  background: #fff;
}

.glr-applybar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.glr-applybar__logo { display: block; line-height: 0; }
.glr-applybar__logo img { width: clamp(150px, 16vw, 190px); height: auto; }

.glr-applybar__help {
  margin: 0;
  font-size: var(--fs-micro);
  color: var(--glr-muted);
}

.glr-applybar__help a {
  color: var(--glr-navy);
  font-weight: 600;
  text-decoration: none;
}

.glr-applybar__help a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 480px) {
  .glr-applybar__help-label { display: none; }
}

/* The co-brand lockup: the partner's mark beside ours, behind a
   hairline. The only place the partnership appears. */
.glr-applybar__brand {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 20px);
  min-width: 0;
}

.glr-applybar__cobrand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-left: clamp(12px, 2vw, 20px);
  border-left: 1px solid var(--glr-line);
}

.glr-applybar__cobrand-label {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glr-muted);
  white-space: nowrap;
}

/* Capped on height, not width — partner logos arrive at every aspect
   ratio. */
.glr-applybar__cobrand-logo {
  height: clamp(26px, 2.4vw, 34px);
  width: auto;
  max-width: clamp(96px, 12vw, 150px);
  object-fit: contain;
  object-position: left center;
}

/* Two marks need the room, so ours gives a little back. */
.glr-applybar--cobrand .glr-applybar__logo img {
  width: clamp(132px, 13vw, 165px);
}

/* Under the site nav: clears the fixed bar; the nav has our logo. */
.glr-applybar--site { margin-top: 4.25rem; }

.glr-applybar--site .glr-applybar__cobrand {
  padding-left: 0;
  border-left: 0;
}

@media (max-width: 600px) {
  .glr-applybar--site .glr-applybar__inner { justify-content: center; }
}

/* The label goes first; the two marks carry it. */
@media (max-width: 720px) {
  .glr-applybar__cobrand-label { display: none; }
}

/* Narrower still: two rows, marks then number. Centred to match
   .glr main, which centres below this width. */
@media (max-width: 600px) {
  .glr-applybar--cobrand .glr-applybar__inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
  }

  /* Full row, so the marks centre as a pair. */
  .glr-applybar--cobrand .glr-applybar__brand {
    justify-content: center;
    width: 100%;
  }

  /* Label stacks over the partner's mark instead of inline before it,
     which frees the width. */
  .glr-applybar--cobrand .glr-applybar__cobrand {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .glr-applybar--cobrand .glr-applybar__cobrand-label { display: block; }

  .glr-applybar--cobrand .glr-applybar__logo img { width: clamp(140px, 38vw, 170px); }

  .glr-applybar--cobrand .glr-applybar__cobrand-logo {
    height: clamp(30px, 8vw, 38px);
    max-width: clamp(104px, 30vw, 140px);
  }

  .glr-applybar--cobrand .glr-applybar__help a {
    display: inline-block;
    padding: 4px 2px;
    font-size: var(--fs-small);
  }
}

/* The referral note. Replaces .referral-note, which lives in the
   dequeued main.css. */
.glr-apply__note {
  max-width: 680px;
  margin: clamp(24px, 2.5rem, 40px) auto 0;
  padding: 14px 20px;
  border: 1px solid var(--glr-line);
  border-radius: var(--r-card);
  background: var(--glr-soft);
  color: var(--glr-muted);
  font-size: var(--fs-small);
  line-height: 1.55;
  text-align: center;
}

/* The number again under the form. Replaces .cta-bottom, also from
   the dequeued main.css. */
.glr-applycall {
  margin-top: clamp(32px, 3.5rem, 56px);
}

.glr-applycall__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.glr-applycall__eyebrow {
  margin: 0;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--glr-muted);
}

.glr-applycall__number {
  margin: 0.5rem 0 0;
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  color: var(--glr-navy);
}

.glr-applycall__number a {
  color: inherit;
  text-decoration: none;
}

.glr-applycall__number a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* .glr-btn's 1.75rem is for use under body copy. */
.glr-applycall__btn {
  margin-top: 1rem;
}

/* Legal footer: no navigation, so there is nothing to wander off into
   halfway through an application. */
.glr-applyfoot {
  margin-top: clamp(32px, 4rem, 56px);
  padding: 1.25rem 0 1.5rem;
}

.glr-applyfoot__recaptcha {
  margin: 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
  color: var(--glr-muted);
}

.glr-applyfoot__recaptcha a {
  color: inherit;
  text-decoration: underline;
}

/* =====================================================================
   BLOG (blog-refresh.php, single-blog-refresh.php)

   The topic chips (reusing .glr-filters from the Offer Wall), the lead
   article, the card grid with its pager, and .glr-prose — the one place
   here where the markup is the editor's rather than ours.
   ===================================================================== */

/* -------------------------------------------------- topic chips --- */

/* The chips are links here, not buttons: they carry a ?topic= and work
   with JavaScript off, so every topic is a crawlable URL. .glr-filter
   does the rest. */
.glr-topics { margin-bottom: clamp(28px, 2.5rem, 40px); }
.glr-topics__label { margin-bottom: 0.9rem; text-align: center; }

/* ------------------------------------------------ lead article --- */

/* The newest post, once, at the top of page one: picture beside the
   words rather than above them, so it cannot be mistaken for one of
   the cards below. */
.glr-postlead {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: stretch;
  margin-bottom: clamp(32px, 3rem, 48px);
  border: 1px solid var(--glr-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--glr-shadow);
  overflow: hidden;
  transition: border-color 200ms, box-shadow 200ms;
}

.glr-postlead:hover {
  border-color: #c3cedb;
  box-shadow: 0 16px 40px rgba(16, 39, 70, 0.1);
}

.glr-postlead__media { position: relative; min-height: 260px; background: var(--glr-soft); }

.glr-postlead__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glr-postlead__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(26px, 2.5rem, 44px);
}

/* The one serif title in the list: it is the page's lead, and size is
   what this language leads with (§3). */
.glr-postlead__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.25rem, 38px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--glr-navy);
}

@media (max-width: 600px) {
  .glr-postlead__title { font-size: clamp(22px, 6.2vw, 26px); }
}

.glr-postlead__excerpt {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-muted);
}

/* Pushed to the bottom, so the title sits against the picture's top. */
.glr-postlead__more { margin-top: auto; font-size: var(--fs-small); font-weight: 600; color: var(--glr-blue); }

/* ------------------------------------------------- the card grid --- */

.glr-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* The whole card is the link — a title-only target is a small one. */
.glr-post {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--glr-line);
  border-radius: var(--glr-radius);
  background: #fff;
  box-shadow: var(--glr-shadow);
  overflow: hidden;
  transition: border-color 200ms, box-shadow 200ms, transform 200ms;
}

.glr-post:hover {
  border-color: #c3cedb;
  box-shadow: 0 16px 40px rgba(16, 39, 70, 0.1);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .glr-post:hover { transform: none; }
}

.glr-post__media {
  aspect-ratio: 16 / 9;
  background: var(--glr-soft);
  border-bottom: 1px solid var(--glr-line);
}

.glr-post__media img { width: 100%; height: 100%; object-fit: cover; }

.glr-post__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(20px, 1.75rem, 28px);
}

.glr-post__title { margin: 0; }

.glr-post__excerpt {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--glr-muted);
}

/* Last line of the card, after the copy, whatever its length. */
.glr-post__date {
  margin: auto 0 0;
  padding-top: 0.3rem;
  font-size: var(--fs-micro);
  color: var(--glr-muted);
}

/* --------------------------------------------------------- tags --- */

.glr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glr-tag {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--glr-tint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--glr-navy);
}

/* -------------------------------------------------------- pager --- */

/* ---- site search -------------------------------------------------
   The form in the results page's hero, and the list of results under
   it. Its own name: .glr-search is the Glossary's filter box, a
   different control with an icon and a clear button inside it. */
.glr-sitesearch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 34rem;
  margin: 1.75rem auto 0;
}

.glr-sitesearch__input {
  flex: 1 1 16rem;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--glr-line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: var(--fs-body);
  color: var(--glr-ink);
}

.glr-sitesearch__input:focus {
  outline: 0;
  border-color: var(--glr-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 232, 0.15);
}

.glr-sitesearch__submit { flex: 0 0 auto; margin-top: 0; }

.glr-results { display: grid; gap: 14px; }

.glr-result {
  display: block;
  padding: clamp(20px, 1.6rem, 28px);
  border: 1px solid var(--glr-line);
  border-radius: var(--glr-radius);
  background: #fff;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), transform 160ms var(--ease);
}

.glr-result:hover {
  border-color: #c3cedb;
  box-shadow: 0 16px 40px rgba(16, 39, 70, 0.1);
  transform: translateY(-2px);
}

.glr-result__title { margin: 0; }

.glr-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(36px, 3.5rem, 56px);
}

/* paginate_links() names these, not us. */
.glr-pager .page-numbers {
  display: grid;
  place-items: center;
  min-width: 42px;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--glr-line);
  border-radius: 12px;
  background: #fff;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--glr-navy);
  transition: border-color 160ms, background 160ms, color 160ms;
}

.glr-pager a.page-numbers:hover { border-color: var(--glr-navy); }

.glr-pager .page-numbers.current {
  border-color: var(--glr-navy);
  background: var(--glr-navy);
  color: #fff;
}

.glr-pager .page-numbers.dots { border-color: transparent; background: none; }

/* ------------------------------------------- nothing to show --- */

.glr-posts__none {
  margin: 0 auto;
  max-width: 34rem;
  text-align: center;
  font-size: var(--fs-body);
  color: var(--glr-muted);
}

/* ----------------------------------------------- the article --- */

/* Edge to edge above the title, like the Austin band, so the picture
   is the page's opening rather than a thumbnail of itself. */
/* The article's photo: after the title, at the width of the text, and
   framed like the images in the body so the two read as one. */
.glr-article__figure { margin: 0 0 clamp(28px, 2.5rem, 44px); }

.glr-article__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--glr-line);
  background: var(--glr-soft);
}

.glr-article {
  max-width: 44rem;   /* ~75 characters at --fs-body: a reading measure */
  margin: 0 auto;
}

.glr-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  font-size: var(--fs-micro);
  color: var(--glr-muted);
}

/* An article title, not a hero: .glr-h1's 76px ran long titles to eight
   lines on a phone. About 1.5x the body's h2. */
.glr-article__title {
  margin: 0 0 1.5rem;
  font-size: clamp(34px, 3.5rem, 52px);
  line-height: 1.12;
  text-wrap: balance;
}

/* The root is a fixed 16px at this width, so size by the viewport. */
@media (max-width: 900px) {
  .glr-article__title { font-size: clamp(30px, 8.5vw, 40px); }
}

.glr-article__back {
  display: inline-block;
  margin-top: clamp(32px, 3rem, 48px);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--glr-blue);
}

/* --------------------------------------------------- the prose --- */

/* The post body: the only markup in this language the editor writes,
   so every element it can produce is given a look here. */
.glr-prose {
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--glr-ink);
}

.glr-prose > :first-child { margin-top: 0; }
.glr-prose > :last-child { margin-bottom: 0; }

.glr-prose p { margin: 0 0 1.35rem; }

/* Serif, as everywhere else — but a step down from the title, which is
   the page's h1. A body h1 (nine posts have one) is treated as an h2:
   two h1s is the markup's mistake, not something to make louder. */
.glr-prose h1,
.glr-prose h2 {
  margin: 2.4rem 0 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2rem, 34px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--glr-navy);
}

/* 2rem is 32px on the fixed phone root, above the article title. */
@media (max-width: 900px) {
  .glr-prose h1,
  .glr-prose h2 { font-size: clamp(24px, 6.4vw, 30px); }
}

.glr-prose h3 {
  margin: 2rem 0 0.7rem;
  font-family: var(--font-sans);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  color: var(--glr-navy);
}

.glr-prose h4 {
  margin: 1.7rem 0 0.6rem;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--glr-navy);
}

.glr-prose ul,
.glr-prose ol { margin: 0 0 1.35rem; padding-left: 1.4rem; }
.glr-prose li { margin-bottom: 0.5rem; }
.glr-prose li::marker { color: var(--glr-navy); }

/* Terms partner list: columns, not one long strip */
.glr-prose .glr-partners { columns: 3; column-gap: 2rem; scroll-margin-top: 100px; }
.glr-prose .glr-partners li { break-inside: avoid; margin-bottom: 0.35rem; }
@media (max-width: 860px) {
  .glr-prose .glr-partners { columns: 2; }
}

/* Inter stops at 600; <b> and <strong> ask for 700 and would be faked
   (§3). The pasted spans carrying font-weight:400 are left alone — they
   are deliberate normal weight, not a mistake. */
.glr-prose b,
.glr-prose strong { font-weight: 600; color: var(--glr-navy); }

/* Some posts wrap heading text in <b> too (a Google Docs paste). The
   heading has set its weight and Garamond has only 400, so the rule
   above must not reach inside one. */
.glr-prose h1 b, .glr-prose h1 strong,
.glr-prose h2 b, .glr-prose h2 strong,
.glr-prose h3 b, .glr-prose h3 strong,
.glr-prose h4 b, .glr-prose h4 strong {
  font-weight: inherit;
  color: inherit;
}

/* Links in running text are the one place blue is not a button, so
   they are navy and underlined instead (§2). */
.glr-prose a {
  color: var(--glr-navy);
  text-decoration: underline;
  text-decoration-color: rgba(23, 41, 92, 0.35);
  text-underline-offset: 3px;
}

.glr-prose a:hover { text-decoration-color: var(--glr-navy); }

.glr-prose blockquote {
  margin: 1.8rem 0;
  padding: 0.2rem 0 0.2rem 1.4rem;
  border-left: 3px solid var(--glr-line);
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--glr-muted);
}

.glr-prose img {
  margin: 1.8rem 0;
  border-radius: 14px;
  border: 1px solid var(--glr-line);
}

/* One post has a table. It scrolls rather than squeezing the page. */
.glr-prose .glr-prose__scroll { margin: 1.8rem 0; overflow-x: auto; }

.glr-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}

.glr-prose th,
.glr-prose td {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--glr-line);
  text-align: left;
  vertical-align: top;
}

.glr-prose th { background: var(--glr-soft); font-weight: 600; color: var(--glr-navy); }

.glr-prose hr { margin: 2.2rem 0; border: 0; border-top: 1px solid var(--glr-line); }

/* The Privacy Policy signs off with one. Upright, not the
   browser's italic. */
.glr-prose address { font-style: normal; line-height: 1.8; }

/* ------------------------------ opt-out preferences (Complianz) --- */

/* page-opt-out-preferences-glr.php. The document is Complianz's and its
   document.min.css still loads; these put its request form, cookie
   listings and consent toggles on the refresh's fields, button and
   cards. The plugin styles by ID, so each rule carries the same ID. */

/* Legal copy stays left-aligned where the refresh centres phones. */
.glr-cmplz { text-align: left; }

/* WordPress's screen-reader class, which the plugin uses; as .sr-only. */
.glr-cmplz .screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.glr-cmplz #cmplz-datarequest-form {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2.2rem;
  padding: clamp(20px, 1.75rem, 30px);
  border: 1px solid var(--glr-line);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--glr-shadow);
}

/* Name and Email. Not the honeypot label, which sits directly in the
   form and stays hidden by the plugin. */
.glr-cmplz #cmplz-datarequest-form > div:not(.cmplz_datarequest) { display: grid; gap: 0.4rem; }

.glr-cmplz #cmplz-datarequest-form > div:not(.cmplz_datarequest) > label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--glr-navy);
}

.glr-cmplz #cmplz-datarequest-form input[type="text"],
.glr-cmplz #cmplz-datarequest-form input[type="email"] {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--glr-line);
  border-radius: 12px;
  background: #fff;
  color: var(--glr-ink);
  font-size: max(var(--fs-small), 16px);
  line-height: 1.4;
  transition: border-color 160ms, box-shadow 160ms;
}

.glr-cmplz #cmplz-datarequest-form input::placeholder { color: #8795a8; }

.glr-cmplz #cmplz-datarequest-form input[type="text"]:focus,
.glr-cmplz #cmplz-datarequest-form input[type="email"]:focus {
  border-color: var(--glr-blue);
  box-shadow: 0 0 0 3px rgba(26, 86, 232, 0.14);
  outline: none;
}

/* The requests: checkbox beside its wording, under a hairline. */
.glr-cmplz #cmplz-datarequest-form .cmplz_datarequest_global_optout {
  margin-top: 0.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--glr-line);
}

.glr-cmplz #cmplz-datarequest-form .cmplz_datarequest label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--glr-ink);
  cursor: pointer;
}

.glr-cmplz #cmplz-datarequest-form .cmplz_datarequest input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--glr-navy);
}

/* Send, as a .glr-btn (an <input>, so no arrow). */
.glr-cmplz #cmplz-datarequest-form #cmplz-datarequest-submit {
  justify-self: start;
  margin-top: 0.5rem;
  padding: 0.95rem 1.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--glr-blue);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 86, 232, 0.24);
  transition: background 160ms var(--ease), transform 160ms var(--ease);
}

.glr-cmplz #cmplz-datarequest-form #cmplz-datarequest-submit:hover {
  background: var(--glr-blue-hover);
  transform: translateY(-1px);
}

/* The plugin's sent / failed message; it keeps its own colours. */
.glr-cmplz .cmplz-datarequest.cmplz-alert {
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: var(--fs-small);
}

/* Cookie listings: bordered cards, the open one with a soft header. */
.glr-cmplz #cmplz-document .cmplz-dropdown {
  margin: 0 0 0.6rem;
  border: 1px solid var(--glr-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.glr-cmplz #cmplz-document .cmplz-dropdown summary {
  margin: 0;
  padding: 0.9rem 1.1rem;
  background: #fff;
}

.glr-cmplz #cmplz-document .cmplz-dropdown[open] summary {
  background: var(--glr-soft);
  border-bottom: 1px solid var(--glr-line);
}

.glr-cmplz #cmplz-document .cmplz-dropdown summary:focus-visible {
  outline: 2px solid var(--glr-navy);
  outline-offset: -2px;
}

.glr-cmplz #cmplz-document .cmplz-dropdown summary h3 {
  padding: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--glr-navy);
}

.glr-cmplz #cmplz-document .cmplz-dropdown summary p {
  font-size: var(--fs-micro);
  color: var(--glr-muted);
}

.glr-cmplz #cmplz-document .cmplz-dropdown h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--glr-navy);
}

.glr-cmplz #cmplz-document .cmplz-dropdown p,
.glr-cmplz #cmplz-document .cmplz-dropdown a { font-size: var(--fs-small); }

.glr-cmplz #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose,
.glr-cmplz #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose div {
  border-color: var(--glr-line);
  font-size: var(--fs-small);
}

.glr-cmplz #cmplz-document .cmplz-dropdown.cmplz-dropdown-cookiepolicy .cookies-per-purpose h5 {
  margin: 0;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--glr-navy);
}

/* Consent toggles (filled in by the plugin's script): the same cards. */
.glr-cmplz #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category {
  margin-bottom: 0.6rem;
  border: 1px solid var(--glr-line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.glr-cmplz #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header {
  padding: 0.8rem 1.1rem;
  background: #fff;
}

.glr-cmplz #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-title {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--glr-navy);
}

.glr-cmplz #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-header .cmplz-always-active {
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--glr-muted);
}

.glr-cmplz #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-consent-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--glr-navy);
}

.glr-cmplz #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-category-toggle svg { fill: var(--glr-navy); }

.glr-cmplz #cmplz-manage-consent-container.cmplz-manage-consent-container .cmplz-categories .cmplz-category .cmplz-description {
  padding: 0 1.1rem 1rem;
  font-size: var(--fs-small);
  color: var(--glr-muted);
}

/* -------------------------------------------- bill pay (/payment/) --- */

/* gravity-payment-glr.php around template-parts/gravity-payment-body.php.
   These rules lived in the dequeued main.css. */
.glr .gl-payment { padding: calc(4.25rem + clamp(40px, 5vw, 80px)) 0 clamp(56px, 6vw, 96px); }

.glr .gl-payment .container {
  width: 100%;
  max-width: clamp(720px, 90rem, 1040px);
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 32px);
}

/* The page's title and intro, as the plain hero. */
.glr .gl-payment-intro { text-align: center; }

.glr .gl-payment-title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--glr-navy);
}

.glr .gl-payment-content {
  max-width: 40rem;
  margin: 0 auto;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--glr-muted);
}

.glr .gl-payment-content p { margin: 0; }
.glr .gl-payment-content a { color: var(--glr-navy); font-weight: 600; white-space: nowrap; }

/* Card form beside a sticky summary; one column at phone widths. Carries
   .gl-payment so its margin beats the .container rule above. */
.glr .gl-payment .gl-payment-transaction {
  display: grid;
  gap: 24px;
  margin-top: clamp(32px, 3rem, 48px);
  text-align: left;
}

@media (min-width: 861px) {
  .glr .gl-payment .gl-payment-transaction {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }

  .glr .gl-payment-summary {
    position: sticky;
    top: calc(4.25rem + 16px);
  }
}

.glr .gl-payment-form,
.glr .gl-payment-summary {
  padding: clamp(20px, 1.75rem, 30px);
  border: 1px solid var(--glr-line);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--glr-shadow);
}

.glr .gl-payment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-bottom: 20px;
}

.glr .gl-payment-meta-item { margin: 0; }

.glr .gl-payment-meta-label {
  margin-right: 6px;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--glr-navy);
}

.glr .gl-payment-meta-value {
  font-size: var(--fs-body);
  color: var(--glr-ink);
}

.glr .gl-payment-card { margin-bottom: 20px; }

.glr .gl-payment-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 14px;
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--glr-ink);
  cursor: pointer;
}

.glr .gl-payment-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--glr-navy);
}

.glr .gl-payment-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0.45rem 0;
  font-size: var(--fs-small);
  color: var(--glr-ink);
}

.glr .gl-payment-summary-label {
  font-weight: 600;
  color: var(--glr-navy);
}

.glr .gl-payment-summary-total {
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--glr-line);
  align-items: baseline;
}

/* The total is the figure that matters: Garamond, as the refresh's
   other memorable figures. */
.glr .gl-payment-summary-total .gl-payment-summary-value {
  font-family: var(--font-serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  color: var(--glr-navy);
}

.glr .gl-payment-disclaimer {
  margin: 0.75rem 0 0;
  font-size: var(--fs-micro);
  line-height: 1.55;
  color: var(--glr-muted);
}

.glr .gl-payment-error {
  margin-top: 0.9rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #c0392b;
}

.glr .gl-payment-error p { margin: 0; }

/* Submit Payment, as a full-width .glr-btn. */
.glr .gl-payment-submit {
  justify-content: center;
  width: 100%;
  margin-top: 1.1rem;
  padding: 0.95rem 1.6rem;
  border: 0;
  border-radius: 999px;
  background: var(--glr-blue);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 86, 232, 0.24);
  transition: background 160ms var(--ease), transform 160ms var(--ease);
}

.glr .gl-payment-submit:hover {
  background: var(--glr-blue-hover);
  transform: translateY(-1px);
}

.glr .gl-payment-submit:focus-visible {
  outline: 2px solid var(--glr-navy);
  outline-offset: 3px;
}

/* Paid, and no-transaction: a centred card. The JS swaps the success
   message into the two-column grid, so it spans both. */
.glr .gl-payment-success { grid-column: 1 / -1; padding: 32px 0; text-align: center; }

.glr .gl-payment-success h3,
.glr .gl-payment .gl-payment-empty h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2rem, 34px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--glr-navy);
}

.glr .gl-payment-success p,
.glr .gl-payment .gl-payment-empty p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--glr-muted);
}

.glr .gl-payment .gl-payment-empty {
  width: calc(100% - 2 * clamp(20px, 3vw, 32px));
  max-width: 40rem;
  margin: clamp(32px, 3rem, 48px) auto 0;
  padding: clamp(24px, 2rem, 36px);
  border: 1px solid var(--glr-line);
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: var(--glr-shadow);
  text-align: center;
}

/* ----------------------------------------------------- responsive --- */

@media (max-width: 1000px) {
  .glr-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .glr-postlead { grid-template-columns: minmax(0, 1fr); }
  .glr-postlead__media { min-height: 0; aspect-ratio: 16 / 9; }
  .glr-postlead__media img { position: static; }
  /* §10 centres a stacked section; an article list keeps its left edge. */
  .glr-postlead__body { text-align: left; }
  .glr-post__body { text-align: left; }
  .glr-tags { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .glr-posts { grid-template-columns: minmax(0, 1fr); }
}

/* ---- address autocomplete ----------------------------------------
   From dev (WF-3829). The same rules main.css carries, scoped to
   the apply page: the refresh dequeues main.css, so the dropdown
   would otherwise be unstyled here. */
/* ─── Address autocomplete ──────────────────────────── */
.glr-apply .gl-addr-wrap {
    position: relative;
}

.glr-apply .gl-addr-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 260px;
    overflow-y: auto;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: var(--white);
    border: 1px solid var(--gravity-darkblue);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Explicit, so no later display rule can outrank the hidden attribute. */
.glr-apply .gl-addr-list[hidden] {
    display: none;
}

.glr-apply .gl-addr-item {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--text);
    cursor: pointer;
}

.glr-apply .gl-addr-item:hover,
.glr-apply .gl-addr-item.is-active {
    background: rgba(15, 36, 84, 0.08);
}

.glr-apply .gl-addr-main {
    display: block;
    font-weight: 600;
}

.glr-apply .gl-addr-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ======================================================= dual screen
   Foldable / dual-screen home layout (CSS Viewport Segments).
   Chromium only — WebKit does not implement viewport segments, so this
   never fires in Safari on any iOS device.
   ------------------------------------------------------------------ */

@media (horizontal-viewport-segments: 2) {

  /* panel 1 | hinge | panel 2, aligned to the physical screens */
  .home .glr-wrap {
    display: grid;
    grid-template-columns:
      env(viewport-segment-width 0 0)
      calc(env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0))
      env(viewport-segment-width 1 0);
    max-width: none;
    padding: 0;
  }

  /* panel 1 unless placed otherwise, so nothing lands under the hinge */
  .home .glr-wrap > * { grid-column: 1; }

  /* gutters as margins: the tracks must stay flush to the segments */
  .home .glr-wrap > *,
  .home .glr-intro > *,
  .home .glr-bento > *,
  .home .glr-flow > * { margin-inline: clamp(20px, 3vw, 32px); }

  .home .glr-intro,
  .home .glr-bento,
  .home .glr-flow { margin-inline: 0; }

  /* heading beside its intro becomes heading | hinge | intro */
  .home .glr-intro {
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
  }

  .home .glr-intro > :first-child { grid-column: 1; }
  .home .glr-intro > :last-child { grid-column: 3; }

  /* tiles and steps alternate panels instead of crossing the hinge */
  .home .glr-bento,
  .home .glr-flow {
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
  }

  .home .glr-bento > :nth-child(odd),
  .home .glr-flow > :nth-child(odd) { grid-column: 1; }

  .home .glr-bento > :nth-child(even),
  .home .glr-flow > :nth-child(even) { grid-column: 3; }

  /* the hero photo stops at the hinge rather than bleeding over it */
  .home .glr-hero__media { width: env(viewport-segment-width 1 0); }

  /* A panel is about phone width, but the width queries still measure
     the whole unfolded viewport, so the explorer keeps its wide layout
     and the note pill wraps over the bars. Narrow treatment by hand. */
  .home .glr-explore__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home .glr-explore__stage { grid-template-columns: minmax(0, 1fr); }
  .home .glr-explore__panel { text-align: center; }
  .home .glr-explore__tab { justify-content: center; text-align: center; }
  .home .glr-bars__foot { justify-content: center; text-align: center; }
  .home .glr-bars__row { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .home .glr-bars__track { height: 84px; }

  .home .glr-bars__note {
    position: static;
    justify-self: start;
    max-width: none;
    border-radius: 12px;
    text-align: left;
  }
}
