/* =========================================================================
   SlizeLink — home page stylesheet
   Loaded only on the landing page, after base.css. Everything here is
   specific to home.html: hero, waitlist form, feature bento, use-case
   rail, analytics, link-in-bio preview, QR section, benefits, on-page FAQ,
   trust strip, final CTA. Tokens, bands, buttons, navbar and footer all
   live in base.css.
   ========================================================================= 

/* -------------------------------------------------------------------------
   6. HERO — h1 + phone mockup unchanged; pill swapped for the page kicker
   ------------------------------------------------------------------------- */
.hero-section {
  background: var(--violet-deep);
  position: relative;
  overflow: hidden;
}

.hero-content { animation: fadeInUp 0.8s ease-out; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Same rule-and-caps treatment as every other section kicker. No glow. */
.hero-kicker {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.display-3 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.2;
  color: var(--text-primary);
}

.lead { font-size: 1.125rem; color: var(--text-secondary); }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

.btn-hero-ghost {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-hero-ghost:hover, .btn-hero-ghost:focus-visible {
  background: #150925;
  border-color: #150925;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.55);
}

.hero-section :focus-visible { outline-color: #fff; }

/* --- phone mockup: unchanged --- */
.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: phoneFloat 6s infinite ease-in-out;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.phone-frame {
  position: relative;
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  z-index: 3;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.phone-content {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.phone-icon {
  width: 100px;
  height: 100px;
  background: var(--purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
  margin-bottom: 2rem;
  animation: iconPulse 3s infinite ease-in-out;
}

@keyframes iconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.phone-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}

.phone-buttons { display: flex; flex-direction: column; gap: 1rem; width: 100%; }

.phone-button {
  background: var(--violet);
  color: #ffffff;
  padding: 1rem;
  border-radius: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  animation: buttonSlide 2s infinite ease-in-out;
}

.phone-button:nth-child(1) { animation-delay: 0s; }
.phone-button:nth-child(2) { animation-delay: 0.2s; }
.phone-button:nth-child(3) { animation-delay: 0.4s; }

@keyframes buttonSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: rgba(138, 43, 226, 0.28);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  animation: glowPulse 4s infinite ease-in-out;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

@media (max-width: 991.98px) {
  .hero-section .min-vh-100 { min-height: auto !important; }
  .display-3 { font-size: 2.5rem; }
  .phone-mockup { display: none; }
}
@media (max-width: 767.98px) {
  .display-3 { font-size: 2rem; }
  .lead { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
}


/* -------------------------------------------------------------------------
   7. WAITLIST
   ------------------------------------------------------------------------- */
.waitlist-section { padding-block: var(--s-7); background: var(--white); }

.waitlist-section form,
.waitlist-section #form-status,
.waitlist-section .social-proof {
  max-width: 40rem;
  margin-inline: auto;
}

.waitlist-section .form-label {
  display: block;
  margin-bottom: var(--s-2);
  font-weight: 600;
  color: var(--ink);
}

.input-group { border-radius: var(--r-md); }
.input-group.shadow { box-shadow: 0 10px 26px -14px rgba(36, 16, 70, 0.3) !important; }

.input-group .form-control {
  border: 2px solid var(--line-strong);
  border-right: 0;
  border-radius: var(--r-md) 0 0 var(--r-md);
  color: var(--ink);
  font-size: 1rem;
}
.input-group .form-control::placeholder { color: #8b83a0; }
.input-group .form-control:focus {
  border-color: var(--violet);
  box-shadow: none;
  outline: 3px solid rgba(138, 43, 226, 0.28);
  outline-offset: -1px;
  z-index: 3;
}
.input-group .form-control[aria-invalid="true"] { border-color: var(--danger); }
.input-group .form-control[aria-invalid="true"]:focus { outline-color: rgba(180, 35, 24, 0.28); }

.join-btn {
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding-inline: 1.5rem;
  white-space: nowrap;
}
.join-btn .btn-text::after { content: 'Join the Waitlist'; }
.join-btn .btn-text.loading::after { content: 'Joining…'; }
.join-btn:hover { transform: none; box-shadow: none; }

@media (max-width: 575.98px) {
  .join-btn .btn-text::after { content: 'Join'; }
  .join-btn .btn-text.loading::after { content: ''; }
}

.field-error, .field-help { margin-top: var(--s-2); font-size: 0.875rem; }
.field-error { color: var(--danger); font-weight: 600; }
.field-help { color: var(--ink-soft); }

.hp-field {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.alert {
  margin-top: var(--s-4);
  padding: var(--s-4);
  border: 2px solid;
  border-radius: var(--r-md);
  text-align: left;
}
.alert-icon { margin-right: var(--s-3); flex-shrink: 0; }
.alert-heading { font-size: 1rem; font-weight: 700; margin-bottom: 0.15rem; }
.alert p { font-size: 0.9375rem; }
.alert-success { background: var(--success-bg); border-color: var(--success); color: var(--success); }
.alert-danger  { background: var(--danger-bg);  border-color: var(--danger);  color: var(--danger); }

.social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

.avatars { display: flex; align-items: center; }

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid var(--white);
  margin-left: -0.5rem;
  object-fit: cover;
  background: var(--surface-2);
  transition: var(--transition);
}
.avatar:first-child { margin-left: 0; }
.avatar:hover { transform: translateY(-4px); z-index: 10; }

/* Bootstrap gives <p> a bottom margin, which pushed this text above the
   avatars instead of centring with them. Zero it out explicitly. */
.social-proof__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--ink-soft);
}
.social-proof__text strong { color: var(--violet-deep); font-weight: 700; }


/* -------------------------------------------------------------------------
   8. FEATURES — bento on the dark band
   ------------------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }

@media (min-width: 768px) {
  .bento { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
  /* Explicit here too — relying on auto-placement order was the original
     bug: the same DOM order that looks fine at 4 columns can silently
     stack the two outline tiles edge-to-edge at 2 columns instead. */
  .tile--demo      { grid-column: 1 / 3; grid-row: 1; }
  .tile--branded   { grid-column: 1; grid-row: 2; }
  .tile--analytics { grid-column: 2; grid-row: 2; }
  .tile--qr        { grid-column: 1; grid-row: 3; }
  .tile--bio       { grid-column: 2; grid-row: 3; }
  .tile--wide      { grid-column: 1 / 3; grid-row: 4; }
}
@media (min-width: 992px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  /* Explicit positions, not auto-placement. The two outline-style tiles
     (analytics, qr) previously separated only by luck: the demo tile's
     2x2 span happened to push them apart at 4 columns, but that same DOM
     order collapsed them back-to-back at 1 and 2 columns. Pinning every
     tile removes the guesswork at every width. */
  .tile--demo      { grid-column: 1 / 3; grid-row: 1 / 3; }
  .tile--branded   { grid-column: 3 / 4; grid-row: 1 / 2; }
  .tile--analytics { grid-column: 4 / 5; grid-row: 1 / 2; }
  .tile--qr        { grid-column: 3 / 4; grid-row: 2 / 3; }
  .tile--bio       { grid-column: 4 / 5; grid-row: 2 / 3; }
  .tile--wide      { grid-column: 1 / 5; grid-row: 3 / 4; }
}

.tile {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-5);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  transition: var(--transition);
}
.tile:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-8px);
  box-shadow: var(--lift-dark);
}

/* Two chip treatments: solid violet, or a plain outline. */
.tile-chip {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  flex-shrink: 0;
  transition: var(--transition);
}
.tile-chip--solid { background: var(--violet); color: #fff; border: 1px solid var(--violet); }
.tile-chip--outline {
  background: var(--white);
  border: 1px solid var(--accent);
  color: var(--ink);
}
.tile:hover .tile-chip { transform: scale(1.08) rotate(-4deg); }
.tile:hover .tile-chip--outline { border-color: var(--accent); }

.tile-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; color: #fff; }
.tile-text { font-size: 0.9375rem; color: var(--body-on-dark); text-wrap: pretty; }

.tile--demo { justify-content: space-between; }
.tile--demo .tile-top { display: flex; flex-direction: column; gap: var(--s-3); }
.tile--demo .tile-title { font-size: 1.5rem; }

.demo { margin-top: var(--s-5); }

.demo-bar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4);
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  font-size: 0.9375rem;
}
.demo-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-scheme { color: var(--body-on-dark); }
.demo-slug { color: var(--white); font-weight: 700; }

