/* Voca — design system v2
 * Minimal · 8-point grid · two neutrals + one accent · solid buttons
 * Single typeface (Inter) at varying weights does most heavy lifting.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ── Neutrals (just two) ─────────────────────────────── */
  --bg:         #0a0a0f;              /* page */
  --surface:    #14141c;              /* one elevation only — cards, panels */
  --line:       rgba(255,255,255,0.07);  /* hairline borders */
  --line-2:     rgba(255,255,255,0.12);  /* hover / focus border */

  /* Text: a 3-step tonal scale */
  --text:       #f7f7f9;
  --text-dim:   #a8a8b3;
  --text-faint: #62626d;

  /* ── Single accent ───────────────────────────────────── */
  --accent:        #8b5cf6;
  --accent-press:  #7c4cea;
  --accent-soft:   rgba(139,92,246,0.12);   /* tinted surface */

  /* Reserved for brand-mark + hero only — components use solid --accent */
  --grad-brand:      linear-gradient(135deg, #8b5cf6 0%, #22d3ee 100%);
  --grad-brand-soft: linear-gradient(135deg, rgba(139,92,246,0.10) 0%, rgba(34,211,238,0.06) 100%);

  /* Semantics */
  --success: #34d399;
  --danger:  #f87171;

  /* ── 8-point spacing scale ───────────────────────────── */
  --sp-0:  0;
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;
  --sp-9: 128px;

  /* ── Radii (4-step) ──────────────────────────────────── */
  --r-1:   8px;
  --r-2:  12px;
  --r-3:  20px;
  --r-4:  28px;

  /* ── Elevation (subtle, 3 levels) ────────────────────── */
  --el-1: 0 1px 2px rgba(0,0,0,0.5);
  --el-2: 0 4px 14px -4px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.4);
  --el-3: 0 20px 60px -20px rgba(0,0,0,0.6), 0 4px 12px -2px rgba(0,0,0,0.4);
  --el-accent: 0 1px 2px rgba(139,92,246,0.3), 0 10px 30px -10px rgba(139,92,246,0.5);

  /* ── Typography ──────────────────────────────────────── */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --quick: 120ms;
  --gentle: 240ms;

  /* Legacy aliases — keep so we don't rewrite every selector below */
  --bg-elev:   var(--surface);
  --bg-elev-2: #1c1c25;
  --surface-strong: rgba(255,255,255,0.06);
  --border:        var(--line);
  --border-strong: var(--line-2);
  --accent-2: var(--accent);   /* deprecated — use --accent */
  --accent-3: var(--text);     /* deprecated — use --text */
  --radius-sm: var(--r-1);
  --radius:    var(--r-2);
  --radius-lg: var(--r-3);
  --radius-xl: var(--r-4);
  --shadow-sm: var(--el-1);
  --shadow:    var(--el-2);
  --shadow-lg: var(--el-3);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  /* Respect iOS notch / Dynamic Island on standalone (Add-to-Home-Screen) */
  background: var(--bg); /* covers safe-area gutters */
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01", "ss03";
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* Inputs at <16px trigger iOS Safari auto-zoom on focus */
input, textarea, select, button {
  font-size: 16px;
  font-family: inherit;
  font-feature-settings: inherit;
}

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(139,92,246,0.18), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(34,211,238,0.14), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(240,171,252,0.1), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer, section { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-3); }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.1;  letter-spacing: -0.032em; }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.02em; }
h4 { font-size: 1rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 600; }
p  { margin: 0; color: var(--text-dim); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}
@media (min-width: 600px) { .container { padding: 0 var(--sp-4); } }
@media (min-width: 1000px) { .container { padding: 0 var(--sp-5); } }

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}
@media (min-width: 600px) { .container-narrow { padding: 0 var(--sp-4); } }

/* ── Premium navigation ──────────────────────────────────────
 * Glassy top bar. Animated link underlines. Mobile sheet that
 * slides down from the nav, full-bleed dark with large touch targets.
 */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: saturate(180%) blur(28px);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid transparent;
  padding-top: env(safe-area-inset-top);
  transition: border-color var(--quick) var(--ease), background var(--quick) var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 15, 0.88);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 60px;
}
@media (min-width: 720px) { .nav-inner { height: 68px; } }

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-size: 1.05rem;
  color: var(--text);
  flex-shrink: 0;
}
.brand-text { line-height: 1; }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--r-1);
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px -2px rgba(139,92,246,0.45), inset 0 1px 0 rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px solid rgba(255,255,255,0.95);
  border-radius: 4px;
  border-right: none;
  border-bottom: none;
}

/* Centre cluster: links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  margin: 0 auto;
}
.nav-links a {
  position: relative;
  padding: var(--sp-1) 2px;
  color: var(--text-dim);
  transition: color var(--quick) var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--gentle) var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.is-active { color: var(--text); }
.nav-links a.is-active::after { transform: scaleX(1); background: var(--accent); }

/* Right-side CTA */
.nav-cta { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; }
.nav-cta .btn { height: 38px; padding: 0 var(--sp-3); }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-1);
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--quick), background var(--quick);
}
.nav-toggle:hover { border-color: var(--line-2); background: var(--surface); }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="false"] .icon-close { display: none; }

