/* Nevvi design system v2.1 — tokens from the founder's brand sheet.
   docs/design-system.md is the human-readable spec. */

:root {
  /* semantic palette */
  --discovery: #5B1E6D;
  --growth: #A62E7E;
  --opportunity: #FF4D6A;
  --alert: #EF4444;
  --success: #22C55E;
  --info: #3B82F6;
  --gradient: linear-gradient(90deg, #5B1E6D 0%, #D33C8D 55%, #FF7A19 100%);
  /* neutrals — v2.1: warm stone scale (the slate set's blue undertone fought
     the warm purple->orange gradient). n500 darkened past the Tailwind stop:
     #78716C failed WCAG AA (4.4:1) on the n100 ground under table headers
     and 12px copy — a failure inherited from slate v2, fixed here. */
  --n900: #1C1917; --n800: #292524; --n700: #44403C;
  --n500: #57534E; --n300: #D6D3D1; --n100: #F5F5F4; --n50: #FAFAF9;
  --n0: #FFFFFF;
  /* header ground is PINNED, not derived from the neutral scale — a neutrals
     change must never silently restyle the brand moment. Plum-black (~15%
     toward brand purple) gives the gradient wordmark a ground with brand DNA. */
  --header-bg: #231A23;
  /* type */
  --font-display: "Satoshi", "Inter", sans-serif;
  --font-ui: "Inter", -apple-system, sans-serif;
  --font-data: "JetBrains Mono", ui-monospace, monospace;
  /* layout */
  --r-input: 8px; --r-card: 16px; --r-pill: 999px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px;
}

* { box-sizing: border-box; }
body {
  font-family: var(--font-ui); margin: 0;
  background: var(--n100); color: var(--n800); font-size: 14px;
  /* sticky footer: main stretches so the disclaimer sits at the viewport
     bottom even when the page content is short */
  display: flex; flex-direction: column; min-height: 100vh;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--n900); }

/* header — gradient wordmark on pinned plum-black (v2.1; supersedes the
   brand sheet's "dark navy", which assumed the slate-neutral world) */