/* Real button — copies the link to the clipboard */
.demo-copy {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-left: auto;
  min-height: 36px;
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}
.demo-copy:hover { background: var(--violet); border-color: var(--violet); }
.demo-copy.is-copied { background: var(--violet); border-color: var(--violet); color: var(--white); }
.demo-copy__icon { flex-shrink: 0; }

.demo-fan {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
}
.demo-fan::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--s-5);
  width: 1px;
  height: var(--s-4);
  background: rgba(255, 255, 255, 0.3);
}

.demo-dest {
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  transition: var(--transition);
}
.tile--demo:hover .demo-dest { border-color: rgba(255, 255, 255, 0.4); }
.demo-dest:hover { background: var(--violet); border-color: var(--violet); transform: translateY(-3px); }

.tile--wide { gap: var(--s-4); }
@media (min-width: 768px) {
  .tile--wide { flex-direction: row; align-items: center; gap: var(--s-5); }
  .tile--wide .tile-wide-body { flex: 1 1 auto; }
  .tile--wide .tile-tags { flex: 0 0 auto; }
}

.tile-tags { display: flex; flex-wrap: wrap; gap: var(--s-2); }

.mini-tag {
  padding: 0.3rem 0.7rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition);
}
.mini-tag:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
  transform: translateY(-3px);
}


/* -------------------------------------------------------------------------
   9. USE CASES — vertical accordion rail beside a stack of screens.
   Replaces the horizontally scrolling tab strip: that produced a scrollbar
   on narrow viewports, which the guidelines flag as high severity.
   Each persona carries its own tone from the harmony palette; the rail and
   the phone recolour together.
   ------------------------------------------------------------------------- */
