/* ═══════════════════════════════════════════════════════════════════════
   TICKFLOW CAPITAL - CORE STYLESHEET
   ────────────────────────────────────────────────────────────────────────
   Shared across every page on the site. Contains design tokens, base
   reset, typography, focus and accessibility, utility classes, layout
   primitives, buttons, cards, badges, the loading spinner, skip link,
   navigation (both variants), footer (both variants), back-to-top, the
   Google Translate widget, print styles and reduced-motion handling.

   What is NOT here: any selector that only applies to one page group
   (homepage, legal documents, blog posts, blog index, downloads,
   models, team, error pages). Those live in pages.css.

   Naming discipline
     · Design tokens are declared once, as a superset of every page's
       existing declarations. No page should re-declare them.
     · Class selectors use kebab-case. ID selectors are used only for
       the two singleton page elements that must remain globally unique
       (#loading-spinner, #google_translate_element); every other
       selector is class-based so the HTML can move between variants
       freely.
     · The nav and footer each support two shape variants. Both
       variants are defined here, scoped by their own wrapper class, so
       extracting to a shared file does not force an HTML rewrite.
     · Colour semantics: --ink / --paper / --dust are the brand
       palette. --good / --warn / --bad / --info are functional data
       accents used only for pass/fail and status states, never
       decoratively.

   Version: 1.0.1
   ═══════════════════════════════════════════════════════════════════════

   TABLE OF CONTENTS
     01. Design tokens
     02. Base reset
     03. Typography
     04. Focus and accessibility
     05. Utilities
     06. Layout primitives
     07. Buttons
     08. Cards
     09. Badges and tags
     10. Loading spinner
     11. Skip link
     12. Navigation
     13. Footer
     14. Back-to-top
     15. Google Translate widget
     16. Print
     17. Reduced motion
     18. Core responsive
   ══════════════════════════════════════════════════════════════════════ */


/* ─── 01. DESIGN TOKENS ──────────────────────────────────────────────
   Superset of every token used anywhere on the site. If a page needs a
   new token, add it here rather than redeclaring :root in pages.css.
   ──────────────────────────────────────────────────────────────────── */

:root {
  /* Brand palette - from the brand book */
  --ink:       #000000;
  --ink-2:     #1a1a1a;
  --ink-3:     #4d4d4d;
  --ink-4:     #6b6b6b;
  --dust:      #d3d3d3;
  --paper:     #ffffff;
  --paper-2:   #f7f7f7;
  --paper-3:   #efefef;
  --border:    #e5e5e5;
  --border-2:  #d3d3d3;

  /* Functional data accents - pass/fail, status, info. Used only
     where a state must be distinguished, always alongside a label. */
  --good:      #1a6e27;
  --warn:      #b45309;
  --bad:       #b3261e;
  --info:      #1e3a8a;

  /* Typography */
  --ff-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas,
             'Liberation Mono', monospace;

  /* Geometry */
  --r:    6px;
  --r-2:  12px;
  --r-3:  16px;

  /* Layout */
  --container: 1120px;
  --pad-x:     clamp(1rem, 4vw, 1.5rem);
  --section-y: clamp(2rem, 4vw, 3rem);

  /* Elevation */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .04);
  --shadow-2: 0 4px 12px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .06);
}


/* ─── 02. BASE RESET ─────────────────────────────────────────────────
   Universal reset with the safe subset of "modern reset" defaults.
   box-sizing:border-box on everything, image max-width, no default
   heading margins, no default <p> margins (pages add their own).
   ──────────────────────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

p { margin: 0; }

hr { border: 0; }


/* ─── 03. TYPOGRAPHY ─────────────────────────────────────────────────
   Headings use the brand's −25 tracking on h1 and −20 on the rest.
   Font weight is 600 (SemiBold) throughout. Sizes are fluid where the
   original pages used fluid sizes; page-specific titles that override
   these values are scoped in pages.css.
   ──────────────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--ff-sans);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
h1 { font-size: clamp(1.85rem, 4.2vw, 2.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); }
h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
h4 { font-size: 0.92rem; letter-spacing: -0.01em; }

code {
  font-family: var(--ff-mono);
  font-size: .9em;
  background: var(--paper-2);
  padding: .1em .35em;
  border-radius: 3px;
  color: var(--ink-2);
}


/* ─── 04. FOCUS AND ACCESSIBILITY ────────────────────────────────────
   Single, consistent focus ring everywhere. Visible for keyboard users
   only, never removed, always 2px solid ink with a 4px corner radius on
   the element. Applies to every focusable element on every page.
   ──────────────────────────────────────────────────────────────────── */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}