header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px; background: var(--header-bg); color: var(--n0);
}
header .brand { display: flex; align-items: center; gap: 12px; }
header .brand .word {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  letter-spacing: 0.35em;
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
header .brand small {
  color: var(--n300); font-weight: 400; letter-spacing: 0.02em; font-size: 12px;
}
header a { color: var(--n0); text-decoration: none; font-weight: 500; }

main { max-width: 1140px; margin: 0 auto; padding: var(--s3) 28px var(--s5);
       width: 100%; flex: 1; }

/* buttons */
button, .btn-primary {
  padding: 10px 20px; border: none; border-radius: var(--r-input);
  background: var(--gradient); color: var(--n0);
  font-family: var(--font-ui); font-weight: 600; font-size: 14px; cursor: pointer;
}
.btn-secondary {
  background: var(--n0); color: var(--discovery);
  border: 1.5px solid var(--discovery); border-radius: var(--r-input);
  padding: 10px 20px; font-weight: 600; cursor: pointer;
}

/* cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s2); margin: var(--s2) 0; }
.card {
  background: var(--n0); border: 1px solid var(--n300);
  border-radius: var(--r-card); padding: var(--s2);
}
.card .label { font-size: 12px; color: var(--n500); }
.card .value { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--n900); }
.card .value .locknote { font-family: var(--font-ui); font-size: 12px; font-weight: 400; }

/* filter bar */
.filters {
  display: flex; gap: var(--s2); flex-wrap: wrap; align-items: end;
  background: var(--n0); border: 1px solid var(--n300);
  border-radius: var(--r-card); padding: var(--s2); margin: var(--s2) 0;
}
.filters label { display: block; font-size: 12px; color: var(--n500); margin-bottom: 4px; }
.filters input[type=text], .filters input[type=number] {
  padding: 9px 12px; border: 1px solid var(--n300); border-radius: var(--r-input);
  font-size: 14px; font-family: var(--font-ui); background: var(--n100);
}
.filters input:focus { outline: 2px solid var(--growth); outline-offset: 0; background: var(--n0); }

/* table */
.table-wrap { overflow-x: auto; border-radius: var(--r-card); }
table {
  width: 100%; border-collapse: collapse; background: var(--n0);
  font-size: 13.5px; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--n300);
}
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--n100); }
th {
  color: var(--n500); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
  background: var(--n100);
}
td.num, th.num { text-align: right; }
td.num { font-family: var(--font-data); font-size: 12.5px; }
tr:hover td { background: #FBF6F9; } /* magenta-tinted hover (growth family) —
  the old #faf7fc lavender was the last cool surface left from the slate era */

/* chips */
.pill {
  font-size: 11px; border-radius: var(--r-pill); padding: 3px 10px;
  font-weight: 600; letter-spacing: 0.02em;
}
/* Opportunity chips are a tint of the gradient's ORANGE terminus (#FF7A19),
   not of --opportunity pink — pink tint would collide with magenta links. */
.pill-opportunity { background: #FFF0E3; color: #B35008; }
/* Subscription-state badge (e.g. "paid preview") — shares the warm tint for
   now but is semantically a plan badge, NOT an opportunity status. */
.pill-plan { background: #FFF0E3; color: #B35008; }
.pill-neutral { border: 1px solid var(--n300); color: var(--n500); }

/* refine bar */
.refine { display:flex; gap: var(--s2); align-items:center; flex-wrap:wrap; margin: var(--s1) 0; font-size:13px; }
.refine-label { color: var(--n500); font-weight:600; }
.refine-group { display:flex; gap:6px; align-items:center; color: var(--n500); }
.chip {
  border:1px solid var(--n300); border-radius: var(--r-pill); padding:4px 12px;
  color: var(--n700); text-decoration:none; font-weight:500; background: var(--n0);
}
.chip:hover { border-color: var(--growth); }
.chip-active { background: var(--gradient); color: var(--n0); border:none; font-weight:600; }

/* locked / upsell */
.locked { color: var(--n300); filter: blur(3px); user-select: none; }
.locknote { font-size: 12px; color: var(--growth); font-weight: 600; }
.upsell {
  border: 1px solid var(--growth); background: #FDF2F8;
  border-radius: var(--r-card); padding: var(--s2) var(--s3);
  margin: var(--s2) 0; font-size: 14px;
}
.upsell a { color: var(--growth); font-weight: 600; }

footer {
  border-top: 1px solid var(--n300); margin-top: var(--s4);
  padding: var(--s2) 28px var(--s3); font-size: 12px; color: var(--n500); line-height: 1.7;
  background: var(--n0);
}
/* Body links carry the brand (Growth magenta), not generic hyperlink blue —
   blue was a second source of the cool cast. --info stays for status uses. */
a { color: var(--growth); }
/* pricing: two SKUs side-by-side on desktop, stacked on narrow screens */
.paywall-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--s3); max-width: 980px; margin: var(--s4) auto;
  /* default stretch = equal-height cards */
}
.paywall-grid .paywall-card { margin: 0; max-width: none;
  /* CTA cluster anchors to the card bottom: everything after the feature
     list gets pushed down, so buttons align across unequal copy lengths */
  display: flex; flex-direction: column; }
.paywall-grid .paywall-card ul { margin-bottom: auto; }
.paywall-card {
  max-width: 480px; margin: var(--s5) auto; background: var(--n0);
  border: 1px solid var(--n300); border-radius: var(--r-card); padding: var(--s4);
}
/* stacked form (request-access) */
.stack-form label { display: block; font-size: 12px; color: var(--n500); margin: 12px 0 4px; }
.stack-form input[type=text], .stack-form input[type=email], .stack-form textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--n300);
  border-radius: var(--r-input); font-size: 14px; font-family: var(--font-ui);
  background: var(--n100);
}
.stack-form input:focus, .stack-form textarea:focus {
  outline: 2px solid var(--growth); outline-offset: 0; background: var(--n0);
}
.paywall-card h2 { font-size: 32px; margin: var(--s1) 0 4px; }
.price-grad {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==================================================================
   Landing v3 (2026-07-04, founder-approved mockup docs/mockups/
   landing-v3.html) — the no-search view of / only. Everything below
   is additive; results-mode styling above is untouched.
   ================================================================== */
:root {
  /* on-dark gradient: first stop is design-system.md's own on-dark
     number ("nearer #7B2E93") — #5B1E6D is ~1.5:1 on near-black.
     Decorative use only (hero art + stat hairline); carries no text. */
  --gradient-dark: linear-gradient(90deg, #7B2E93 0%, #D33C8D 55%, #FF7A19 100%);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--n0); color: var(--discovery); padding: 10px 16px;
  border-radius: 0 0 var(--r-input) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* landing mode: main goes full-bleed; sections carry their own container */
main.landing { max-width: none; padding: 0; }
.landing-container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* hero — extends the pinned header ground into one dark brand moment.
   Gradient budget: three moments in view (wordmark, spiral, search pill);
   stat values stay white on purpose. */
.landing-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 700px 420px at 72% -10%, rgba(211,60,141,0.08), transparent 60%),
    var(--header-bg);
  padding: clamp(48px, 9vh, 96px) 28px clamp(40px, 7vh, 72px);
}
.landing-hero-art {
  position: absolute; width: 860px; height: 860px;
  right: -240px; top: -200px; opacity: 0.30; pointer-events: none;
}
.landing-hero-inner {
  position: relative; z-index: 1; max-width: 880px; margin: 0 auto;
  text-align: center;
}
/* body-link magenta is 2.7:1 on plum — override everything in the hero */
.landing-hero a { color: var(--n100); }
.landing-hero a:focus-visible, .landing-hero button:focus-visible {
  outline: 2px solid #fff; outline-offset: 2px;
}
.landing-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--n300); margin: 0 0 var(--s2);
}
.landing-hero h1 {
  color: var(--n0); font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 var(--s2);
}
.landing-sub {
  color: var(--n300); font-size: 18px; line-height: 1.6;
  max-width: 640px; margin: 0 auto var(--s4);
}

