/* ============================================================================
   LIFTED DESIGN SYSTEM — self-contained bundle for liftedpayments.com
   Order: self-hosted @font-face, then tokens: colors, typography, spacing,
   base, effects. Copied verbatim from lifted-design-system/tokens/*.
   Deploy target: /var/www (nginx static). NO external CDNs.
   ============================================================================ */
@font-face{font-family:'Sora';font-weight:500 800;font-display:swap;src:url('/assets/fonts/Sora.woff2') format('woff2')}
@font-face{font-family:'Inter';font-weight:400 800;font-display:swap;src:url('/assets/fonts/Inter.woff2') format('woff2')}
@font-face{font-family:'JetBrains Mono';font-weight:400 700;font-display:swap;src:url('/assets/fonts/JetBrainsMono.woff2') format('woff2')}


/* ===== tokens/colors.css ===== */
/* ============================================================================
   LIFTED — COLOR TOKENS
   One charged accent leads; deep ink neutrals carry the interface.
   Neutrals are shared across every Lifted product. The accent ramp is what
   changes per brand (Payments = green, Sign = blue, …) — see the [data-brand]
   theme scopes at the bottom of this file.
   ============================================================================ */
:root {
  /* ---- Neutrals: the ink spine (shared by all products) ---------------- */
  --void:        #05080E;  /* deepest background, page base on dark */
  --ink-900:     #0B1020;  /* primary dark surface */
  --ink-800:     #141D31;  /* raised card surface */
  --ink-700:     #202C46;  /* hairline borders, inputs, hover fills */
  --slate-600:   #2D3B5A;  /* strong border, disabled fill */
  --slate-500:   #4A5A78;  /* muted icon, tertiary text on dark */
  --slate-400:   #6B7C9C;  /* secondary text on dark */
  --mist-300:    #AEB8D0;  /* low-emphasis text on dark */
  --mist-200:    #CDD5E4;  /* light borders on light theme */
  --mist-100:    #EFF3F9;  /* lightest surface, text on dark */
  --white:       #FFFFFF;

  /* ---- Brand accent ramps (base values, referenced by themes) ---------- */
  /* Payments — electric green */
  --green-bright:#2BF5A6;
  --green:       #00E18C;
  --green-600:   #00B85C;
  --green-700:   #00A356;
  --green-800:   #007138;

  /* Sign — lift blue */
  --blue-bright: #5AA6FF;
  --blue:        #2E6BFF;
  --blue-600:    #1E6BFF;
  --blue-700:    #1E4FD6;
  --blue-800:    #143CA8;

  /* PoS — electric violet  (defined by this system; no brand book supplied) */
  --violet-bright:#9B7BFF;
  --violet:      #7A5CFF;
  --violet-600:  #5F3FEF;
  --violet-700:  #4A2FD0;
  --violet-800:  #34209C;

  /* Holdings — royal indigo (parent wordmark) */
  --indigo-bright:#5E7BFF;
  --indigo:      #2D4BD8;
  --indigo-600:  #243CB0;
  --indigo-700:  #1B2E8A;

  /* Gateway — signal orange (advanced routing between payment providers) */
  --orange-bright:#FFA94D;
  --orange:      #FF7A1A;
  --orange-600:  #ED5E00;
  --orange-700:  #C44A00;
  --orange-800:  #8F3500;

  /* Vending — pulse red (smart vending / unattended retail) */
  --red-bright:  #FF6B6B;
  --vred:        #F5333D;
  --vred-600:    #D81E2A;
  --vred-700:    #A8141F;
  --vred-800:    #730C14;

  /* ScreenCast — beam yellow (screen recording / broadcast) */
  --yellow-bright:#FFD84D;
  --yellow:      #FFC01E;
  --yellow-600: #E0A400;
  --yellow-700: #B07F00;
  --yellow-800: #6E4F00;

  --cyan:        #19C7F5;  /* shared accent cyan — links, info highlights */
  --teal:        #1AD4CF;  /* portal teal — second stop of the brand gradient */
  --cyan-bright: #5FD0FF;  /* portal cyan — link / highlight on glass */

  /* ---- Functional ------------------------------------------------------ */
  --success:     #00E18C;
  --warning:     #FFB920;
  --error:       #FF4D6A;
  --info:        #3B9EFF;

  /* ============================================================
     SEMANTIC ALIASES — author UIs against these, not raw values.
     Default brand = Payments (green). Override with [data-brand].
     ============================================================ */
  --brand:            var(--green);
  --brand-bright:     var(--green-bright);
  --brand-deep:       var(--green-600);
  --brand-darker:     var(--green-800);
  --brand-contrast:   var(--ink-900);     /* text/icon color on a solid brand fill */
  --brand-tint:       rgba(0,225,140,0.12);
  --brand-tint-strong:rgba(0,225,140,0.22);
  --brand-glow:       none; /* @kind shadow */  /* glow removed — professional, no neon */

  /* Brand gradient + glass (borrowed, cleaned up, from the live portal/signer).
     --brand-grad-to is overridden per brand scope; the gradients re-resolve. */
  --brand-grad-to:    var(--teal);
  --grad-brand:       linear-gradient(120deg, var(--brand), var(--brand-grad-to));
  --grad-word:        linear-gradient(102deg, var(--white) 2%, var(--brand) 48%, var(--brand-grad-to) 86%);
  --glass-surface:    color-mix(in srgb, var(--ink-800) 68%, transparent);
  --glass-border:     rgba(207,232,247,0.20);
  --glass-shadow:     0 1px 0 rgba(255,255,255,0.08) inset, 0 0 0 1px rgba(255,255,255,0.02) inset, 0 28px 74px -34px rgba(0,0,0,0.94);
  --glass-blur:       26px;
  /* Reusable frosted fill: top sheen + faint vertical body over the surface.
     Use as `background: var(--glass-fill)` on any tile for the Fortune-500 look. */
  --glass-sheen:      linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018) 34%, rgba(255,255,255,0) 60%); /* @kind other */
  --glass-fill:       linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018) 34%, transparent 60%), var(--glass-surface);
  --glass-hi:         rgba(255,255,255,0.10);  /* inner top highlight line */
  /* ambient page glow — auto-tints to the active brand */
  --ambient-glow:     color-mix(in srgb, var(--brand) 8%, transparent);
  --ambient-glow-2:   color-mix(in srgb, var(--brand-grad-to) 5%, transparent);

  /* Surfaces (dark theme is the primary product theme) */
  --bg-base:          var(--void);
  --bg-page:          var(--ink-900);
  --surface-card:     var(--ink-800);
  --surface-raised:   var(--ink-700);
  --surface-sunken:   var(--void);
  --surface-hover:    var(--ink-700);

  /* Text */
  --text-strong:      var(--mist-100);
  --text-body:        var(--mist-300);
  --text-muted:       var(--slate-400);
  /* was var(--slate-500) #4A5A78 = 2.73:1 on --ink-900 (fails WCAG AA); #7C8DA8 = 5.6:1 on ink-900, 5.9:1 on void */
  --text-faint:       #7C8DA8;
  --text-on-brand:    var(--ink-900);

  /* Borders */
  --border-subtle:    rgba(174,184,208,0.10);
  --border-default:   rgba(174,184,208,0.16);
  --border-strong:    rgba(174,184,208,0.28);
  --border-brand:     var(--brand);

  /* Focus ring */
  --ring:             rgba(0,225,140,0.55);
}

