/* =========================================================================
   The Creative Card: design system
   Lime is reserved for the single most important action on any screen
   (isolation effect); everything else stays neutral so that action reads
   instantly. Motion is short and purposeful, and disabled for users who
   ask for less of it.
   ========================================================================= */

:root {
  color-scheme: dark;
  --bg: #000;
  --surface-1: #0e0e0e;
  --surface-2: #151515;
  --surface-3: #1d1d1d;
  --panel: var(--surface-1);
  --line: #242424;
  --line-strong: #383838;
  --text: #fff;
  --text-2: #cfcfcf;
  --muted: #9b9b9b;
  --green: #67c200;
  --green-hover: #7bd90c;
  --green-press: #58a600;
  --green-dark: #3f7a00;
  --green-tint: rgba(103, 194, 0, .12);
  --green-glow: rgba(103, 194, 0, .38);
  --danger: #ff6b6b;
  --warn: #f3c64f;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-xs: 4px;
  --radius: var(--r-md);
  /* One spacing scale (4px steps), one type scale, one set of corner radii, four breakpoints (600, 760, 900, 1000px).
     Use these instead of one-off numbers. */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.25rem; --s-6: 1.5rem; --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem; --s-20: 5rem; --s-24: 6rem;
  --fs-xs: .75rem; --fs-sm: .875rem; --fs-base: 1rem; --fs-md: 1.125rem; --fs-lg: 1.25rem; --fs-xl: 1.5rem; --fs-2xl: 2rem;
  --tap: 44px;  /* the smallest comfortable touch target */
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 140ms;
  --t-med: 240ms;
  --header-h: 68px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .05) inset, 0 1px 2px rgba(0, 0, 0, .6);
  --shadow-2: 0 14px 34px -14px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .03);
  --shadow-pop: 0 26px 60px -16px rgba(0, 0, 0, .9);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 84px); }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: var(--fs-base); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh;
}
img, svg { max-width: 100%; }
a { color: var(--green); text-decoration: none; transition: color var(--t-fast); }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.03em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
code { background: var(--surface-3); padding: .1em .35em; border-radius: var(--r-xs); font-size: .9em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--green); color: #000; }
input, progress { accent-color: var(--green); }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--green); color: #000; padding: var(--s-3) var(--s-4); z-index: 200; font-weight: 700; border-radius: 0 0 var(--r-md) 0; }
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: var(--s-5); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.accent { color: var(--green); }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: var(--fs-xs); font-weight: 700; color: var(--green); margin-bottom: var(--s-4); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { margin-bottom: var(--s-2); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fill { fill: currentColor; stroke: none; }

/* ---- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  background: var(--green); color: #000; font: inherit; font-weight: 700; letter-spacing: -.005em;
  border: 1px solid transparent; padding: var(--s-3) var(--s-5); min-height: 44px; border-radius: var(--r-md);
  cursor: pointer; text-decoration: none; line-height: 1.2; position: relative;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 6px 16px -8px var(--green-glow);
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease), translate .35s var(--ease), background var(--t-fast), box-shadow var(--t-med) var(--ease), border-color var(--t-fast), color var(--t-fast);
}
.btn:hover { background: var(--green-hover); text-decoration: none; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 14px 28px -10px var(--green-glow); }
.btn:active { transform: translateY(0) scale(.98); background: var(--green-press); box-shadow: none; }
.btn-sm { min-height: 38px; padding: var(--s-2) var(--s-4); font-size: var(--fs-sm); border-radius: var(--r-md); }
.btn-lg { min-height: 56px; padding: var(--s-4) var(--s-8); font-size: var(--fs-base); border-radius: var(--r-md); }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--surface-3); border-color: #5a5a5a; box-shadow: none; }
.btn-ghost:active { background: var(--surface-2); }
.btn-dark { background: #000; color: #fff; border-color: #000; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6); }
.btn-dark:hover { background: #222; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .6); }
.btn-dark:active { background: #111; }
.btn-outline-dark { background: transparent; color: #000; border-color: #000; box-shadow: none; }
.btn-outline-dark:hover { background: #000; color: #fff; box-shadow: none; }
.link-btn { background: none; border: 0; color: var(--text-2); font: inherit; cursor: pointer; padding: 0; transition: color var(--t-fast); }
.link-btn:hover { color: #fff; }
.inline-form { display: inline; margin: 0; }

.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, .25); border-top-color: #000; animation: spin .7s linear infinite;
}
.btn-ghost.is-loading::after, .btn-dark.is-loading::after { border-color: rgba(255, 255, 255, .25); border-top-color: #fff; }
.btn-outline-dark.is-loading::after { border-color: rgba(0, 0, 0, .2); border-top-color: #000; }
.btn .ripple { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, .5); transform: scale(0); animation: ripple .65s ease-out forwards; }
.btn-ghost .ripple { background: rgba(255, 255, 255, .18); }
.btn-outline-dark .ripple { background: rgba(0, 0, 0, .14); }
.btn-dark .ripple { background: rgba(255, 255, 255, .28); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; box-shadow: none; }

/* ---- header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(8, 8, 8, .78);
  -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), box-shadow var(--t-med), background var(--t-med);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(8, 8, 8, .92); box-shadow: 0 10px 28px -18px #000; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: var(--s-4); }
.brand { display: inline-flex; border-radius: var(--r-md); transition: transform var(--t-med) var(--ease); }
.brand:hover { transform: scale(1.04); }
.logo-mark { width: 44px; height: 44px; display: block; }
.main-nav { display: flex; align-items: center; gap: var(--s-6); justify-content: flex-end; }
.main-nav a:not(.btn), .main-nav .link-btn {
  position: relative; color: var(--text-2); font-weight: 600; font-size: var(--fs-base); text-decoration: none; padding: var(--s-2) .1rem;
}
.main-nav a:not(.btn)::after, .main-nav .link-btn::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.main-nav a:not(.btn):hover, .main-nav .link-btn:hover { color: #fff; text-decoration: none; }
.main-nav a:not(.btn):hover::after, .main-nav .link-btn:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; }

/* ---- cursor orb (front page only): sits behind all content, so it can never hurt legibility */
.home main { position: relative; z-index: 1; }
.home .hero { background: transparent; }
.home .cta-band { background: linear-gradient(180deg, transparent, #080808); }
.orb {
  position: fixed; left: 0; top: 0; z-index: 0; width: 460px; height: 460px; border-radius: 50%; pointer-events: none;
  transform: translate3d(calc(72vw - 230px), calc(38vh - 230px), 0); will-change: transform;
  background: radial-gradient(circle at 50% 50%, rgba(120, 220, 30, .26) 0%, rgba(103, 194, 0, .15) 32%, rgba(103, 194, 0, .05) 56%, transparent 72%);
  filter: blur(40px); mix-blend-mode: screen; opacity: .95;
}
.orb::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: radial-gradient(circle, rgba(170, 240, 100, .10), transparent 70%); filter: blur(20px); }
@media (prefers-reduced-motion: no-preference) { .orb::after { animation: orb-breathe 5s ease-in-out infinite; } }
@keyframes orb-breathe { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }
@media (max-width: 760px) { .orb { width: 360px; height: 360px; } }

/* ---- hero -------------------------------------------------------------- */
.hero { position: relative; overflow: visible; overflow-x: clip; padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); background: #000; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 80% at 72% 40%, #000 0%, transparent 72%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -140px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(103, 194, 0, .24) 0%, rgba(103, 194, 0, .06) 45%, transparent 70%); filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-8); align-items: center; }
.hero h1 { font-size: clamp(2.75rem, 6.6vw, 5.2rem); font-weight: 900; letter-spacing: -.045em; line-height: .96; margin-bottom: .35em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 34rem; color: var(--text-2); line-height: 1.6; }
.lead-sm { font-size: var(--fs-md); color: var(--text-2); }
.hero-cta { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-8); }
.hero-cta .btn .ico, .cta-band .btn .ico { transition: transform var(--t-med) var(--ease); }
.hero-cta .btn:hover .ico, .cta-band .btn:hover .ico { transform: translateX(4px); }

.phone-wrap { display: flex; justify-content: center; position: relative; }
/* iPhone mockup: every size is in "u" (1u = phone width / 545), measured off the supplied mockup image
   (phone 545 wide x 1147 tall, thin silver rim, black bezel, dynamic island, card with a double border). */
.phone {
  --pw: min(320px, 78vw); --u: calc(var(--pw) / 545);
  width: var(--pw); aspect-ratio: 545 / 1147; position: relative; box-sizing: border-box;
  padding: calc(var(--u) * 18); border-radius: calc(var(--u) * 100);
  background: linear-gradient(135deg, #f2f2f4 0%, #9a9a9f 22%, #d8d8dc 48%, #85858a 74%, #cfcfd3 100%);
  filter: drop-shadow(0 30px 50px rgba(103, 194, 0, .2));
}
.phone::before { /* black bezel */
  content: ""; position: absolute; inset: calc(var(--u) * 4); border-radius: calc(var(--u) * 96); background: #000;
}
.phone-btn {
  position: absolute; width: calc(var(--u) * 6); border-radius: calc(var(--u) * 3);
  background: linear-gradient(90deg, #6e6e73, #c8c8cc 55%, #8a8a8f);
}
.phone-btn.l { left: calc(var(--u) * -3); }
.phone-btn.r { right: calc(var(--u) * -3); background: linear-gradient(90deg, #8a8a8f, #c8c8cc 45%, #6e6e73); }
.phone-btn.b1 { top: calc(var(--u) * 202); height: calc(var(--u) * 50); }
.phone-btn.b2 { top: calc(var(--u) * 287); height: calc(var(--u) * 76); }
.phone-btn.b3 { top: calc(var(--u) * 387); height: calc(var(--u) * 76); }
.phone-btn.b4 { top: calc(var(--u) * 340); height: calc(var(--u) * 134); }
.phone-screen {
  position: relative; z-index: 1; height: 100%; box-sizing: border-box; background: #fff; overflow: hidden;
  border-radius: calc(var(--u) * 82); padding: calc(var(--u) * 138) calc(var(--u) * 9.5) 0; display: flex; justify-content: center;
}
.phone-island {
  position: absolute; z-index: 3; top: calc(var(--u) * 18); left: 50%; transform: translateX(-50%);
  width: calc(var(--u) * 155); height: calc(var(--u) * 44); border-radius: calc(var(--u) * 22); background: #050505;
}
.phone-island::before { content: ""; position: absolute; left: 3%; top: 14%; width: 62%; height: 72%; border-radius: 999px; background: #0b0b0c; }
.phone-island::after {
  content: ""; position: absolute; right: calc(var(--u) * 3); top: calc(var(--u) * 3); width: calc(var(--u) * 38); height: calc(var(--u) * 38); border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #1b2a3a 0 22%, #07090c 24% 52%, #0e0e10 54%);
}
.phone .mini-card { --cw: calc(var(--u) * 490); max-width: 100%; }  /* the card in the phone is the same card used everywhere, just sized to the screen */
.phone .qr-box::after {
  content: ""; position: absolute; left: 0; right: 0; top: 6%; height: 2px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--green) 30%, var(--green) 70%, transparent); box-shadow: 0 0 12px 1px var(--green);
  animation: scan 3.4s ease-in-out infinite;
}

/* ---- mini id card (shared by the front-page phone, the dashboard and every public card) ------------
   One design, measured off the printed card / phone mockup: 490 x 876 units, thick black border with a thin inner
   line, logo, photo, name bar and a QR box with a black caption strip. Everything scales from --cw (the card's
   width), so it looks identical at any size. 1k = one unit. */
.mini-card {
  --cw: 300px; --k: calc(var(--cw) / 490);
  position: relative; background: #fff; color: #000; box-sizing: border-box; flex: none;
  width: var(--cw); height: calc(var(--k) * 876); border: calc(var(--k) * 6) solid #000; border-radius: calc(var(--k) * 32);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.mini-card::before { /* the thin inner line of the printed card */
  content: ""; position: absolute; inset: calc(var(--k) * 8); border: calc(var(--k) * 1.8) solid #000; border-radius: calc(var(--k) * 22); pointer-events: none;
}
.mini-card .logo-mark { width: calc(var(--k) * 77); height: auto; margin-top: calc(var(--k) * 78); flex: none; }
.mini-tag { font-size: calc(var(--k, .6) * 17); letter-spacing: .1em; color: #000; margin-top: calc(var(--k) * 12); line-height: 1.2; font-weight: 400; }
.mini-sub { margin: 0; font-size: var(--fs-sm); color: #444; }
.avatar {
  border-radius: 50%; background: linear-gradient(135deg, #2f5a00, #67c200); color: #000; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center; flex: none; letter-spacing: -.03em;
}
.avatar-lg { width: 92px; height: 92px; font-size: var(--fs-2xl); }
.avatar-img { object-fit: cover; background: #222; }
.mini-card .avatar-lg { width: calc(var(--k) * 186); height: auto; aspect-ratio: 1 / 1; margin-top: calc(var(--k) * 54); font-size: calc(var(--k) * 64); }
.mini-card .name-bar {
  background: #000; color: #fff; font-weight: 800; box-sizing: border-box; width: calc(var(--k) * 399); min-height: calc(var(--k) * 49);
  margin-top: calc(var(--k) * 54); padding: calc(var(--k) * 8) calc(var(--k) * 10); border-radius: 0; font-size: calc(var(--k) * 20); letter-spacing: 0; line-height: 1.15;
  display: flex; align-items: center; justify-content: center; overflow-wrap: anywhere;
}
.mini-card .qr-box {
  position: relative; display: inline-flex; flex-direction: column; align-items: stretch; box-sizing: border-box; overflow: hidden; background: #fff;
  width: calc(var(--k) * 143); margin-top: calc(var(--k) * 53); border: calc(var(--k) * 4) solid #000; border-radius: calc(var(--k) * 13);
}
.mini-card .qr-box img { display: block; width: calc(var(--k) * 92); height: calc(var(--k) * 92); margin: calc(var(--k) * 18) auto calc(var(--k) * 10); }
.mini-card .qr-caption {
  display: flex; align-items: center; justify-content: center; background: #000; color: #fff; height: calc(var(--k) * 37);
  font-size: calc(var(--k) * 11); font-weight: 400; letter-spacing: .03em; white-space: nowrap; padding-inline: calc(var(--k) * 12);
}

/* ---- Black Card: same card, black with a gold frame, double gold rings round the photo, a dark name pill and a white QR tile.
   Measured off the supplied design (1080x1920) and scaled with --k like every other card; the corners stay rounded. ---- */
.mini-card.is-black {
  background: linear-gradient(#000, #000) padding-box,
              linear-gradient(180deg, #f7e3b0 0%, #c9983f 18%, #8a5f33 40%, #6d4a2c 49%, #f3e0b2 53%, #f8e8bf 100%) border-box;
  border: calc(var(--k) * 12) solid transparent; border-radius: calc(var(--k) * 32);
}
.mini-card.is-black::before { display: none; }
.mini-card.is-black .logo-mark { margin-top: calc(var(--k) * 52); width: calc(var(--k) * 75); }
.mini-card.is-black .mini-tag { color: #fff; font-size: calc(var(--k) * 16); margin-top: calc(var(--k) * 14); }
.mini-card.is-black .avatar-lg {
  width: calc(var(--k) * 168); margin-top: calc(var(--k) * 78); font-size: calc(var(--k) * 56);
  box-shadow: 0 0 0 calc(var(--k) * 12) #000, 0 0 0 calc(var(--k) * 20) #e2b13f, 0 0 0 calc(var(--k) * 30) #000, 0 0 0 calc(var(--k) * 33) #e2b13f;
}
.mini-card.is-black .name-bar {
  width: calc(var(--k) * 348); min-height: calc(var(--k) * 76); margin-top: calc(var(--k) * 77); padding: calc(var(--k) * 8) calc(var(--k) * 22);
  background: linear-gradient(#3a3b40, #1b1b1d) padding-box, linear-gradient(180deg, #f0d28c, #b8862d) border-box;
  border: calc(var(--k) * 4) solid transparent; border-radius: 999px; font-size: calc(var(--k) * 23); color: #fff;
}
.mini-card.is-black .qr-box { background: transparent; border: 0; border-radius: 0; overflow: visible; width: calc(var(--k) * 132); margin-top: calc(var(--k) * 37); }
.mini-card.is-black .qr-box img { width: calc(var(--k) * 132); height: calc(var(--k) * 132); margin: 0; box-sizing: border-box; padding: calc(var(--k) * 18); background: #fff; border-radius: calc(var(--k) * 6); }
.mini-card.is-black .qr-caption { background: transparent; height: auto; margin-top: calc(var(--k) * 12); padding: 0; font-size: calc(var(--k) * 14); letter-spacing: .04em; }

/* ---- sections ---------------------------------------------------------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; letter-spacing: -.04em; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-8); }
.feature {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 55%), var(--surface-1);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-8);
  transition: transform var(--t-med) var(--ease), border-color var(--t-med), box-shadow var(--t-med) var(--ease);
}
.feature:hover { border-color: rgba(103, 194, 0, .5); box-shadow: 0 24px 50px -24px rgba(103, 194, 0, .45); }
.feature h3 { font-size: var(--fs-lg); margin-bottom: .4em; letter-spacing: -.02em; }
.feature p { color: var(--muted); margin: 0; }
.icon-tile { width: 48px; height: 48px; border-radius: var(--r-lg); background: var(--green-tint); display: grid; place-items: center; color: var(--green); margin-bottom: var(--s-5); box-shadow: inset 0 0 0 1px rgba(103, 194, 0, .25); }
.feature .icon { width: 26px; height: 26px; }
.cta-band { position: relative; background: linear-gradient(180deg, #000, #080808); isolation: isolate; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: -.05em; }
.cta-band .btn { margin-top: var(--s-4); }

/* ---- about us */
.about-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3rem); }
.about-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -160px; width: 820px; height: 460px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(103, 194, 0, .16), transparent 68%); }
.about-wrap { max-width: 800px; }
.about-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; letter-spacing: -.045em; line-height: 1; margin-bottom: .5em; }
.about-lead { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; color: #fff; letter-spacing: -.01em; }
.about-body { font-size: var(--fs-base); color: var(--text-2); line-height: 1.75; max-width: 66ch; }
.about-founders { padding-top: clamp(1.5rem, 4vw, 3rem); }
.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-6); }
.founder { text-align: center; padding: var(--s-8) var(--s-6); border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 55%), var(--surface-1); transition: transform var(--t-med) var(--ease), border-color var(--t-med), box-shadow var(--t-med) var(--ease); }
.founder:hover { border-color: rgba(103, 194, 0, .5); box-shadow: 0 24px 50px -24px rgba(103, 194, 0, .45); }
.founder-av { width: 96px; height: 96px; margin: 0 auto var(--s-4); border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: var(--fs-xl); letter-spacing: -.03em; color: #000; background: linear-gradient(135deg, #2f5a00, #67c200); box-shadow: 0 10px 26px -10px var(--green-glow); }
.founder-photo { width: 96px; height: 96px; object-fit: cover; object-position: center 20%; display: block; background: #111; }
.founder h2 { font-size: var(--fs-md); margin: 0 0 var(--s-1); letter-spacing: -.02em; }
.founder p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.about-cta { margin-top: var(--s-12); }

/* ---- footer ------------------------------------------------------------ */
.site-footer { position: relative; z-index: 2; padding-top: var(--s-12); background: #080808; border: 0; }  /* same colour as the menu bar; sits above the cursor orb */
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr; gap: var(--s-8); }
.footer-h { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .16em; color: #fff; margin-bottom: var(--s-3); }
.footer-blurb { margin-top: var(--s-3); max-width: 24rem; }
.footer-base { padding-block: var(--s-8) var(--s-10); }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: #fff; }

/* ---- forms / auth ------------------------------------------------------ */
.auth { position: relative; padding-block: clamp(2rem, 6vw, 4.5rem) 5rem; min-height: 70vh; isolation: isolate; overflow-x: clip; }  /* the 760px glow below must not widen the page on a phone */
.auth::before { content: ""; position: absolute; z-index: -1; left: 50%; top: -120px; width: 760px; height: 420px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(103, 194, 0, .14), transparent 68%); pointer-events: none; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.auth-single { max-width: 480px; }
.auth-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%), var(--surface-1);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-2);
}
.h1-sm { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 900; letter-spacing: -.04em; }
.auth-side { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); }
.auth-side h2 { font-size: var(--fs-lg); }
.checks { list-style: none; padding: 0; margin: var(--s-5) 0 var(--s-6); }
.checks li { padding-left: var(--s-8); position: relative; margin-bottom: var(--s-4); color: var(--text-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .1rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background-color: var(--green-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367c200' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18.5 8'/%3E%3C/svg%3E");
  background-size: 70%; background-position: center; background-repeat: no-repeat; box-shadow: inset 0 0 0 1px rgba(103, 194, 0, .3);
}
.side-demo { font-weight: 700; }
.trust-note { display: flex; align-items: center; justify-content: center; gap: var(--s-2); color: var(--muted); font-size: var(--fs-sm); margin: var(--s-4) 0 0; }
.trust-note .ico { color: var(--green); }

.form { margin-top: var(--s-6); }
.field { margin-bottom: var(--s-5); }
.field label { display: block; font-weight: 600; font-size: var(--fs-sm); color: var(--text-2); margin-bottom: var(--s-2); }
.optional { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="file"] {
  width: 100%; min-height: 48px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4); font: inherit; font-size: var(--fs-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
input[type="number"], input[type="search"].plain, select, textarea {
  width: 100%; min-height: 48px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4); font: inherit; font-size: var(--fs-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
select { appearance: none; -webkit-appearance: none; padding-right: var(--s-8); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - .8rem) 50%; background-size: .35rem .35rem; background-repeat: no-repeat; }
select option { background: #151515; color: #fff; }
textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
select:hover, textarea:hover, input[type="number"]:hover { border-color: #4d4d4d; }
select:focus, textarea:focus, input[type="number"]:focus { outline: none; border-color: var(--green); background-color: var(--surface-3); box-shadow: 0 0 0 4px var(--green-tint), 0 0 0 1px var(--green); }
input[type="file"] { padding: var(--s-2); font-size: var(--fs-sm); }
input[type="file"]::file-selector-button { margin-right: var(--s-3); padding: var(--s-2) var(--s-4); border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface-3); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: background var(--t-fast); }
input[type="file"]::file-selector-button:hover { background: #2a2a2a; }
input:hover { border-color: #4d4d4d; }
input:focus { outline: none; border-color: var(--green); background: var(--surface-3); box-shadow: 0 0 0 4px var(--green-tint), 0 0 0 1px var(--green); }
input[readonly] { color: var(--text-2); }
::placeholder { color: #707070; }
.hint { font-size: var(--fs-sm); color: var(--muted); margin: var(--s-2) 0 0; }
.hint.ok { color: var(--green); }
.ipi-confirm { margin: var(--s-4) 0; padding: var(--s-4); border: 1px solid var(--line-strong); border-left: 3px solid var(--green); border-radius: var(--r-md); background: var(--surface-2); }
.ipi-confirm[hidden] { display: none; }
.ipi-confirm .field { margin-bottom: var(--s-3); }
.ipi-confirm.has-error { border-left-color: var(--danger); }
.hint.bad, .error { color: var(--danger); }
.error { font-size: var(--fs-sm); margin: var(--s-2) 0 0; }
.has-error input { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(255, 107, 107, .12); }
.field.is-valid input:not(:focus) {
  border-color: rgba(103, 194, 0, .55); padding-right: var(--s-10); background-repeat: no-repeat; background-position: right .85rem center; background-size: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2367c200' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.banner-error { background: rgba(255, 107, 107, .08); border: 1px solid rgba(255, 107, 107, .35); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-4); }
.pw-row { display: flex; align-items: center; gap: var(--s-3); }
.pw-row .link-btn { min-width: 3.4rem; min-height: 44px; font-weight: 600; }
.slug-row { display: flex; align-items: stretch; }
.slug-prefix { background: var(--surface-3); border: 1px solid var(--line-strong); border-right: 0; border-radius: var(--r-md) 0 0 var(--r-md); padding: var(--s-3) var(--s-3); color: var(--muted); font-size: var(--fs-sm); display: flex; align-items: center; white-space: nowrap; }
.slug-row input { border-radius: 0 var(--r-md) var(--r-md) 0; min-width: 0; }

.pw-meter { display: flex; align-items: center; gap: var(--s-3); margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--muted); }
.pw-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-1); width: 96px; flex: none; }
.pw-bars i { display: block; height: 4px; border-radius: var(--r-xs); background: var(--line-strong); transition: background var(--t-med); }
.pw-meter.lvl-1 .pw-bars i:nth-child(-n+1) { background: var(--danger); }
.pw-meter.lvl-2 .pw-bars i:nth-child(-n+2) { background: var(--warn); }
.pw-meter.lvl-3 .pw-bars i:nth-child(-n+3) { background: #9ad43a; }
.pw-meter.lvl-4 .pw-bars i:nth-child(-n+4) { background: var(--green); }

/* ---- toasts ------------------------------------------------------------ */
.toasts { position: fixed; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 120; display: grid; gap: var(--s-2); width: min(460px, calc(100% - 2rem)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: var(--s-3); background: rgba(20, 20, 20, .96); color: #fff;
  border: 1px solid var(--line-strong); border-left: 3px solid var(--green); border-radius: var(--r-md); padding: var(--s-3) var(--s-4) var(--s-3) var(--s-4);
  box-shadow: var(--shadow-pop); font-size: var(--fs-base); line-height: 1.4; animation: toast-in .4s var(--ease) both;
}
.toast .ico { color: var(--green); }
.toast.is-error { border-left-color: var(--danger); }
.toast.is-error .ico { color: var(--danger); }
.toast-msg { flex: 1; }
.toast-x { background: none; border: 0; color: var(--muted); cursor: pointer; padding: var(--s-1); border-radius: var(--r-sm); display: grid; place-items: center; }
.toast-x:hover { color: #fff; background: var(--surface-3); }
.toast.is-leaving { animation: toast-out .25s ease forwards; }
.flash-data { list-style: none; margin: 0; padding: var(--s-3) var(--s-5); background: #0f1d07; border-bottom: 1px solid var(--green-dark); text-align: center; }
.js .flash-data { display: none; }

/* ---- dashboard --------------------------------------------------------- */
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(0, 0, 0, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav-row { display: flex; gap: var(--s-1); padding-block: var(--s-2); overflow-x: auto; scrollbar-width: none; }
.subnav-row::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; padding: var(--s-2) var(--s-4); border-radius: 999px; color: var(--muted); font-weight: 600; font-size: var(--fs-sm); white-space: nowrap; transition: color var(--t-fast), background var(--t-fast); }
.subnav a:hover { color: #fff; text-decoration: none; background: var(--surface-2); }
.subnav a.is-active { color: #fff; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-strong); }
.badge { min-width: 20px; height: 20px; padding: 0 var(--s-2); border-radius: var(--r-md); background: var(--green); color: #000; font-size: var(--fs-xs); font-weight: 800; display: inline-grid; place-items: center; margin-left: var(--s-2); }

.dash { padding-block: clamp(1.5rem, 4vw, 2.5rem) 7rem; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-6); }
.dash-head p { margin: 0; }
.dash-head .h1-sm { margin: .15rem 0 var(--s-1); }
.greeting { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .16em; color: var(--muted); font-weight: 700; margin: 0; }
.alert { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); margin-bottom: var(--s-5); background: rgba(255, 107, 107, .08); border: 1px solid rgba(255, 107, 107, .35); }
.alert .ico { color: var(--danger); margin-top: .15rem; }
.alert p { margin: 0; }
.alert.is-info { background: var(--green-tint); border-color: rgba(103, 194, 0, .35); }
.alert.is-info .ico { color: var(--green); }
.alert form { margin-top: var(--s-1); }
.flash-warn { background: rgba(243, 198, 79, .08); border: 1px solid rgba(243, 198, 79, .32); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); }
.flash-warn p { margin: 0; font-size: var(--fs-sm); }

.next-step {
  display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-6); align-items: center; padding: var(--s-5) var(--s-6); margin-bottom: var(--s-6);
  border-radius: var(--r-lg); border: 1px solid rgba(103, 194, 0, .3);
  background: linear-gradient(120deg, rgba(103, 194, 0, .15), rgba(103, 194, 0, .03) 55%), var(--surface-1);
}
.next-step.is-complete { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint), 0 20px 50px -26px var(--green-glow); }
.next-step h2 { font-size: var(--fs-lg); margin: 0 0 var(--s-1); letter-spacing: -.02em; }
.next-step p { margin: 0; color: var(--text-2); font-size: var(--fs-base); }
.todo-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.todo-chips a { display: inline-flex; align-items: center; gap: var(--s-1); padding: var(--s-1) var(--s-3); border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); border: 1px dashed #4a4a4a; transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast); }
.todo-chips a:hover { color: #fff; border-color: var(--green); background: var(--green-tint); text-decoration: none; }
.ring { position: relative; width: 76px; height: 76px; flex: none; }
.ring svg { width: 100%; height: 100%; }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 5; }
.ring-fg { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); filter: drop-shadow(0 0 6px var(--green-glow)); }
.ring-n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: var(--fs-lg); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ring-n small { font-size: .55em; font-weight: 700; margin-left: 1px; color: var(--text-2); align-self: center; padding-top: .25em; }

.dash-layout { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: start; }
.dash-aside { position: sticky; top: calc(var(--header-h) + 84px); }
.dash-main { display: grid; gap: var(--s-5); min-width: 0; }
.dash-main > * { min-width: 0; }

.box {
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%), var(--surface-1);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.1rem, 2.4vw, 1.6rem); margin: 0; min-width: 0; box-shadow: var(--shadow-1);
}
.box-head { display: flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-5); }
.box-ico { width: 40px; height: 40px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); flex: none; box-shadow: inset 0 0 0 1px var(--line-strong); }
.box-h { font-size: var(--fs-base); font-weight: 800; letter-spacing: -.02em; margin: 0; padding: 0; line-height: 1.2; }
.box-sub { margin: .15rem 0 0; font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
.box-head .pill { margin-left: auto; }
fieldset.box { display: block; }
.box-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-4); }
.center-actions { justify-content: center; }
.card-box .mini-card { zoom: var(--card-zoom, .85); margin: 0 auto var(--s-4); box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); }
.url-row { display: flex; gap: var(--s-2); }
.url-row input { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-1) var(--s-3); border-radius: 999px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-live { color: var(--green); background: var(--green-tint); }
.pill-private { color: var(--warn); background: rgba(243, 198, 79, .12); }

.photo-row { display: flex; gap: var(--s-6); align-items: center; flex-wrap: wrap; }
.photo-form { flex: 1; min-width: 240px; }
.form-cols { display: grid; gap: var(--s-5); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); }
.save-bar { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-1); }
.box-h-sm { margin: var(--s-6) 0 var(--s-3); font-size: var(--fs-base); }
@keyframes nudge { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 30% { box-shadow: 0 0 0 6px var(--green-tint), 0 0 0 1px var(--green); } }
.field.nudge input, .photo-row.nudge input[type="file"] { animation: nudge 1.4s var(--ease); }
.ring.is-complete .ring-fg { filter: drop-shadow(0 0 10px var(--green)); }
.range { margin-left: auto; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-strong); flex: none; }
.range a { padding: var(--s-1) var(--s-3); border-radius: 999px; color: var(--muted); font-size: var(--fs-xs); font-weight: 700; transition: color var(--t-fast), background var(--t-fast); }
.range a:hover { color: #fff; text-decoration: none; }
.range a[aria-current="true"] { background: #000; color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line-strong); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.tile { display: grid; gap: .15rem; padding: var(--s-4) var(--s-4); border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.tile-l { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.tile-n { font-size: var(--fs-2xl); font-weight: 900; letter-spacing: -.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.delta { font-size: var(--fs-xs); font-weight: 800; font-variant-numeric: tabular-nums; }
.delta.is-up, .delta.is-new { color: var(--green); }
.delta.is-down { color: var(--warn); }
.delta.is-flat { color: var(--muted); }
.chart { margin: var(--s-5) 0 0; }
.chart figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-2); font-size: var(--fs-sm); }
.chart svg { width: 100%; height: auto; display: block; }
.bar { fill: var(--green); transition: fill var(--t-fast); }
.bar:hover { fill: var(--green-hover); }
.bar.is-zero { fill: var(--line-strong); opacity: .55; }
.chart-axis { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); margin-top: var(--s-1); }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); margin-top: var(--s-2); }
.bars-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.bars-list li { display: grid; grid-template-columns: 1fr auto; gap: var(--s-1) var(--s-3); font-size: var(--fs-sm); }
.bars-list b { font-variant-numeric: tabular-nums; }
.bars-list progress { grid-column: 1 / -1; width: 100%; height: 6px; -webkit-appearance: none; appearance: none; border: 0; border-radius: var(--r-sm); background: var(--surface-3); overflow: hidden; }
.bars-list progress::-webkit-progress-bar { background: var(--surface-3); }
.bars-list progress::-webkit-progress-value { background: var(--green); border-radius: var(--r-sm); }
.bars-list progress::-moz-progress-bar { background: var(--green); border-radius: var(--r-sm); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; }
.feed li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-3); padding: var(--s-2) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.feed li:last-child { border-bottom: 0; }
.feed-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); }
.feed-ico .ico { width: 15px; height: 15px; }
.section-anchor { display: grid; gap: var(--s-5); min-width: 0; }
.fine { font-size: var(--fs-sm); color: var(--muted); margin: var(--s-2) 0 0; }
.fine a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.fine a:hover { color: #fff; }

.savebar {
  position: fixed; left: 50%; bottom: calc(1.1rem + env(safe-area-inset-bottom)); transform: translate(-50%, 24px); z-index: 60;
  width: min(620px, calc(100% - 1.5rem)); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-3) var(--s-3) var(--s-3) var(--s-4); background: rgba(22, 22, 22, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transition: opacity var(--t-med), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
}
.savebar.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.savebar-status { display: flex; align-items: center; gap: var(--s-2); font-weight: 600; font-size: var(--fs-sm); }
.savebar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 4px rgba(243, 198, 79, .18); animation: pulse 2s ease-in-out infinite; }
.savebar-actions { display: flex; gap: var(--s-2); }