/* ─── 05. UTILITIES ──────────────────────────────────────────────────
   Small, single-purpose classes that appear on two or more page
   groups. Anything used on a single group lives in pages.css instead.
   ──────────────────────────────────────────────────────────────────── */

.tabular {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum';
}

/* Inline monospace text - used for artifact IDs, code spans in prose,
   configuration values. NOTE: legal documents historically reused
   ".mono" for an uppercase label style. That override is scoped to the
   legal page group in pages.css; here, ".mono" is the generic
   monospace utility. */
.mono {
  font-family: var(--ff-mono);
  font-size: .82rem;
  line-height: 1.7;
}

.small {
  font-size: .82rem;
  color: var(--ink-4);
  line-height: 1.6;
}

.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}

.eyebrow {
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: .9rem;
}

.lead {
  max-width: 720px;
  margin-top: .85rem;
  color: var(--ink-3);
  line-height: 1.75;
}

.section-alt { background: var(--paper-2); }


/* ─── 06. LAYOUT PRIMITIVES ──────────────────────────────────────────
   One container, one section rhythm. Pages that need a different
   max-width or vertical padding override these in pages.css under
   their own scope, never by redefining :root or .container globally.
   ──────────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { scroll-margin-top: 70px; }


/* ─── 07. BUTTONS ────────────────────────────────────────────────────
   One button component, four variants. Every page that used ".btn"
   inline now gets this definition. Pages should NOT redeclare .btn,
   .btn-primary, .btn-secondary, .btn-sm, .btn-block or .btn:disabled -
   if a page needs a different button shape, add a modifier class in
   pages.css (e.g. ".btn-ghost") rather than overriding the base.
   ──────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .65rem 1.2rem;
  border-radius: var(--r);
  font-family: var(--ff-sans);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active          { transform: translateY(1px); }
.btn:disabled        { opacity: .55; cursor: not-allowed; }
.btn-primary         { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover   { background: var(--ink-2); border-color: var(--ink-2); }
.btn-secondary       { background: transparent; color: var(--ink); border-color: var(--border-2); }
.btn-secondary:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-sm              { padding: .5rem .9rem; font-size: .8rem; }
.btn-block           { width: 100%; }


/* ─── 08. CARDS ──────────────────────────────────────────────────────
   The bare card primitive. Every page that uses ".card" gets this.
   Pages can extend with their own class (e.g. ".model-card") in
   pages.css; they should not redefine the base ".card".
   ──────────────────────────────────────────────────────────────────── */

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  padding: 1.75rem;
}
.card-featured { border-color: var(--ink); }
.card-title    { margin-bottom: .5rem; }
.card p        { color: var(--ink-3); font-size: .9rem; line-height: 1.65; }

.card-section {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  margin: var(--section-y) 0;
}

.section-title {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}


/* ─── 09. BADGES AND TAGS ────────────────────────────────────────────
   Two components. ".badge" is a pill for pass/fail status on tables
   and metrics. ".tag" is a small square chip for descriptive tags.
   Both are label-bearing; neither is decorative.
   ──────────────────────────────────────────────────────────────────── */

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink);
  white-space: nowrap;
}
.badge-pass { background: transparent; color: var(--good); }
.badge-fail { background: transparent; color: var(--bad); }

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .25rem .6rem;
  margin: .5rem .3rem 0 0;
}


/* ─── 10. LOADING SPINNER ────────────────────────────────────────────
   Single spinner, single keyframe, single duration. The spinner border
   is --border; the top-of-ring accent is --ink. Duration is 1.4s - slow
   enough to read as "loading" rather than "alert". Reduced-motion users
   get 3s and a shortened fade (see section 17).
   ──────────────────────────────────────────────────────────────────── */