/* hero search pill */
.landing-search { max-width: 720px; margin: 0 auto; }
.landing-pill {
  background: var(--gradient); padding: 2px; border-radius: var(--r-pill);
  display: flex;
}
.landing-pill:focus-within {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(211,60,141,.5);
}
.landing-pill input {
  flex: 1; min-width: 0; border: none; outline: none;
  background: var(--n0); color: var(--n900);
  font-family: var(--font-ui); font-size: 17px;
  padding: 18px 12px 18px 28px;
  border-radius: var(--r-pill) 0 0 var(--r-pill);
}
.landing-pill input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--n0) inset;
  -webkit-text-fill-color: var(--n900); border-radius: inherit;
}
.landing-pill button {
  border-radius: var(--r-pill); padding: 0 34px;
  font-size: 19px; font-weight: 700; flex-shrink: 0;
}
/* nl-disabled variant: codes + states share the pill */
.landing-search--codes .landing-pill input + input {
  flex: 0 0 90px; border-radius: 0; border-left: 1px solid var(--n300);
}

/* example chips — the primary affordance under the search box */
.landing-chips {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  align-items: center; margin-top: var(--s3);
}
.landing-chips .chips-label { color: var(--n300); font-size: 13px; margin-right: 2px; }
.landing-chip {
  border: 1px solid rgba(255,255,255,0.35); border-radius: var(--r-pill);
  padding: 6px 14px; font-size: 13px; text-decoration: none;
  background: rgba(255,255,255,0.08); color: var(--n100);
}
@media (hover: hover) {
  .landing-chip:hover { border-color: #D33C8D; background: rgba(211,60,141,0.14); }
}

/* secondary CPT row (16px inputs: 14px triggers iOS focus-zoom mid-hero) */
.landing-alt-form {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  align-items: center; margin-top: var(--s3); font-size: 13px; color: var(--n300);
}
.landing-alt-form input {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  color: var(--n0); border-radius: var(--r-input); padding: 8px 12px;
  font-family: var(--font-ui); font-size: 16px;
}
.landing-alt-form input::placeholder { color: rgba(255,255,255,0.65); }
.landing-alt-form input[name=codes] { width: 200px; }
.landing-alt-form input[name=states] { width: 84px; }
.landing-alt-form button { font-size: 14px; padding: 8px 18px; border-radius: var(--r-input); }

/* NL-failure banner (app returns summary+errors, so it renders here) */
.landing-error {
  background: rgba(239,68,68,0.15); border: 1px solid var(--alert);
  color: #FCA5A5; border-radius: var(--r-input); padding: 10px 16px;
  font-size: 14px; max-width: 720px; margin: var(--s2) auto 0;
}

/* stat band — white values; ONE gradient accent (the hairline) */
.landing-stats {
  max-width: 880px; margin: var(--s5) auto 0; padding-top: var(--s4);
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2);
}
.landing-stats::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-dark);
}
.landing-stat .value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4vw, 46px); color: var(--n0);
  font-variant-numeric: tabular-nums; /* Satoshi tnum verified in mockup */
}
.landing-stat .label {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--n300); margin-top: 4px;
}
.landing-stats-caption {
  grid-column: 1 / -1; font-size: 12px; color: var(--n300);
  opacity: 0.85; margin-top: var(--s1);
}