.cases { display: grid; grid-template-columns: 1fr; gap: var(--s-7); align-items: start; }
@media (min-width: 992px) {
  .cases { grid-template-columns: 1fr 280px; gap: var(--s-8); }
}

/* --- tones --- */
[data-tone="violet"]  { --tone: var(--violet);  --tone-deep: #6a11b8; --tone-on: #ffffff; }
[data-tone="indigo"]  { --tone: var(--indigo);  --tone-deep: #2a1bb0; --tone-on: #ffffff; }
[data-tone="magenta"] { --tone: #b31eb0;        --tone-deep: #8a1489; --tone-on: #ffffff; }
[data-tone="mint"]    { --tone: var(--mint);    --tone-deep: #0e7a4b; --tone-on: var(--ink); }
[data-tone="pink"]    { --tone: #c01a6b;        --tone-deep: #92104f; --tone-on: #ffffff; }

/* --- rail --- */
.case-rail { border-top: 1px solid var(--line); }

.case-item {
  position: relative;
  border-bottom: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease);
}
/* the tone bar down the left edge of the open item */
.case-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--tone);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 420ms var(--ease-soft);
}
.case-item.is-active::before { transform: scaleY(1); }
.case-item.is-active { background: rgba(0, 0, 0, 0.015); }

.case-head {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  width: 100%;
  min-height: 64px;
  padding: var(--s-4) var(--s-3) var(--s-4) var(--s-5);
  background: none;
  border: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.case-head:hover { color: var(--tone-deep); }
.case-head:focus-visible { outline-offset: -3px; }

.case-num {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color var(--dur) var(--ease);
}
.case-item.is-active .case-num { color: var(--tone-deep); }

.case-label { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.case-label__main { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.case-label__hint {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-item.is-active .case-label__hint { color: var(--tone-deep); }

.case-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  color: var(--ink-soft);
  transition: var(--transition);
}
.case-arrow svg { width: 13px; height: 13px; }
.case-head:hover .case-arrow { border-color: var(--tone); color: var(--tone-deep); }
.case-item.is-active .case-arrow {
  background: var(--tone);
  border-color: var(--tone);
  color: var(--tone-on);
  transform: rotate(90deg);
}

/* grid-rows 0fr to 1fr animates height without measuring anything in JS */
.case-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 420ms var(--ease-soft);
}
.js .case-body { grid-template-rows: 0fr; }
.js .case-item.is-active .case-body { grid-template-rows: 1fr; }

.case-body__inner { overflow: hidden; }
.js .case-body__inner > * {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 360ms var(--ease-soft), transform 360ms var(--ease-soft);
}
.js .case-item.is-active .case-body__inner > * { opacity: 1; transform: none; }
.js .case-item.is-active .case-title { transition-delay: 90ms; }
.js .case-item.is-active .case-text { transition-delay: 140ms; }
.js .case-item.is-active .case-points { transition-delay: 190ms; }

.case-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 var(--s-5) var(--s-2);
  color: var(--tone-deep);
}
.case-text { margin: 0 var(--s-5) var(--s-3); color: var(--ink-soft); text-wrap: pretty; }

.case-points { list-style: none; padding: 0; margin: 0 var(--s-5) var(--s-5); }
.case-points li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 0.35rem 0;
  font-size: 0.9375rem;
}
.case-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 3px;
  background: var(--tone);
}

/* --- screens: all in one grid cell, so nothing resizes between slides --- */
.case-screens { display: grid; justify-items: center; }
.js .case-screens { min-height: 600px; }

.case-screen { grid-area: 1 / 1; }
.js .case-screen {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 520ms var(--ease-soft),
              transform 520ms var(--ease-soft),
              visibility 0s linear 520ms;
}
.js .case-screen.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 520ms var(--ease-soft),
              transform 520ms var(--ease-soft),
              visibility 0s;
}

/* The phone drifts gently; hover lives on .app-mock so the two never fight. */
.phone-tilt {
  animation: phoneSway 11s ease-in-out infinite;
}

@keyframes phoneSway {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-12px) rotate(1deg); }
}

/* each screen paints its phone in its own tone */
.case-screen .app-mock {
  --pm-brand: var(--tone);
  --pm-cover: var(--tone-deep);
  --pm-on-brand: var(--tone-on);
}

/* -------------------------------------------------------------------------
   PHONE MOCK — one component, used by the use-case slides and the bio
   preview. Same physical frame as the hero: 280x560, 12px bezel, 40px radius.
   Colours come from --pm-brand so the bio phone can theme itself.
   ------------------------------------------------------------------------- */
.app-mock {
  --pm-brand: var(--violet);
  --pm-cover: var(--violet-deep);
  --pm-on-brand: #ffffff;

  position: relative;
  width: 280px;
  max-width: 100%;
  height: 560px;
  padding: 12px;
  background: #1a1a1a;
  border-radius: 40px;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.09);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.app-mock:hover { box-shadow: 0 40px 78px -30px rgba(0, 0, 0, 0.75); }

.app-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  z-index: 4;
}

.pm-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
}