/* ── Mobile sheet ──────────────────────────────────── */
@media (max-width: 880px) {
  .nav-links, .nav-cta { display: none !important; }
  .nav-toggle { display: inline-flex; }
}
.nav-sheet:not(.is-open) { display: none !important; }

.nav-sheet {
  display: none;
  position: fixed;
  left: 0; right: 0;
  top: calc(60px + env(safe-area-inset-top));
  bottom: 0;
  z-index: 79;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(139,92,246,0.14), transparent 60%),
    radial-gradient(80% 50% at 0% 100%, rgba(34,211,238,0.08), transparent 60%),
    #0a0a0f;
  padding: 0;
  flex-direction: column;
  animation: sheetIn var(--gentle) var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-sheet.is-open { display: flex; }
@keyframes sheetIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}

.nav-sheet-inner {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-4) calc(var(--sp-6) + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  gap: var(--sp-5);
}

/* Small intro at the top of the sheet — gives it character */
.nav-sheet-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-transform: uppercase;
  font-weight: 600;
  align-self: flex-start;
}
.nav-sheet-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.nav-sheet-links {
  display: flex;
  flex-direction: column;
  margin-top: var(--sp-2);
}
.nav-sheet-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  padding: var(--sp-3) 0;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color var(--quick), transform var(--quick);
}
.nav-sheet-links a:first-child { border-top: 1px solid var(--line); }
.nav-sheet-links a:hover,
.nav-sheet-links a:focus-visible {
  color: var(--accent);
  outline: none;
}
.nav-sheet-links a::after {
  content: "";
  width: 20px; height: 20px;
  background: no-repeat center / contain url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362626d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
  transition: transform var(--quick);
  flex-shrink: 0;
}
.nav-sheet-links a:hover::after,
.nav-sheet-links a:focus-visible::after {
  transform: translateX(4px);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M13 5l7 7-7 7'/></svg>");
}
.nav-sheet-links a.is-active { color: var(--accent); }

.nav-sheet-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.nav-sheet-cta .btn {
  width: 100%;
  height: 56px;
  font-size: 1rem;
  font-weight: 600;
}

.nav-sheet-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--sp-3);
  color: var(--text-faint);
  font-size: 0.78rem;
}
.nav-sheet-meta a {
  color: var(--text-faint);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.nav-sheet-meta a:hover { color: var(--text-dim); }

body.no-scroll { overflow: hidden; }

/* ── Buttons ─────────────────────────────────────────────
 * Solid surfaces, large tap targets (48px+), subtle press-scale,
 * shadow scales with state. One accent, no gradients on components.
 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 48px;
  padding: 0 var(--sp-4);
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition:
    transform var(--quick) var(--ease),
    background var(--quick) var(--ease),
    border-color var(--quick) var(--ease),
    box-shadow var(--quick) var(--ease),
    filter var(--quick) var(--ease);
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--el-accent);
}
.btn-primary:hover {
  background: var(--accent-press);
  border-color: var(--accent-press);
  color: #fff;
  filter: brightness(1.04);
}
.btn-primary:active { transform: scale(0.97); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text-dim);
}
.btn-ghost:hover { color: var(--text); border-color: var(--line-2); }

.btn-dark {
  background: #000;
  border-color: rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 6px 24px -8px rgba(0,0,0,0.8);
}
.btn-dark:hover {
  background: #111;
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}

.btn-lg { height: 56px; padding: 0 var(--sp-5); font-size: 1.02rem; }
.btn-xl { height: 60px; padding: 0 var(--sp-5); font-size: 1.05rem; font-weight: 600; }
.btn-sm { height: 36px; padding: 0 var(--sp-3); font-size: 0.85rem; }
.btn-icon { width: 44px; padding: 0; }

/* Save/copy success state — flips background + shows check, auto-reverts */
.btn.is-success {
  background: var(--success) !important;
  border-color: var(--success) !important;
  color: #0a0a0f !important;
  transform: scale(1);
}
.btn.is-success > * { animation: btnSuccess 240ms var(--ease); }
@keyframes btnSuccess {
  0%   { opacity: 0; transform: scale(0.7); }
  60%  { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

/* Hero */
.hero {
  padding: clamp(40px, 8vw, 110px) 0 clamp(48px, 8vw, 96px);
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 12px var(--accent-2);
}
.hero h1 .gradient { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-dim);
}
.hero-ctas {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  margin-top: var(--sp-5);
  flex-wrap: wrap;
}
.hero-meta {
  text-align: center;
  margin-top: var(--sp-3);
  color: var(--text-faint);
  font-size: 0.85rem;
}

/* Social proof quotes */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 900px) { .proof-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }
.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--sp-4);
}
.quote blockquote {
  margin: 0 0 var(--sp-3);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.quote blockquote::before { content: "“"; color: var(--accent); font-size: 2rem; line-height: 0; vertical-align: -0.3em; margin-right: 4px; }
.quote-name { font-size: 0.92rem; font-weight: 600; color: var(--text); }
.quote-role { font-size: 0.8rem; color: var(--text-dim); margin-top: 2px; }

/* Card stage */
.card-stage {
  margin-top: var(--sp-7);
  display: grid;
  place-items: center;
  perspective: 1500px;
  padding: 0 var(--sp-2);
}
@media (max-width: 600px) { .card-stage { margin-top: var(--sp-5); } }
.nfc-card {
  width: min(420px, 92vw);
  aspect-ratio: 1.586 / 1;
  border-radius: 22px;
  position: relative;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(139,92,246,0.55), transparent 60%),
    radial-gradient(120% 100% at 100% 100%, rgba(34,211,238,0.45), transparent 55%),
    linear-gradient(135deg, #1a1530, #0d1320);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transform: rotateX(8deg) rotateY(-12deg);
  transition: transform .4s ease;
  animation: floaty 6s ease-in-out infinite;
}
.nfc-card:hover { transform: rotateX(4deg) rotateY(-4deg) translateY(-4px); }
.nfc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes floaty {
  0%, 100% { transform: rotateX(8deg) rotateY(-12deg) translateY(0); }
  50% { transform: rotateX(8deg) rotateY(-12deg) translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.nfc-card-inner {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 5vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
}
.nfc-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-2); }
.nfc-card-name {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.nfc-card-role {
  font-size: clamp(0.78rem, 2.4vw, 0.9rem);
  color: rgba(255,255,255,0.72);
  margin-top: 4px;
}
.nfc-logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
}
.nfc-wave {
  width: 22px; height: 22px;
  display: grid; place-items: center;
}
.nfc-wave svg { width: 100%; height: 100%; }

/* Sections */
section.block { padding: clamp(60px, 9vw, 110px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
}
.step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-brand-soft);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.step:hover::after { opacity: 1; }
.step > * { position: relative; z-index: 1; }
.step-num {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--grad-brand);
  color: #0a0a0f;
  font-weight: 700;
  display: grid; place-items: center;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color .15s, transform .15s;
}
.feature:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-brand-soft);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--accent-3);
}
.feature h3 { margin-bottom: 6px; font-size: 1.05rem; }
.feature p { font-size: 0.94rem; }