/* below-fold sections */
.landing-section { padding: clamp(56px, 8vh, 88px) 0 0; }
.landing-section:last-of-type { padding-bottom: clamp(40px, 6vh, 64px); }
.landing-section h2 {
  font-size: clamp(24px, 3vw, 32px); text-align: center; margin: 0 0 var(--s4);
}
.landing-cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s3);
}
/* section titles — same hairline+eyebrow language as the results page,
   centered variant */
.landing-sec-title { position: relative; text-align: center; padding-top: var(--s2); margin: 0 0 var(--s4); }
.landing-sec-title::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 64px; height: 2px;
  transform: translateX(-50%); background: var(--gradient);
}
.landing-sec-title .eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--growth);
}
.landing-sec-title h2 { margin: 4px 0 0; }

/* below-fold columns as cards — the flat text strips were unscannable */
.landing-step {
  background: var(--n0); border: 1px solid var(--n300);
  border-radius: var(--r-card); padding: var(--s3);
  transition: transform .15s ease, box-shadow .15s ease;
}
@media (hover: hover) {
  .landing-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(28, 25, 23, 0.08);
  }
}
/* 2px-stroke icons per the design-system icon spec (rounded caps, no fill) */
.landing-step .step-ico { display: block; margin-bottom: 12px; }
.landing-step .step-ico svg {
  width: 26px; height: 26px; fill: none; stroke: var(--growth);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.landing-step .step-num {
  font-family: var(--font-data); font-size: 13px; font-weight: 500;
  color: var(--n500); letter-spacing: 0.08em;
}
.landing-step h3 { font-size: 19px; margin: 8px 0 8px; }
.landing-step p { font-size: 15px; color: var(--n700); line-height: 1.65; margin: 0; }
.landing-step p em { color: var(--n900); font-style: italic; }

/* dark band — the middle section flips onto the pinned brand ground so the
   page reads stone -> plum -> stone instead of one long pale run */
.landing-section--dark {
  background: var(--header-bg);
  padding-bottom: clamp(56px, 8vh, 88px);
  margin-top: clamp(56px, 8vh, 88px);
}
.landing-section--dark + .landing-section { padding-top: clamp(56px, 8vh, 88px); }
.landing-section--dark .landing-sec-title h2 { color: var(--n0); }
.landing-section--dark .landing-sec-title .eyebrow { color: var(--n300); }
.landing-section--dark .landing-step {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.16);
}
@media (hover: hover) {
  .landing-section--dark .landing-step:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  }
}
.landing-section--dark .landing-step h3 { color: var(--n0); }
.landing-section--dark .landing-step p { color: var(--n300); }
.landing-section--dark .landing-step .step-ico svg { stroke: #D33C8D; }

.landing-pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--s3); max-width: 980px; margin: 0 auto;
}
/* featured SKU — one gradient accent on the pricing row */
.landing-price-card--featured { position: relative; overflow: hidden; }
.landing-price-card--featured::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
}
.card.landing-price-card--featured .tier { color: var(--growth); }
.landing-price-card .headline .per {
  font-family: var(--font-ui); font-size: 13px; font-weight: 400; color: var(--n500);
}
.landing-pricing-cta { text-align: center; margin: var(--s4) 0 0; }
.landing-pricing-cta .btn-primary { text-decoration: none; display: inline-block; }
.landing-price-card { display: flex; flex-direction: column; padding: var(--s3); }
.landing-price-card .tier {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--n500); font-weight: 600;
}
.landing-price-card .headline {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  color: var(--n900); margin: 6px 0 10px;
}
.landing-price-card p { font-size: 15px; color: var(--n700); line-height: 1.65; margin: 0 0 var(--s2); }
.landing-price-card .cta { margin-top: auto; }
.landing-price-card .cta a.btn-primary { text-decoration: none; display: inline-block; }
.landing-price-card .noware { font-weight: 600; color: var(--n900); }