.qr-layout { display: grid; grid-template-columns: auto 1fr; gap: var(--s-6); align-items: center; }
.qr-big { background: #fff; display: inline-block; padding: var(--s-4); border-radius: var(--r-lg); box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .9); }
.qr-big img { display: block; width: min(176px, 60vw); height: auto; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.chip { padding: var(--s-1) var(--s-3); border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-strong); }

.release-search-row { display: flex; gap: var(--s-2); margin-top: var(--s-2); }
.release-search-row input { flex: 1; min-width: 0; }
.release-results { display: flex; flex-direction: column; gap: var(--s-2); margin: var(--s-3) 0; }
.release-result { display: flex; align-items: center; gap: var(--s-3); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-2) var(--s-3); transition: border-color var(--t-fast), background var(--t-fast); animation: rise .35s var(--ease) both; }
.release-result:hover { border-color: #4a4a4a; background: var(--surface-3); }
.release-result img, .release-result-noart, .release-noart { width: 42px; height: 42px; border-radius: var(--r-sm); object-fit: cover; flex: none; background: #000; color: #666; display: flex; align-items: center; justify-content: center; font-size: var(--fs-md); }
.release-result-info { flex: 1; display: flex; flex-direction: column; min-width: 0; gap: .1rem; }
.release-result-info strong { overflow-wrap: anywhere; }
.skeleton { height: 58px; border-radius: var(--r-md); background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
.release-add-form { margin-top: var(--s-4); display: grid; gap: var(--s-4); padding-top: var(--s-2); }
details.disclosure { margin-top: var(--s-4); border-top: 1px solid var(--line); padding-top: var(--s-2); }
details.disclosure > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: var(--s-2); font-weight: 600; color: var(--text-2); padding: var(--s-3) 0; border-radius: var(--r-sm); }
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure > summary:hover { color: #fff; }
details.disclosure > summary .ico { transition: transform var(--t-med) var(--ease); }
details.disclosure[open] > summary .ico { transform: rotate(90deg); }
.release-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.release-row { display: flex; align-items: center; gap: var(--s-3); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-3) var(--s-3); flex-wrap: wrap; transition: border-color var(--t-med), background var(--t-med); }
.release-row.is-playing { border-color: rgba(103, 194, 0, .55); }
.release-row img, .release-noart { width: 46px; height: 46px; border-radius: var(--r-md); }
.release-info { display: flex; flex-direction: column; min-width: 0; flex: 1; gap: .1rem; }
.release-info strong { overflow-wrap: anywhere; }
.release-row audio { height: 32px; max-width: 220px; flex: 1; min-width: 160px; }

.empty { display: grid; justify-items: center; text-align: center; gap: var(--s-1); padding: var(--s-8) var(--s-4); border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--muted); }
.empty-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); margin-bottom: var(--s-1); font-size: var(--fs-lg); }
.empty strong { color: var(--text-2); font-size: var(--fs-base); }
.empty p { margin: 0; font-size: var(--fs-sm); max-width: 34ch; }