/* --- status bar --- */
.pm-status {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.1rem 0.15rem;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.pm-time { font-variant-numeric: tabular-nums; }
.pm-sys { display: inline-flex; align-items: center; gap: 5px; }
.pm-sig { width: 15px; height: 10px; }
.pm-wifi { width: 14px; height: 10px; }
.pm-bat { width: 22px; height: 10px; }

/* --- cover artwork, drawn in CSS so there is no image to load --- */
.pm-cover {
  position: absolute;
  inset: 0 0 auto;
  height: 112px;
  background: var(--pm-cover);
  overflow: hidden;
  transition: background-color 700ms var(--ease-soft);
}
.pm-cover span { position: absolute; display: block; border-radius: 50%; }

.pm-cover[data-art="waves"] span {
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}
.pm-cover[data-art="waves"] span:nth-child(1) { width: 150px; height: 150px; top: 12px;  right: -40px; }
.pm-cover[data-art="waves"] span:nth-child(2) { width: 104px; height: 104px; top: 36px;  right: -18px; }
.pm-cover[data-art="waves"] span:nth-child(3) { width: 60px;  height: 60px;  top: 58px;  right: 4px;  background: rgba(255, 255, 255, 0.14); border: 0; }

.pm-cover[data-art="grid"] span {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
}
.pm-cover[data-art="grid"] span:nth-child(1) { width: 54px; height: 54px; top: 18px; right: 16px; }
.pm-cover[data-art="grid"] span:nth-child(2) { width: 54px; height: 54px; top: 18px; right: 80px; opacity: 0.6; }
.pm-cover[data-art="grid"] span:nth-child(3) { width: 118px; height: 26px; top: 82px; right: 16px; opacity: 0.4; }

.pm-cover[data-art="poster"] span { border-radius: 3px; background: rgba(255, 255, 255, 0.18); }
.pm-cover[data-art="poster"] span:nth-child(1) { width: 88px; height: 10px; top: 30px; left: 16px; }
.pm-cover[data-art="poster"] span:nth-child(2) { width: 132px; height: 10px; top: 48px; left: 16px; opacity: 0.65; }
.pm-cover[data-art="poster"] span:nth-child(3) { width: 62px;  height: 10px; top: 66px; left: 16px; opacity: 0.4; }

/* --- profile --- */
.pm-head { position: relative; z-index: 2; flex-shrink: 0; padding: 54px 1rem 0; text-align: center; }

.pm-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 0.4rem;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--pm-brand);
  color: var(--pm-on-brand);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 700ms var(--ease-soft), color 700ms var(--ease-soft);
}
.pm-check {
  position: absolute;
  right: -3px;
  bottom: -1px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
}
.pm-check svg { width: 9px; height: 9px; }

.pm-name { font-size: 0.9375rem; font-weight: 700; line-height: 1.2; }
.pm-handle { font-size: 0.625rem; font-weight: 600; color: var(--violet-deep); letter-spacing: 0.01em; }
.pm-bio { margin-top: 0.25rem; font-size: 0.6875rem; line-height: 1.35; color: var(--ink-soft); }