/* CTA */
.cta {
  text-align: center;
  background: linear-gradient(180deg, rgba(139,92,246,0.08), rgba(34,211,238,0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px) 32px;
  margin: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: var(--grad-brand);
  opacity: 0.4;
  filter: blur(80px);
  z-index: -1;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-faint);
  font-size: 0.88rem;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }

/* ============ Profile page ============ */

.profile-wrap {
  max-width: 540px;
  margin: 0 auto;
  padding: 20px 16px calc(40px + env(safe-area-inset-bottom));
}
@media (min-width: 540px) {
  .profile-wrap { padding: 24px 20px 80px; }
}
.profile-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  overflow: hidden;
  box-shadow: var(--el-3);
  position: relative;
}
.profile-cover {
  /* Same "luxury dark glass" gradient as the Wallet pass strip */
  height: 170px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(139,92,246,0.65), transparent 55%),
    radial-gradient(120% 100% at 100% 100%, rgba(34,211,238,0.45), transparent 55%),
    linear-gradient(135deg, #1a1230, #0d1320);
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}
/* A subtle NFC wave glyph in the top-right corner — brand cue, doesn't compete */
.profile-cover::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 22px;
  width: 28px;
  height: 28px;
  background: no-repeat center / contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' opacity='0.6'><path d='M5 8a10 10 0 0114 0'/><path d='M8 12a6 6 0 018 0'/><path d='M11 16a2 2 0 012 0'/></svg>");
}
/* Soft fade into the card body so the avatar feels embedded */
.profile-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--surface) 100%);
}
.profile-head {
  padding: 0 var(--sp-4) var(--sp-4);
  margin-top: -56px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.avatar {
  width: 112px; height: 112px;
  border-radius: 50%;
  background: var(--grad-brand);            /* brand cue — only place gradient lives on a profile */
  border: 5px solid var(--surface);
  display: grid; place-items: center;
  color: #fff;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  box-shadow: 0 12px 32px -8px rgba(139,92,246,0.45), 0 1px 0 rgba(255,255,255,0.06) inset;
  position: relative;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name {
  margin-top: var(--sp-3);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.profile-role {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: var(--sp-1);
  font-weight: 500;
}
.profile-bio {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.55;
  margin-top: var(--sp-3);
  max-width: 420px;
}

.verified {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--accent-2);
  background: rgba(34,211,238,0.08);
  border: 1px solid rgba(34,211,238,0.25);
  padding: 3px 8px; border-radius: 999px;
  margin-top: 8px;
}

.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 24px 20px;
}
.profile-actions .btn { width: 100%; height: 46px; }

/* ── Intent chips ─────────────────────────────────────────── */
.intent {
  padding: var(--sp-1) var(--sp-4) var(--sp-3);
}
.intent-q {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--sp-2);
  font-weight: 600;
}
.intent-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 44px;
  padding: 0 var(--sp-3);
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--quick) var(--ease);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.chip:hover, .chip:focus-visible {
  background: var(--surface-strong);
  border-color: rgba(255,255,255,0.18);
  outline: none;
}
.chip.is-active {
  background: var(--grad-brand);
  border-color: transparent;
  color: #0a0a0f;
  font-weight: 600;
  box-shadow: 0 6px 20px -6px rgba(139,92,246,0.55);
}
.chip-emoji {
  font-size: 1.05rem;
  line-height: 1;
  margin-right: var(--sp-1);  /* belt-and-suspenders: gap on parent can be eaten by emoji glyph metrics */
}