/* ============================================================
   BRAND THEME SCOPES
   Wrap any subtree in data-brand="payments|sign|pos|holdings"
   (or set it on <html>) to retint the whole interface.
   ============================================================ */
[data-brand="payments"] {
  --brand: var(--green); --brand-bright: var(--green-bright); --brand-grad-to: var(--teal);
  --brand-deep: var(--green-600); --brand-darker: var(--green-800);
  --brand-tint: rgba(0,225,140,0.12); --brand-tint-strong: rgba(0,225,140,0.22);
  --brand-glow: none; /* @kind shadow */
  --brand-contrast: var(--ink-900); --text-on-brand: var(--ink-900);
  --ring: rgba(0,225,140,0.55);
}
[data-brand="sign"] {
  --brand: var(--blue); --brand-bright: var(--blue-bright); --brand-grad-to: var(--cyan);
  --brand-deep: var(--blue-700); --brand-darker: var(--blue-800);
  --brand-tint: rgba(46,107,255,0.14); --brand-tint-strong: rgba(46,107,255,0.26);
  --brand-glow: none; /* @kind shadow */
  --brand-contrast: var(--white); --text-on-brand: var(--white);
  --ring: rgba(46,107,255,0.60);
}
[data-brand="pos"] {
  --brand: var(--violet); --brand-bright: var(--violet-bright); --brand-grad-to: var(--violet-bright);
  --brand-deep: var(--violet-600); --brand-darker: var(--violet-800);
  --brand-tint: rgba(122,92,255,0.14); --brand-tint-strong: rgba(122,92,255,0.26);
  --brand-glow: none; /* @kind shadow */
  --brand-contrast: var(--white); --text-on-brand: var(--white);
  --ring: rgba(122,92,255,0.60);
}
[data-brand="holdings"] {
  --brand: var(--indigo); --brand-bright: var(--indigo-bright); --brand-grad-to: var(--cyan-bright);
  --brand-deep: var(--indigo-600); --brand-darker: var(--indigo-700);
  --brand-tint: rgba(45,75,216,0.14); --brand-tint-strong: rgba(45,75,216,0.26);
  --brand-glow: none; /* @kind shadow */
  --brand-contrast: var(--white); --text-on-brand: var(--white);
  --ring: rgba(45,75,216,0.60);
}
[data-brand="gateway"] {
  --brand: var(--orange); --brand-bright: var(--orange-bright); --brand-grad-to: var(--orange-bright);
  --brand-deep: var(--orange-600); --brand-darker: var(--orange-800);
  --brand-tint: rgba(255,122,26,0.14); --brand-tint-strong: rgba(255,122,26,0.26);
  --brand-glow: none; /* @kind shadow */
  --brand-contrast: var(--ink-900); --text-on-brand: var(--ink-900);
  --ring: rgba(255,122,26,0.60);
}
[data-brand="vending"] {
  --brand: var(--vred); --brand-bright: var(--red-bright); --brand-grad-to: var(--red-bright);
  --brand-deep: var(--vred-600); --brand-darker: var(--vred-800);
  --brand-tint: rgba(245,51,61,0.14); --brand-tint-strong: rgba(245,51,61,0.26);
  --brand-glow: none; /* @kind shadow */
  --brand-contrast: var(--white); --text-on-brand: var(--white);
  --ring: rgba(245,51,61,0.60);
}
[data-brand="screencast"] {
  --brand: var(--yellow); --brand-bright: var(--yellow-bright); --brand-grad-to: var(--yellow-bright);
  --brand-deep: var(--yellow-600); --brand-darker: var(--yellow-800);
  --brand-tint: rgba(255,192,30,0.14); --brand-tint-strong: rgba(255,192,30,0.26);
  --brand-glow: none; /* @kind shadow */
  --brand-contrast: var(--ink-900); --text-on-brand: var(--ink-900);
  --ring: rgba(255,192,30,0.55);
}