.pm-stats {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}
.pm-stat { display: flex; flex-direction: column; font-size: 0.5625rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.pm-stat strong { font-size: 0.8125rem; font-weight: 700; color: var(--ink); letter-spacing: 0; text-transform: none; }

/* --- link rows --- */
.pm-links {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0 0.8rem;
  display: grid;
  gap: 0.35rem;
  align-content: start;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.pm-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.pm-link:hover { border-color: var(--pm-brand); transform: translateX(3px); }

.pm-link__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 7px;
  background: var(--surface-2);
  color: var(--violet-deep);
  transition: background-color 700ms var(--ease-soft), color 700ms var(--ease-soft);
}
.pm-link__icon svg { width: 14px; height: 14px; }

.pm-link__body { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; text-align: left; }
.pm-link__title { font-size: 0.6875rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.pm-link__sub {
  font-size: 0.5625rem;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pm-link__count {
  flex-shrink: 0;
  font-size: 0.5625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.pm-link--lead {
  background: var(--pm-brand);
  border-color: var(--pm-brand);
  transition: background-color 700ms var(--ease-soft), border-color 700ms var(--ease-soft), transform var(--dur) var(--ease);
}
.pm-link--lead .pm-link__title,
.pm-link--lead .pm-link__count { color: var(--pm-on-brand); }
.pm-link--lead .pm-link__sub { color: var(--pm-on-brand); opacity: 0.78; }
.pm-link--lead .pm-link__icon { background: rgba(255, 255, 255, 0.22); color: var(--pm-on-brand); }
.app-mock[data-theme="mint"] .pm-link--lead .pm-link__icon { background: rgba(36, 16, 70, 0.14); }

/* --- inline QR row, live-events slide --- */
.pm-qr {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin: 0.55rem 0.8rem 0;
  padding: 0.4rem 0.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
}
.pm-qr__code {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 4px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pm-qr__code::before,
.pm-qr__code::after {
  content: "";
  position: absolute;
  display: block;
}
.pm-qr__code::before {
  top: 3px;
  left: 3px;
  width: 10px;
  height: 10px;
  background: var(--ink);
  box-shadow:
    18px 0 0 var(--ink),
    0 18px 0 var(--ink),
    18px 18px 0 var(--violet);
}
.pm-qr__code::after {
  top: 14px;
  left: 14px;
  width: 6px;
  height: 6px;
  background: var(--ink);
  box-shadow:
    -5px 3px 0 -1px var(--ink),
    7px -4px 0 -1px var(--ink),
    5px 8px 0 -1px var(--ink);
}
.pm-qr__body { display: flex; flex-direction: column; font-size: 0.5625rem; color: var(--ink-soft); text-align: left; }
.pm-qr__body strong { font-size: 0.6875rem; font-weight: 700; color: var(--ink); }

/* --- dock --- */
.pm-dock {
  flex-shrink: 0;
  margin-top: auto;
  padding: 0.55rem 0.85rem 0.7rem;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.pm-socials { display: inline-flex; gap: 0.55rem; }
.pm-social {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--pm-brand);
  color: var(--pm-on-brand);
  opacity: 0.9;
  transition: background-color 700ms var(--ease-soft), color 700ms var(--ease-soft);
}
.pm-social svg { width: 12px; height: 12px; }
.pm-brand {
  display: block;
  margin-top: 0.35rem;
  line-height: 1;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- bio preview themes ride on the same component --- */
.bio-phone[data-theme="violet"]  { --pm-brand: var(--violet);  --pm-cover: var(--violet-deep); --pm-on-brand: #fff; }
.bio-phone[data-theme="indigo"]  { --pm-brand: var(--indigo);  --pm-cover: #2a1bb0;            --pm-on-brand: #fff; }
.bio-phone[data-theme="magenta"] { --pm-brand: var(--magenta); --pm-cover: #a81ba6;            --pm-on-brand: #fff; }
.bio-phone[data-theme="mint"]    { --pm-brand: var(--mint);    --pm-cover: #0e7a4b;            --pm-on-brand: var(--ink); }
.bio-phone[data-theme="ink"]     { --pm-brand: var(--ink);     --pm-cover: #120726;            --pm-on-brand: #fff; }


/* -------------------------------------------------------------------------
   9b. ANALYTICS — Smart link intelligence.
   Icon treatments carried over from the previous home page: light, white
   translucent borders throughout. Violet and accent appear only as small
   filled highlights (data points, bar fills, the scan line), never as
   borders or wells. Keyframes are uniquely named: the original stylesheet
   declared @keyframes pulse twice, so the second silently won.
   ------------------------------------------------------------------------- */
.analytics-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
@media (min-width: 640px) { .analytics-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); } }
@media (min-width: 992px) { .analytics-grid { grid-template-columns: repeat(3, 1fr); } }

.analytics-card {
  display: flex;
  flex-direction: column;
  padding: var(--s-6) var(--s-5) var(--s-5);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  text-align: center;
  transition: var(--transition);
}
.analytics-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-8px);
  box-shadow: var(--lift-dark);
}
/* two columns leaves a third card stranded, so centre it */
@media (min-width: 640px) and (max-width: 991.98px) {
  .analytics-card:last-child { grid-column: 1 / -1; max-width: 26rem; margin-inline: auto; width: 100%; }
}

.card-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto var(--s-5);
}

.analytics-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; color: #fff; }
.analytics-text {
  margin-top: var(--s-2);
  font-size: 0.9375rem;
  color: var(--body-on-dark);
  text-wrap: pretty;
}

/* --- Global reach: expanding rings --- */
.geo-pulse {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}
.pulse-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  opacity: 0;
  animation: ringPulse 2.4s ease-out infinite;
}
.pulse-ring--late { animation-delay: 1.2s; }

@keyframes ringPulse {
  0%   { transform: scale(0.82); opacity: 0.9; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* --- Device matrix: three tiles floating out of phase --- */
/* width:auto so the three 44px tiles are not clipped by the 96px icon box */
.device-harmony { width: auto; gap: var(--s-2); }

.device {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  animation: deviceFloat 3.2s ease-in-out infinite;
  transition: var(--transition);
}
.device:nth-child(1) { animation-delay: 0.1s; }
.device:nth-child(2) { animation-delay: 0.35s; }
.device:nth-child(3) { animation-delay: 0.6s; }
.analytics-card:hover .device { border-color: rgba(255, 255, 255, 0.34); }

@keyframes deviceFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* --- Link insights: orbiting dashed rings with drifting data points --- */
.engagement-visual { width: 96px; height: 96px; }

.data-sphere {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
}
.ring {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: spherePulse 3.4s ease-in-out infinite;
}
.ring--inner { inset: 18%; animation-delay: 0.6s; border-color: rgba(255, 255, 255, 0.18); }

@keyframes spherePulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50%      { transform: scale(1.06); opacity: 0.2; }
}

.data-point {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
  animation: dataGlow 2.2s ease-in-out infinite alternate;
}
.data-point--late { animation-delay: 0.7s; }

@keyframes dataGlow {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 1; }
}

/* --- shared readouts --- */
.mini-bars { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-2); }
.mini-bars li {
  display: grid;
  grid-template-columns: 4.25rem 1fr 2.25rem;
  align-items: center;
  gap: var(--s-3);
}
.mini-bars__name { font-size: 0.75rem; font-weight: 600; color: #fff; text-align: left; }
.mini-bars__track { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.mini-bars__fill {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: 3px;
  background: var(--violet);
  transition: width 800ms var(--ease-soft);
}
.js .reveal:not(.is-visible) .mini-bars__fill { width: 0; }
.mini-bars__pct {
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--body-on-dark);
}

/* Intensity strip, deliberately not a bar chart: the benefits panel already
   uses bars and two of them side by side read as a repeat. */
.heat {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-top: var(--s-5);
}
.heat__cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--violet);
  opacity: var(--i, 0.2);
  transition: transform 460ms var(--ease-soft), opacity 460ms var(--ease-soft);
}
.heat__cell--peak { background: var(--accent); opacity: 1; }
.js .reveal:not(.is-visible) .heat__cell { transform: scale(0.2); opacity: 0; }
.heat__cell:nth-child(3n)   { transition-delay: 60ms; }
.heat__cell:nth-child(3n+1) { transition-delay: 130ms; }
.heat__cell:nth-child(3n+2) { transition-delay: 200ms; }

.heat__scale {
  display: flex;
  justify-content: space-between;
  margin-top: var(--s-2);
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

.peak__label {
  margin-top: var(--s-4);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

/* --- the scanning line from the old build --- */
.discovery-line {
  position: relative;
  display: block;
  width: 60%;
  height: 2px;
  margin: var(--s-5) auto 0;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.discovery-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: var(--violet);
  animation: discoveryScan 3.2s ease-in-out infinite;
}
.analytics-card:hover .discovery-line::after { background: var(--accent); }

@keyframes discoveryScan {
  0%   { left: -30%; }
  50%  { left: 100%; }
  100% { left: -30%; }
}


/* -------------------------------------------------------------------------
   9c. LINK IN BIO — live theme switcher
   ------------------------------------------------------------------------- */
.bio-layout { display: grid; grid-template-columns: 1fr; gap: var(--s-7); align-items: center; }
@media (min-width: 992px) {
  .bio-layout { grid-template-columns: 1fr 280px; gap: var(--s-8); }
}

.bio-copy .band-sub { margin-bottom: var(--s-5); }

.bio-points { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.bio-point {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.9375rem;
  font-weight: 600;
}
.bio-point svg { flex-shrink: 0; color: var(--violet); }

.bio-stage { display: flex; justify-content: center; }

/* --- bio phone motion -------------------------------------------------
   Deliberately a different gesture from the use-case phones. This one
   floats and rocks slightly while the link lifts are timed against it. */
.bio-orbit {
  animation: bioOrbit 14s ease-in-out infinite;
}

@keyframes bioOrbit {
  0%   { transform: translateY(0) rotate(-1.5deg) scale(0.982); }
  30%  { transform: translateY(-8px) rotate(-0.5deg) scale(1); }
  52%  { transform: translateY(-13px) rotate(0.7deg) scale(1.006); }
  76%  { transform: translateY(-6px) rotate(-0.3deg) scale(1); }
  100% { transform: translateY(0) rotate(-1.5deg) scale(0.982); }
}

/* A flat highlight sweeps across the glass. */
.bio-phone .pm-screen::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -32%;
  width: 18%;
  z-index: 6;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.38);
  transform: skewX(-12deg);
  opacity: 0;
  animation: bioGlare 14s ease-in-out infinite;
}

@keyframes bioGlare {
  0%, 34%   { left: -32%; opacity: 0; }
  44%       { opacity: 0.55; }
  58%, 100% { left: 114%; opacity: 0; }
}

/* Each row takes a turn lifting, so the list reads as reorderable rather
   than as a static picture. One row is raised at any moment. */
.bio-phone .pm-link { animation: bioLift 9.2s ease-in-out infinite; }
.bio-phone .pm-link:nth-child(1) { animation-delay: 0s; }
.bio-phone .pm-link:nth-child(2) { animation-delay: -2.3s; }
.bio-phone .pm-link:nth-child(3) { animation-delay: -4.6s; }
.bio-phone .pm-link:nth-child(4) { animation-delay: -6.9s; }

@keyframes bioLift {
  0%, 78%, 100% { transform: none; box-shadow: none; }
  84%, 92%      { transform: translateX(4px) scale(1.018); box-shadow: 0 7px 16px -7px rgba(36, 16, 70, 0.4); }
}


/* -------------------------------------------------------------------------
   9d. QR CODES
   ------------------------------------------------------------------------- */
.qr-layout { display: grid; grid-template-columns: 1fr; gap: var(--s-7); align-items: center; }
@media (min-width: 992px) {
  .qr-layout { grid-template-columns: 19rem 1fr; gap: var(--s-8); }
}

.qr-stage { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }

.qr-card {
  width: 100%;
  max-width: 17rem;
  padding: var(--s-5);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.55);
  text-align: center;
  transition: var(--transition);
}
.qr-card:hover { transform: translateY(-8px) rotate(-1.5deg); }

.qr-code {
  position: relative;
  aspect-ratio: 1;
  color: var(--ink);
  overflow: hidden;
  border-radius: var(--r-sm);
}

/* Logo knockout sits in the gap left in the module pattern */
.qr-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 30%;
  height: 30%;
  border-radius: 10px;
  background: var(--violet);
  transition: var(--transition);
}
.qr-card:hover .qr-logo { background: var(--ink); }
.qr-logo .brand-glyph { width: 92%; height: 92%; }

/* A flat scan line moves through the code. */
.qr-scan {
  position: absolute;
  inset-inline: 0;
  top: -18%;
  height: 2px;
  background: rgba(138, 43, 226, 0.5);
  box-shadow: 0 3px 8px rgba(138, 43, 226, 0.22);
  animation: qrScan 3.6s ease-in-out infinite;
}

@keyframes qrScan {
  0%, 100% { top: -18%; }
  50%      { top: 100%; }
}

.qr-card__url {
  margin-top: var(--s-4);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--violet-deep);
  word-break: break-all;
}

.qr-formats { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }

.qr-format {
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--r-sm);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  transition: var(--transition);
}
.qr-format:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.qr-format--note {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.qr-copy .band-sub { color: rgba(255, 255, 255, 0.88); margin-bottom: var(--s-5); }
.qr-copy .kicker--accent { color: #fff; }

.qr-surfaces { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }

.qr-surface {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-4);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  transition: var(--transition);
}
.qr-surface:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(8px);
}