@media (max-width: 640px) {
  .landing-pill input { font-size: 16px; padding: 14px 8px 14px 20px; }
  .landing-pill button { font-size: 17px; padding: 0 22px; }
  .landing-sub { font-size: 16px; }
}
@media (max-width: 520px) {
  .landing-stats { grid-template-columns: 1fr; gap: var(--s3); text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-hero *, .landing-stats *, .landing-step { animation: none !important; transition: none !important; }
}

/* ==================================================================
   Results v2 (2026-07-04) — restyles the lookup/results view to match
   landing v3: dark search panel (hero ground), gradient-hairline title,
   dark table header. Additive; layout and form contract unchanged.
   ================================================================== */

/* search panel — compact strip of the hero's dark brand ground */
.results-search {
  background: var(--header-bg); border-radius: var(--r-card);
  padding: var(--s2) var(--s3); margin: var(--s2) 0 var(--s3);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2);
}
.results-search form {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  flex: 1; min-width: 260px;
}
.results-search .results-search-or { color: var(--n500); font-size: 12px; }
.results-search input {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  color: var(--n0); border-radius: var(--r-input); padding: 9px 12px;
  font-family: var(--font-ui); font-size: 16px; /* <16px zooms iOS */
  flex: 1; min-width: 0;
}
.results-search input::placeholder { color: rgba(255,255,255,0.6); }
.results-search input:focus {
  outline: 2px solid #D33C8D; outline-offset: 0;
  background: rgba(255,255,255,0.12);
}
.results-search input[name=states] { flex: 0 1 110px; }
.results-search button { padding: 9px 18px; flex-shrink: 0; }
.results-search button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* section title — eyebrow + display h2 over the gradient hairline */
.results-title { position: relative; padding-top: var(--s2); margin: var(--s3) 0 var(--s2); }
.results-title::before {
  content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 2px;
  background: var(--gradient);
}
.results-title .eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--growth);
}
.results-title h2 {
  font-size: clamp(22px, 3vw, 30px); margin: 2px 0 0; line-height: 1.2;
}
.results-title h2 .year { color: var(--n500); font-weight: 400; font-size: 0.6em; }

/* snapshot cards — landing-stat label treatment. Keeps the stock 160px grid
   (six-up inside the 1084px content column); 20px values fit state-level
   dollar totals, and overflow-wrap lets rare nationwide billions wrap
   instead of clipping (pre-existing failure at the old 24px). */
.cards-snapshot .card .label {
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 11px;
}
.cards-snapshot .card .value { font-size: 20px; overflow-wrap: anywhere; }

/* export button */
.export-row { margin: var(--s2) 0 var(--s1); }
.btn-export {
  display: inline-block; padding: 7px 16px; border-radius: var(--r-input);
  border: 1.5px solid var(--discovery); color: var(--discovery);
  background: var(--n0); font-weight: 600; font-size: 13px; text-decoration: none;
}
.btn-export-locked { border-color: var(--n300); color: var(--n500); }
@media (hover: hover) {
  .btn-export:hover { border-color: var(--growth); color: var(--growth); }
}

/* table — dark brand header, stronger org names, mono rank */
.results-table th {
  background: var(--header-bg); color: var(--n300);
  border-bottom: none;
}
.results-table td:first-child {
  font-family: var(--font-data); font-size: 12px; color: var(--n500);
}
.results-table td:nth-child(2) { font-weight: 600; }
.results-table td:nth-child(2) a { text-decoration: none; }
.results-table td:nth-child(2) a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .results-search { padding: var(--s2); }
  .results-search form { min-width: 100%; }
}

/* search-in-progress overlay (loading.js injects the markup) */
.loading-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(28, 25, 23, 0.45); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center;
}
.loading-card {
  background: var(--n0); border-radius: var(--r-card);
  padding: var(--s4) var(--s5); text-align: center;
  box-shadow: 0 20px 60px rgba(28, 25, 23, 0.35);
  max-width: 340px;
}
.loading-ring {
  width: 44px; height: 44px; margin: 0 auto var(--s2);
  border-radius: 50%;
  background: conic-gradient(#5B1E6D, #D33C8D, #FF7A19, #5B1E6D);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: nevvi-spin 0.9s linear infinite;
}
@keyframes nevvi-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .loading-ring { animation: none; }
}
.loading-label { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--n900); }
.loading-sub { font-size: 12.5px; color: var(--n500); margin-top: 4px; }
