/* Source: web/ds/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);
  --text-faint:       var(--slate-500);
  --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);
}
/* NOTE: the Launchpad Gateway VIEW (web/index.html .view-gateway) intentionally
   re-overrides --brand to VIOLET inline, to agree with the processor accent
   --ap-nmi (violet) used across Payments/Overview/Gateway for the NMI rail.
   That inline override is the source of truth for that view; this orange
   gateway brand stays for any other surface that opts into data-brand="gateway".
   Divergence is deliberate — do not "fix" the view to orange. */
[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 — set data-theme="light" on <html> (or any subtree).
   Originally for "on light" lockups, docs and email; the merchant
   portal (web/portal.html) is the first full app surface to ship a
   user-facing light/dark toggle on top of it.

   SCOPE — this block flips only the NEUTRAL SPINE (surfaces / text /
   borders). It deliberately leaves the *material* tokens dark-tuned:
   the glass tokens (--glass-*), the elevation shadows, the page
   backdrop glows, and the brand-on-white legibility (bright #00E18C
   fails AA as text/stroke on white). A surface that wants a real
   light design re-points those locally under its own
   [data-theme="light"] — see web/portal.html for the reference
   implementation (warm-white frosted glass, soft color-true shadows,
   --brand-deep for text/marks, solid green kept only for FILLS).

   NO-FLASH — resolve the theme pre-paint with a tiny inline <head>
   script (saved choice -> prefers-color-scheme -> dark) and persist
   to localStorage; update <meta name="theme-color"> live so installed
   PWA chrome matches. Everything stays token-driven, so both themes
   inherit automatically — no class/markup forks.
   ============================================================ */
[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);

  /* ---- state colors: the bright dark-mode values (#FFB920 amber, #FF4D6A rose)
          fail WCAG AA as TEXT on white, so deepen them for light mode. Kept at the
          DS layer so every light page inherits — previously each page re-patched
          these by hand (root cause of the incomplete light theme). Solid green
          FILLS keep #00E18C; green-as-text uses --green-ink. ------------------- */
  --warning:  #B7791F;   /* amber, ~4.6:1 on white */
  --error:    #C81E4E;   /* deep rose, ~5.1:1 on white */
  --amber:    #B7791F;   /* alias some pages reference */
  --red:      #C81E4E;
  --danger:   #C81E4E;
  --green-ink:#067A46;   /* readable green for text/marks on white (fills stay --green) */

  /* ---- glass: DS glass is a white sheen tuned for dark grounds; on white it must
          become a warm-white frosted plane, or cards read as flat grey blocks. --- */
  --glass-surface: color-mix(in srgb, #ffffff 74%, transparent);
  --glass-border:  rgba(11,16,32,0.10);
  --glass-hi:      rgba(255,255,255,0.85);
  --glass-shadow:  0 1px 0 rgba(255,255,255,0.9) inset,
                   0 0 0 1px rgba(11,16,32,0.04) inset,
                   0 18px 50px -28px rgba(16,24,40,0.22);
}

/* Source: web/ds/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;

  /* Metric steps — KPI/money numerals. Unified step so every numeric hero
     across views shares one scale (primary 26 / secondary peer 20). */
  --fs-metric:    26px; /* @kind other */
  --fs-metric-sm: 20px; /* @kind other */
}

/* Source: web/ds/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 */
}

/* Source: web/ds/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; } }

/* Source: web/ds/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; }
}

/* Source: web/liftedpos/assets/site.css */
:root {
  color-scheme: dark;
  --ink: var(--void);
  --ink-2: var(--ink-900);
  --panel: var(--ink-900);
  --panel-2: var(--ink-800);
  --paper: var(--mist-100);
  --white: var(--mist-100);
  --text: var(--text-body);
  --muted: var(--text-muted);
  --faint: var(--text-faint);
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .2);
  --violet: var(--brand);
  --violet-2: var(--brand-bright);
  --violet-soft: var(--brand-tint);
  --mint: var(--success);
  --amber: var(--warning);
  --danger: var(--error);
  --shadow: var(--shadow-xl);
  --max: 1240px;
  --radius: var(--radius-xl);
  --radius-sm: var(--radius-md);
  --display: var(--font-display);
  --body: var(--font-sans);
  --mono: var(--font-mono);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