.qr-surface__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.qr-surface__body { display: flex; flex-direction: column; gap: 0.15rem; }
.qr-surface__title { font-size: 0.9375rem; font-weight: 700; color: #fff; }
.qr-surface__text { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.82); }


/* -------------------------------------------------------------------------
   10. BENEFITS
   ------------------------------------------------------------------------- */
.benefits-layout { display: grid; grid-template-columns: 1fr; gap: var(--s-7); align-items: start; }
@media (min-width: 992px) {
  .benefits-layout { grid-template-columns: 1.15fr 1fr; gap: var(--s-8); align-items: center; }
}

.benefits-copy .band-title { margin-bottom: var(--s-6); }

.benefit-list { list-style: none; padding: 0; margin: 0; }

.benefit-item {
  display: flex;
  gap: var(--s-4);
  align-items: baseline;
  padding: var(--s-4);
  border: 1px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  transition: var(--transition);
}
.benefit-item:last-child { border-bottom-color: rgba(255, 255, 255, 0.14); }
/* The shift-right hover, back and no longer beaten by the reveal transform */
.benefit-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateX(8px);
}

.benefit-num {
  flex-shrink: 0;
  min-width: 2.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.benefit-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.1rem; color: #fff; }
.benefit-text { font-size: 0.9375rem; color: var(--body-on-dark); }

.benefits-visual { display: flex; justify-content: center; }

/* The preview panel belongs to the dark band: dark surface, white numerals,
   gold for the delta. No white-on-violet stat box. */
.perf {
  width: 100%;
  max-width: 25rem;
  margin: 0;
  padding: var(--s-5);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  transition: var(--transition);
}
.perf:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--lift-dark);
}