/* ============================================================
   LIGHT THEME — secondary; used on "on light" lockups, docs, email.
   ============================================================ */
[data-theme="light"] {
  --bg-base:        var(--mist-100);
  --bg-page:        var(--white);
  --surface-card:   var(--white);
  --surface-raised: var(--mist-100);
  --surface-sunken: var(--mist-100);
  --surface-hover:  var(--mist-100);
  --text-strong:    var(--ink-900);
  --text-body:      var(--ink-700);
  --text-muted:     var(--slate-500);
  --text-faint:     var(--slate-400);
  --border-subtle:  rgba(11,16,32,0.08);
  --border-default: rgba(11,16,32,0.14);
  --border-strong:  rgba(11,16,32,0.24);
}

/* ===== tokens/typography.css ===== */
/* ============================================================================
   LIFTED — TYPOGRAPHY TOKENS
   Inter for everything UI + display. JetBrains Mono for amounts, hashes, IDs.
   Type scale from the brand book (Display 64 → Overline 11).
   ============================================================================ */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --font-display: 'Sora', 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Weights */
  --fw-regular: 400; /* @kind font */
  --fw-medium:  500; /* @kind font */
  --fw-semibold:600; /* @kind font */
  --fw-bold:    700; /* @kind font */
  --fw-black:   800; /* @kind font */

  /* Type scale — size / line-height / tracking (from the brand book) */
  --fs-display:  64px;  --lh-display:  1.02; /* @kind other */  --ls-display:  -1.5px;
  --fs-headline: 40px;  --lh-headline: 1.08; /* @kind other */  --ls-headline: -1px;
  --fs-title:    28px;  --lh-title:    1.15; /* @kind other */  --ls-title:    -0.5px;
  --fs-subtitle: 20px;  --lh-subtitle: 1.35; /* @kind other */  --ls-subtitle: 0px;
  --fs-body:     16px;  --lh-body:     1.55; /* @kind other */  --ls-body:     0px;
  --fs-small:    14px;  --lh-small:    1.5; /* @kind other */   --ls-small:    0px;
  --fs-caption:  13px;  --lh-caption:  1.45; /* @kind other */  --ls-caption:  0px;
  --fs-overline: 11px;  --lh-overline: 1.2; /* @kind other */   --ls-overline: 3px;
}