.liftedpos-site {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(1000px 620px at 78% -5%, rgba(122, 92, 255, .13), transparent 65%),
    var(--ink);
  color: var(--text);
  font: 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .17;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--violet-2); outline-offset: 4px; }
::selection { background: var(--violet); color: var(--white); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { transform: none; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 17px;
  color: var(--violet-2);
  font: 600 11px/1 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  width: 22px;
  height: 1px;
  content: "";
  background: currentColor;
}
.kicker { color: var(--violet-2); }
.lede {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--paper); }
.prose a { color: var(--violet-2); text-underline-offset: 3px; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(7, 8, 18, .76);
  backdrop-filter: blur(20px);
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(7, 8, 18, .94); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand {
  display: inline-flex;
  flex: none;
  gap: 11px;
  align-items: center;
  color: var(--white);
  font: 700 18px/1 var(--display);
  text-decoration: none;
  letter-spacing: -.04em;
}
.brand-mark { width: 29px; height: 29px; }
.brand em { color: var(--violet-2); font-style: normal; }
.primary-nav { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.primary-nav > a,
.nav-dropdown > button {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.primary-nav > a:hover,
.nav-dropdown > button:hover { color: var(--white); }
.nav-dropdown { position: relative; }
.nav-dropdown > button::after {
  width: 6px;
  height: 6px;
  display: inline-block;
  margin: 0 0 3px 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  content: "";
  transform: rotate(45deg);
}
.drop-panel {
  position: absolute;
  top: 32px;
  left: -22px;
  width: 330px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 16, 32, .98);
  box-shadow: var(--shadow);
}
.drop-panel[hidden] { display: none; }
.drop-panel a { display: grid; gap: 2px; padding: 12px; border-radius: 10px; text-decoration: none; }
.drop-panel a:hover { background: var(--violet-soft); }
.drop-panel b { color: var(--paper); font-size: 14px; }
.drop-panel span { color: var(--muted); font-size: 12px; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  width: 18px;
  height: 1.5px;
  display: block;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.button {
  min-height: 46px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(255,255,255,.02);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.36); }
.button-primary {
  border-color: var(--violet);
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 10px 32px rgba(122, 92, 255, .24);
}
.button-primary:hover { background: #6b4bf5; }
.button-lg { min-height: 54px; padding-inline: 23px; }
.button-text { min-height: auto; padding: 4px 0; border: 0; }
.arrow {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transition: transform .18s ease;
  transform: rotate(45deg);
}
.button:hover .arrow, a:hover .arrow { transform: translateX(3px) rotate(45deg); }

.hero { position: relative; padding: 80px 0 54px; overflow: clip; }
.hero-globe {
  position: absolute;
  top: 22px;
  right: max(22px, calc((100vw - var(--max)) / 2 - 80px));
  z-index: 0;
  opacity: .16;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(510px, 1.12fr); gap: 54px; align-items: center; }
.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 800px;
  color: var(--paper);
  font: 800 clamp(44px, 6.5vw, 82px)/.99 var(--display);
  letter-spacing: -.065em;
}
.hero h1 span { color: var(--violet-2); }
.hero-copy { max-width: 620px; margin: 25px 0 0; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-note { margin-top: 18px; color: var(--faint); font: 500 11px/1.6 var(--mono); letter-spacing: .03em; }

.transaction-stage { position: relative; min-height: 630px; }
.stage-glow {
  position: absolute;
  inset: 4% -12% auto 4%;
  height: 70%;
  border-radius: 50%;
  background: rgba(122, 92, 255, .19);
  filter: blur(90px);
}
.product-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: #111324;
  box-shadow: var(--shadow);
  transform: perspective(1600px) rotateY(-5deg) rotateX(1.5deg);
}
.product-frame::before {
  display: block;
  height: 34px;
  border-bottom: 1px solid var(--line);
  content: "";
  background:
    radial-gradient(circle at 17px 17px, #ff7d85 0 4px, transparent 4.5px),
    radial-gradient(circle at 32px 17px, #f8c86a 0 4px, transparent 4.5px),
    radial-gradient(circle at 47px 17px, #5ce1b7 0 4px, transparent 4.5px);
}
.product-frame img { width: 100%; aspect-ratio: 2400 / 1520; object-fit: cover; }
.transaction-pulse {
  position: absolute;
  right: -18px;
  bottom: 0;
  left: 42px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(157,134,255,.34);
  border-radius: 16px;
  background: rgba(10, 11, 24, .95);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
}
.pulse-step { position: relative; min-height: 118px; padding: 17px 16px; border-right: 1px solid var(--line); }
.pulse-step:last-child { border: 0; }
.pulse-step::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--violet-2);
}
.pulse-step.active::before { animation: fill-step 1.8s ease forwards; }
.pulse-label { display: block; color: var(--faint); font: 600 9px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.pulse-value { display: block; margin-top: 15px; color: var(--paper); font: 600 14px/1.25 var(--mono); }
.pulse-status { display: flex; gap: 6px; align-items: center; margin-top: 11px; color: var(--muted); font-size: 11px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(92,225,183,.1); }
@keyframes fill-step { to { width: 100%; } }

.proof-bar { border-block: 1px solid var(--line); background: rgba(255,255,255,.015); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 25px 24px; border-right: 1px solid var(--line); }
.proof-item:first-child { padding-left: 0; }
.proof-item:last-child { border-right: 0; }
.proof-item b { display: block; color: var(--paper); font: 600 14px/1.3 var(--display); }
.proof-item span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }

.section {
  padding: 115px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 820px;
}
.section-tight { padding: 78px 0; }
.section-paper { background: var(--paper); color: #171827; }
.section-paper .eyebrow { color: #6849ee; }
.section-paper h2, .section-paper h3 { color: #11121e; }
.section-paper p, .section-paper .section-intro { color: #5d6075; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 48px; }
.section-head h2,
.split-copy h2 {
  max-width: 800px;
  margin: 0;
  color: var(--paper);
  font: 600 clamp(34px, 4.8vw, 59px)/1.05 var(--display);
  letter-spacing: -.055em;
}
.section-intro { max-width: 560px; margin: 0; color: var(--muted); font-size: 17px; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split-copy p { color: var(--muted); }
.check-list { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 29px; color: var(--muted); }
.check-list li::before { position: absolute; left: 0; color: var(--mint); content: "✓"; font-family: var(--mono); }

.industry-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.industry-tab {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.industry-tab[aria-selected="true"] { border-color: var(--violet); background: var(--violet-soft); color: var(--white); }
.industry-panel {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 50px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
}
.industry-panel[hidden] { display: none; }
.industry-panel h3 { margin: 0; color: var(--paper); font: 600 28px/1.1 var(--display); letter-spacing: -.035em; }
.industry-panel p { color: var(--muted); }
.shot-shell { padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); box-shadow: var(--shadow); }
.shot-shell img { border-radius: 9px; aspect-ratio: 2400 / 1520; object-fit: cover; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.023);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(157,134,255,.42); background: rgba(122,92,255,.065); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(157,134,255,.3); border-radius: 12px; background: var(--violet-soft); color: var(--violet-2); font: 600 13px/1 var(--mono); }
.feature-card h3 { margin: auto 0 8px; color: var(--paper); font: 600 20px/1.2 var(--display); letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-card .link-label { margin-top: 17px; color: var(--violet-2); font-size: 13px; font-weight: 700; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }
.gallery-card:nth-child(1), .gallery-card:nth-child(4) { grid-column: span 7; }
.gallery-card:nth-child(2), .gallery-card:nth-child(3) { grid-column: span 5; }
.gallery-image { overflow: hidden; padding: 10px 10px 0; }
.gallery-image img { border-radius: 10px 10px 0 0; aspect-ratio: 2400 / 1520; object-fit: cover; transition: transform .45s ease; }
.gallery-card:hover img { transform: scale(1.018); }
.gallery-caption { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; }
.gallery-caption b { color: var(--paper); }
.gallery-caption span { color: var(--muted); font-size: 12px; }

.price-stage { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; align-items: stretch; }
.price-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.price-amount { margin: 12px 0 2px; color: var(--paper); font: 600 clamp(45px, 6vw, 70px)/1 var(--display); letter-spacing: -.06em; }
.price-amount small { color: var(--muted); font: 500 14px/1 var(--body); letter-spacing: 0; }
.price-detail { color: var(--muted); }
.calculator {
  padding: 34px;
  border: 1px solid rgba(122,92,255,.35);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(122,92,255,.12), rgba(15,16,32,.75));
}
.calculator label { display: flex; justify-content: space-between; color: var(--paper); font-weight: 700; }
.calculator output { font-family: var(--mono); }
.calculator input[type="range"] { width: 100%; margin: 28px 0; accent-color: var(--violet); }
.calc-total { display: flex; justify-content: space-between; align-items: end; padding-top: 22px; border-top: 1px solid var(--line); }
.calc-total b { color: var(--paper); font: 600 40px/1 var(--display); letter-spacing: -.04em; }
.calc-total span { color: var(--muted); font-size: 13px; }

.page-hero { padding: 100px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 930px; font-size: clamp(43px, 6vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .45fr; gap: 70px; align-items: end; }
.hero-aside { padding-left: 25px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; }
.hero-aside b { display: block; margin-bottom: 9px; color: var(--paper); font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.breadcrumb { margin: 0 0 24px; color: var(--faint); font: 500 11px/1.4 var(--mono); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb span { padding-inline: 7px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 80px; align-items: start; }
.content-main h2 { margin: 64px 0 17px; color: var(--paper); font: 600 31px/1.15 var(--display); letter-spacing: -.04em; }
.content-main h2:first-child { margin-top: 0; }
.content-main h3 { margin: 35px 0 10px; color: var(--paper); font: 600 20px/1.2 var(--display); }
.content-main p, .content-main li { color: var(--muted); }
.content-main table { width: 100%; border-collapse: collapse; margin: 28px 0; }
.content-main th, .content-main td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.content-main th { color: var(--paper); font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.side-card { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.side-card b { display: block; color: var(--paper); font: 600 18px/1.2 var(--display); }
.side-card p { color: var(--muted); font-size: 13px; }
.side-card .button { width: 100%; }
.callout { margin: 35px 0; padding: 23px 25px; border-left: 3px solid var(--violet); background: var(--violet-soft); }
.callout b { color: var(--paper); }

.demo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.demo-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); text-decoration: none; }
.demo-card img { aspect-ratio: 2400 / 1520; object-fit: cover; }
.demo-body { padding: 23px; }
.demo-body h2 { margin: 0; color: var(--paper); font: 600 22px/1.2 var(--display); }
.demo-body p { color: var(--muted); font-size: 14px; }
.demo-body span { color: var(--violet-2); font-weight: 700; }

.form-card { max-width: 680px; padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.field { display: grid; gap: 9px; }
.field label { color: var(--paper); font-size: 13px; font-weight: 700; }
.input-wrap { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--ink-2); }
.input-wrap:focus-within { border-color: var(--violet-2); box-shadow: 0 0 0 3px var(--violet-soft); }
.input-wrap input { min-width: 0; flex: 1; min-height: 50px; padding: 0 14px; border: 0; outline: 0; background: transparent; color: var(--paper); }
.input-suffix { padding-right: 14px; color: var(--faint); font: 500 12px/1 var(--mono); }
.field-help, .form-error { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.form-error { color: var(--danger); }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.018); }
.faq summary { padding: 20px 22px; color: var(--paper); font-weight: 700; cursor: pointer; }
.faq p { margin: 0; padding: 0 22px 21px; color: var(--muted); }

.cta-band { padding: 0 0 110px; }
.cta-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  align-items: center;
  padding: 55px;
  border: 1px solid rgba(157,134,255,.34);
  border-radius: 26px;
  background: linear-gradient(125deg, rgba(122,92,255,.19), rgba(15,16,32,.92) 58%);
}
.cta-inner::after {
  position: absolute;
  top: -130px;
  right: -80px;
  width: 370px;
  height: 370px;
  border: 1px solid rgba(157,134,255,.18);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 55px rgba(122,92,255,.035), 0 0 0 110px rgba(122,92,255,.025);
}
.cta-inner h2 { position: relative; z-index: 1; margin: 0; color: var(--paper); font: 600 clamp(32px, 4vw, 50px)/1.1 var(--display); letter-spacing: -.05em; }
.cta-inner p { position: relative; z-index: 1; margin: 12px 0 0; color: var(--muted); }
.cta-inner .button { position: relative; z-index: 1; }

.site-footer { padding: 68px 0 30px; border-top: 1px solid var(--line); background: #060710; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 50px; }
.footer-brand p { max-width: 330px; color: var(--muted); font-size: 14px; }
.footer-col b { color: var(--paper); font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer-col a { display: block; margin-top: 13px; color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11px; }

.reveal { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .primary-nav { display: none; position: absolute; top: 76px; right: 20px; left: 20px; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); }
  .primary-nav.open { display: flex; }
  .primary-nav > a, .nav-dropdown > button { width: 100%; padding: 13px; text-align: left; }
  .drop-panel { position: static; width: 100%; margin: 0; box-shadow: none; }
  .menu-button { display: grid; place-items: center; margin-left: auto; }
  .nav-actions .button:not(.button-primary) { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 720px; }
  .transaction-stage { width: min(850px, 100%); min-height: auto; padding-bottom: 90px; }
  .section-head { display: block; }
  .section-intro { margin-top: 18px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 42px; }
  .split.reverse .split-copy { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero-aside { max-width: 620px; }
  .content-grid { grid-template-columns: 1fr; gap: 45px; }
  .side-card { position: static; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 68px; }
  .primary-nav { top: 68px; }
  .nav-actions .button-primary { display: none; }
  .hero { padding-top: 58px; }
  .hero h1, .page-hero h1 { font-size: clamp(41px, 13vw, 59px); }
  .hero-copy { font-size: 17px; }
  .transaction-stage { padding-bottom: 0; }
  .product-frame { transform: none; }
  .transaction-pulse { position: relative; right: auto; bottom: auto; left: auto; grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
  .pulse-step:nth-child(2) { border-right: 0; }
  .pulse-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item { padding: 20px 14px; border-bottom: 1px solid var(--line); }
  .proof-item:nth-child(2) { border-right: 0; }
  .proof-item:nth-child(n+3) { border-bottom: 0; }
  .section { padding: 80px 0; }
  .section-tight { padding: 60px 0; }
  .industry-panel { grid-template-columns: 1fr; padding: 20px; }
  .feature-grid, .demo-grid { grid-template-columns: 1fr; }
  .gallery { display: grid; grid-template-columns: 1fr; }
  .gallery-card:nth-child(n) { grid-column: auto; }
  .price-stage { grid-template-columns: 1fr; }
  .page-hero { padding: 68px 0 52px; }
  .cta-inner { grid-template-columns: 1fr; padding: 35px 25px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { display: block; }
}

@media (max-width: 430px) {
  .hero-actions .button { width: 100%; }
  .proof-grid, .footer-grid { grid-template-columns: 1fr; }
  .proof-item { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .proof-item:nth-child(n) { border-bottom: 1px solid var(--line); }
  .proof-item:last-child { border-bottom: 0; }
  .pulse-step { min-height: 105px; padding: 14px 12px; }
  .footer-brand { grid-column: auto; }
  .form-card, .price-card, .calculator { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