/* ── Primary CTA card ─────────────────────────────────────── */
.primary-cta-wrap { padding: 0 var(--sp-4) var(--sp-3); }
.primary-cta {
  width: 100%;
  height: auto;
  min-height: 68px;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-3);
  text-align: left;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  position: relative;
  overflow: hidden;
}
.primary-cta::after {
  content: "→";
  position: absolute;
  right: var(--sp-4);
  font-size: 1.4rem;
  font-weight: 400;
  opacity: 0.8;
  transition: transform var(--quick) var(--ease);
}
.primary-cta:hover::after { transform: translateX(4px); }
.cta-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-2);
  background: rgba(255,255,255,0.16);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cta-icon svg { width: 20px; height: 20px; }
.cta-text { flex: 1; min-width: 0; padding-right: var(--sp-5); }
.cta-label {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.cta-sub {
  font-size: 0.8rem;
  opacity: 0.78;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
}

/* ── Secondary CTAs (4-icon row) ──────────────────────────── */
.secondary-ctas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  padding: 0 var(--sp-4) var(--sp-3);
}
@media (max-width: 380px) { .secondary-ctas { grid-template-columns: repeat(2, 1fr); } }
.sca {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text-dim);
  font-size: 0.74rem;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sca:hover, .sca:focus-visible {
  background: var(--surface-strong);
  color: var(--text);
  transform: translateY(-1px);
  outline: none;
}
.sca svg { width: 20px; height: 20px; }

/* Smart intro reshape animation */
#introText { transition: opacity .25s ease; }
#introText.is-loading { opacity: 0.4; }

/* Wallet button wrapper */
.wallet-btn-wrap { padding: 4px var(--sp-4) var(--sp-3); }
.wallet-btn-wrap .btn { width: 100%; height: 48px; }

/* ── Dashboard v2 ────────────────────────────────────────── */
.card-strip {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-bottom: var(--sp-1);
  scrollbar-width: none;
}
.card-strip::-webkit-scrollbar { display: none; }
.card-chip {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--sp-2) var(--sp-3);
  cursor: pointer;
  text-align: left;
  transition: all var(--quick);
  font-family: inherit;
  color: var(--text);
}
.card-chip:hover { border-color: var(--line-2); }
.card-chip.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.card-chip-mark {
  width: 36px; height: 36px;
  border-radius: var(--r-1);
  background: var(--grad-brand);
  flex-shrink: 0;
}
.card-chip-name { font-size: 0.92rem; font-weight: 600; }
.card-chip-sub { font-size: 0.75rem; }

/* Swatches */
.colour-row {
  display: flex;
  gap: var(--sp-2);
}
.swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  position: relative;
  border: 2px solid transparent;
  transition: transform var(--quick);
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-active::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--text);
  border-radius: 50%;
}

/* Upload zone */
.upload-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-2);
  color: var(--text-dim);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--quick);
}
.upload-zone:hover { border-color: var(--accent); color: var(--text); }

/* Toggle */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  cursor: pointer;
}
.switch { display: inline-block; position: relative; width: 44px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--line);
  border-radius: 999px;
  transition: background var(--quick);
}
.switch .slider::before {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: var(--text);
  border-radius: 50%;
  transition: transform var(--quick);
}
.switch input:checked + .slider { background: var(--accent); }
.switch input:checked + .slider::before { transform: translateX(18px); }

/* Analytics stats */
.analytics-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
@media (max-width: 700px) { .analytics-stat-row { grid-template-columns: 1fr; } }
.stat {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--sp-3) var(--sp-4);
  position: relative;
}
.stat-label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.stat-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-top: var(--sp-1);
  color: var(--text);
}
.stat-sub { font-size: 0.78rem; margin-top: var(--sp-1); }