/* custom audio preview (progressively enhances the native <audio controls>) */
.player { display: flex; align-items: center; gap: var(--s-3); width: 100%; margin-top: var(--s-1); }
.player-btn { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: var(--green); color: #000; display: grid; place-items: center; cursor: pointer; position: relative; box-shadow: 0 6px 14px -6px var(--green-glow); transition: transform var(--t-fast) var(--ease), background var(--t-fast); }
.player-btn:hover { transform: scale(1.07); background: var(--green-hover); }
.player-btn:active { transform: scale(.94); }
.player-btn .ico { width: 16px; height: 16px; }
.player-btn.is-loading .ico { opacity: 0; }
.player-btn.is-loading::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(0, 0, 0, .25); border-top-color: #000; animation: spin .7s linear infinite; }
.player-btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.player-range { -webkit-appearance: none; appearance: none; flex: 1; min-width: 0; height: 18px; background: transparent; cursor: pointer; margin: 0; padding: 0; min-height: 0; border: 0; box-shadow: none; --p: 0%; }
.player-range:focus { box-shadow: none; background: transparent; }
.player-range::-webkit-slider-runnable-track { height: 4px; border-radius: var(--r-xs); background: linear-gradient(90deg, var(--green) var(--p), rgba(255, 255, 255, .16) var(--p)); }
.player-range::-moz-range-track { height: 4px; border-radius: var(--r-xs); background: rgba(255, 255, 255, .16); }
.player-range::-moz-range-progress { height: 4px; border-radius: var(--r-xs); background: var(--green); }
.player-range::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); transition: transform var(--t-fast); }
.player-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 0; }
.player-range:hover::-webkit-slider-thumb { transform: scale(1.25); }
.release-row > .player { width: auto; flex: 1; min-width: 180px; max-width: 280px; margin: 0; }
.release-list.public .release-info .player { width: 100%; max-width: none; }
.player-range:disabled { opacity: .55; cursor: default; }
.player-time { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; min-width: 2.6em; text-align: right; }