#loading-spinner {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 600ms cubic-bezier(.4, 0, .2, 1);
  will-change: opacity;
}
#loading-spinner.fade-out { opacity: 0; pointer-events: none; }

.spinner {
  width: 44px;
  height: 44px;
  border: 2.5px solid var(--border);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 1.4s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }


/* ─── 11. SKIP LINK ──────────────────────────────────────────────────
   Off-screen until focused, then pinned to the top-left. Black pill
   with white text; independent of page scroll.
   ──────────────────────────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: .75rem 1.25rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r);
  font-size: .9rem;
  font-weight: 500;
  z-index: 10000;
  transition: top .15s;
}
.skip-link:focus { top: 1rem; }


/* ─── 12. NAVIGATION ─────────────────────────────────────────────────
   Supports two structural variants that already exist across the site:

     (A) Full nav - logo + link list + action buttons + mobile drawer
         Wrapper: <header class="nav"> ... </header>
         or       <nav class="nav">     ... </nav>
         or       <nav>                 ... </nav>   (top-level nav)

     (B) Breadcrumb nav - logo + single back-link, no drawer
         Wrapper: <nav> ... </nav>    (legal pages)

   The two variants share .nav-inner, .nav-logo and .nav-toggle. The
   link list, action buttons and drawer are only rendered in variant A.
   Styling a body > nav element covers the pages that use a bare <nav>
   without a class; other pages use .nav explicitly.
   ──────────────────────────────────────────────────────────────────── */

.nav,
body > nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 62px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.nav-logo img,
.logo img {
  height: 32px;
  width: auto;
  display: block;
}

/* Variant A: primary link list */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 400;
  color: var(--ink-3);
  transition: color .15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }

/* Variant A: right-hand action group. Two class names appear on the
   site - .nav-actions (newer pages) and .nav-cta (homepage). Both are
   styled identically here so the HTML can be standardised lazily. */
.nav-actions,
.nav-cta {
  display: flex;
  gap: .5rem;
  align-items: center;
}

/* Variant B: breadcrumb back-link */
.nav-back {
  font-family: var(--ff-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-4);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .15s;
}
.nav-back:hover { color: var(--ink); }

/* Mobile drawer toggle. Two class names appear across the site -
   .nav-toggle (newer) and .hamburger (blog post 1). Both are styled
   identically so both render the same until the HTML is unified. */
.nav-toggle,
.hamburger {
  display: none;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle span,
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}

/* Mobile drawer. Same reasoning as the toggle: two class names and
   two "open" state mechanisms exist on the site - data-open="true"
   (attribute) and .active (class). Both are handled so the drawer
   works whichever mechanism the page uses. */
.nav-mobile,
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--paper);
}
.nav-mobile[data-open="true"],
.nav-mobile.is-open,
.mobile-nav[data-open="true"],
.mobile-nav.active,
.mobile-nav.is-open { display: flex; }