/* Integrations */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}
.integration {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--text);
  transition: border-color var(--quick);
}
.integration:hover { border-color: var(--line-2); }
.int-mark {
  width: 32px; height: 32px;
  border-radius: var(--r-1);
  display: grid; place-items: center;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.int-name { font-size: 0.9rem; font-weight: 600; }
.int-sub { font-size: 0.72rem; }

/* ── Paywall modal ───────────────────────────────────────── */
.pw-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}
.pw-modal.is-open { display: flex; }
.pw-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: pwFade var(--gentle) var(--ease);
}
.pw-card {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  padding: var(--sp-5);
  box-shadow: var(--el-3);
  animation: pwIn var(--gentle) var(--ease);
}
@keyframes pwFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pwIn   { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }

.pw-close {
  position: absolute;
  top: var(--sp-3); right: var(--sp-3);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-dim);
  cursor: pointer;
  display: grid; place-items: center;
  transition: all var(--quick);
}
.pw-close:hover { color: var(--text); border-color: var(--line-2); }
.pw-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-2);
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: var(--sp-3);
}
.pw-title {
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  margin-bottom: var(--sp-2);
}
.pw-body {
  color: var(--text-dim);
  font-size: 0.96rem;
  margin-bottom: var(--sp-3);
}
.pw-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-4);
  display: grid;
  gap: var(--sp-2);
}
.pw-features li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: var(--sp-4);
  position: relative;
}
.pw-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 14px; height: 14px;
  background: no-repeat center / 100% url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.pw-price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.pw-amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.pw-per {
  color: var(--text-dim);
  font-size: 0.88rem;
}
.pw-link {
  display: block;
  text-align: center;
  margin-top: var(--sp-3);
  color: var(--text-dim);
  font-size: 0.85rem;
  text-decoration: underline;
}
.pw-link:hover { color: var(--text); }

/* ── Pro lock — applied to gated controls ────────────────── */
.is-pro-locked {
  position: relative;
  opacity: 0.86;
}
.is-pro-locked::after {
  content: "PRO";
  position: absolute;
  top: 6px; right: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  pointer-events: none;
  line-height: 1;
}
/* When user is Pro, hide all the lock badges */
html.voca-pro .is-pro-locked::after { display: none; }
html.voca-pro .is-pro-locked { opacity: 1; }

/* ── Pricing (/pricing) ──────────────────────────────────── */

.pricing-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--sp-6);
}
.pricing-head h1 {
  margin: var(--sp-3) 0 var(--sp-3);
}
.pricing-sub {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
}

.bill-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  margin-top: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.bt-btn {
  height: 40px;
  padding: 0 var(--sp-4);
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  transition: background var(--quick), color var(--quick);
}
.bt-btn:hover { color: var(--text); }
.bt-btn.is-active {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--el-1);
}
.bt-save {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.cur-picker {
  display: flex; align-items: center; gap: var(--sp-2);
  justify-content: center;
  margin-top: var(--sp-3);
}
.cur-picker select {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}
.cur-picker select:focus { border-color: var(--accent); }

/* Plan cards */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
  padding-top: var(--sp-3);   /* room for the floating "Most popular" ribbon */
}
@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; gap: var(--sp-3); max-width: 480px; margin-left: auto; margin-right: auto; }
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  transition: transform var(--gentle) var(--ease), border-color var(--quick);
}
.plan:hover { border-color: var(--line-2); }
.plan-head { margin-bottom: var(--sp-4); }
.plan-name {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.plan-tag {
  margin-top: var(--sp-1);
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  margin: var(--sp-4) 0 var(--sp-5);
  min-height: 60px;
}
.plan-price .amount {
  font-size: 3.25rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--text);
}
.plan-price .per {
  font-size: 0.92rem;
  color: var(--text-dim);
  font-weight: 500;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.5;
}
.ck {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft);
  position: relative;
  display: inline-block;
}
.ck::after {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center / 60% url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.ck.dim { background: rgba(255,255,255,0.04); }
.ck.dim::after { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362626d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>"); }

/* Featured plan */
.plan-featured {
  background: linear-gradient(180deg, rgba(139,92,246,0.08), rgba(139,92,246,0.02));
  border: 1px solid rgba(139,92,246,0.35);
  box-shadow: var(--el-accent);
  transform: translateY(-8px);
}
@media (max-width: 900px) { .plan-featured { transform: none; } }
.plan-ribbon {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--el-accent);
}

/* Add-ons */
.addons {
  text-align: center;
  margin: var(--sp-8) 0 var(--sp-7);
}
.addons h2 { margin-bottom: var(--sp-2); }
.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  text-align: left;
}
@media (max-width: 820px) { .addon-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
.addon {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--sp-4);
}
.addon h3 { font-size: 1rem; margin-bottom: var(--sp-2); }
.addon-price {
  margin-top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
}

