/* ==========================================================================
   weio-responsive.css — the responsive + shell-unification layer.
   Added 2026-08-21 (ui/responsive-audit) after a 16-page x 3-viewport
   headless audit of every public surface at 390 / 768 / 1400 px.

   WHY A SEPARATE FILE: weio.ai serves the public site through TWO shells that
   drifted apart —
     Shell M "marketing"  market_base.html  -> weio-marketing.css
                          /  /about  /blog  /blog/<slug>  /changelog  /status
     Shell A "app+legal"  base.html         -> public.css + quiet-ledger + lumen
                          /pricing /developers /terms /privacy /dpa
                          /subprocessors /support /login /register /request-access
   This file loads LAST in BOTH shells, so it is the one place that can correct
   either one without editing their sources (which other workstreams own).
   Everything here is layout, spacing, colour tokens and hit areas. NO copy.

   Body hooks used:
     body.weio-public   -> a PUBLIC page in shell A (set in base.html). Scopes the
                           palette/type unification so authed /my/* pages are untouched.
     body.weio-market   -> a page in shell M (set in market_base.html).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. STICKY-HEADER OCCLUSION
   Both shells use a translucent `position:sticky` bar (65px marketing, 56px
   app) over `html{scroll-behavior:smooth}` and NEITHER declared a
   scroll-padding. Every in-page anchor (/#how, /#what, /#pricing, and every
   legal-doc #section deep link) therefore parked its target heading
   UNDERNEATH the bar. This is the defect the owner photographed.
   -------------------------------------------------------------------------- */
:root { --weio-hdr-h: 65px; }
body.weio-public { --weio-hdr-h: 56px; }

html {
  /* Anchor jumps stop BELOW the bar, with breathing room. */
  scroll-padding-top: calc(var(--weio-hdr-h, 65px) + 14px);
}
:target,
[id]:target {
  scroll-margin-top: calc(var(--weio-hdr-h, 65px) + 14px);
}

/* The bar is `background: <paper> 82%` + backdrop-filter. When backdrop-filter
   is unavailable or degraded (iOS Safari under Low Power Mode, Android WebView,
   forced-colors) the bar goes near-transparent and body text scrolls straight
   through it, reading as "clipped" text. On phones the blur buys us nothing —
   make it opaque so nothing can ever show through. */