.request-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.request-row { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-4); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-4) var(--s-4); flex-wrap: wrap; }
.req-who { display: flex; gap: var(--s-3); min-width: 0; flex: 1; }
.req-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); font-weight: 800; font-size: var(--fs-sm); box-shadow: inset 0 0 0 1px var(--line-strong); }
.request-info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.request-info strong { overflow-wrap: anywhere; }
.request-message { margin: var(--s-2) 0 0; color: var(--text-2); font-size: var(--fs-sm); overflow-wrap: anywhere; padding-left: var(--s-3); border-left: 2px solid var(--line-strong); }
.request-actions { display: flex; gap: var(--s-2); flex: none; }

.privacy-box { max-width: none; }
.privacy-status { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-3) var(--s-4); border-radius: var(--r-md); margin-bottom: var(--s-2); background: var(--green-tint); border: 1px solid rgba(103, 194, 0, .3); font-size: var(--fs-sm); transition: background var(--t-med), border-color var(--t-med); }
.privacy-status .ico { color: var(--green); margin-top: .12rem; }
.privacy-status p { margin: 0; }
.privacy-status.is-private { background: rgba(243, 198, 79, .08); border-color: rgba(243, 198, 79, .32); }
.privacy-status.is-private .ico { color: var(--warn); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: var(--s-4) var(--s-2); border-bottom: 1px solid var(--line); cursor: pointer; position: relative; border-radius: var(--r-md); transition: background var(--t-fast); }
.toggle-row:hover { background: rgba(255, 255, 255, .025); }
.toggle-text { display: grid; gap: .15rem; }
.toggle-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch { width: 52px; height: 30px; background: #353535; border-radius: 999px; position: relative; flex: none; transition: background var(--t-med) var(--ease); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: #fff; border-radius: 50%; transition: transform var(--t-med) var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.toggle-row input:checked + .switch { background: var(--green); }
.toggle-row input:checked + .switch::after { transform: translateX(22px); background: #000; }
.toggle-row input:focus-visible + .switch { outline: 2px solid var(--green); outline-offset: 3px; }
.privacy-box .save-bar { margin-top: var(--s-5); }

/* ---- public card page (matches thecreativecard.us/demo: white page,
   ID-card graphic on the left, a flat stack of black label/value rows on the right) */
.card-page { background: #fff; color: #000; color-scheme: light; }
.card-page .site-header, .card-page .site-header.is-scrolled { background: #0a0a0a; -webkit-backdrop-filter: none; backdrop-filter: none; }
.card-page-wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: var(--s-8) var(--s-5) var(--s-16); }
.owner-banner { display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; background: #f4f4f4; border: 1px solid #e2e2e2; border-radius: var(--r-md); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-6); font-size: var(--fs-sm); color: #000; }
.owner-banner a { font-weight: 700; color: var(--green-dark); }

/* card:gap:rows ratio (354:65:428) measured directly off thecreativecard.us/demo at desktop width */
.card-columns { display: grid; grid-template-columns: 300px 363px; gap: var(--s-12); width: fit-content; margin-inline: auto; align-items: start; }
.card-left { display: flex; flex-direction: column; align-items: center; }
.card-left .mini-card { margin-inline: auto; box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .45); }

.share-row { text-align: center; margin-top: var(--s-4); display: flex; flex-direction: column; align-items: center; gap: var(--s-1); width: 100%; max-width: 300px; }
.copy-share { background: none; border: 0; font: inherit; font-weight: 700; font-size: var(--fs-base); color: #000; cursor: pointer; padding: var(--s-1) var(--s-2); border-radius: var(--r-sm); }
.copy-share:hover { color: var(--green-dark); }
.card-url-link { font-size: var(--fs-sm); color: #000; overflow-wrap: anywhere; }
.share-actions { display: flex; gap: var(--s-2); width: 100%; margin-top: var(--s-3); }
.share-actions .btn { flex: 1; }
.tap-hint { display: flex; align-items: center; justify-content: center; gap: var(--s-2); font-size: var(--fs-xs); color: #6b6b6b; margin: var(--s-4) 0 0; }

.data-list { display: flex; flex-direction: column; gap: var(--s-3); width: 100%; max-width: 363px; }
.data-row {
  background: #000; color: #fff; border: 0; border-radius: var(--r-md); width: 100%; text-align: center;
  padding: var(--s-4) var(--s-4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; position: relative;
  font: inherit; cursor: pointer; min-height: 51px; box-sizing: border-box; text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast) var(--ease);
}
.data-row:hover { background: #1c1c1c; text-decoration: none; }
.data-row:active { transform: scale(.992); }
.data-row:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.data-row .label { position: absolute; top: 6px; left: 13px; margin: 0; text-align: left; font-size: var(--fs-xs); line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.data-row .value { font-size: var(--fs-sm); line-height: 1.2; color: #fff; text-align: center; width: 100%; overflow-wrap: anywhere; }
.data-row.link-row { flex-direction: row; align-items: center; justify-content: center; }
.data-row.link-row .value { text-align: center; }
.data-row .copied-flag {
  position: absolute; inset: 0; border-radius: inherit; display: flex; align-items: center; justify-content: center; gap: var(--s-2);
  background: var(--green); color: #000; font-weight: 800; font-size: var(--fs-sm); opacity: 0;
  pointer-events: none; transition: opacity var(--t-fast);
}
.data-row.is-copied .copied-flag { opacity: 1; }

.releases-section { margin-top: var(--s-8); width: 100%; max-width: 300px; }
.releases-heading { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: #555; margin: 0 0 var(--s-2); text-align: center; font-weight: 800; }
.releases-heading-2 { margin: 0; }
.recent-releases { margin-top: var(--s-5); }
.recent-releases > summary { list-style: none; cursor: default; display: flex; align-items: center; justify-content: center; gap: var(--s-2); padding: var(--s-1) var(--s-2) var(--s-2); }
.recent-releases > summary::-webkit-details-marker { display: none; }
.recent-chev { display: none; width: 14px; height: 14px; transition: transform var(--t-med) var(--ease); color: #555; }
.recent-releases .releases-count { display: none; }
@media (max-width: 760px) {
  .recent-releases { margin-top: var(--s-4); }
  .recent-releases > summary { cursor: pointer; border-radius: var(--r-md); padding: var(--s-3) var(--s-3); background: #f6f6f6; border: 1px solid #ececec; margin-bottom: var(--s-2); }
  .recent-releases:not([open]) > summary { margin-bottom: 0; }
  .recent-releases > summary:hover { background: #efefef; }
  .recent-chev { display: inline-block; }
  .recent-releases[open] .recent-chev { transform: rotate(90deg); }
  .recent-releases .releases-count { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 var(--s-1); margin-left: var(--s-1); border-radius: 999px; background: #000; color: #fff; font-size: var(--fs-xs); }
}
.hl-star { color: #d9a84b; margin-right: var(--s-1); }
.release-list.public .release-row.is-highlight { border-color: #d9a84b; box-shadow: 0 10px 26px -16px rgba(185, 134, 40, .6); background: #fffaf0; }
.release-list.public { width: 100%; }
.release-list.public .release-row { background: #f6f6f6; border-color: #ececec; align-items: flex-start; }
.release-list.public .release-row.is-playing { border-color: #000; background: #fff; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .4); }
.release-list.public .release-info audio { width: 100%; max-width: none; min-width: 0; flex: none; height: 32px; margin-top: var(--s-1); }
.release-list.public .muted { color: #6f6f6f; }
.release-list.public .player-btn { background: #000; color: #fff; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6); }
.release-list.public .player-btn:hover { background: #222; }
.release-list.public .release-row.is-playing .player-btn { background: var(--green); color: #000; }
.release-list.public .player-btn.is-loading::after { border-color: rgba(255, 255, 255, .3); border-top-color: #fff; }
.release-list.public .player-range::-webkit-slider-runnable-track { background: linear-gradient(90deg, #000 var(--p), rgba(0, 0, 0, .14) var(--p)); }
.release-list.public .player-range::-moz-range-track { background: rgba(0, 0, 0, .14); }
.release-list.public .player-range::-moz-range-progress { background: #000; }
.release-list.public .player-range::-webkit-slider-thumb { background: #000; }
.release-list.public .player-range::-moz-range-thumb { background: #000; }
.release-list.public .player-time { color: #6f6f6f; }
.release-links { display: flex; gap: var(--s-4); margin-top: .15rem; }
.release-links a { font-size: var(--fs-sm); font-weight: 700; color: var(--green-dark); }

.made-with { text-align: center; color: #666; font-size: var(--fs-sm); margin-top: var(--s-10); }
.made-with a { color: var(--green-dark); font-weight: 600; }
.card-page :focus-visible { outline-color: var(--green-dark); }
.card-page .btn:focus-visible { outline-color: #000; }

/* ---- status pages (private card, request status, errors) --------------- */
.state-ico { width: 64px; height: 64px; margin: 0 auto var(--s-5); border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-xl); }
.state-ico .ico { width: 28px; height: 28px; }
.state-ico.is-ok { background: var(--green-tint); color: var(--green); box-shadow: inset 0 0 0 1px rgba(103, 194, 0, .45), 0 0 0 8px rgba(103, 194, 0, .06); }
.state-ico.is-warn { background: rgba(243, 198, 79, .1); color: var(--warn); box-shadow: inset 0 0 0 1px rgba(243, 198, 79, .35); }
.state-ico.is-bad { background: rgba(255, 107, 107, .1); color: var(--danger); box-shadow: inset 0 0 0 1px rgba(255, 107, 107, .35); }
.state-ico .draw { stroke-dasharray: 30; stroke-dashoffset: 0; }
.steps-row { display: flex; justify-content: center; gap: var(--s-2); margin: var(--s-5) 0 var(--s-2); }
.steps-row span { width: 28px; height: 4px; border-radius: var(--r-xs); background: var(--line-strong); }
.steps-row span.is-done { background: var(--green); }

/* ---- tactile layer: cards tilt toward the pointer and catch the light.
   JS adds data-tilt / data-spot only for fine pointers without reduced motion. */
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  transition: transform .7s var(--ease), border-color var(--t-med), box-shadow var(--t-med) var(--ease);
}
[data-tilt].is-tilting { transition: transform .14s ease-out, border-color var(--t-med), box-shadow var(--t-med) var(--ease); will-change: transform; }
.mini-card[data-tilt] { position: relative; overflow: hidden; }
.mini-card[data-tilt]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: var(--glare, 0); transition: opacity .35s;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, .42) 46%, rgba(103, 194, 0, .18) 53%, transparent 64%);
  background-size: 260% 100%; background-position: var(--gx, 120%) 0;
}
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 194, 0, .17), transparent 65%);
}
[data-spot]:hover::before { opacity: 1; }
[data-spot] > * { position: relative; z-index: 1; }
.data-row[data-spot]::before { background: radial-gradient(150px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .15), transparent 70%); }
.mini-card[data-tilt]:hover { box-shadow: 0 40px 60px -26px rgba(0, 0, 0, .55); }

/* hero: the phone is a 3D object that leans toward you and parallaxes on scroll */
.phone-wrap { perspective: 1100px; }
.tilt-stage { --py: calc(var(--hp, 0) * 70px); transform: translateY(var(--py)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; will-change: transform; }
.home .hero-copy { translate: 0 calc(var(--hp, 0) * -34px); opacity: calc(1 - var(--hp, 0) * .8); }
.home .hero::before { background-position: 0 calc(var(--hp, 0) * -60px); }

/* reading progress: a thin line that fills as you move down the page */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90; pointer-events: none; transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); background: linear-gradient(90deg, var(--green), #b8ff5c); box-shadow: 0 0 12px var(--green-glow); transition: opacity .3s; }
.scroll-progress.is-hidden { opacity: 0; }

/* about: words light up as you read */
.words-ready .w { opacity: .3; transition: opacity .4s ease; }
.words-ready .w.on { opacity: 1; }

/* dashboard nav: one indicator that glides between sections */
.subnav-row { position: relative; }
.subnav-pill { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--surface-3); box-shadow: inset 0 0 0 1px var(--line-strong); opacity: 0; pointer-events: none; transition: transform .4s var(--ease), width .4s var(--ease), height .4s var(--ease), opacity .3s; }
.subnav-pill.is-ready { opacity: 1; }
.subnav a { position: relative; z-index: 1; }
.subnav-row.has-pill a.is-active { background: none; box-shadow: none; }

/* tactile switches: the knob stretches under your thumb */
.toggle-row:active .switch::after { width: 30px; }
.toggle-row:active input:checked + .switch::after { transform: translateX(16px); }

/* smooth page-to-page transitions where the browser supports them; header stays put */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---- motion ------------------------------------------------------------ */
@keyframes ripple { to { transform: scale(16); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scan { 0%, 100% { top: 6%; opacity: 0; } 10%, 90% { opacity: 1; } 50% { top: 62%; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(243, 198, 79, .18); } 50% { box-shadow: 0 0 0 7px rgba(243, 198, 79, .06); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(-12px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px) scale(.97); } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 30; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) backwards; }
  .hero-copy > :nth-child(2) { animation-delay: .1s; }
  .hero-copy > :nth-child(3) { animation-delay: .2s; }
  .phone-wrap { animation: rise 1s var(--ease) .15s backwards; }
  .phone { animation: float 7s ease-in-out 1.2s infinite; }
  .js .reveal { opacity: 0; translate: 0 24px; scale: .985; transition: opacity .8s var(--ease), translate .8s var(--ease), scale .8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
  .js .reveal.in { opacity: 1; translate: 0 0; scale: 1; }
  .card-left, .data-row { animation: rise .55s var(--ease) backwards; }
  .data-row:nth-child(1) { animation-delay: .04s; } .data-row:nth-child(2) { animation-delay: .08s; }
  .data-row:nth-child(3) { animation-delay: .12s; } .data-row:nth-child(4) { animation-delay: .16s; }
  .data-row:nth-child(5) { animation-delay: .2s; } .data-row:nth-child(6) { animation-delay: .24s; }
  .data-row:nth-child(7) { animation-delay: .28s; } .data-row:nth-child(8) { animation-delay: .32s; }
  .data-row:nth-child(n+9) { animation-delay: .36s; }
  .state-ico.is-ok .draw { animation: draw .6s var(--ease) .25s both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 1000px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-aside { position: static; }
}
@media (max-width: 900px) {
  .founders { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .hero-grid, .auth-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }  /* on a phone the headline, blurb and button are centred */
  .hero-copy .lead { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .cards-3 { grid-template-columns: 1fr; }
  .hero::after { width: 480px; height: 480px; right: -160px; }
  .next-step { grid-template-columns: auto 1fr; }
  .next-step .btn-lg, .next-step > .btn { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 760px) {
  .phone { --pw: min(220px, 56vw); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .insight-grid { grid-template-columns: 1fr; }
  /* Phone card page: one column, everything the same width and the same 12px apart.
     Order: card, share buttons, the music, then the detail rows. */
  .card-columns { --col: min(320px, calc(100vw - 2.5rem)); --gap: 12px; grid-template-columns: var(--col); justify-content: center; width: 100%; gap: var(--gap); }
  .card-left { display: contents; }
  .card-left > * { order: 1; }
  .data-list { order: 3; max-width: none; width: var(--col); }
  .card-left > .releases-section { order: 2; }
  .card-left .mini-card { --cw: var(--col); }
  .share-row, .releases-section, .card-left > .cred-line { max-width: none; width: var(--col); margin: 0; }
  .share-actions, .tap-hint { margin-top: var(--gap); }
  .releases-section { display: flex; flex-direction: column; gap: var(--gap); }
  .releases-section .releases-heading { margin: 0; }
  .recent-releases { margin-top: 0; }
  .recent-releases > summary, .recent-releases:not([open]) > summary { margin-bottom: var(--gap); }
  .recent-releases:not([open]) > summary { margin-bottom: 0; }
  .release-list { gap: var(--gap); }
  .qr-layout { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .qr-layout .box-actions { justify-content: center; }
  .chips { justify-content: center; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); background: transparent; border: 1px solid var(--line-strong); color: #fff; cursor: pointer; }
  .nav-toggle .ico-x { display: none; }
  .nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
  .nav-toggle[aria-expanded="true"] .ico-x { display: block; }
  .header-row { position: relative; }
  .js .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s-2) var(--s-5) var(--s-5); background: rgba(8, 8, 8, .98); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px #000;
  }
  .js .main-nav.is-open { display: flex; animation: drop var(--t-med) var(--ease); }
  .js .main-nav a:not(.btn), .js .main-nav .link-btn { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-base); text-align: left; width: 100%; }
  .js .main-nav a:not(.btn)::after, .js .main-nav .link-btn::after { display: none; }
  .js .main-nav .btn { margin-top: var(--s-4); min-height: 50px; }
  .js .main-nav .inline-form { display: block; }
  :root { --header-h: 64px; }
  .main-nav { gap: var(--s-4); flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding-block: var(--s-12); }
  .slug-prefix { font-size: var(--fs-xs); padding-inline: var(--s-2); }
  .request-actions { width: 100%; }
  .request-actions .inline-form, .request-actions .btn { flex: 1; width: 100%; }
  .savebar { padding-left: var(--s-4); }
  .savebar-status span:not(.dot) { display: none; }
  .savebar-status::after { content: "Unsaved"; }
  .share-actions { flex-direction: column; }
}

/* ---- drag to reorder releases */
.drag-handle { display: grid; place-items: center; width: 28px; height: 40px; margin-left: -.3rem; padding: 0; border: 0; border-radius: var(--r-md); background: transparent; color: var(--muted, #8a8a8a); cursor: grab; touch-action: none; transition: color var(--t-med), background var(--t-med); }
.drag-handle .ico { width: 18px; height: 18px; }
.drag-handle:hover, .drag-handle:focus-visible { color: var(--text, #fff); background: rgba(255, 255, 255, .06); }
.release-row { transition: border-color var(--t-med), background var(--t-med), box-shadow var(--t-med), translate .2s var(--ease); }
.release-row.is-dragging, .cred-order-row.is-dragging { position: relative; z-index: 5; translate: 0 var(--dy, 0px); transition: border-color var(--t-med), box-shadow var(--t-med); transform: none !important; border-color: rgba(103, 194, 0, .7); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); background: var(--surface-3, #232323); cursor: grabbing; }
.release-row.is-dragging .drag-handle, .cred-order-row.is-dragging .drag-handle { cursor: grabbing; color: var(--green); }
.release-row.is-flip, .cred-order-row.is-flip { translate: 0 var(--flip, 0px); transition: none; }
.release-list.is-sorting, .cred-order.is-sorting { user-select: none; -webkit-user-select: none; }
.release-list.is-sorting .release-row:not(.is-dragging), .cred-order.is-sorting .cred-order-row:not(.is-dragging) { transform: none !important; }
.cred-order { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.cred-order-row { display: flex; align-items: center; gap: var(--s-3); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-2) var(--s-3); transition: border-color var(--t-med), background var(--t-med); }
.cred-order-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; overflow-wrap: anywhere; }
.cred-order-info strong { font-size: var(--fs-md); }
.cred-order-btns { display: flex; flex-direction: column; gap: var(--s-1); flex: none; }
.cred-move { min-width: 44px; min-height: 44px; padding: 0; font-size: var(--fs-md); line-height: 1; }
.cred-move:disabled { opacity: .3; cursor: default; }
@media (min-width: 601px) { .cred-order-btns { flex-direction: row; } }
@media (prefers-reduced-motion: reduce) { .release-row { transition: border-color var(--t-med), background var(--t-med); } }

/* ---- collapsible Recent Releases on the public card */

/* ---- photo position editor */
.photo-editor { display: flex; gap: var(--s-6); align-items: center; flex-wrap: wrap; margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); animation: rise .35s var(--ease) backwards; }
.photo-editor[hidden] { display: none; }
.photo-editor canvas { width: 240px; height: 240px; max-width: 100%; border-radius: 50%; cursor: grab; touch-action: none; background: #111; box-shadow: 0 0 0 3px var(--green), 0 14px 34px -14px rgba(0, 0, 0, .8); }
.photo-editor canvas.is-panning { cursor: grabbing; }
.photo-editor canvas:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.photo-editor-side { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: var(--s-3); }
.photo-zoom { display: flex; align-items: center; gap: var(--s-3); font-weight: 600; color: var(--text-2); }
.photo-zoom input { flex: 1; }
.photo-form.is-saving { opacity: .6; pointer-events: none; }

.box.is-dropping { border-color: var(--green); box-shadow: 0 0 0 3px rgba(103, 194, 0, .25); }

a.box-ico { transition: color var(--t-med), background var(--t-med), box-shadow var(--t-med), translate var(--t-med) var(--ease); }
a.box-ico:hover { color: #000; background: var(--green); box-shadow: none; translate: 0 -2px; }
a.box-ico:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ---- admin back office */
.admin { padding: var(--s-8) 0 var(--s-16); }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-6); }
.admin-tiles { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-bottom: var(--s-5); }
.admin-head-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.tile-sub { font-size: var(--fs-xs); color: var(--muted); }
.admin-box { padding: var(--s-4); }
.admin-tools { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; margin-bottom: var(--s-3); }
.admin-tools input[type="search"] {
  flex: 1; min-width: 220px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4); font: inherit; font-size: var(--fs-base); transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.admin-tools select { width: auto; min-width: 170px; }
/* the search box, the dropdowns and the Search / Clear buttons are all one height, so the row lines up */
.admin-tools input[type="search"], .admin-tools select, .admin-tools .btn { box-sizing: border-box; height: 48px; min-height: 48px; }
.admin-bulk { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.admin-scroll { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
.admin-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 820px; }
.admin-table th { position: sticky; top: 0; text-align: left; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: var(--s-3) var(--s-3); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.admin-table td { padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.admin-table tbody tr:hover { background: rgba(255, 255, 255, .03); }
.admin-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.admin-table tr[hidden] { display: none; }
.admin-member { display: flex; align-items: center; gap: var(--s-3); min-width: 240px; }
.admin-member .avatar { width: 36px; height: 36px; font-size: var(--fs-xs); flex: none; }
.admin-name { display: flex; flex-direction: column; gap: .05rem; min-width: 0; }
.admin-name .small { overflow-wrap: anywhere; }
.admin-actions { min-width: 210px; max-width: 250px; }
.admin-actions .inline-form, .admin-actions .btn { display: inline-flex; margin: 0 var(--s-1) var(--s-1) 0; }
.admin-table .pill { white-space: nowrap; }
.link-btn.danger { color: var(--warn, #ff6b5b); }
.pill.status-active { color: var(--green); }
.pill.status-waiting { color: #ffd166; }
.pill.status-expired { color: var(--warn, #ff6b5b); }
@media (max-width: 1000px) { .admin-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .admin-tiles { grid-template-columns: repeat(2, 1fr); } }

.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); }
.label-row .small { font-weight: 600; }

/* ---- Creative Card Database (CCD) */
.ccd-brand { display: inline-flex; align-items: center; gap: var(--s-3); }
.ccd-brand-text { font-weight: 800; letter-spacing: -.01em; font-size: var(--fs-base); color: var(--text); white-space: nowrap; }
.ccd-company { padding: var(--s-1) var(--s-3); border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-2); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nowrap { white-space: nowrap; }
.ccd-hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.ccd-hero .wrap > * { max-width: 760px; }
.ccd-hero .lead { max-width: 640px; }
.ccd-request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; text-align: left; }
.ccd-request textarea { width: 100%; resize: vertical; }
.ccd-top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-4); }
.ccd-search, .ccd-detail { padding: var(--s-8) 0 var(--s-16); }
.ccd-searchbar { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line-strong, var(--line)); transition: border-color var(--t-med), box-shadow var(--t-med); }
.ccd-searchbar:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(103, 194, 0, .18); }
.ccd-searchbar .ico { color: var(--muted); width: 20px; height: 20px; flex: none; }
.ccd-searchbar input[type="search"] { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; box-shadow: none; font-size: var(--fs-base); padding: var(--s-2) var(--s-1); color: var(--text); }
.ccd-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: var(--s-6); margin-top: var(--s-5); align-items: start; }
.ccd-filters { position: sticky; top: calc(var(--header-h, 64px) + 1rem); display: grid; gap: var(--s-4); padding: var(--s-4); border-radius: var(--r-lg); background: var(--surface-1); border: 1px solid var(--line); }
.ccd-filters fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .1rem; }
.ccd-filters > summary { display: none; list-style: none; cursor: pointer; align-items: center; gap: var(--s-2); font-weight: 700; }
.ccd-filters > summary::-webkit-details-marker { display: none; }
.ccd-filters > summary .ico { margin-left: auto; transition: transform var(--t-med) var(--ease); }
.ccd-filters[open] > summary .ico { transform: rotate(90deg); }
.ccd-filters legend { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 0; margin-bottom: var(--s-1); }
.ccd-check { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-1) .1rem; cursor: pointer; font-size: var(--fs-sm); }
.ccd-check input { width: 16px; height: 16px; accent-color: var(--green); flex: none; }
.ccd-check span { flex: 1; }
.ccd-check em { font-style: normal; color: var(--muted); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.ccd-results { display: grid; gap: var(--s-3); min-width: 0; }
.ccd-resultbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 36px; }
.ccd-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-4) var(--s-5); align-items: center; padding: var(--s-4) var(--s-4); border-radius: var(--r-lg); background: var(--surface-1); border: 1px solid var(--line); transition: border-color var(--t-med), background var(--t-med), translate .25s var(--ease); }
.ccd-row:hover { border-color: rgba(103, 194, 0, .45); background: var(--surface-2); }
.ccd-person { display: flex; align-items: center; gap: var(--s-3); min-width: 0; color: var(--text); text-decoration: none; }
.ccd-person .avatar { width: 48px; height: 48px; font-size: var(--fs-sm); flex: none; }
.ccd-person-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ccd-person-text strong { overflow-wrap: anywhere; }
.ccd-cells { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-2) var(--s-5); min-width: 0; padding-top: var(--s-3); border-top: 1px solid var(--line); }
.ccd-cell { display: grid; gap: var(--s-1); align-content: start; min-width: 0; }
.ccd-label { font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.ccd-vals { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1); min-width: 0; font-size: var(--fs-sm); }
.ccd-text { font-size: var(--fs-sm); overflow-wrap: anywhere; }
.ccd-copy { display: inline-flex; align-items: center; gap: var(--s-1); max-width: 100%; padding: .12rem var(--s-2); margin-left: -.45rem; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text); font: inherit; font-size: var(--fs-sm); text-align: left; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
.ccd-copy span { overflow-wrap: break-word; word-break: normal; min-width: 0; font-variant-numeric: tabular-nums; }
.ccd-copy .ico { width: 13px; height: 13px; flex: none; color: var(--muted); opacity: 0; transition: opacity var(--t-fast); }
.ccd-copy:hover, .ccd-copy:focus-visible { background: rgba(103, 194, 0, .14); }
.ccd-copy:hover .ico, .ccd-copy:focus-visible .ico { opacity: 1; color: var(--green); }
.ccd-copy:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }
.ccd-na { color: var(--muted); font-size: var(--fs-sm); font-style: italic; }
.ccd-missing { color: #ffd166; font-size: var(--fs-sm); }
.ccd-pager { display: flex; align-items: center; justify-content: center; gap: var(--s-4); padding-top: var(--s-2); }
.ccd-profile { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; margin: var(--s-3) 0 var(--s-5); }
.ccd-profile-text { flex: 1; min-width: 220px; }
.ccd-profile-text h1 { margin-bottom: .1rem; }
.ccd-genres { display: flex; gap: var(--s-2); flex-wrap: wrap; margin: var(--s-2) 0 0; }
.ccd-notice { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--s-4); margin: 0 0 var(--s-5); border-radius: var(--r-md); background: rgba(255, 209, 102, .08); border: 1px solid rgba(255, 209, 102, .3); font-size: var(--fs-sm); }
.ccd-notice .ico { width: 18px; height: 18px; flex: none; color: #ffd166; }
.ccd-preview { border-color: rgba(103, 194, 0, .5); color: var(--green); }
.ccd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-4); align-items: start; }
.ccd-grid .box { display: grid; gap: var(--s-4); align-content: start; }
.ccd-grid .box-h { margin: 0 0 .1rem; }
.ccd-field { display: grid; gap: var(--s-1); }
.ccd-field-value { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.ccd-field .ccd-copy { font-size: var(--fs-base); }
.ccd-links { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.ccd-links a.pill { text-decoration: none; }
.ccd-inline-form { display: flex; align-items: flex-end; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.ccd-inline-form .field { margin: 0; min-width: 160px; flex: 1; }
.ccd-msg { max-width: 320px; overflow-wrap: anywhere; }
@media (max-width: 1000px) {
  .ccd-layout { grid-template-columns: 1fr; }
  .ccd-filters { position: static; }
  .ccd-filters > summary { display: flex; }
  .ccd-filters:not([open]) { gap: 0; padding-block: var(--s-4); }
  .ccd-filters[open] > summary { margin-bottom: var(--s-4); }
  .ccd-filters[open] { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .ccd-filters[open] > summary { grid-column: 1 / -1; }
  .ccd-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ccd-request { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ccd-brand-text { display: none; }
  .ccd-cells { grid-template-columns: 1fr; }
  .ccd-searchbar .btn { padding-inline: var(--s-4); }
}

.ccd-count { color: var(--green); font-variant-numeric: tabular-nums; }
.ccd-start { display: grid; justify-items: center; gap: var(--s-2); text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
.ccd-start h2 { margin: 0; font-size: var(--fs-lg); letter-spacing: -.02em; }
.ccd-start p { margin: 0; max-width: 460px; color: var(--muted); line-height: 1.5; }
.ccd-start-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r-lg); background: var(--green-tint); color: var(--green); box-shadow: inset 0 0 0 1px rgba(103, 194, 0, .25); }
/* CCD: name suggestions under the search box */
.ccd-searchbar { position: relative; }
.ccd-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; list-style: none; margin: 0; padding: var(--s-2); max-height: 440px; overflow: auto;
  border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line-strong); box-shadow: 0 28px 60px -22px rgba(0, 0, 0, .95); }
.ccd-suggest[hidden] { display: none; }
.ccd-suggest li a { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--r-md); color: var(--text); text-decoration: none; }
.ccd-suggest li[aria-selected="true"] a, .ccd-suggest li a:hover { background: rgba(103, 194, 0, .16); }
.ccd-suggest .avatar { width: 38px; height: 38px; font-size: var(--fs-xs); flex: none; }
.ccd-sg-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ccd-sg-text strong { overflow-wrap: anywhere; }
.ccd-suggest mark { background: transparent; color: var(--green); font-weight: 800; }
.ccd-sg-all { border-top: 1px solid var(--line); margin-top: var(--s-1); padding-top: var(--s-1); }
.ccd-sg-all a { color: var(--text-2); font-size: var(--fs-sm); }
.privacy-box.is-saving { opacity: .75; pointer-events: none; }

.access-have { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.access-have .box-h { margin-bottom: var(--s-1); }
.access-add { margin-top: var(--s-1); margin-bottom: var(--s-5); }
.privacy-status + .toggle-row { margin-top: var(--s-2); }

/* admin: email previews */
.email-box { margin-top: var(--s-5); }
.email-frame { width: 100%; height: 620px; border: 1px solid var(--line); border-radius: var(--r-md); background: #f2f2f2; margin: var(--s-2) 0 var(--s-2); }

/* footer: follow button */
.footer-follow { margin-top: var(--s-4); }

/* contact form + admin inbox */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.inbox-tabs { margin: 0 0 var(--s-4); margin-left: 0; }
.inbox-msg { margin-top: var(--s-4); }
.inbox-msg.is-new { border-color: var(--green); }
.inbox-head { display: flex; justify-content: space-between; gap: var(--s-4); margin-bottom: var(--s-2); }
.inbox-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: var(--s-2) 0 var(--s-4); line-height: 1.55; }

/* Black Card */
.black-wrap { max-width: 720px; margin-inline: auto; }
.black-panel { padding-bottom: var(--s-8); }
.black-h { font-size: var(--fs-md); margin: var(--s-6) 0 var(--s-2); }
.black-list { columns: 2; padding-left: var(--s-5); margin: var(--s-2) 0 var(--s-4); line-height: 1.7; }
fieldset.field { border: 0; padding: 0; margin: 0 0 var(--s-4); }
fieldset.field legend { font-weight: 700; margin-bottom: var(--s-2); }
.check-row { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-1) 0; cursor: pointer; }
.check-row input { width: 18px; height: 18px; flex: none; }
.pill-gold { background: linear-gradient(135deg, #f0d28c, #b8862d); color: #000; }
@media (max-width: 600px) { .black-list { columns: 1; } }
.black-banner { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; margin: 0 0 var(--s-5); padding: var(--s-3) var(--s-4); border-radius: var(--r-lg); border: 1px solid #5a4620; background: linear-gradient(135deg, #14110a, #0b0b0b); }
.black-banner .btn { margin-left: auto; }


/* ---- Creative Card Wallet: a contacts-style list, grouped, with quiet icon actions ---- */
.wl-page { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.wl-wrap { max-width: 880px; margin-inline: auto; }
.wl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-6); }
.wl-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.035em; margin: .15rem 0 var(--s-1); }
.wl-lede { color: var(--muted); margin: 0; }
.wl-toolbar { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; margin-bottom: var(--s-4); }
.wl-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: var(--s-2); padding: 0 var(--s-4); height: 48px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.wl-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px var(--green-tint); color: #fff; }
.wl-search input { flex: 1; min-width: 0; border: 0; background: transparent; box-shadow: none; padding: 0; height: 100%; color: #fff; font-size: var(--fs-base); }
.wl-search input:focus { outline: none; box-shadow: none; background: transparent; }
.wl-toolbar .range { margin-left: 0; }
.wl-chips { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: var(--s-2); margin-bottom: var(--s-5); scrollbar-width: none; }
.wl-chips::-webkit-scrollbar { display: none; }
.wl-chips .chip { white-space: nowrap; }
.wl-chips .chip span { opacity: .7; margin-left: var(--s-1); }
.wl-section { margin-top: var(--s-8); }
.wl-section[hidden] { display: none; }
.wl-section-h { display: flex; align-items: center; gap: var(--s-2); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin: 0 0 var(--s-2) var(--s-1); }
.wl-section-h span { background: var(--surface-3); border-radius: 999px; padding: .05rem var(--s-2); letter-spacing: 0; font-size: var(--fs-xs); }
.wl-list { list-style: none; margin: 0; padding: 0; background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.wl-row { border-top: 1px solid var(--line); transition: background var(--t-fast); }
.wl-row:first-child { border-top: 0; }
.wl-row[hidden] { display: none; }
.wl-row:hover, .wl-row.is-editing { background: rgba(255, 255, 255, .03); }
.wl-row.is-black { box-shadow: inset 3px 0 0 #d9a84b; }
.wl-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); padding: var(--s-3) var(--s-4); }
.wl-person { display: flex; align-items: center; gap: var(--s-4); text-decoration: none; color: inherit; min-width: 0; }
.wl-person:hover { text-decoration: none; }
.wl-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: #222; }
.wl-initials { display: inline-grid; place-items: center; font-weight: 900; color: #000; background: linear-gradient(135deg, #2f5a00, #67c200); }
.wl-name { display: grid; min-width: 0; line-height: 1.3; }
.wl-name strong { font-size: var(--fs-base); overflow-wrap: anywhere; }
.wl-black { color: #d9a84b; font-size: var(--fs-xs); vertical-align: middle; }
.wl-sub { color: var(--muted); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-note { margin: 0; color: var(--text-2); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-note.is-empty { color: #5f5f5f; }
.wl-actions { display: flex; gap: var(--s-1); }
.wl-icon { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: var(--r-md); border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: background var(--t-fast), color var(--t-fast); text-decoration: none; }
.wl-icon:hover { background: var(--surface-3); color: #fff; text-decoration: none; }
.wl-icon .ico { width: 1.1rem; height: 1.1rem; }
.wl-edit { padding: 0 var(--s-4) var(--s-4); }
.wl-edit[hidden] { display: none; }
.wl-edit-form { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s-3); padding: var(--s-4); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-lg); }
.wl-edit-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.wl-remove { margin-left: auto; display: inline-flex; align-items: center; gap: var(--s-2); background: none; border: 0; color: #e5a23a; font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; padding: var(--s-2) var(--s-2); border-radius: var(--r-md); }
.wl-remove:hover { background: rgba(229, 162, 58, .1); }
.wl-none { text-align: center; color: var(--muted); padding: var(--s-8) 0; }
.wl-none[hidden] { display: none; }
.wl-empty { text-align: center; max-width: 440px; margin: var(--s-12) auto; padding: var(--s-10) var(--s-6); border: 1px dashed var(--line-strong); border-radius: var(--r-xl); }
.wl-empty-ico { width: 64px; height: 64px; margin: 0 auto var(--s-4); border-radius: var(--r-lg); display: grid; place-items: center; background: var(--green-tint); color: var(--green); }
.wl-empty-ico .ico { width: 1.9rem; height: 1.9rem; }
.wl-empty h2 { margin: 0 0 var(--s-2); font-size: var(--fs-lg); }
.wl-empty p { color: var(--muted); margin: 0 0 var(--s-6); line-height: 1.55; }
@media (max-width: 760px) {
  .wl-main { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-2) var(--s-4); }
  .wl-note { grid-column: 1 / -1; order: 3; white-space: normal; padding-left: calc(48px + .9rem); }
  .wl-edit-form { grid-template-columns: 1fr; }
}

.dash-head-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }

/* admin: quieter header links and the Card type box */
.admin-nav { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }
.admin-nav a { padding: var(--s-2) var(--s-4); border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; transition: background var(--t-fast), color var(--t-fast); }
.admin-nav a:hover { background: var(--surface-3); color: #fff; text-decoration: none; }
.admin .alert > span { display: block; }
.tier-panel { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; margin: var(--s-5) 0; padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); border: 1px solid #5a4620; background: linear-gradient(135deg, #14110a, #0b0b0b); }
.tier-text { display: grid; min-width: 180px; }
.tier-panel input[type=text] { flex: 1; min-width: 220px; }
.admin-bulk { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.admin-bulk select { width: auto; flex: 0 1 300px; }

/* legal pages + terms notes */
.legal { padding: clamp(2rem, 5vw, 4rem) 0; }
.legal-wrap { max-width: 760px; margin-inline: auto; line-height: 1.7; }
.legal-wrap h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.03em; margin: var(--s-1) 0 var(--s-2); }
.legal-wrap h2 { font-size: var(--fs-md); margin: var(--s-8) 0 var(--s-2); }
.legal-wrap ul { padding-left: var(--s-5); }
.legal-wrap li { margin: var(--s-1) 0; }

/* bio: editor counter and the public About block (shown first, clamped, expandable) */
.wc-row { display: flex; justify-content: space-between; gap: var(--s-4); align-items: flex-start; margin-top: var(--s-2); }
.wc { flex: none; font-size: var(--fs-sm); font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.wc.is-near { color: #e5a23a; }
.wc.is-over { color: #ff6b6b; }
#f_bio { min-height: 170px; line-height: 1.55; }
.bio { margin: 0 0 var(--s-4); padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); background: #fff; color: #1a1a1a; border: 1px solid #e3e3e3; text-align: left; }
.bio-h { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: #6b6b6b; margin: 0 0 var(--s-2); font-weight: 800; }
.bio-text p { margin: 0 0 var(--s-3); line-height: 1.6; font-size: var(--fs-base); white-space: pre-line; overflow-wrap: anywhere; }
.bio-text p:last-child { margin-bottom: 0; }
.bio:not(.is-open) .bio-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.bio-more { margin-top: var(--s-2); background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #3d7a00; cursor: pointer; }
.bio-more:hover { text-decoration: underline; }
.ccd-bio { margin: var(--s-5) 0; max-width: 720px; line-height: 1.65; color: var(--text-2); }
.ccd-bio p { white-space: pre-line; overflow-wrap: anywhere; margin: 0 0 var(--s-3); }
.ccd-bio .ccd-h { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-2); }

/* the bio is a short intro at the top of the details, next to the card */
.data-list .bio-compact { margin: var(--s-4) 0 0; padding: var(--s-3) var(--s-4); border-radius: var(--r-lg); }
.bio-compact .bio-text p { font-size: var(--fs-sm); line-height: 1.5; margin: 0 0 var(--s-2); }
.bio-compact:not(.is-open) .bio-text { -webkit-line-clamp: 3; }
.bio-compact .bio-more { margin-top: var(--s-1); font-size: var(--fs-sm); }
.add-panel { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; margin: var(--s-5) 0 0; padding: var(--s-4) var(--s-5); border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: var(--surface-1); }
.add-panel input[type=text], .add-panel input[type=email] { flex: 1; min-width: 150px; }
.add-fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-2); flex: 1 1 100%; }
@media (max-width: 900px) { .add-fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .add-fields { grid-template-columns: 1fr; } }

/* Black Card: a small gold check beside the name (like a verified tick), with the "why" one tap away under the card */
/* Black Card: the "why" sits in a quiet line under the card (no icons, no badges on the card itself) */
.cred-line { width: 100%; max-width: 300px; margin: var(--s-4) auto 0; text-align: center; font-size: var(--fs-xs); letter-spacing: .02em; color: #8a6d2f; }
.cred-line summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s-1); padding: var(--s-1) var(--s-2); border-radius: var(--r-md); font-weight: 600; }
.cred-line summary::-webkit-details-marker { display: none; }
.cred-line summary:hover { background: rgba(138, 109, 47, .08); }
.cred-chev { width: 12px; height: 12px; transition: transform var(--t-med) var(--ease); }
.cred-line[open] .cred-chev { transform: rotate(90deg); }
.cred-plain { font-weight: 600; display: block; }
.cred-more { margin-top: var(--s-2); text-align: center; color: #555; line-height: 1.5; font-size: var(--fs-sm); }
.cred-more ul { list-style: none; margin: var(--s-2) 0; padding: 0; display: grid; gap: var(--s-3); }
.cred-more li { margin: 0; padding: 0; }
.cred-more a { color: #8a6d2f; }
.cred-why { margin: 0; }
.cred-note { margin: var(--s-2) 0 0; font-size: var(--fs-xs); color: #8a8a8a; }
.cred-howto { line-height: 1.7; padding-left: var(--s-5); }
.cred-admin-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.cred-admin-list li { display: flex; justify-content: space-between; gap: var(--s-4); align-items: flex-start; padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.cred-admin-list li:last-child { border-bottom: 0; }

.bc-filter { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-bottom: var(--s-2); }
.bc-list { list-style: none; margin: 0; padding: 0; }
.bc-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr) auto auto; gap: var(--s-4); align-items: center; padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.bc-row:first-child { border-top: 0; }
.bc-who { display: flex; gap: var(--s-3); align-items: center; min-width: 0; }
.bc-creds { display: flex; flex-wrap: wrap; gap: var(--s-1); align-items: center; }
.bc-chip { border: 1px solid #5a4620; color: #e3c27a; border-radius: 999px; padding: .12rem var(--s-2); font-size: var(--fs-xs); font-weight: 700; white-space: nowrap; }
.bc-status { display: grid; gap: .15rem; justify-items: start; }
.bc-actions { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.cred-listed-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; }
@media (max-width: 900px) { .bc-row { grid-template-columns: 1fr; } }
.cred-more .cred-sub { color: #666; font-size: var(--fs-sm); }
.cred-admin-list li { display: block; }
.cred-row-main { display: flex; justify-content: space-between; gap: var(--s-4); align-items: flex-start; }
.cred-row-actions { display: flex; gap: var(--s-3); align-items: center; flex: none; }
.cred-edit-panel { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.cred-edit-panel[hidden] { display: none; }
.cred-edit-actions { display: flex; gap: var(--s-2); }

/* creator type chips (dashboard) */
fieldset.type-field { border: 0; padding: 0; margin: 0 0 var(--s-4); }
fieldset.type-field legend { font-weight: 700; margin-bottom: var(--s-2); padding: 0; }
.type-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.type-chip { position: relative; cursor: pointer; }
.type-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-chip span { display: inline-block; padding: var(--s-2) var(--s-4); border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); font-weight: 600; font-size: var(--fs-sm); transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.type-chip input:checked + span { background: var(--green); border-color: var(--green); color: #000; }
.type-chip input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.type-chip-wrap { display: inline-flex; align-items: center; gap: .1rem; }
.chip-grip { display: grid; place-items: center; width: 22px; height: 36px; padding: 0; border: 0; background: transparent; color: var(--muted, #8a8a8a); cursor: grab; touch-action: none; border-radius: var(--r-md); }
.chip-grip .ico { width: 16px; height: 16px; }
.chip-grip:hover, .chip-grip:focus-visible { color: var(--text, #fff); }
.type-chip-wrap.is-dragging { opacity: .7; }
.type-chip-wrap.is-dragging .chip-grip { cursor: grabbing; color: var(--green); }

/* ---- admin: two-step log-in, activity log, "apply to all matching" */
.recovery-codes { list-style: none; padding: 0; margin: var(--s-4) 0 var(--s-6); display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: var(--s-2); }
.recovery-codes li code { display: block; padding: var(--s-2) var(--s-3); text-align: center; font-size: var(--fs-base); letter-spacing: .04em; }
.goal { background: linear-gradient(180deg, rgba(103, 194, 0, .12), transparent 70%), var(--surface-1); border: 1px solid rgba(103, 194, 0, .35); border-radius: var(--r-lg);
  padding: clamp(1.1rem, 3vw, 1.8rem); margin: var(--s-4) 0; }
.goal-top { display: flex; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; align-items: flex-end; }
.goal-top .eyebrow { margin: 0 0 var(--s-1); }
.goal-count { margin: 0; line-height: 1; }
.goal-count strong { font-size: clamp(2.6rem, 8vw, 4.2rem); font-weight: 900; letter-spacing: -.04em; color: #fff; }
.goal-count span { font-size: var(--fs-lg); color: var(--muted); font-weight: 700; margin-left: .3rem; }
.goal-line { margin: var(--s-2) 0 0; color: var(--text-2); max-width: 36rem; }
.goal-facts { display: flex; gap: var(--s-5); }
.goal-facts div { display: grid; text-align: left; }
.goal-facts strong { font-size: var(--fs-2xl); font-weight: 900; letter-spacing: -.03em; color: #fff; }
.goal-facts span { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.goal-bar { width: 100%; height: 3.2rem; display: block; margin-top: var(--s-4); }
.goal-bar .goal-track { fill: var(--surface-3); }
.goal-bar .goal-fill { fill: var(--green); }
.goal-bar .goal-tick { stroke: var(--line-strong); stroke-width: 3; }
.goal-bar .goal-tick.is-done { stroke: #000; }
.goal-steps { list-style: none; display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; margin: 0 0 var(--s-3); padding: 0; font-size: var(--fs-sm); color: var(--muted); font-weight: 700; }
.goal-steps li { display: inline-flex; align-items: center; gap: .4rem; }
.goal-steps .goal-dot { width: 1.15rem; height: 1.15rem; border-radius: 50%; border: 2px solid var(--line-strong); display: inline-grid; place-items: center; font-size: var(--fs-xs); color: #000; }
.goal-steps li.is-done { color: #fff; }
.goal-steps li.is-done .goal-dot { background: var(--green); border-color: var(--green); }
.goal-pace { margin: 0; }
.save-card { margin: var(--s-4) 0 var(--s-3); }
.save-card .hint { margin-top: var(--s-2); }
.analytics-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: var(--s-4); margin-bottom: var(--s-4); }
.analytics-split > .box { min-width: 0; margin: 0; }
.analytics-split .admin-table { min-width: 0; }
.range.range-wrap { display: flex; flex-wrap: wrap; margin-left: 0; width: fit-content; max-width: 100%; border-radius: var(--r-lg); }
.kind-field { border: 0; padding: 0; margin: 0 0 var(--s-4); min-width: 0; }
.kind-field legend { font-weight: 600; font-size: var(--fs-sm); color: var(--text-2); margin-bottom: var(--s-2); padding: 0; }
.kind-group-h { margin: var(--s-3) 0 var(--s-1); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.kind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: var(--s-2); }
.kind-check { display: flex; align-items: center; gap: var(--s-3); min-height: 44px; padding: var(--s-2) var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface-2); cursor: pointer; }
.kind-field .kind-check { display: flex; align-items: center; margin: 0; font-weight: 600; font-size: var(--fs-sm); color: var(--text); }
.kind-check:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.kind-check input { width: 20px; height: 20px; flex: none; accent-color: var(--green); }
.cred-extras[hidden], .cred-extras .field[hidden] { display: none; }
.cert-field .hint { margin: 0 0 var(--s-3); }
.cert-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: var(--s-3); align-items: end; padding: var(--s-3); margin-bottom: var(--s-3); border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface-2); }
.cert-f { display: flex; flex-direction: column; gap: var(--s-1); margin: 0; font-size: var(--fs-xs); font-weight: 600; color: var(--text-2); min-width: 0; }
.cert-f[hidden], .cert-row [hidden], .cert-add[hidden], [data-cert-add][hidden] { display: none; }
.cert-f select, .cert-f input { width: 100%; min-height: 44px; }
.cert-remove { justify-self: start; }
.cert-other { grid-column: span 2; }
@media (max-width: 600px) {
  .cert-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }  /* phones: Level and Song/Album side by side, the rest full width */
  .cert-row > .cert-f:first-child, .cert-row > .cert-other, .cert-row > .cert-mult, .cert-row > .cert-remove { grid-column: 1 / -1; }
}

.cred-more .cred-title { color: #111; }
.cred-more .cred-artist { color: #444; }
.cred-more .cred-type { display: inline-block; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: #8a6d2f; border: 1px solid #c9a95b; border-radius: 999px; padding: 0 .45rem; margin-left: .25rem; vertical-align: 1px; }
.cred-more .cred-ach { display: inline; }
.chart { width: 100%; height: auto; display: block; margin: var(--s-3) 0 var(--s-2); }
.chart .bar-views { fill: var(--green); opacity: .85; }
.chart .bar-visitors { fill: #fff; opacity: .9; }
.chart .chart-axis { stroke: var(--line-strong); stroke-width: 1; }
.chart-legend .key { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; vertical-align: -1px; margin-right: .35rem; }
.chart-legend .key-views { background: var(--green); }
.chart-legend .key-visitors { background: #fff; }
.two-step { max-width: 680px; margin: var(--s-8) auto; display: grid; gap: var(--s-4); }
.two-step .box { display: grid; gap: var(--s-3); }
.two-step .form { margin-top: var(--s-3); }
.totp-setup { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; margin: var(--s-4) 0 var(--s-6); }
.totp-qr { background: #fff; padding: var(--s-2); border-radius: var(--r-md); }
.steps { padding-left: var(--s-5); color: var(--text-2); }
.all-matching { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--text-2); }

/* ---- the card's name is the page's main heading (h1) but looks exactly like the name bar it replaces */
.mini-card h1.name-bar { margin-bottom: 0; font-family: inherit; text-wrap: initial; }

/* ---- touch targets: anything you tap is at least 44px (--tap) on a touch screen, and never under 32px with a mouse */
.link-btn, .ccd-copy, .copy-share, .chip-grip, .drag-handle, .btn-sm, .subnav a, summary { min-height: 32px; }
@media (pointer: coarse) {
  .btn, .btn-sm, .btn-lg { min-height: var(--tap); }
  .subnav a, .ccd-copy, .copy-share, summary, .site-footer a, .auth a.small, a.side-demo, .admin-actions a { min-height: var(--tap); }
  .subnav a, .ccd-copy, .copy-share, summary { display: inline-flex; align-items: center; }
  .link-btn { min-height: var(--tap); min-width: var(--tap); display: inline-flex; align-items: center; justify-content: center; padding: 0 var(--s-2); }
  .chip-grip, .drag-handle { min-width: var(--tap); min-height: var(--tap); }
  .player-btn { width: var(--tap); height: var(--tap); }
  .player-range { height: var(--tap); }
  .site-footer a, .auth a.small, a.side-demo { display: inline-flex; align-items: center; }
  header a, footer a, nav a, .made-with a, .range a, .inbox-tabs a, .admin-nav a, .owner-banner a, a.pill, .box-ico, .box-head a, .admin-tabs a, .admin-sub a, .small a.btn-link { min-height: var(--tap); display: inline-flex; align-items: center; }
  .box-ico { min-width: var(--tap); justify-content: center; }
  .admin-tools input[type="search"], input[type="search"], .ccd-searchbar input { min-height: var(--tap); }
  a.small, .muted a.small { min-height: var(--tap); display: inline-flex; align-items: center; }
  .field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .field select, select, .search-field input { min-height: var(--tap); }
}
.owner-banner > span:last-child { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; justify-content: flex-end; }

/* ---- account deletion and the error list */
.danger-zone { margin-top: var(--s-5); border-top: 1px solid var(--line); padding-top: var(--s-4); }
.danger-zone summary { cursor: pointer; font-weight: 700; color: var(--danger); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #000; }
.error-trace { white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--fs-xs); background: var(--surface-3); padding: var(--s-3); border-radius: var(--r-sm); max-height: 20rem; overflow: auto; }