/* Comparison table */
.compare {
  margin: var(--sp-8) 0 var(--sp-7);
}
.compare h2 {
  text-align: center;
  margin-bottom: var(--sp-5);
}
.cmp-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.cmp thead th {
  text-align: left;
  padding: var(--sp-4) var(--sp-4);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid var(--line);
}
.cmp tbody td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.cmp tbody td:first-child { color: var(--text-dim); font-weight: 500; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp th.is-featured, .cmp td.is-featured {
  background: rgba(139,92,246,0.05);
  color: var(--text);
}
.cmp .y, .cmp .n {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
}
.cmp .y { background: var(--accent-soft); position: relative; }
.cmp .y::after {
  content: "";
  position: absolute; inset: 0;
  background: no-repeat center / 60% url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b5cf6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.cmp .n { background: rgba(255,255,255,0.04); position: relative; }
.cmp .n::after {
  content: "";
  position: absolute; inset: 0;
  background: no-repeat center / 60% url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362626d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>");
}

/* FAQ */
.faq h2 { text-align: center; margin-bottom: var(--sp-5); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
}
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--sp-3) var(--sp-4);
  transition: border-color var(--quick);
}
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { background: var(--surface-strong); }
.faq summary {
  list-style: none;
  font-weight: 500;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--text-faint);
  transition: transform var(--gentle) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: var(--sp-3);
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Bottom CTA */
.bottom-cta {
  text-align: center;
  padding: var(--sp-8) 0 0;
}
.bottom-cta h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* ── Wizard v2 (/create) — voice-first, 3 calm states ────── */
.wizard {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-3) var(--sp-7);
  text-align: center;
}
@media (min-width: 600px) {
  .wizard { padding: var(--sp-7) var(--sp-4) var(--sp-8); }
}

.wiz-state {
  display: none;
  animation: wizFade var(--gentle) var(--ease);
}
.wiz-state.is-active { display: block; }
@keyframes wizFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.wiz-h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  margin: var(--sp-3) 0 var(--sp-3);
  line-height: 1.05;
}
.wiz-lead {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 440px;
  margin: 0 auto var(--sp-6);
}

/* Hold-to-speak mic */
.mic-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  margin: var(--sp-3) auto var(--sp-5);
}
.mic-btn {
  position: relative;
  width: clamp(116px, 32vw, 144px);
  height: clamp(116px, 32vw, 144px);
  border-radius: 50%;
  border: none;
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 16px 48px -12px rgba(139,92,246,0.55);
  transition: transform var(--quick) var(--ease), box-shadow var(--quick) var(--ease);
  touch-action: none;
}
.mic-btn:hover  { transform: scale(1.02); }
.mic-btn:active { transform: scale(0.96); }
.mic-btn svg { position: relative; z-index: 2; }

/* Pulsing rings while listening */
.mic-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  pointer-events: none;
}
.mic-btn.is-listening .mic-ring   { animation: micPulse 1.4s ease-out infinite; }
.mic-btn.is-listening .mic-ring-2 { animation: micPulse 1.4s ease-out 0.7s infinite; }
@keyframes micPulse {
  0%   { transform: scale(1);   opacity: 0.4; }
  100% { transform: scale(1.9); opacity: 0; }
}
.mic-btn.is-listening {
  background: #ef4444;
  box-shadow: 0 16px 48px -12px rgba(239,68,68,0.7);
}

.mic-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: -0.005em;
}

/* Live transcript while speaking */
.mic-live {
  min-height: 28px;
  font-size: 0.95rem;
  color: var(--text-faint);
  font-style: italic;
  max-width: 420px;
  margin: 0 auto;
  transition: color var(--quick);
}
.mic-live.is-active { color: var(--text); font-style: normal; }

/* "or" separator */
.wiz-or {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--text-faint);
  font-size: 0.85rem;
  margin: var(--sp-5) auto var(--sp-3);
  max-width: 420px;
}
.wiz-or::before, .wiz-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Option tiles (image upload / type) */
.wiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  max-width: 420px;
  margin: 0 auto var(--sp-5);
}
@media (max-width: 480px) { .wiz-options { grid-template-columns: 1fr; } }
.wiz-option {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--sp-3);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--text);
  transition: all var(--quick);
}
.wiz-option:hover { border-color: var(--line-2); background: rgba(255,255,255,0.04); }
.wiz-option svg { width: 22px; height: 22px; color: var(--text-dim); flex-shrink: 0; }
.wiz-option-title { font-size: 0.92rem; font-weight: 600; line-height: 1.2; }
.wiz-option-sub   { font-size: 0.78rem; color: var(--text-faint); margin-top: 2px; }