@media (max-width: 820px) {
  body.weio-market header#hdr { background: var(--paper, #F4F2EC); }
  body.weio-public nav.nav    { background: var(--paper, #F7F5EF); }
}
/* Same guarantee for anyone without backdrop-filter at any width. */
@supports not (backdrop-filter: blur(1px)) {
  body.weio-market header#hdr { background: var(--paper, #F4F2EC); }
  body.weio-public nav.nav    { background: var(--paper, #F7F5EF); }
}

/* --------------------------------------------------------------------------
   2. iOS SAFE AREAS
   Both shells ship `viewport-fit=cover` now, so env() insets are real. Without
   this the sticky bar and the footer run under the notch / home indicator.
   -------------------------------------------------------------------------- */
body.weio-market header#hdr > .wrap,
body.weio-public nav.nav {
  padding-left:  max(var(--weio-nav-pad, 20px), env(safe-area-inset-left));
  padding-right: max(var(--weio-nav-pad, 20px), env(safe-area-inset-right));
}
body.weio-market footer.site { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
body.weio-public footer      { padding-bottom: env(safe-area-inset-bottom); }

/* --------------------------------------------------------------------------
   3. HORIZONTAL OVERFLOW — the standing rule is that the document never
   scrolls sideways; wide content scrolls inside its OWN container.
   -------------------------------------------------------------------------- */

/* 3a. /subprocessors: a 5-column table forced the document to 523px at a 390px
   viewport (the whole page scrolled sideways). The table now scrolls inside
   .table-scroll; the page does not. `contain: paint` stops the scroll box from
   contributing its overflow to the document. */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  /* A hairline gradient on the right edge signals "there is more, swipe". */
  background:
    linear-gradient(to right, var(--paper, #F7F5EF) 30%, transparent),
    linear-gradient(to right, transparent, var(--paper, #F7F5EF) 70%) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(12,15,20,.14), transparent),
    radial-gradient(farthest-side at 100% 50%, rgba(12,15,20,.14), transparent) 100% 0;
  background-repeat: no-repeat;
  background-size: 34px 100%, 34px 100%, 12px 100%, 12px 100%;
  background-attachment: local, local, scroll, scroll;
}
.table-scroll > table { margin-top: 0; margin-bottom: 0; min-width: 560px; }
.table-scroll:focus-visible { outline: 2px solid var(--blue, #3D5AFE); outline-offset: 2px; }

/* 3b. Any table we did not wrap still must not blow out the page. */
@media (max-width: 820px) {
  .legal table:not(.table-scroll > table) { display: block; overflow-x: auto; }
}

/* 3c. Code and pre already scroll, but their containers must clip. */
.post-body pre, pre.cli-code, .legal pre { max-width: 100%; overflow-x: auto; }
.post-body code, .legal code { overflow-wrap: anywhere; }

/* 3d. Long unbroken strings (URLs, API keys, emails) in prose. */
body.weio-market .post-body a,
body.weio-public .legal a,
body.weio-public .legal li,
body.weio-public .legal p { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   4. GUTTERS
   4a. THE BAD ONE: on /about, `.abt section{padding:clamp(40px,6vw,72px) 0}`
   (specificity 0,1,1) beat `.wrap{padding:0 clamp(20px,4vw,40px)}` (0,1,0),
   including inside the max-width:560px override. Every <section class="wrap">
   on /about therefore had ZERO side padding and its body copy ran flush to
   both screen edges. Measured left gutter: 0px at both 390px and 768px.
   -------------------------------------------------------------------------- */
.abt section.wrap,
.abt .wrap.hero,
.abt section.wrap.cta {
  padding-left:  max(clamp(20px, 4vw, 40px), env(safe-area-inset-left));
  padding-right: max(clamp(20px, 4vw, 40px), env(safe-area-inset-right));
}

/* 4b. One gutter scale for both shells on phones. */
@media (max-width: 560px) {
  body.weio-market .wrap,
  .abt section.wrap,
  .abt .wrap.hero,
  .abt section.wrap.cta {
    padding-left:  max(22px, env(safe-area-inset-left));
    padding-right: max(22px, env(safe-area-inset-right));
  }
  body.weio-public .legal      { padding-left: 22px; padding-right: 22px; }
  body.weio-public .pricing-page { padding-left: 22px; padding-right: 22px; }
  body.weio-public .auth-card,
  body.weio-public .auth-wrap  { padding-left: 22px; padding-right: 22px; }
  /* /login measured 20px left vs 35px right — an off-centre card. */
  body.weio-public .auth-card  { margin-left: auto; margin-right: auto; }
}

/* --------------------------------------------------------------------------
   5. TYPE SCALE AND LINE LENGTH ON PHONES
   The marketing h1 is clamp(38px,6.4vw,72px): at 390px the vw term is only
   25px, so it pins to the 38px FLOOR — a desktop-sized headline on a phone,
   with line-height 1.02. Result: 3-4 words per line. Same story for the lede.
   Re-floor the clamp against the viewport instead of a fixed pixel minimum.
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
  body.weio-market h1,
  .abt h1 { font-size: clamp(29px, 8.2vw, 38px); line-height: 1.09; letter-spacing: -.022em; }
  body.weio-market h2,
  .abt h2 { font-size: clamp(22px, 6vw, 27px); line-height: 1.16; }
  body.weio-market h3 { font-size: 17px; }
  body.weio-market .lede,
  .abt .lede { font-size: 16.5px; line-height: 1.58; }
  body.weio-market .body,
  .abt .body { font-size: 16px; line-height: 1.62; }
  body.weio-market .final h2 { font-size: clamp(24px, 7vw, 32px); max-width: none; }
  body.weio-market .mission .stmt { font-size: clamp(21px, 6.2vw, 27px); max-width: none; }
  body.weio-market .post-head h1 { font-size: clamp(25px, 7vw, 30px); }
  body.weio-market .post-body { font-size: 16.5px; line-height: 1.66; }

  /* `text-wrap: balance` on a 390px viewport makes 3-word ragged lines out of a
     headline that would otherwise fill the measure. Pretty is the right mode. */
  body.weio-market h1, body.weio-market h2, .abt h1, .abt h2 { text-wrap: pretty; }

  body.weio-public .legal h1 { font-size: 26px; line-height: 1.2; }
  body.weio-public .legal h2 { font-size: 18px; }
}

/* --------------------------------------------------------------------------
   6. DEAD VERTICAL SPACE
   Reported by the owner as "a large dead gap between the hero card and WHY WE
   EXIST". Measured: hero padding-bottom 30px + section padding-top 52px = 82px
   of nothing on a 390px screen, and 48px of nothing between the sticky bar and
   the first word of the hero. Section rhythm is desktop-tuned; retune for phones.
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
  body.weio-market .hero       { padding-top: 30px; padding-bottom: 16px; }
  body.weio-market .hero-grid  { gap: 26px; }
  body.weio-market section.band { padding-top: 40px; padding-bottom: 40px; }
  body.weio-market .final      { padding-top: 44px; padding-bottom: 48px; }
  .abt .hero                   { padding-top: 34px; padding-bottom: 14px; }
  .abt section                 { padding-top: 30px; padding-bottom: 30px; }
  .abt .mission                { padding: 28px 22px; }
  .abt .values                 { margin-top: 26px; gap: 14px; }
  .abt .diff                   { margin-top: 26px; }
  .abt .drow                   { padding: 20px 0; }
  .abt .cta                    { padding-top: 40px; padding-bottom: 44px; }
  body.weio-market .outcomes,
  body.weio-market .steps,
  body.weio-market .compare,
  body.weio-market .prices     { margin-top: 26px; }
  body.weio-market .intg-groups { margin-top: 26px; }
  body.weio-market .logos      { margin-top: 30px; }
  body.weio-market .sechead p  { margin-top: 10px; }
  body.weio-market .hero-cta   { margin-top: 24px; gap: 10px; }
}

/* --------------------------------------------------------------------------
   7. TAP TARGETS >= 44px
   Audit found 13-23 sub-44px interactive elements per page: the wordmark
   (52x20), "Sign in" (49x23), every footer link (~21px tall), the blog
   back-link (36x12), the /subprocessors "Policy" links (40x18), the register
   consent checkbox (16x16) and the full-width form buttons (34-36px).
   Grow the HIT AREA without growing the visual weight.
   -------------------------------------------------------------------------- */
body.weio-market .brand,
body.weio-market .signin,
body.weio-public .nav-brand {
  display: inline-flex; align-items: center; min-height: 44px;
}
body.weio-market .nav-cta .btn,
body.weio-public .nav-links .btn { min-height: 44px; }

body.weio-market .foot-links a,
body.weio-market .blog-more,
body.weio-market .post-back,
body.weio-public footer .ov-foot-cols a {
  display: inline-flex; align-items: center; min-height: 44px;
}
body.weio-market .foot-links { gap: 8px 22px; }

@media (max-width: 820px) {
  body.weio-public .btn-full,
  body.weio-public .auth-card .btn,
  body.weio-public form .btn { min-height: 46px; }
  body.weio-public input[type="checkbox"],
  body.weio-public input[type="radio"] { width: 20px; height: 20px; min-width: 20px; }
  /* The consent row: make the whole label line the target, not the 16px box. */
  body.weio-public label:has(> input[type="checkbox"]) { min-height: 44px; display: flex; align-items: center; gap: 10px; }
  /* Table links (/subprocessors "Policy") get a real box without stretching rows. */
  body.weio-public .legal td a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px; }
  body.weio-public .billing-pill-opt { min-height: 44px; }
}

/* --------------------------------------------------------------------------
   8. MOBILE NAVIGATION  (the most severe defect found)
   Shell M hides .nlinks below 820px; shell A hides .nav-center below 760px.
   NEITHER shipped a replacement. Below 820px the site had no navigation at
   all: the only way to reach Pricing, About, Blog or the legal pages was to
   scroll to the bottom of the document — 9,486px on the homepage.
   weio-nav.js builds the toggle + panel from the links already in the header,
   so this stays in sync with whatever the copy owners put there.
   -------------------------------------------------------------------------- */
.wnav-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  margin-right: -6px;
  background: transparent; border: 1px solid transparent; border-radius: 11px;
  color: var(--ink, #0C0F14); cursor: pointer; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.wnav-toggle:hover  { border-color: var(--hair, rgba(23,21,15,.14)); }
.wnav-toggle:focus-visible { outline: 2px solid var(--blue, #3D5AFE); outline-offset: 2px; }
.wnav-toggle svg { width: 22px; height: 22px; display: block; }
.wnav-toggle .wnav-ico-close { display: none; }
.wnav-toggle[aria-expanded="true"] .wnav-ico-open  { display: none; }
.wnav-toggle[aria-expanded="true"] .wnav-ico-close { display: block; }

.wnav-panel {
  position: fixed;
  top: var(--weio-hdr-h, 65px); left: 0; right: 0;
  max-height: calc(100dvh - var(--weio-hdr-h, 65px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--paper, #F4F2EC);
  border-bottom: 1px solid var(--hair, rgba(23,21,15,.12));
  box-shadow: 0 18px 40px rgba(12,15,20,.10);
  padding: 6px max(20px, env(safe-area-inset-left))
           calc(18px + env(safe-area-inset-bottom))
           max(20px, env(safe-area-inset-right));
  z-index: 120;
  display: none;
}
.wnav-panel[data-open="true"] { display: block; }
.wnav-panel a {
  display: flex; align-items: center;
  min-height: 50px;
  font-size: 16.5px; font-weight: 550;
  color: var(--ink, #17150F);
  border-bottom: 1px solid var(--hair-2, rgba(23,21,15,.07));
  -webkit-tap-highlight-color: transparent;
}
.wnav-panel a:last-of-type { border-bottom: 0; }
.wnav-panel a:active { color: var(--blue, #3D5AFE); }
.wnav-panel .wnav-group {
  font: 600 11px/1 var(--mono, ui-monospace, monospace);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint, #8A8E86);
  padding: 18px 0 6px;
}
.wnav-panel .wnav-cta {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; margin-top: 16px;
  background: var(--blue, #3D5AFE); color: #fff;
  border-radius: 11px; font-weight: 650; font-size: 15.5px;
  border-bottom: 0;
}
.wnav-panel .wnav-cta:active { color: #fff; }

/* Show the control only where the inline links are hidden. */
@media (max-width: 820px) {
  body.weio-market .wnav-toggle { display: inline-flex; }
}
@media (max-width: 760px) {
  body.weio-public .wnav-toggle { display: inline-flex; }
}
/* Panel is fixed; freeze the page behind it. */
body.wnav-open { overflow: hidden; touch-action: none; }

@media (prefers-reduced-motion: no-preference) {
  .wnav-panel[data-open="true"] { animation: wnav-in .16s ease-out; }
  @keyframes wnav-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}

/* --------------------------------------------------------------------------
   9. SHELL UNIFICATION
   /pricing and /login read as a different product from / : cool grey-blue
   #F5F6F8 paper (weio-lumen.css remaps --paper for the React app) against the
   marketing site's warm #F4F2EC, plus a Google-hosted Geist typeface against
   the marketing site's system stack. Two shells, one brand — so remap shell A's
   PUBLIC pages onto the marketing tokens. Scoped to body.weio-public, which is
   set only on public paths, so the authed /my/* pages keep the Lumen theme
   they share with the React app.
   -------------------------------------------------------------------------- */
body.weio-public {
  --paper:    #F4F2EC;
  --bg:       #F4F2EC;
  --surface:  #FBFAF6;
  --surface2: #ECEAE2;
  --surface3: #E4E1D6;
  --card:     #FBFAF6;
  --line:     #DED9CD;
  --border:   #DED9CD;
  /* One system stack, identical to weio-marketing.css --sans. Also removes a
     render-blocking third-party font request from every public page. */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  background: var(--paper);
}
body.weio-public,
body.weio-public h1, body.weio-public h2, body.weio-public h3,
body.weio-public button, body.weio-public input, body.weio-public select, body.weio-public textarea {
  font-family: var(--font-sans);
}
/* The pricing hero sat on the cool Lumen band; put it on paper. */
body.weio-public .pricing-page,
body.weio-public .pricing-hero { background: transparent; }
/* Match the marketing header height so the two shells line up when you cross
   between them, and give shell A the marketing wordmark weight. */
body.weio-public nav.nav { height: 60px; }
body.weio-public { --weio-hdr-h: 60px; }
body.weio-public .nav-brand { font-size: 22px; letter-spacing: -.035em; font-weight: 800; }

/* --------------------------------------------------------------------------
   10. FOOTER — social row, the app notice, and the mobile collapse.
   -------------------------------------------------------------------------- */
.weio-social {
  display: flex; align-items: center; gap: 6px;
  margin-top: 16px; flex-wrap: wrap;
}
.weio-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px;
  color: var(--muted, #5B6470);
  border: 1px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
}
.weio-social a:hover {
  color: var(--blue, #3D5AFE);
  border-color: var(--hair, #DED9CD);
  background: var(--surface, #FBFAF6);
}
.weio-social a:focus-visible { outline: 2px solid var(--blue, #3D5AFE); outline-offset: 2px; }
.weio-social svg { width: 19px; height: 19px; display: block; fill: currentColor; }

.weio-appnote {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 14px;
  font: 500 12.5px/1.45 var(--mono, ui-monospace, monospace);
  letter-spacing: .04em;
  color: var(--faint, #8A8E86);
}
.weio-appnote .weio-appnote-dot {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: var(--blue, #3D5AFE); opacity: .75;
}
.weio-appnote-inline {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--faint, #8A8E86);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.weio-appnote-inline b { color: var(--muted, #5B6470); font-weight: 600; }

/* Marketing footer: a wrapped single row of 10 links is a blob on a phone.
   Give it a real two-column grid and room to breathe. */
@media (max-width: 640px) {
  body.weio-market .foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  body.weio-market .foot-links {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 0 18px; width: 100%; margin-top: 6px;
  }
  body.weio-market footer.site { padding-top: 30px; }
  body.weio-market .weio-social { margin-top: 10px; }
}
@media (max-width: 480px) {
  body.weio-public .ov-foot-cols { gap: 20px; }
}

/* --------------------------------------------------------------------------
   11. MISCELLANEOUS 390px FIXES
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
  /* Hero CTAs: two 50%-width buttons read as broken. Full width, stacked. */
  body.weio-market .hero-cta { flex-direction: column; align-items: stretch; }
  body.weio-market .hero-cta .btn { justify-content: center; min-height: 48px; }
  body.weio-market .cta .row,
  body.weio-market .final .hero-cta { flex-direction: column; align-items: stretch; }
  body.weio-market .cta .row .btn { justify-content: center; min-height: 48px; }

  /* The hero "trust" line put an inline link on its own line mid-sentence. */
  body.weio-market .trust { display: block; line-height: 1.55; }
  body.weio-market .trust a { display: inline; }

  /* The weave diagram is decorative and aria-hidden; it should not cost a
     screenful above the fold on a phone. */
  body.weio-market .loom { padding: 16px 14px; }

  /* Approval mock: the action pills wrapped under the text and clipped. */
  body.weio-market .approve .row { flex-wrap: wrap; }
  body.weio-market .approve .act { margin-left: 0; width: 100%; padding-left: 34px; }

  /* Price cards: 28px of padding on a 346px-wide card is most of the card. */
  body.weio-market .price { padding: 22px 20px; }
  body.weio-market .price .amt { font-size: 32px; }
  body.weio-market .price .for { min-height: 0; }
}

/* Never let a decorative element be the thing that makes the page scroll. */
body.weio-market .weavefig,
body.weio-market .loom svg { max-width: 100%; height: auto; }

/* 768px: the marketing grid drops to one column at 900px but the app shell's
   legal pages keep a desktop measure. Give them a real tablet gutter. */
@media (min-width: 561px) and (max-width: 820px) {
  body.weio-public .legal { padding-left: 28px; padding-right: 28px; }
  body.weio-market .wrap  { padding-left: 28px; padding-right: 28px; }
}

/* Honour reduced motion for the smooth-scroll the shells turn on globally. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   12. FOOT-META (marketing footer right column: social row + app note + ©).
   Desktop: right-aligned inside the space-between .foot row. Phone: the .foot
   column stack from section 10 applies and this aligns left with everything.
   -------------------------------------------------------------------------- */
body.weio-market .foot-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
body.weio-market .foot-meta .weio-social { margin-top: 0; }
body.weio-market .foot-meta .weio-appnote { margin-top: 2px; margin-bottom: 6px; }
@media (max-width: 640px) {
  body.weio-market .foot-meta { align-items: flex-start; margin-top: 8px; }
}

/* --------------------------------------------------------------------------
   13. SHARED SITE FOOTER  (.weio-footer)
   The ONE footer for every public page, in BOTH shells (owner 2026-08-22).
   partials/site_footer.html is included by base.html AND market_base.html; this
   block is its complete styling. Self-contained (own --wf-* tokens with explicit
   values, not shell tokens) so it renders IDENTICALLY no matter which shell
   includes it and can never drift. weio-responsive.css loads LAST in both shells.
   -------------------------------------------------------------------------- */
.weio-footer {
  --wf-ink:   #0C0F14;
  --wf-soft:  #3F454E;
  --wf-muted: #5B6470;
  --wf-faint: #8A8E86;
  --wf-line:  #DED9CD;
  --wf-blue:  #3D5AFE;
  border-top: 1px solid var(--wf-line);
  background: transparent;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
:root[data-theme="dark"] .weio-footer {
  --wf-ink:#F4F2EC; --wf-soft:#C4C9D2; --wf-muted:#98A0AC; --wf-faint:#6A7280; --wf-line:#232833; --wf-blue:#5B72FF;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .weio-footer {
    --wf-ink:#F4F2EC; --wf-soft:#C4C9D2; --wf-muted:#98A0AC; --wf-faint:#6A7280; --wf-line:#232833; --wf-blue:#5B72FF;
  }
}
.weio-footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(36px,5vw,56px)
           max(clamp(20px,5vw,40px), env(safe-area-inset-left))
           calc(28px + env(safe-area-inset-bottom))
           max(clamp(20px,5vw,40px), env(safe-area-inset-right));
}
.weio-footer-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px;
}
.weio-footer-tag {
  font-size: 14px; color: var(--wf-muted); margin: 12px 0 0; max-width: 240px; line-height: 1.5;
}
.weio-footer-mark {
  display: inline-flex; align-items: baseline;
  font-size: 19px; font-weight: 800; letter-spacing: -.035em;
  color: var(--wf-ink); text-decoration: none;
}
.weio-footer-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--wf-blue);
  display: inline-block; margin-left: 2px; transform: translateY(-1px);
}
.weio-footer-h {
  font: 600 11.5px/1 var(--mono, ui-monospace, "SF Mono", Menlo, Consolas, monospace);
  text-transform: uppercase; letter-spacing: .12em; color: var(--wf-faint); margin-bottom: 12px;
}
.weio-footer-col { display: flex; flex-direction: column; }
.weio-footer-col a {
  display: inline-flex; align-items: center; min-height: 40px;
  font-size: 14px; color: var(--wf-soft); text-decoration: none;
}
.weio-footer-col a:hover { color: var(--wf-ink); }
.weio-footer-meta { margin-top: 26px; }
.weio-footer .weio-social { color: var(--wf-muted); }
.weio-footer .weio-appnote { color: var(--wf-faint); }
.weio-footer .weio-appnote .weio-appnote-dot { background: var(--wf-blue); }
.weio-footer-legal {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--wf-line);
  font: 500 12px/1.4 var(--mono, ui-monospace, "SF Mono", Menlo, Consolas, monospace);
  color: var(--wf-faint);
}
@media (max-width: 820px) {
  .weio-footer-cols { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .weio-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .weio-footer-cols { grid-template-columns: 1fr; }
}