.perf__label {
  margin-bottom: var(--s-4);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.perf__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.perf__url {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.perf__live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--body-on-dark);
}
.perf__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
}

/* Big number carries the weight, instead of a boxed stat strip */
.perf__value {
  margin-top: var(--s-5);
  font-size: clamp(2.5rem, 7vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}

.perf__meta {
  margin-top: var(--s-2);
  font-size: 0.8125rem;
  color: var(--body-on-dark);
}
.perf__delta { color: var(--accent); font-weight: 700; }

/* Chart: bars grow from the baseline, day letters underneath */
.perf__chart {
  display: flex;
  align-items: flex-end;
  gap: var(--s-2);
  height: 92px;
  margin-top: var(--s-5);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.perf__col {
  position: relative;
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: rgba(255, 255, 255, 0.22);
  transform-origin: bottom;
  transition: transform 520ms var(--ease), background-color var(--dur) var(--ease);
}
.perf__col--peak { background: var(--accent); }
.perf:hover .perf__col { background: rgba(255, 255, 255, 0.34); }
.perf:hover .perf__col--peak { background: var(--accent); }

.js .reveal:not(.is-visible) .perf__col { transform: scaleY(0); }
.perf__col:nth-child(1) { transition-delay: 40ms; }
.perf__col:nth-child(2) { transition-delay: 85ms; }
.perf__col:nth-child(3) { transition-delay: 130ms; }
.perf__col:nth-child(4) { transition-delay: 175ms; }
.perf__col:nth-child(5) { transition-delay: 220ms; }
.perf__col:nth-child(6) { transition-delay: 265ms; }
.perf__col:nth-child(7) { transition-delay: 310ms; }

.perf__day {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.25rem;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
}

/* Destination split as thin tracks, no boxed panel */
.perf__split { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); }

.perf__row {
  display: grid;
  grid-template-columns: 5.5rem 1fr 2.5rem;
  align-items: center;
  gap: var(--s-3);
}

.perf__name { font-size: 0.8125rem; font-weight: 600; color: #fff; }

.perf__track {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.perf__fill {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: 3px;
  background: var(--violet);
  transition: width 700ms var(--ease);
}
.js .reveal:not(.is-visible) .perf__fill { width: 0; }

.perf__pct {
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--body-on-dark);
}

@media (max-width: 359.98px) {
  .perf__row { grid-template-columns: 4.5rem 1fr 2.25rem; }
}


/* -------------------------------------------------------------------------
   10b. FAQ — native <details>, so it opens with JS disabled too
   ------------------------------------------------------------------------- */
.faq-layout { display: grid; grid-template-columns: 1fr; gap: var(--s-7); }
@media (min-width: 992px) {
  .faq-layout { grid-template-columns: 20rem 1fr; gap: var(--s-8); align-items: start; }
  .faq-intro { position: sticky; top: 6rem; }
}

.faq-intro .band-sub { margin-bottom: var(--s-5); }

.faq-help {
  padding: var(--s-5);
  background: var(--ink);
  border-radius: var(--r-lg);
  color: #fff;
}
.faq-help__title { font-size: 1rem; font-weight: 700; margin-bottom: 0.15rem; }
.faq-help__text { font-size: 0.875rem; color: var(--body-on-dark); margin-bottom: var(--s-4); }

.faq-help__link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  background: var(--violet);
  border-radius: var(--r-md);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.faq-help__link:hover, .faq-help__link:focus-visible {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}
.faq-help :focus-visible { outline-color: #fff; }

.faq-list { border-top: 2px solid var(--line); }

.faq-item { border-bottom: 2px solid var(--line); transition: var(--transition); }
.faq-item[open] { border-bottom-color: var(--violet); }

.faq-q__text { font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: var(--transition);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--violet-deep); }
.faq-q:focus-visible { outline-offset: -3px; }
.faq-item[open] .faq-q { color: var(--violet-deep); padding-bottom: var(--s-3); }

/* Plus that rotates into a minus */
.faq-mark {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  transition: var(--transition);
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 300ms var(--ease-soft), opacity 200ms var(--ease);
}
.faq-mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q:hover .faq-mark { border-color: var(--violet); }
.faq-item[open] .faq-mark { background: var(--violet); border-color: var(--violet); color: #fff; }
.faq-item[open] .faq-mark::after { transform: translate(-50%, -50%) rotate(0deg); }

.faq-a { padding-bottom: var(--s-5); max-width: 44rem; }
.faq-a p { color: var(--ink-soft); text-wrap: pretty; }
.faq-a strong { color: var(--violet-deep); font-weight: 700; }
.faq-item[open] .faq-a { animation: faqIn 340ms var(--ease-soft); }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}


/* -------------------------------------------------------------------------
   11. TRUST STRIP
   ------------------------------------------------------------------------- */
.trust-section { padding-block: var(--s-6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-4) var(--s-7);
  list-style: none;
  padding: 0;
  margin: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
}
.trust-item:hover { transform: translateY(-2px); }
.trust-item svg { color: var(--violet-deep); flex-shrink: 0; }


/* -------------------------------------------------------------------------
   12. FINAL CTA
   ------------------------------------------------------------------------- */
.final-cta { text-align: center; }

.final-cta__title {
  font-size: clamp(1.875rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: var(--s-3);
}

.final-cta__sub {
  max-width: 32rem;
  margin: 0 auto var(--s-6);
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.88);
}

.final-cta__note { margin-top: var(--s-5); font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }

.final-cta :focus-visible { outline-color: #fff; }


/* -------------------------------------------------------------------------
   14. REDUCED MOTION (home page only)
   base.css already disables generic animation/transition durations and
   resolves .reveal. This only covers home-specific looping/decorative
   motion that needs its own explicit stop.
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.is-visible) .perf__col { transform: none; }
  .js .reveal:not(.is-visible) .perf__fill { width: var(--w, 0%); }
  .js .reveal:not(.is-visible) .mini-bars__fill { width: var(--w, 0%); }
  .js .reveal:not(.is-visible) .heat__cell { transform: none; opacity: var(--i, 1); }
  .phone-tilt, .bio-orbit { animation: none; transform: none; }
  .bio-phone .pm-screen::after { display: none; }
  .bio-phone .pm-link { animation: none; }
  /* the looping ambient bits are pure decoration, so drop them entirely */
  .pulse-ring, .qr-scan, .discovery-line::after, .data-point { display: none; }
}

/* -------------------------------------------------------------------------
   15. PRINT (home page only)
   ------------------------------------------------------------------------- */
@media print {
  .phone-mockup, .case-bar { display: none !important; }
  .pulse-ring, .qr-scan, .discovery-line { display: none !important; }
  .faq-item .faq-a { display: block !important; }
  .qr-surface, .qr-format { background: #fff !important; color: #000 !important; }
  .analytics-title, .analytics-text, .qr-surface__title, .qr-surface__text { color: #000 !important; }
  .pm-cover, .pm-status { background: #fff !important; color: #000 !important; }
  .tile, .tile-title, .tile-text, .benefit-title, .benefit-text { color: #000 !important; }
}