.nav-mobile a,
.mobile-nav a {
  padding: .9rem var(--pad-x);
  font-size: .92rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:hover,
.mobile-nav a:hover { background: var(--paper-2); }


/* ─── 13. FOOTER ─────────────────────────────────────────────────────
   Supports two structural variants:

     (A) Five-column footer - brand block + four link columns + a
         two-part bottom bar. Used on homepage, blog, downloads,
         models, team.
         Wrapper: <footer class="footer"><div class="container">...

     (B) Compact footer - brand block + inline link strip + centred
         copyright line. Used on legal pages and the legal hub.
         Wrapper: <footer class="footer"><div class="footer-inner">...

   Both share <footer class="footer"> and the ink background. The inner
   layout differs and is scoped by the inner wrapper class.
   ──────────────────────────────────────────────────────────────────── */

.footer {
  background: var(--ink);
  color: #b5b5b5;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer a       { color: #b5b5b5; }
.footer a:hover { color: var(--paper); }

/* Variant A: five-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand img { height: 30px; width: auto; margin-bottom: 1rem; }
.footer-brand p {
  font-size: .85rem;
  line-height: 1.7;
  max-width: 280px;
  color: #b5b5b5;
}
.footer-social { display: flex; gap: .75rem; margin-top: 1rem; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: #b5b5b5;
  transition: background .15s, color .15s;
}
.footer-social-link:hover {
  background: rgba(255, 255, 255, .12);
  color: var(--paper);
}
.footer-social-link svg { width: 16px; height: 16px; }

.footer-col h4,
.footer-col h5 {
  font-family: var(--ff-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .5rem;
}
.footer-col a {
  font-size: .82rem;
  color: #b5b5b5;
  transition: color .15s;
}
.footer-col a:hover { color: var(--paper); }

/* Variant B: compact footer */
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-copy {
  font-size: .78rem;
  color: #888;
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--ff-sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b5b5b5;
  text-decoration: none;
  transition: color .15s;
}
.footer-links a:hover { color: var(--paper); }

/* Shared bottom bar. The five-column layout puts this inside
   .container; the compact variant also uses it inside .container on
   the legal hub, and standalone (centred) on individual legal pages.
   The base rule here is the flex variant. The centred variant is
   scoped to legal documents in pages.css. */
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .78rem;
  color: #888;
  line-height: 1.6;
  margin-top: 1.5rem;
}
.footer-bottom p { color: #888; margin: 0; }
.footer-bottom a { color: #b5b5b5; text-decoration: underline; }


/* ─── 14. BACK-TO-TOP ────────────────────────────────────────────────
   Round black button, fixed bottom-right, hidden until the page has
   scrolled past 400px (the toggle is in JS). Reduced-motion users get
   the same behaviour; the transition duration is zeroed in section 17.
   ──────────────────────────────────────────────────────────────────── */

.back-to-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  z-index: 500;
  box-shadow: var(--shadow-2);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--ink-2); }
.back-to-top svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ─── 15. GOOGLE TRANSLATE WIDGET ────────────────────────────────────
   Fixed bottom-right, above the back-to-top button. The widget is
   hidden on small screens (it competes with the mobile drawer and the
   content column).
   ──────────────────────────────────────────────────────────────────── */

.goog-te-gadget {
  font-family: var(--ff-sans) !important;
  font-size: 0 !important;
}
.goog-te-gadget .goog-te-combo {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 6px;
  padding: 8px 32px 8px 12px;
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 400;
  cursor: pointer;
  outline: none;
  transition: background .15s, transform .15s;
  box-shadow: var(--shadow-2);
  min-width: 140px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}
.goog-te-gadget .goog-te-combo:hover { background-color: var(--ink-2); transform: translateY(-1px); }
.goog-te-gadget .goog-te-combo option { background: var(--paper); color: var(--ink); }
.goog-te-gadget span { display: none !important; }

#google_translate_element {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 1000;
}


/* ─── 16. PRINT ──────────────────────────────────────────────────────
   Standard print rules. Pages that need to hide more (blog post CTAs,
   legal TOCs, download modals) add their own rules in pages.css under
   an @media print block.
   ──────────────────────────────────────────────────────────────────── */

@media print {
  .nav,
  body > nav,
  .footer,
  .back-to-top,
  #google_translate_element { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a    { color: #000; text-decoration: underline; }
}


/* ─── 17. REDUCED MOTION ─────────────────────────────────────────────
   Zero-duration animation everywhere, keep the fade on the loader but
   shorten it, slow the spinner instead of stopping it (stopping leaves
   a static ring which reads as "hung"), and disable smooth scroll.
   ──────────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  #loading-spinner { transition: opacity 200ms linear; }
  .spinner         { animation-duration: 3s; }
}


/* ─── 18. CORE RESPONSIVE ────────────────────────────────────────────
   Breakpoint behaviour that every page relies on: the nav collapses
   to the mobile drawer, the footer stacks, the container narrows. Any
   page-specific responsive overrides live in pages.css under the same
   breakpoints.
   ──────────────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .nav-links,
  .nav-actions,
  .nav-cta { display: none; }
  .nav-toggle,
  .hamburger { display: block; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.2rem; }

  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  #google_translate_element { display: none; }
}