/* ===== tokens/spacing.css ===== */
/* ============================================================================
   LIFTED — SPACING, RADIUS, SHADOW, MOTION TOKENS
   ============================================================================ */
:root {
  /* Spacing — 4px base grid */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius — calm, lightly rounded. Cards use lg; pills use full. */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 999px;

  /* Elevation — soft, low-spread shadows on near-black surfaces.
     On dark theme depth comes from surface lightness + a 1px hairline more
     than from cast shadow, so shadows stay subtle. */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.40);
  --shadow-md:  0 6px 18px rgba(0,0,0,0.45);
  --shadow-lg:  0 18px 48px rgba(0,0,0,0.55);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.60);
  /* Inset hairline that reads as a crisp top edge on raised surfaces */
  --shadow-edge: inset 0 1px 0 rgba(255,255,255,0.04);

  /* Motion — calm, premium, never frantic. */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1); /* @kind other */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1); /* @kind other */
  --dur-fast:   120ms; /* @kind other */
  --dur-base:   200ms; /* @kind other */
  --dur-slow:   320ms; /* @kind other */
  --dur-globe:  14s; /* @kind other */  /* one full globe revolution */

  /* Layout */
  --container:  1200px;
  --container-wide: 1440px;

  /* Blueprint grid — the Lifted backdrop texture (used behind heroes, covers,
     dark surfaces). Line color is faint by default; size sets the cell pitch. */
  --grid-line: rgba(174,184,208,0.06); /* @kind color */
  --grid-line-strong: rgba(174,184,208,0.10); /* @kind color */
  --grid-size: 28px;
  --grid-size-lg: 60px;
  /* Prebuilt grid images for the .lds-grid utilities (used, not overridden). */
  --grid-img:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); /* @kind other */
  --grid-img-brand:
    linear-gradient(color-mix(in srgb, var(--brand) 16%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--brand) 16%, transparent) 1px, transparent 1px); /* @kind other */
  --grid-img-dots: radial-gradient(var(--grid-line-strong) 1px, transparent 1.4px); /* @kind other */
}

/* ===== tokens/base.css ===== */
/* ============================================================================
   LIFTED — BASE ELEMENT STYLES & TYPOGRAPHY UTILITIES
   Lightweight resets + named text styles that map to the type scale.
   ============================================================================ */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--brand-tint-strong); color: var(--text-strong); }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-bright); }

/* ---- Named text styles --------------------------------------------------- */
.t-display  { font-size: var(--fs-display);  line-height: var(--lh-display);  letter-spacing: var(--ls-display);  font-weight: var(--fw-bold); color: var(--text-strong); }
.t-headline { font-size: var(--fs-headline); line-height: var(--lh-headline); letter-spacing: var(--ls-headline); font-weight: var(--fw-bold); color: var(--text-strong); }
.t-title    { font-size: var(--fs-title);    line-height: var(--lh-title);    letter-spacing: var(--ls-title);    font-weight: var(--fw-semibold); color: var(--text-strong); }
.t-subtitle { font-size: var(--fs-subtitle); line-height: var(--lh-subtitle); letter-spacing: var(--ls-subtitle); font-weight: var(--fw-medium); color: var(--text-strong); }
.t-body     { font-size: var(--fs-body);     line-height: var(--lh-body);     color: var(--text-body); }
.t-small    { font-size: var(--fs-small);    line-height: var(--lh-small);    color: var(--text-body); }
.t-caption  { font-size: var(--fs-caption);  line-height: var(--lh-caption);  color: var(--text-muted); }
.t-overline { font-size: var(--fs-overline); line-height: var(--lh-overline); letter-spacing: var(--ls-overline); text-transform: uppercase; font-weight: var(--fw-bold); color: var(--brand); }
.t-mono     { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.t-amount   { font-family: var(--font-mono); font-weight: var(--fw-medium); color: var(--brand); font-variant-numeric: tabular-nums; letter-spacing: 0.5px; }

/* ---- The wireframe globe, animated ------------------------------------- */
@keyframes lifted-spin { to { transform: rotate(360deg); } }
@keyframes lifted-pulse { 0%,100% { opacity: .9; } 50% { opacity: 1; } }

/* ===== tokens/effects.css ===== */
/* ============================================================================
   LIFTED — EFFECTS & MATERIALS
   The "good parts" of the live portal/signer, cleaned up for readability:
   a calm ambient backdrop, a glass surface, and the gradient wordmark.
   Everything auto-tints to the active [data-brand] via --brand / --grad-*.
   Keep these restrained — depth and polish, never noise.
   ============================================================================ */

/* ---- Ambient page backdrop ------------------------------------------------
   Two soft brand-tinted radial glows + a faintly masked grid. Apply to a
   full-bleed page wrapper (position it; the layers sit behind via z-index). */
.lds-ambient {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(820px 480px at 84% -12%, var(--ambient-glow), transparent 60%),
    radial-gradient(720px 520px at 6% 108%, var(--ambient-glow-2), transparent 58%),
    var(--bg-page);
}
.lds-ambient::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(174,184,208,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(174,184,208,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at 50% -4%, #000, transparent 72%);
          mask-image: radial-gradient(circle at 50% -4%, #000, transparent 72%);
}

/* ---- Glass surface --------------------------------------------------------
   A readable frosted panel — opaque enough that text never dissolves, with a
   defined top sheen + a crisp inner highlight line for a Fortune-500 finish. */
.lds-glass {
  position: relative;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
          backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
  box-shadow: var(--glass-shadow);
}
/* Crisp highlight along the very top edge — the "polished glass" tell. */
.lds-glass::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--glass-hi) 22%, var(--glass-hi) 78%, transparent);
  pointer-events: none;
}
/* Optional brand edge-light on the top hairline (calm, not glowing). */
.lds-glass--edge { position: relative; }
.lds-glass--edge::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--brand) 20%, var(--brand-grad-to) 80%, transparent);
  opacity: 0.4;
}