/* Mini spinner for "Reading photo…" */
.mini-spinner {
  width: 22px; height: 22px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Privacy note */
.wiz-privacy {
  display: inline-flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.78rem;
  color: var(--text-faint);
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.45;
}
.wiz-privacy svg { flex-shrink: 0; margin-top: 2px; }

/* Review state — transcript block */
.wiz-transcript {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: var(--sp-4);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: left;
  margin: 0 auto var(--sp-4);
  max-width: 460px;
  white-space: pre-wrap;
  color: var(--text);
}
.wiz-transcript::before {
  content: "“";
  color: var(--accent);
  font-size: 2.2rem;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 4px;
}
.wiz-transcript-edit {
  width: 100%;
  max-width: 460px;
  margin: 0 auto var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: var(--sp-3);
  border-radius: var(--r-3);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.55;
  outline: none;
  resize: vertical;
  min-height: 140px;
  display: block;
}
.wiz-transcript-edit:focus { border-color: var(--accent); }

.wiz-actions {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-3);
}
.wiz-actions .btn-lg { min-width: 220px; }

/* Claim success */
.claim-success { text-align: center; }
.claim-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(52,211,153,0.15);
  color: var(--success);
  display: grid; place-items: center;
  margin: 0 auto;
  animation: pop var(--gentle) var(--ease);
}
@keyframes pop {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); }
}
.claim-url {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-2);
  padding: var(--sp-3) var(--sp-3) var(--sp-3) var(--sp-4);
  margin: var(--sp-4) auto;
  max-width: 380px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text);
  word-break: break-all;
  text-align: left;
  transition: border-color var(--quick);
}
.claim-url.is-copied { border-color: var(--success); }
.claim-url-text { flex: 1; min-width: 0; }
.claim-url-copy {
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 6px;
  cursor: pointer;
  border-radius: 8px;
  display: grid; place-items: center;
  transition: color var(--quick), background var(--quick);
}
.claim-url-copy:hover { color: var(--text); background: var(--surface); }
.claim-actions {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
@media (max-width: 480px) { .claim-actions { flex-direction: column; } }

/* Wizard preview · floating luxury card stage */
.preview-card-stage {
  display: grid;
  place-items: center;
  perspective: 1500px;
  margin: var(--sp-4) auto var(--sp-3);
  padding: var(--sp-3) 0 var(--sp-2);
}
.preview-card-stage .nfc-card {
  /* Subtler rotation than landing — keeps name perfectly readable */
  transform: rotateX(4deg) rotateY(-6deg);
  animation: previewFloat 5s ease-in-out infinite;
}
.preview-card-stage .nfc-card:hover {
  transform: rotateX(2deg) rotateY(-2deg) translateY(-2px);
}
@keyframes previewFloat {
  0%, 100% { transform: rotateX(4deg) rotateY(-6deg) translateY(0); }
  50%      { transform: rotateX(4deg) rotateY(-6deg) translateY(-6px); }
}

/* Add-to-Wallet CTA right under the card */
.preview-wallet-wrap {
  display: flex;
  justify-content: center;
  margin: var(--sp-4) auto 0;
  padding: 0 var(--sp-3);
}
.wallet-cta {
  width: min(420px, 92%);
  height: 56px;
  font-size: 1rem;
  letter-spacing: -0.005em;
  gap: var(--sp-2);
}
.wallet-cta svg { flex-shrink: 0; }

/* Bio text under the card */
.preview-bio {
  max-width: 460px;
  margin: var(--sp-5) auto var(--sp-4);
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}

/* Intent chips when standalone (not nested in a profile card) */
.preview-intent {
  max-width: 460px;
  margin: 0 auto;
  padding: 0;
}

/* Primary CTA when standalone */
.preview-primary {
  max-width: 460px;
  margin: var(--sp-4) auto var(--sp-3);
  padding: 0;
}

/* Extracted meta when standalone */
.preview-meta-wrap {
  max-width: 460px;
  margin: 0 auto;
}
.preview-meta-wrap .preview-meta {
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  background: var(--surface);
  margin-top: 0;
  overflow: hidden;
}
.preview-meta-wrap .preview-meta:empty { display: none; }

/* Preview state — one-tap action row */
.wiz-onetap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-2);
  max-width: 480px;
  margin: var(--sp-5) auto var(--sp-3);
}
@media (max-width: 480px) { .wiz-onetap { grid-template-columns: 1fr; } }
.otap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  padding: var(--sp-3);
  cursor: pointer;
  font-family: inherit;
  color: var(--text);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  transition: all var(--quick);
  text-decoration: none;
}
.otap:hover { border-color: var(--accent); transform: translateY(-1px); color: var(--text); }
.otap svg { width: 22px; height: 22px; color: var(--accent); margin-bottom: 2px; }
.otap span { font-weight: 600; font-size: 0.92rem; }
.otap small { color: var(--text-faint); font-size: 0.74rem; }

/* Old create-grid (kept for any remaining selectors) */
.create-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) {
  .create-grid { grid-template-columns: 1fr; gap: 28px; }
}

.create-input textarea {
  width: 100%;
  min-height: 220px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.55;
  padding: 16px;
  border-radius: 16px;
  resize: vertical;
  outline: none;
  transition: border-color .15s;
}
.create-input textarea:focus { border-color: var(--accent); }

.wiz-helpers {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px;
}
.wiz-helpers .chip {
  height: 32px; padding: 0 12px; font-size: 0.82rem;
  background: var(--bg-elev);
}