/* ---- Wordmark / display ---------------------------------------------------
   The lockup is TWO-TONE and locked to the globe: "Lifted" stays neutral (the
   opposite of the globe) and only the PRODUCT word carries the brand color,
   swapping in lockstep with the globe (green=Payments, blue=Sign, …).
   .lds-wordmark = the neutral "Lifted" lead; wrap the product word in
   .lds-grad-text for the brand gradient (or just color:var(--brand) for solid). */
.lds-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.lds-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-strong);
}

/* ---- Blueprint grid / texture --------------------------------------------
   The Lifted backdrop pattern. .lds-grid = ruled lines; .lds-grid-dots = dot
   matrix; add .lds-grid--brand to tint to the active accent; .lds-grid--fade
   vignettes it (use behind heroes/covers). Pair with .lds-ambient for glow.
   Grid images live at :root (--grid-img*) so --fade can repaint them on a
   masked ::after LAYER — the mask never touches content (headlines stay crisp). */
.lds-grid {
  background-image: var(--grid-img);
  background-size: var(--grid-size) var(--grid-size);
}
.lds-grid-lg { background-size: var(--grid-size-lg) var(--grid-size-lg); }
.lds-grid-dots {
  background-image: var(--grid-img-dots);
  background-size: var(--grid-size) var(--grid-size);
}
.lds-grid--brand { background-image: var(--grid-img-brand); }
/* Fade: move the grid onto a masked background layer so content stays unmasked. */
.lds-grid--fade {
  position: relative;
  background-image: none !important;
}
.lds-grid--fade::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grid-img);
  background-size: var(--grid-size) var(--grid-size);
  -webkit-mask-image: radial-gradient(120% 90% at 50% -10%, #000, transparent 75%);
          mask-image: radial-gradient(120% 90% at 50% -10%, #000, transparent 75%);
}
.lds-grid-lg.lds-grid--fade::after { background-size: var(--grid-size-lg) var(--grid-size-lg); }
.lds-grid--brand.lds-grid--fade::after { background-image: var(--grid-img-brand); }
.lds-grid--fade > * { position: relative; z-index: 1; }

/* ---- HUD corner-brackets — the Lifted signature framing -------------------
   Add .lds-hud to any element for four thin brand corner ticks (echoes the
   wireframe globe + the Button treatment). .lds-hud--2 = top-left + bottom-right
   only. Keep on hero/KPI/feature surfaces — not everywhere. */
.lds-hud { position: relative; }
.lds-hud > * { position: relative; z-index: 1; }
.lds-hud::before, .lds-hud::after {
  content: ""; position: absolute; width: 10px; height: 10px; pointer-events: none;
  border: 1.5px solid var(--brand); opacity: .55; z-index: 0;
}
.lds-hud::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.lds-hud::after { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.lds-hud--2::before { top: 8px; left: 8px; }

/* ---- Top progress bar (signer / multi-step flows) ------------------------- */
.lds-progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 60;
  background: var(--brand);
  transition: width var(--dur-slow) var(--ease-out);
}

/* ---- Brand-gradient text + fill helpers ---------------------------------- */
.lds-grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lds-grad-fill { background: var(--grad-brand); }

@media (prefers-reduced-motion: reduce) {
  .lds-progress { transition: none; }
}