.wiz-go {
  width: 100%;
  margin-top: 18px;
  height: 54px;
}

.create-preview { position: sticky; top: 80px; }
@media (max-width: 900px) { .create-preview { position: static; } }

.create-empty {
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-xl);
  background: var(--bg-elev);
  padding: 60px 28px;
  text-align: center;
  display: grid;
  place-items: center;
}
.create-empty-card { max-width: 280px; }
.create-empty-icon {
  width: 76px; height: 76px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  margin: 0 auto 18px;
}

/* Preview meta strip — show extracted fields */
.preview-meta {
  display: grid;
  gap: 1px;
  margin: 6px 0 0;
  background: var(--border);
  border-top: 1px solid var(--border);
}
.pv-meta-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 24px;
  background: var(--bg-elev);
  align-items: center;
}
.pv-meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}
.pv-meta-value {
  font-size: 0.88rem;
  color: var(--text);
  word-break: break-all;
}

/* Claim form */
.claim .handle-input {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.claim .handle-input:focus-within { border-color: var(--accent); }
.claim .handle-prefix {
  color: var(--text-faint);
  font-size: 0.82rem;
  padding: 0 10px;
  white-space: nowrap;
  font-family: var(--font-mono);
}
.claim .handle-input input {
  border: none;
  background: transparent;
  padding: 10px 12px 10px 0;
  flex: 1;
  min-width: 0;
}

/* ── Collapsible AI panel ────────────────────────────────── */
.ai-extra {
  margin-top: 14px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.ai-extra > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ai-extra > summary::-webkit-details-marker { display: none; }
.ai-extra-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 0.95rem;
}
.ai-extra-hint {
  font-size: 0.78rem; color: var(--text-faint);
}
.ai-extra[open] .ai-extra-hint { display: none; }
.ai-extra[open] > summary {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.ai-extra .chat-card {
  margin: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.profile-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 24px 24px;
}
.link-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all .15s;
}
.link-tile:hover { background: var(--surface-strong); color: var(--text); transform: translateY(-1px); }
.link-tile svg { width: 20px; height: 20px; }

/* Chat */
.chat-card {
  margin-top: 18px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.chat-head .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}
.chat-head-title { font-weight: 600; font-size: 0.95rem; }
.chat-head-sub { font-size: 0.78rem; color: var(--text-faint); margin-top: 2px; }

.chat-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 60vh;
  max-height: 60dvh;
  min-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar { width: 8px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.msg {
  display: flex;
  gap: 10px;
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.msg.user { flex-direction: row-reverse; }
.msg-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.94rem;
  line-height: 1.45;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.msg.ai .msg-bubble {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.msg.user .msg-bubble {
  background: var(--grad-brand);
  color: #0a0a0f;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-strong);
  display: grid; place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--text-dim);
}
.msg.ai .msg-avatar {
  background: var(--grad-brand);
  color: #0a0a0f;
}

.typing {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
}
.typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
  animation: typing 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-suggestions {
  padding: 0 16px 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.suggestion {
  font-size: 0.82rem;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-dim);
  transition: all .15s;
}
.suggestion:hover { background: var(--surface-strong); color: var(--text); }

.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
  background: var(--bg-elev-2);
  /* Lift above the iPhone home indicator */
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}
.chat-input input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px; /* prevents iOS auto-zoom on focus */
  outline: none;
  transition: border-color .15s;
  min-width: 0;
}
.chat-input input:focus { border-color: var(--accent); }
.chat-input button {
  height: 44px; width: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  background: var(--grad-brand);
  color: #0a0a0f;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .12s;
}
.chat-input button:hover { transform: scale(1.05); }
.chat-input button:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-elev-2);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  z-index: 100;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============ Dashboard ============ */
.dash {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-4);
  padding: var(--sp-5) 0 var(--sp-7);
}
@media (max-width: 960px) {
  .dash { grid-template-columns: 1fr; gap: var(--sp-3); padding: var(--sp-3) 0 var(--sp-6); }
}

.panel {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}
@media (min-width: 600px) { .panel { padding: var(--sp-5); } }
.panel h2 { font-size: 1.25rem; margin-bottom: 6px; }
.panel-sub { font-size: 0.9rem; color: var(--text-dim); margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 96px; }
.field-help { font-size: 0.8rem; color: var(--text-faint); margin-top: 6px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.link-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 8px;
  margin-bottom: 8px;
}
.link-row select, .link-row input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 12px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}
.link-row button {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 38px;
  border-radius: var(--radius);
  cursor: pointer;
}
.link-row button:hover { color: var(--danger); border-color: var(--danger); }

.qr {
  background: white;
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}
.qr img, .qr svg { width: 100%; height: 100%; }

.preview-wrap {
  position: sticky;
  top: 80px;
}

/* Utilities */
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.gap-sm { gap: 6px; }
.muted { color: var(--text-dim); }
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
